CoolFace
Modelpublic

AryaWu/sqlite

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
vdbeapi_injectable_functions.json212 linesDownload Raw Back to injectable_functions
1[2  {3    "function_name": "invokeProfileCallback",4    "function_signature": "static SQLITE_NOINLINE void invokeProfileCallback(sqlite3 *db, Vdbe *p)",5    "test_filename": "tests_vdbeapi_invokeProfileCallback.c"6  },7  {8    "function_name": "sqlite3_finalize",9    "function_signature": "int sqlite3_finalize(sqlite3_stmt *pStmt)",10    "test_filename": "tests_vdbeapi_sqlite3_finalize.c"11  },12  {13    "function_name": "sqlite3_reset",14    "function_signature": "int sqlite3_reset(sqlite3_stmt *pStmt)",15    "test_filename": "tests_vdbeapi_sqlite3_reset.c"16  },17  {18    "function_name": "sqlite3_clear_bindings",19    "function_signature": "int sqlite3_clear_bindings(sqlite3_stmt *pStmt)",20    "test_filename": "tests_vdbeapi_sqlite3_clear_bindings.c"21  },22  {23    "function_name": "sqlite3_value_type",24    "function_signature": "int sqlite3_value_type(sqlite3_value* pVal)",25    "test_filename": "tests_vdbeapi_sqlite3_value_type.c"26  },27  {28    "function_name": "setResultStrOrError",29    "function_signature": "static void setResultStrOrError(\n  sqlite3_context *pCtx,  /* Function context */\n  const char *z,          /* String pointer */\n  int n,                  /* Bytes in string, or negative */\n  u8 enc,                 /* Encoding of z.  0 for BLOBs */\n  void (*xDel)(void*)     /* Destructor function */\n)",30    "test_filename": "tests_vdbeapi_setResultStrOrError.c"31  },32  {33    "function_name": "invokeValueDestructor",34    "function_signature": "static int invokeValueDestructor(\n  const void *p,             /* Value to destroy */\n  void (*xDel)(void*),       /* The destructor */\n  sqlite3_context *pCtx      /* Set a SQLITE_TOOBIG error if not NULL */\n)",35    "test_filename": "tests_vdbeapi_invokeValueDestructor.c"36  },37  {38    "function_name": "sqlite3_result_blob",39    "function_signature": "void sqlite3_result_blob(\n  sqlite3_context *pCtx,\n  const void *z,\n  int n,\n  void (*xDel)(void *)\n)",40    "test_filename": "tests_vdbeapi_sqlite3_result_blob.c"41  },42  {43    "function_name": "sqlite3_result_blob64",44    "function_signature": "void sqlite3_result_blob64(\n  sqlite3_context *pCtx,\n  const void *z,\n  sqlite3_uint64 n,\n  void (*xDel)(void *)\n)",45    "test_filename": "tests_vdbeapi_sqlite3_result_blob64.c"46  },47  {48    "function_name": "sqlite3_result_pointer",49    "function_signature": "void sqlite3_result_pointer(\n  sqlite3_context *pCtx,\n  void *pPtr,\n  const char *zPType,\n  void (*xDestructor)(void*)\n)",50    "test_filename": "tests_vdbeapi_sqlite3_result_pointer.c"51  },52  {53    "function_name": "sqlite3_result_subtype",54    "function_signature": "void sqlite3_result_subtype(sqlite3_context *pCtx, unsigned int eSubtype)",55    "test_filename": "tests_vdbeapi_sqlite3_result_subtype.c"56  },57  {58    "function_name": "sqlite3_result_text",59    "function_signature": "void sqlite3_result_text(\n  sqlite3_context *pCtx,\n  const char *z,\n  int n,\n  void (*xDel)(void *)\n)",60    "test_filename": "tests_vdbeapi_sqlite3_result_text.c"61  },62  {63    "function_name": "sqlite3_result_text64",64    "function_signature": "void sqlite3_result_text64(\n  sqlite3_context *pCtx,\n  const char *z,\n  sqlite3_uint64 n,\n  void (*xDel)(void *),\n  unsigned char enc\n)",65    "test_filename": "tests_vdbeapi_sqlite3_result_text64.c"66  },67  {68    "function_name": "sqlite3_result_value",69    "function_signature": "void sqlite3_result_value(sqlite3_context *pCtx, sqlite3_value *pValue)",70    "test_filename": "tests_vdbeapi_sqlite3_result_value.c"71  },72  {73    "function_name": "sqlite3_result_zeroblob64",74    "function_signature": "int sqlite3_result_zeroblob64(sqlite3_context *pCtx, u64 n)",75    "test_filename": "tests_vdbeapi_sqlite3_result_zeroblob64.c"76  },77  {78    "function_name": "sqlite3_result_error_code",79    "function_signature": "void sqlite3_result_error_code(sqlite3_context *pCtx, int errCode)",80    "test_filename": "tests_vdbeapi_sqlite3_result_error_code.c"81  },82  {83    "function_name": "doWalCallbacks",84    "function_signature": "static int doWalCallbacks(sqlite3 *db)",85    "test_filename": "tests_vdbeapi_doWalCallbacks.c"86  },87  {88    "function_name": "sqlite3Step",89    "function_signature": "static int sqlite3Step(Vdbe *p)",90    "test_filename": "tests_vdbeapi_sqlite3Step.c"91  },92  {93    "function_name": "sqlite3_step",94    "function_signature": "int sqlite3_step(sqlite3_stmt *pStmt)",95    "test_filename": "tests_vdbeapi_sqlite3_step.c"96  },97  {98    "function_name": "valueFromValueList",99    "function_signature": "static int valueFromValueList(\n  sqlite3_value *pVal,        /* Pointer to the ValueList object */\n  sqlite3_value **ppOut,      /* Store the next value from the list here */\n  int bNext                   /* 1 for _next(). 0 for _first() */\n)",100    "test_filename": "tests_vdbeapi_valueFromValueList.c"101  },102  {103    "function_name": "sqlite3StmtCurrentTime",104    "function_signature": "sqlite3_int64 sqlite3StmtCurrentTime(sqlite3_context *p)",105    "test_filename": "tests_vdbeapi_sqlite3StmtCurrentTime.c"106  },107  {108    "function_name": "sqlite3_set_auxdata",109    "function_signature": "void sqlite3_set_auxdata(\n  sqlite3_context *pCtx,\n  int iArg,\n  void *pAux,\n  void (*xDelete)(void*)\n)",110    "test_filename": "tests_vdbeapi_sqlite3_set_auxdata.c"111  },112  {113    "function_name": "columnMallocFailure",114    "function_signature": "static void columnMallocFailure(sqlite3_stmt *pStmt)",115    "test_filename": "tests_vdbeapi_columnMallocFailure.c"116  },117  {118    "function_name": "vdbeUnbind",119    "function_signature": "static int vdbeUnbind(Vdbe *p, unsigned int i)",120    "test_filename": "tests_vdbeapi_vdbeUnbind.c"121  },122  {123    "function_name": "bindText",124    "function_signature": "static int bindText(\n  sqlite3_stmt *pStmt,   /* The statement to bind against */\n  int i,                 /* Index of the parameter to bind */\n  const void *zData,     /* Pointer to the data to be bound */\n  i64 nData,             /* Number of bytes of data to be bound */\n  void (*xDel)(void*),   /* Destructor for the data */\n  u8 encoding            /* Encoding for the data */\n)",125    "test_filename": "tests_vdbeapi_bindText.c"126  },127  {128    "function_name": "sqlite3_bind_blob",129    "function_signature": "int sqlite3_bind_blob(\n  sqlite3_stmt *pStmt,\n  int i,\n  const void *zData,\n  int nData,\n  void (*xDel)(void*)\n)",130    "test_filename": "tests_vdbeapi_sqlite3_bind_blob.c"131  },132  {133    "function_name": "sqlite3_bind_blob64",134    "function_signature": "int sqlite3_bind_blob64(\n  sqlite3_stmt *pStmt,\n  int i,\n  const void *zData,\n  sqlite3_uint64 nData,\n  void (*xDel)(void*)\n)",135    "test_filename": "tests_vdbeapi_sqlite3_bind_blob64.c"136  },137  {138    "function_name": "sqlite3_bind_double",139    "function_signature": "int sqlite3_bind_double(sqlite3_stmt *pStmt, int i, double rValue)",140    "test_filename": "tests_vdbeapi_sqlite3_bind_double.c"141  },142  {143    "function_name": "sqlite3_bind_int64",144    "function_signature": "int sqlite3_bind_int64(sqlite3_stmt *pStmt, int i, sqlite_int64 iValue)",145    "test_filename": "tests_vdbeapi_sqlite3_bind_int64.c"146  },147  {148    "function_name": "sqlite3_bind_null",149    "function_signature": "int sqlite3_bind_null(sqlite3_stmt *pStmt, int i)",150    "test_filename": "tests_vdbeapi_sqlite3_bind_null.c"151  },152  {153    "function_name": "sqlite3_bind_pointer",154    "function_signature": "int sqlite3_bind_pointer(\n  sqlite3_stmt *pStmt,\n  int i,\n  void *pPtr,\n  const char *zPTtype,\n  void (*xDestructor)(void*)\n)",155    "test_filename": "tests_vdbeapi_sqlite3_bind_pointer.c"156  },157  {158    "function_name": "sqlite3_bind_text64",159    "function_signature": "int sqlite3_bind_text64(\n  sqlite3_stmt *pStmt,\n  int i,\n  const char *zData,\n  sqlite3_uint64 nData,\n  void (*xDel)(void*),\n  unsigned char enc\n)",160    "test_filename": "tests_vdbeapi_sqlite3_bind_text64.c"161  },162  {163    "function_name": "sqlite3_bind_value",164    "function_signature": "int sqlite3_bind_value(sqlite3_stmt *pStmt, int i, const sqlite3_value *pValue)",165    "test_filename": "tests_vdbeapi_sqlite3_bind_value.c"166  },167  {168    "function_name": "sqlite3_bind_zeroblob",169    "function_signature": "int sqlite3_bind_zeroblob(sqlite3_stmt *pStmt, int i, int n)",170    "test_filename": "tests_vdbeapi_sqlite3_bind_zeroblob.c"171  },172  {173    "function_name": "sqlite3_bind_zeroblob64",174    "function_signature": "int sqlite3_bind_zeroblob64(sqlite3_stmt *pStmt, int i, sqlite3_uint64 n)",175    "test_filename": "tests_vdbeapi_sqlite3_bind_zeroblob64.c"176  },177  {178    "function_name": "sqlite3TransferBindings",179    "function_signature": "int sqlite3TransferBindings(sqlite3_stmt *pFromStmt, sqlite3_stmt *pToStmt)",180    "test_filename": "tests_vdbeapi_sqlite3TransferBindings.c"181  },182  {183    "function_name": "sqlite3_transfer_bindings",184    "function_signature": "int sqlite3_transfer_bindings(sqlite3_stmt *pFromStmt, sqlite3_stmt *pToStmt)",185    "test_filename": "tests_vdbeapi_sqlite3_transfer_bindings.c"186  },187  {188    "function_name": "sqlite3_stmt_explain",189    "function_signature": "int sqlite3_stmt_explain(sqlite3_stmt *pStmt, int eMode)",190    "test_filename": "tests_vdbeapi_sqlite3_stmt_explain.c"191  },192  {193    "function_name": "sqlite3_stmt_status",194    "function_signature": "int sqlite3_stmt_status(sqlite3_stmt *pStmt, int op, int resetFlag)",195    "test_filename": "tests_vdbeapi_sqlite3_stmt_status.c"196  },197  {198    "function_name": "sqlite3_preupdate_old",199    "function_signature": "int sqlite3_preupdate_old(sqlite3 *db, int iIdx, sqlite3_value **ppValue)",200    "test_filename": "tests_vdbeapi_sqlite3_preupdate_old.c"201  },202  {203    "function_name": "sqlite3_preupdate_new",204    "function_signature": "int sqlite3_preupdate_new(sqlite3 *db, int iIdx, sqlite3_value **ppValue)",205    "test_filename": "tests_vdbeapi_sqlite3_preupdate_new.c"206  },207  {208    "function_name": "sqlite3_stmt_scanstatus_v2",209    "function_signature": "int sqlite3_stmt_scanstatus_v2(\n  sqlite3_stmt *pStmt,            /* Prepared statement being queried */\n  int iScan,                      /* Index of loop to report on */\n  int iScanStatusOp,              /* Which metric to return */\n  int flags,\n  void *pOut                      /* OUT: Write the answer here */\n)",210    "test_filename": "tests_vdbeapi_sqlite3_stmt_scanstatus_v2.c"211  }212]