CoolFace
Modelpublic

AryaWu/sqlite

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
date_injectable_functions.json137 linesDownload Raw Back to injectable_functions
1[2  {3    "function_name": "getDigits",4    "function_signature": "static int getDigits(const char *zDate, const char *zFormat, ...)",5    "test_filename": "tests_date_getDigits.c"6  },7  {8    "function_name": "parseTimezone",9    "function_signature": "static int parseTimezone(const char *zDate, DateTime *p)",10    "test_filename": "tests_date_parseTimezone.c"11  },12  {13    "function_name": "parseHhMmSs",14    "function_signature": "static int parseHhMmSs(const char *zDate, DateTime *p)",15    "test_filename": "tests_date_parseHhMmSs.c"16  },17  {18    "function_name": "computeJD",19    "function_signature": "static void computeJD(DateTime *p)",20    "test_filename": "tests_date_computeJD.c"21  },22  {23    "function_name": "computeFloor",24    "function_signature": "static void computeFloor(DateTime *p)",25    "test_filename": "tests_date_computeFloor.c"26  },27  {28    "function_name": "parseYyyyMmDd",29    "function_signature": "static int parseYyyyMmDd(const char *zDate, DateTime *p)",30    "test_filename": "tests_date_parseYyyyMmDd.c"31  },32  {33    "function_name": "setDateTimeToCurrent",34    "function_signature": "static int setDateTimeToCurrent(sqlite3_context *context, DateTime *p)",35    "test_filename": "tests_date_setDateTimeToCurrent.c"36  },37  {38    "function_name": "parseDateOrTime",39    "function_signature": "static int parseDateOrTime(\n  sqlite3_context *context, \n  const char *zDate, \n  DateTime *p\n)",40    "test_filename": "tests_date_parseDateOrTime.c"41  },42  {43    "function_name": "computeYMD",44    "function_signature": "static void computeYMD(DateTime *p)",45    "test_filename": "tests_date_computeYMD.c"46  },47  {48    "function_name": "computeHMS",49    "function_signature": "static void computeHMS(DateTime *p)",50    "test_filename": "tests_date_computeHMS.c"51  },52  {53    "function_name": "osLocaltime",54    "function_signature": "static int osLocaltime(time_t *t, struct tm *pTm)",55    "test_filename": "tests_date_osLocaltime.c"56  },57  {58    "function_name": "toLocaltime",59    "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)",60    "test_filename": "tests_date_toLocaltime.c"61  },62  {63    "function_name": "autoAdjustDate",64    "function_signature": "static void autoAdjustDate(DateTime *p)",65    "test_filename": "tests_date_autoAdjustDate.c"66  },67  {68    "function_name": "parseModifier",69    "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)",70    "test_filename": "tests_date_parseModifier.c"71  },72  {73    "function_name": "if",74    "function_signature": "else if( sqlite3_stricmp(z, \"utc\")==0 && sqlite3NotPureFunc(pCtx) )",75    "test_filename": "tests_date_if.c"76  },77  {78    "function_name": "isDate",79    "function_signature": "static int isDate(\n  sqlite3_context *context, \n  int argc, \n  sqlite3_value **argv, \n  DateTime *p\n)",80    "test_filename": "tests_date_isDate.c"81  },82  {83    "function_name": "juliandayFunc",84    "function_signature": "static void juliandayFunc(\n  sqlite3_context *context,\n  int argc,\n  sqlite3_value **argv\n)",85    "test_filename": "tests_date_juliandayFunc.c"86  },87  {88    "function_name": "unixepochFunc",89    "function_signature": "static void unixepochFunc(\n  sqlite3_context *context,\n  int argc,\n  sqlite3_value **argv\n)",90    "test_filename": "tests_date_unixepochFunc.c"91  },92  {93    "function_name": "datetimeFunc",94    "function_signature": "static void datetimeFunc(\n  sqlite3_context *context,\n  int argc,\n  sqlite3_value **argv\n)",95    "test_filename": "tests_date_datetimeFunc.c"96  },97  {98    "function_name": "timeFunc",99    "function_signature": "static void timeFunc(\n  sqlite3_context *context,\n  int argc,\n  sqlite3_value **argv\n)",100    "test_filename": "tests_date_timeFunc.c"101  },102  {103    "function_name": "dateFunc",104    "function_signature": "static void dateFunc(\n  sqlite3_context *context,\n  int argc,\n  sqlite3_value **argv\n)",105    "test_filename": "tests_date_dateFunc.c"106  },107  {108    "function_name": "daysAfterJan01",109    "function_signature": "static int daysAfterJan01(DateTime *pDate)",110    "test_filename": "tests_date_daysAfterJan01.c"111  },112  {113    "function_name": "strftimeFunc",114    "function_signature": "static void strftimeFunc(\n  sqlite3_context *context,\n  int argc,\n  sqlite3_value **argv\n)",115    "test_filename": "tests_date_strftimeFunc.c"116  },117  {118    "function_name": "timediffFunc",119    "function_signature": "static void timediffFunc(\n  sqlite3_context *context,\n  int NotUsed1,\n  sqlite3_value **argv\n)",120    "test_filename": "tests_date_timediffFunc.c"121  },122  {123    "function_name": "currentTimeFunc",124    "function_signature": "static void currentTimeFunc(\n  sqlite3_context *context,\n  int argc,\n  sqlite3_value **argv\n)",125    "test_filename": "tests_date_currentTimeFunc.c"126  },127  {128    "function_name": "datedebugFunc",129    "function_signature": "static void datedebugFunc(\n  sqlite3_context *context,\n  int argc,\n  sqlite3_value **argv\n)",130    "test_filename": "tests_date_datedebugFunc.c"131  },132  {133    "function_name": "sqlite3RegisterDateTimeFunctions",134    "function_signature": "void sqlite3RegisterDateTimeFunctions(void)",135    "test_filename": "tests_date_sqlite3RegisterDateTimeFunctions.c"136  }137]