sqlite / injectable_functions /date_injectable_functions.json
AryaWu's picture
Upload folder using huggingface_hub
7510827 verified
[
{
"function_name": "getDigits",
"function_signature": "static int getDigits(const char *zDate, const char *zFormat, ...)",
"test_filename": "tests_date_getDigits.c"
},
{
"function_name": "parseTimezone",
"function_signature": "static int parseTimezone(const char *zDate, DateTime *p)",
"test_filename": "tests_date_parseTimezone.c"
},
{
"function_name": "parseHhMmSs",
"function_signature": "static int parseHhMmSs(const char *zDate, DateTime *p)",
"test_filename": "tests_date_parseHhMmSs.c"
},
{
"function_name": "computeJD",
"function_signature": "static void computeJD(DateTime *p)",
"test_filename": "tests_date_computeJD.c"
},
{
"function_name": "computeFloor",
"function_signature": "static void computeFloor(DateTime *p)",
"test_filename": "tests_date_computeFloor.c"
},
{
"function_name": "parseYyyyMmDd",
"function_signature": "static int parseYyyyMmDd(const char *zDate, DateTime *p)",
"test_filename": "tests_date_parseYyyyMmDd.c"
},
{
"function_name": "setDateTimeToCurrent",
"function_signature": "static int setDateTimeToCurrent(sqlite3_context *context, DateTime *p)",
"test_filename": "tests_date_setDateTimeToCurrent.c"
},
{
"function_name": "parseDateOrTime",
"function_signature": "static int parseDateOrTime(\n sqlite3_context *context, \n const char *zDate, \n DateTime *p\n)",
"test_filename": "tests_date_parseDateOrTime.c"
},
{
"function_name": "computeYMD",
"function_signature": "static void computeYMD(DateTime *p)",
"test_filename": "tests_date_computeYMD.c"
},
{
"function_name": "computeHMS",
"function_signature": "static void computeHMS(DateTime *p)",
"test_filename": "tests_date_computeHMS.c"
},
{
"function_name": "osLocaltime",
"function_signature": "static int osLocaltime(time_t *t, struct tm *pTm)",
"test_filename": "tests_date_osLocaltime.c"
},
{
"function_name": "toLocaltime",
"function_signature": "static int toLocaltime(\n DateTime *p, /* Date at which to calculate offset */\n sqlite3_context *pCtx /* Write error here if one occurs */\n)",
"test_filename": "tests_date_toLocaltime.c"
},
{
"function_name": "autoAdjustDate",
"function_signature": "static void autoAdjustDate(DateTime *p)",
"test_filename": "tests_date_autoAdjustDate.c"
},
{
"function_name": "parseModifier",
"function_signature": "static int parseModifier(\n sqlite3_context *pCtx, /* Function context */\n const char *z, /* The text of the modifier */\n int n, /* Length of zMod in bytes */\n DateTime *p, /* The date/time value to be modified */\n int idx /* Parameter index of the modifier */\n)",
"test_filename": "tests_date_parseModifier.c"
},
{
"function_name": "if",
"function_signature": "else if( sqlite3_stricmp(z, \"utc\")==0 && sqlite3NotPureFunc(pCtx) )",
"test_filename": "tests_date_if.c"
},
{
"function_name": "isDate",
"function_signature": "static int isDate(\n sqlite3_context *context, \n int argc, \n sqlite3_value **argv, \n DateTime *p\n)",
"test_filename": "tests_date_isDate.c"
},
{
"function_name": "juliandayFunc",
"function_signature": "static void juliandayFunc(\n sqlite3_context *context,\n int argc,\n sqlite3_value **argv\n)",
"test_filename": "tests_date_juliandayFunc.c"
},
{
"function_name": "unixepochFunc",
"function_signature": "static void unixepochFunc(\n sqlite3_context *context,\n int argc,\n sqlite3_value **argv\n)",
"test_filename": "tests_date_unixepochFunc.c"
},
{
"function_name": "datetimeFunc",
"function_signature": "static void datetimeFunc(\n sqlite3_context *context,\n int argc,\n sqlite3_value **argv\n)",
"test_filename": "tests_date_datetimeFunc.c"
},
{
"function_name": "timeFunc",
"function_signature": "static void timeFunc(\n sqlite3_context *context,\n int argc,\n sqlite3_value **argv\n)",
"test_filename": "tests_date_timeFunc.c"
},
{
"function_name": "dateFunc",
"function_signature": "static void dateFunc(\n sqlite3_context *context,\n int argc,\n sqlite3_value **argv\n)",
"test_filename": "tests_date_dateFunc.c"
},
{
"function_name": "daysAfterJan01",
"function_signature": "static int daysAfterJan01(DateTime *pDate)",
"test_filename": "tests_date_daysAfterJan01.c"
},
{
"function_name": "strftimeFunc",
"function_signature": "static void strftimeFunc(\n sqlite3_context *context,\n int argc,\n sqlite3_value **argv\n)",
"test_filename": "tests_date_strftimeFunc.c"
},
{
"function_name": "timediffFunc",
"function_signature": "static void timediffFunc(\n sqlite3_context *context,\n int NotUsed1,\n sqlite3_value **argv\n)",
"test_filename": "tests_date_timediffFunc.c"
},
{
"function_name": "currentTimeFunc",
"function_signature": "static void currentTimeFunc(\n sqlite3_context *context,\n int argc,\n sqlite3_value **argv\n)",
"test_filename": "tests_date_currentTimeFunc.c"
},
{
"function_name": "datedebugFunc",
"function_signature": "static void datedebugFunc(\n sqlite3_context *context,\n int argc,\n sqlite3_value **argv\n)",
"test_filename": "tests_date_datedebugFunc.c"
},
{
"function_name": "sqlite3RegisterDateTimeFunctions",
"function_signature": "void sqlite3RegisterDateTimeFunctions(void)",
"test_filename": "tests_date_sqlite3RegisterDateTimeFunctions.c"
}
]