CoolFace
Modelpublic

AryaWu/sqlite

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
os_injectable_functions.json52 linesDownload Raw Back to injectable_functions
1[2  {3    "function_name": "sqlite3OsFileControl",4    "function_signature": "int sqlite3OsFileControl(sqlite3_file *id, int op, void *pArg)",5    "test_filename": "tests_os_sqlite3OsFileControl.c"6  },7  {8    "function_name": "sqlite3OsShmMap",9    "function_signature": "int sqlite3OsShmMap(\n  sqlite3_file *id,               /* Database file handle */\n  int iPage,\n  int pgsz,\n  int bExtend,                    /* True to extend file if necessary */\n  void volatile **pp              /* OUT: Pointer to mapping */\n)",10    "test_filename": "tests_os_sqlite3OsShmMap.c"11  },12  {13    "function_name": "sqlite3OsOpen",14    "function_signature": "int sqlite3OsOpen(\n  sqlite3_vfs *pVfs,\n  const char *zPath,\n  sqlite3_file *pFile,\n  int flags,\n  int *pFlagsOut\n)",15    "test_filename": "tests_os_sqlite3OsOpen.c"16  },17  {18    "function_name": "sqlite3OsFullPathname",19    "function_signature": "int sqlite3OsFullPathname(\n  sqlite3_vfs *pVfs,\n  const char *zPath,\n  int nPathOut,\n  char *zPathOut\n)",20    "test_filename": "tests_os_sqlite3OsFullPathname.c"21  },22  {23    "function_name": "sqlite3OsRandomness",24    "function_signature": "int sqlite3OsRandomness(sqlite3_vfs *pVfs, int nByte, char *zBufOut)",25    "test_filename": "tests_os_sqlite3OsRandomness.c"26  },27  {28    "function_name": "sqlite3OsCurrentTimeInt64",29    "function_signature": "int sqlite3OsCurrentTimeInt64(sqlite3_vfs *pVfs, sqlite3_int64 *pTimeOut)",30    "test_filename": "tests_os_sqlite3OsCurrentTimeInt64.c"31  },32  {33    "function_name": "sqlite3OsOpenMalloc",34    "function_signature": "int sqlite3OsOpenMalloc(\n  sqlite3_vfs *pVfs,\n  const char *zFile,\n  sqlite3_file **ppFile,\n  int flags,\n  int *pOutFlags\n)",35    "test_filename": "tests_os_sqlite3OsOpenMalloc.c"36  },37  {38    "function_name": "vfsUnlink",39    "function_signature": "static void vfsUnlink(sqlite3_vfs *pVfs)",40    "test_filename": "tests_os_vfsUnlink.c"41  },42  {43    "function_name": "sqlite3_vfs_register",44    "function_signature": "int sqlite3_vfs_register(sqlite3_vfs *pVfs, int makeDflt)",45    "test_filename": "tests_os_sqlite3_vfs_register.c"46  },47  {48    "function_name": "sqlite3_vfs_unregister",49    "function_signature": "int sqlite3_vfs_unregister(sqlite3_vfs *pVfs)",50    "test_filename": "tests_os_sqlite3_vfs_unregister.c"51  }52]