/external/chromium_org/third_party/sqlite/src/test/ |
D | threadtest1.c | 195 const char *zFilename = (char*)pArg; in worker_bee() local 198 int t = atoi(zFilename); in worker_bee() 205 printf("%s: START\n", zFilename); in worker_bee() 208 sqlite3_open(&zFilename[2], &db); in worker_bee() 210 fprintf(stdout,"%s: can't open\n", zFilename); in worker_bee() 213 sqlite3_busy_handler(db, db_is_locked, zFilename); in worker_bee() 214 db_execute(db, zFilename, "CREATE TABLE t%d(a,b,c);", t); in worker_bee() 216 db_execute(db, zFilename, "INSERT INTO t%d VALUES(%d,%d,%d);", in worker_bee() 219 az = db_query(db, zFilename, "SELECT count(*) FROM t%d", t); in worker_bee() 220 db_check(zFilename, "tX size", az, "100", 0); in worker_bee() [all …]
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | os_win.c | 177 static WCHAR *utf8ToUnicode(const char *zFilename){ in utf8ToUnicode() argument 181 nChar = MultiByteToWideChar(CP_UTF8, 0, zFilename, -1, NULL, 0); in utf8ToUnicode() 186 nChar = MultiByteToWideChar(CP_UTF8, 0, zFilename, -1, zWideFilename, nChar); in utf8ToUnicode() 200 char *zFilename; in unicodeToUtf8() local 203 zFilename = malloc( nByte ); in unicodeToUtf8() 204 if( zFilename==0 ){ in unicodeToUtf8() 207 nByte = WideCharToMultiByte(CP_UTF8, 0, zWideFilename, -1, zFilename, nByte, in unicodeToUtf8() 210 free(zFilename); in unicodeToUtf8() 211 zFilename = 0; in unicodeToUtf8() 213 return zFilename; in unicodeToUtf8() [all …]
|
D | test_quota.c | 74 const char *zFilename, /* Name of file whose size increases */ 94 char *zFilename; /* Name of this file */ member 264 static quotaGroup *quotaGroupFind(const char *zFilename){ in quotaGroupFind() argument 266 for(p=gQuota.pGroup; p && quotaStrglob(p->zPattern, zFilename)==0; in quotaGroupFind() 322 for(pFile=pGroup->pFiles; pFile && strcmp(pFile->zFilename, zName); in quotaOpen() 333 pFile->zFilename = (char*)&pFile[1]; in quotaOpen() 334 memcpy(pFile->zFilename, zName, nName+1); in quotaOpen() 416 pGroup->xCallback(pFile->zFilename, &pGroup->iLimit, szNew, in quotaWrite() 666 const char *zFilename, /* Name of file whose size increases */ in sqlite3_quota_set() 732 const char *zFilename, /* Name of file whose size increases */ in tclQuotaCallback() argument [all …]
|
D | test7.c | 53 char *zFilename; /* Name of database file */ member 88 sqlite3_client_open(p->zFilename, &p->db); in client_main() 166 sqlite3_free(threadset[i].zFilename); in tcl_client_create() 167 threadset[i].zFilename = sqlite3_mprintf("%s", argv[2]); in tcl_client_create() 173 sqlite3_free(threadset[i].zFilename); in tcl_client_create() 227 sqlite3_free(p->zFilename); in stop_thread() 228 p->zFilename = 0; in stop_thread()
|
D | test4.c | 31 char *zFilename; /* Name of database file */ member 66 sqlite3_open(p->zFilename, &p->db); in thread_main() 144 sqlite3_free(threadset[i].zFilename); in tcl_thread_create() 145 threadset[i].zFilename = sqlite3_mprintf("%s", argv[2]); in tcl_thread_create() 151 sqlite3_free(threadset[i].zFilename); in tcl_thread_create() 204 sqlite3_free(p->zFilename); in stop_thread() 205 p->zFilename = 0; in stop_thread()
|
D | mem5.c | 524 void sqlite3Memsys5Dump(const char *zFilename){ in sqlite3Memsys5Dump() argument 529 if( zFilename==0 || zFilename[0]==0 ){ in sqlite3Memsys5Dump() 532 out = fopen(zFilename, "w"); in sqlite3Memsys5Dump() 535 zFilename); in sqlite3Memsys5Dump()
|
D | test_vfs.c | 52 const char *zFilename; /* Filename as passed to xOpen() */ member 178 static void *tvfsDlOpen(sqlite3_vfs*, const char *zFilename); 328 Tcl_NewStringObj(pFd->zFilename, -1), pFd->pShmId, 0 in tvfsClose() 373 Tcl_NewStringObj(pFd->zFilename, -1), pFd->pShmId, 0 in tvfsWrite() 401 Tcl_NewStringObj(pFd->zFilename, -1), pFd->pShmId, 0 in tvfsTruncate() 441 Tcl_NewStringObj(pFd->zFilename, -1), pFd->pShmId, in tvfsSync() 540 pFd->zFilename = zName; in tvfsOpen() 557 tvfsExecTcl(p, "xOpen", Tcl_NewStringObj(pFd->zFilename, -1), 0, 0); in tvfsOpen() 740 tvfsExecTcl(p, "xShmOpen", Tcl_NewStringObj(pFd->zFilename, -1), 0, 0); in tvfsShmOpen() 753 if( 0==strcmp(pFd->zFilename, pBuffer->zFile) ) break; in tvfsShmOpen() [all …]
|
D | mem3.c | 589 void sqlite3Memsys3Dump(const char *zFilename){ in sqlite3Memsys3Dump() argument 594 if( zFilename==0 || zFilename[0]==0 ){ in sqlite3Memsys3Dump() 597 out = fopen(zFilename, "w"); in sqlite3Memsys3Dump() 600 zFilename); in sqlite3Memsys3Dump() 658 UNUSED_PARAMETER(zFilename); in sqlite3Memsys3Dump()
|
D | mem2.c | 476 void sqlite3MemdebugDump(const char *zFilename){ in sqlite3MemdebugDump() argument 481 out = fopen(zFilename, "w"); in sqlite3MemdebugDump() 484 zFilename); in sqlite3MemdebugDump()
|
D | test_thread.c | 274 const char *zFilename; in sqlthread_open() local 283 zFilename = Tcl_GetString(objv[2]); in sqlthread_open() 284 rc = sqlite3_open(zFilename, &db); in sqlthread_open()
|
D | os_os2.c | 1608 const char *zFilename, /* Name of file to delete */ argument 1614 zFilenameCp = convertUtf8PathToCp( zFilename ); 1617 OSTRACE(( "DELETE \"%s\"\n", zFilename )); 1628 const char *zFilename, /* Name of file to check */ argument 1639 zFilenameCp = convertUtf8PathToCp( zFilename ); 1666 OSTRACE(( "ACCESS %s flags %d: rc=%d\n", zFilename, flags, *pOut )); 1681 static void *os2DlOpen(sqlite3_vfs *pVfs, const char *zFilename){ argument 1684 char *zFilenameCp = convertUtf8PathToCp(zFilename);
|
D | os_unix.c | 3256 static int openDirectory(const char *zFilename, int *pFd){ in openDirectory() argument 3261 sqlite3_snprintf(MAX_PATHNAME, zDirname, "%s", zFilename); in openDirectory() 3569 char *zFilename; /* Name of the mmapped file */ member 3797 zShmFilename = pShmNode->zFilename = (char*)&pShmNode[1]; in unixOpenSharedMemory() 3940 pShmNode->zFilename); in unixShmMap() 4157 if( deleteFlag && pShmNode->h>=0 ) osUnlink(pShmNode->zFilename); in unixShmUnmap() 4479 const char *zFilename, /* Name of the file being opened */ in fillInUnixFile() argument 4500 assert( zFilename==0 || zFilename[0]=='/' in fillInUnixFile() 4503 assert( zFilename==0 || zFilename[0]=='/' ); in fillInUnixFile() 4506 OSTRACE(("OPEN %-3d %s\n", h, zFilename)); in fillInUnixFile() [all …]
|
D | pager.c | 669 char *zFilename; /* Name of the database file */ member 953 , p->zFilename in print_pager_state() 4283 const char *zFilename, /* Name of the database file to open */ in sqlite3PagerOpen() argument 4323 zFilename = 0; in sqlite3PagerOpen() 4331 if( zFilename && zFilename[0] ){ in sqlite3PagerOpen() 4338 rc = sqlite3OsFullPathname(pVfs, zFilename, nPathname, zPathname); in sqlite3PagerOpen() 4388 pPager->zFilename = (char*)(pPtr += journalFileSize); in sqlite3PagerOpen() 4395 memcpy(pPager->zFilename, zPathname, nPathname); in sqlite3PagerOpen() 4410 if( zFilename && zFilename[0] ){ in sqlite3PagerOpen() 4412 rc = sqlite3OsOpen(pVfs, pPager->zFilename, pPager->fd, vfsFlags, &fout); in sqlite3PagerOpen() [all …]
|
D | main.c | 1794 const char *zFilename, /* Database filename UTF-8 encoded */ in openDatabase() argument 1937 rc = sqlite3BtreeOpen(zFilename, db, &db->aDb[0].pBt, 0, in openDatabase() 2049 const char *zFilename, in sqlite3_open() argument 2052 return openDatabase(zFilename, ppDb, in sqlite3_open() 2069 const void *zFilename, in sqlite3_open16() argument 2076 assert( zFilename ); in sqlite3_open16() 2084 sqlite3ValueSetStr(pVal, -1, zFilename, SQLITE_UTF16NATIVE, SQLITE_STATIC); in sqlite3_open16()
|
D | btree.h | 45 const char *zFilename, /* Name of database file to open */
|
D | test_devsym.c | 66 static void *devsymDlOpen(sqlite3_vfs*, const char *zFilename);
|
D | test_journal.c | 157 static void *jtDlOpen(sqlite3_vfs*, const char *zFilename);
|
/external/chromium_org/third_party/sqlite/ |
D | system-sqlite.patch | 88 +** Open a file descriptor to the directory containing file zFilename. 110 +static int openDirectory(const char *zFilename, int *pFd){ 115 + sqlite3_snprintf(MAX_PATHNAME, zDirname, "%s", zFilename); 181 - if( deleteFlag && pShmNode->h>=0 ) unlink(pShmNode->zFilename); 182 + if( deleteFlag && pShmNode->h>=0 ) osUnlink(pShmNode->zFilename); 193 const char *zFilename, /* Name of the file being opened */ 197 OSTRACE(("OPEN %-3d %s\n", h, zFilename)); 200 pNew->zPath = zFilename; 212 pNew->pId = vxworksFindFileId(zFilename); 217 - unlink(zFilename); [all …]
|
D | mac_time_machine.patch | 56 + if( rc==SQLITE_OK && pPager->zFilename!=NULL 57 + && strlen(pPager->zFilename)>0 60 + CFURLRef database = create_cfurl_from_cstring(pPager->zFilename);
|
D | memcmp.patch | 67 OSTRACE(("OPEN %-3d %s\n", h, zFilename)); 69 pNew->zPath = zFilename;
|
/external/chromium_org/third_party/sqlite/src/tool/ |
D | rollback-test.c | 28 static sqlite3 *openDb(const char *zFilename){ in openDb() argument 31 rc = sqlite3_open(zFilename, &db); in openDb() 34 zFilename, sqlite3_errmsg(db)); in openDb()
|
/external/sqlite/dist/ |
D | sqlite3.h | 1156 void *(*xDlOpen)(sqlite3_vfs*, const char *zFilename); 2915 SQLITE_API const char *sqlite3_uri_parameter(const char *zFilename, const char *zParam);
|
D | sqlite3.c | 1271 void *(*xDlOpen)(sqlite3_vfs*, const char *zFilename); 3030 SQLITE_API const char *sqlite3_uri_parameter(const char *zFilename, const char *zParam); 8877 const char *zFilename, /* Name of database file to open */ 17040 SQLITE_PRIVATE void sqlite3MemdebugDump(const char *zFilename){ in sqlite3MemdebugDump() argument 17045 out = fopen(zFilename, "w"); in sqlite3MemdebugDump() 17048 zFilename); in sqlite3MemdebugDump() 17683 SQLITE_PRIVATE void sqlite3Memsys3Dump(const char *zFilename){ in sqlite3Memsys3Dump() argument 17688 if( zFilename==0 || zFilename[0]==0 ){ in sqlite3Memsys3Dump() 17691 out = fopen(zFilename, "w"); in sqlite3Memsys3Dump() 17694 zFilename); in sqlite3Memsys3Dump() [all …]
|
/external/sqlite/dist/orig/ |
D | sqlite3.h | 1156 void *(*xDlOpen)(sqlite3_vfs*, const char *zFilename); 2915 SQLITE_API const char *sqlite3_uri_parameter(const char *zFilename, const char *zParam);
|
D | sqlite3.c | 1271 void *(*xDlOpen)(sqlite3_vfs*, const char *zFilename); 3030 SQLITE_API const char *sqlite3_uri_parameter(const char *zFilename, const char *zParam); 8877 const char *zFilename, /* Name of database file to open */ 17040 SQLITE_PRIVATE void sqlite3MemdebugDump(const char *zFilename){ in sqlite3MemdebugDump() argument 17045 out = fopen(zFilename, "w"); in sqlite3MemdebugDump() 17048 zFilename); in sqlite3MemdebugDump() 17683 SQLITE_PRIVATE void sqlite3Memsys3Dump(const char *zFilename){ in sqlite3Memsys3Dump() argument 17688 if( zFilename==0 || zFilename[0]==0 ){ in sqlite3Memsys3Dump() 17691 out = fopen(zFilename, "w"); in sqlite3Memsys3Dump() 17694 zFilename); in sqlite3Memsys3Dump() [all …]
|