CoolFace
Modelpublic

AryaWu/sqlite

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
vdbemem_injectable_functions.json202 linesDownload Raw Back to injectable_functions
1[2  {3    "function_name": "sqlite3VdbeCheckMemInvariants",4    "function_signature": "int sqlite3VdbeCheckMemInvariants(Mem *p)",5    "test_filename": "tests_vdbemem_sqlite3VdbeCheckMemInvariants.c"6  },7  {8    "function_name": "vdbeMemRenderNum",9    "function_signature": "static void vdbeMemRenderNum(int sz, char *zBuf, Mem *p)",10    "test_filename": "tests_vdbemem_vdbeMemRenderNum.c"11  },12  {13    "function_name": "sqlite3VdbeMemValidStrRep",14    "function_signature": "int sqlite3VdbeMemValidStrRep(Mem *p)",15    "test_filename": "tests_vdbemem_sqlite3VdbeMemValidStrRep.c"16  },17  {18    "function_name": "sqlite3VdbeChangeEncoding",19    "function_signature": "int sqlite3VdbeChangeEncoding(Mem *pMem, int desiredEnc)",20    "test_filename": "tests_vdbemem_sqlite3VdbeChangeEncoding.c"21  },22  {23    "function_name": "sqlite3VdbeMemGrow",24    "function_signature": "SQLITE_NOINLINE int sqlite3VdbeMemGrow(Mem *pMem, int n, int bPreserve)",25    "test_filename": "tests_vdbemem_sqlite3VdbeMemGrow.c"26  },27  {28    "function_name": "sqlite3VdbeMemClearAndResize",29    "function_signature": "int sqlite3VdbeMemClearAndResize(Mem *pMem, int szNew)",30    "test_filename": "tests_vdbemem_sqlite3VdbeMemClearAndResize.c"31  },32  {33    "function_name": "sqlite3VdbeMemZeroTerminateIfAble",34    "function_signature": "void sqlite3VdbeMemZeroTerminateIfAble(Mem *pMem)",35    "test_filename": "tests_vdbemem_sqlite3VdbeMemZeroTerminateIfAble.c"36  },37  {38    "function_name": "vdbeMemAddTerminator",39    "function_signature": "static SQLITE_NOINLINE int vdbeMemAddTerminator(Mem *pMem)",40    "test_filename": "tests_vdbemem_vdbeMemAddTerminator.c"41  },42  {43    "function_name": "sqlite3VdbeMemMakeWriteable",44    "function_signature": "int sqlite3VdbeMemMakeWriteable(Mem *pMem)",45    "test_filename": "tests_vdbemem_sqlite3VdbeMemMakeWriteable.c"46  },47  {48    "function_name": "sqlite3VdbeMemExpandBlob",49    "function_signature": "int sqlite3VdbeMemExpandBlob(Mem *pMem)",50    "test_filename": "tests_vdbemem_sqlite3VdbeMemExpandBlob.c"51  },52  {53    "function_name": "sqlite3VdbeMemNulTerminate",54    "function_signature": "int sqlite3VdbeMemNulTerminate(Mem *pMem)",55    "test_filename": "tests_vdbemem_sqlite3VdbeMemNulTerminate.c"56  },57  {58    "function_name": "sqlite3VdbeMemStringify",59    "function_signature": "int sqlite3VdbeMemStringify(Mem *pMem, u8 enc, u8 bForce)",60    "test_filename": "tests_vdbemem_sqlite3VdbeMemStringify.c"61  },62  {63    "function_name": "sqlite3VdbeMemFinalize",64    "function_signature": "int sqlite3VdbeMemFinalize(Mem *pMem, FuncDef *pFunc)",65    "test_filename": "tests_vdbemem_sqlite3VdbeMemFinalize.c"66  },67  {68    "function_name": "sqlite3VdbeMemAggValue",69    "function_signature": "int sqlite3VdbeMemAggValue(Mem *pAccum, Mem *pOut, FuncDef *pFunc)",70    "test_filename": "tests_vdbemem_sqlite3VdbeMemAggValue.c"71  },72  {73    "function_name": "vdbeMemClearExternAndSetNull",74    "function_signature": "static SQLITE_NOINLINE void vdbeMemClearExternAndSetNull(Mem *p)",75    "test_filename": "tests_vdbemem_vdbeMemClearExternAndSetNull.c"76  },77  {78    "function_name": "vdbeMemClear",79    "function_signature": "static SQLITE_NOINLINE void vdbeMemClear(Mem *p)",80    "test_filename": "tests_vdbemem_vdbeMemClear.c"81  },82  {83    "function_name": "sqlite3VdbeIntValue",84    "function_signature": "i64 sqlite3VdbeIntValue(const Mem *pMem)",85    "test_filename": "tests_vdbemem_sqlite3VdbeIntValue.c"86  },87  {88    "function_name": "sqlite3VdbeRealValue",89    "function_signature": "double sqlite3VdbeRealValue(Mem *pMem)",90    "test_filename": "tests_vdbemem_sqlite3VdbeRealValue.c"91  },92  {93    "function_name": "sqlite3VdbeIntegerAffinity",94    "function_signature": "void sqlite3VdbeIntegerAffinity(Mem *pMem)",95    "test_filename": "tests_vdbemem_sqlite3VdbeIntegerAffinity.c"96  },97  {98    "function_name": "sqlite3VdbeMemNumerify",99    "function_signature": "int sqlite3VdbeMemNumerify(Mem *pMem)",100    "test_filename": "tests_vdbemem_sqlite3VdbeMemNumerify.c"101  },102  {103    "function_name": "sqlite3VdbeMemCast",104    "function_signature": "int sqlite3VdbeMemCast(Mem *pMem, u8 aff, u8 encoding)",105    "test_filename": "tests_vdbemem_sqlite3VdbeMemCast.c"106  },107  {108    "function_name": "sqlite3VdbeMemSetZeroBlob",109    "function_signature": "int sqlite3VdbeMemSetZeroBlob(Mem *pMem, int n)",110    "test_filename": "tests_vdbemem_sqlite3VdbeMemSetZeroBlob.c"111  },112  {113    "function_name": "sqlite3VdbeMemSetPointer",114    "function_signature": "void sqlite3VdbeMemSetPointer(\n  Mem *pMem,\n  void *pPtr,\n  const char *zPType,\n  void (*xDestructor)(void*)\n)",115    "test_filename": "tests_vdbemem_sqlite3VdbeMemSetPointer.c"116  },117  {118    "function_name": "sqlite3VdbeMemSetRowSet",119    "function_signature": "int sqlite3VdbeMemSetRowSet(Mem *pMem)",120    "test_filename": "tests_vdbemem_sqlite3VdbeMemSetRowSet.c"121  },122  {123    "function_name": "sqlite3VdbeMemTooBig",124    "function_signature": "int sqlite3VdbeMemTooBig(Mem *p)",125    "test_filename": "tests_vdbemem_sqlite3VdbeMemTooBig.c"126  },127  {128    "function_name": "sqlite3VdbeMemAboutToChange",129    "function_signature": "void sqlite3VdbeMemAboutToChange(Vdbe *pVdbe, Mem *pMem)",130    "test_filename": "tests_vdbemem_sqlite3VdbeMemAboutToChange.c"131  },132  {133    "function_name": "sqlite3VdbeMemShallowCopy",134    "function_signature": "void sqlite3VdbeMemShallowCopy(Mem *pTo, const Mem *pFrom, int srcType)",135    "test_filename": "tests_vdbemem_sqlite3VdbeMemShallowCopy.c"136  },137  {138    "function_name": "sqlite3VdbeMemCopy",139    "function_signature": "int sqlite3VdbeMemCopy(Mem *pTo, const Mem *pFrom)",140    "test_filename": "tests_vdbemem_sqlite3VdbeMemCopy.c"141  },142  {143    "function_name": "sqlite3VdbeMemSetStr",144    "function_signature": "int sqlite3VdbeMemSetStr(\n  Mem *pMem,          /* Memory cell to set to string value */\n  const char *z,      /* String pointer */\n  i64 n,              /* Bytes in string, or negative */\n  u8 enc,             /* Encoding of z.  0 for BLOBs */\n  void (*xDel)(void*) /* Destructor function */\n)",145    "test_filename": "tests_vdbemem_sqlite3VdbeMemSetStr.c"146  },147  {148    "function_name": "sqlite3VdbeMemFromBtree",149    "function_signature": "int sqlite3VdbeMemFromBtree(\n  BtCursor *pCur,   /* Cursor pointing at record to retrieve. */\n  u32 offset,       /* Offset from the start of data to return bytes from. */\n  u32 amt,          /* Number of bytes to return. */\n  Mem *pMem         /* OUT: Return data in this Mem structure. */\n)",150    "test_filename": "tests_vdbemem_sqlite3VdbeMemFromBtree.c"151  },152  {153    "function_name": "sqlite3VdbeMemFromBtreeZeroOffset",154    "function_signature": "int sqlite3VdbeMemFromBtreeZeroOffset(\n  BtCursor *pCur,   /* Cursor pointing at record to retrieve. */\n  u32 amt,          /* Number of bytes to return. */\n  Mem *pMem         /* OUT: Return data in this Mem structure. */\n)",155    "test_filename": "tests_vdbemem_sqlite3VdbeMemFromBtreeZeroOffset.c"156  },157  {158    "function_name": "sqlite3ValueIsOfClass",159    "function_signature": "int sqlite3ValueIsOfClass(const sqlite3_value *pVal, void(*xFree)(void*))",160    "test_filename": "tests_vdbemem_sqlite3ValueIsOfClass.c"161  },162  {163    "function_name": "valueFromFunction",164    "function_signature": "static int valueFromFunction(\n  sqlite3 *db,                    /* The database connection */\n  const Expr *p,                  /* The expression to evaluate */\n  u8 enc,                         /* Encoding to use */\n  u8 aff,                         /* Affinity to use */\n  sqlite3_value **ppVal,          /* Write the new value here */\n  struct ValueNewStat4Ctx *pCtx   /* Second argument for valueNew() */\n)",165    "test_filename": "tests_vdbemem_valueFromFunction.c"166  },167  {168    "function_name": "valueFromExpr",169    "function_signature": "static int valueFromExpr(\n  sqlite3 *db,                    /* The database connection */\n  const Expr *pExpr,              /* The expression to evaluate */\n  u8 enc,                         /* Encoding to use */\n  u8 affinity,                    /* Affinity to use */\n  sqlite3_value **ppVal,          /* Write the new value here */\n  struct ValueNewStat4Ctx *pCtx   /* Second argument for valueNew() */\n)",170    "test_filename": "tests_vdbemem_valueFromExpr.c"171  },172  {173    "function_name": "if",174    "function_signature": "else if( op==TK_BLOB )",175    "test_filename": "tests_vdbemem_if.c"176  },177  {178    "function_name": "stat4ValueFromExpr",179    "function_signature": "static int stat4ValueFromExpr(\n  Parse *pParse,                  /* Parse context */\n  Expr *pExpr,                    /* The expression to extract a value from */\n  u8 affinity,                    /* Affinity to use */\n  struct ValueNewStat4Ctx *pAlloc,/* How to allocate space.  Or NULL */\n  sqlite3_value **ppVal           /* OUT: New value object (or NULL) */\n)",180    "test_filename": "tests_vdbemem_stat4ValueFromExpr.c"181  },182  {183    "function_name": "sqlite3Stat4ProbeSetValue",184    "function_signature": "int sqlite3Stat4ProbeSetValue(\n  Parse *pParse,                  /* Parse context */\n  Index *pIdx,                    /* Index being probed */\n  UnpackedRecord **ppRec,         /* IN/OUT: Probe record */\n  Expr *pExpr,                    /* The expression to extract a value from */\n  int nElem,                      /* Maximum number of values to append */\n  int iVal,                       /* Array element to populate */\n  int *pnExtract                  /* OUT: Values appended to the record */\n)",185    "test_filename": "tests_vdbemem_sqlite3Stat4ProbeSetValue.c"186  },187  {188    "function_name": "sqlite3Stat4Column",189    "function_signature": "int sqlite3Stat4Column(\n  sqlite3 *db,                    /* Database handle */\n  const void *pRec,               /* Pointer to buffer containing record */\n  int nRec,                       /* Size of buffer pRec in bytes */\n  int iCol,                       /* Column to extract */\n  sqlite3_value **ppVal           /* OUT: Extracted value */\n)",190    "test_filename": "tests_vdbemem_sqlite3Stat4Column.c"191  },192  {193    "function_name": "sqlite3Stat4ProbeFree",194    "function_signature": "void sqlite3Stat4ProbeFree(UnpackedRecord *pRec)",195    "test_filename": "tests_vdbemem_sqlite3Stat4ProbeFree.c"196  },197  {198    "function_name": "sqlite3ValueBytes",199    "function_signature": "int sqlite3ValueBytes(sqlite3_value *pVal, u8 enc)",200    "test_filename": "tests_vdbemem_sqlite3ValueBytes.c"201  }202]