Searched refs:zPath (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/third_party/sqlite/src/src/
H A Dtest_stat.c99 char *zPath; /* Path to this page */ member in struct:StatPage
120 char *zPath; /* Value of 'path' column */ member in struct:StatCursor
230 sqlite3_free(p->zPath);
241 sqlite3_free(pCsr->zPath);
242 pCsr->zPath = 0;
373 sqlite3_free(pCsr->zPath);
374 pCsr->zPath = 0;
389 pCsr->aPage[0].zPath = sqlite3_mprintf("/");
409 pCsr->zPath = sqlite3_mprintf(
410 "%s%.3x+%.6x", p->zPath,
[all...]
H A Dtest_devsym.c284 ** Delete the file located at zPath. If the dirSync argument is true,
288 static int devsymDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){ argument
289 return sqlite3OsDelete(g.pVfs, zPath, dirSync);
298 const char *zPath,
302 return sqlite3OsAccess(g.pVfs, zPath, flags, pResOut);
307 ** to the pathname in zPath. zOut is guaranteed to point to a buffer
312 const char *zPath,
316 return sqlite3OsFullPathname(g.pVfs, zPath, nOut, zOut);
321 ** Open the dynamic library located at zPath and return a handle.
323 static void *devsymDlOpen(sqlite3_vfs *pVfs, const char *zPath){ argument
296 devsymAccess( sqlite3_vfs *pVfs, const char *zPath, int flags, int *pResOut ) argument
310 devsymFullPathname( sqlite3_vfs *pVfs, const char *zPath, int nOut, char *zOut ) argument
[all...]
H A Dos.c128 const char *zPath,
139 rc = pVfs->xOpen(pVfs, zPath, pFile, flags & 0x87f3f, pFlagsOut);
143 int sqlite3OsDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){ argument
144 return pVfs->xDelete(pVfs, zPath, dirSync);
148 const char *zPath,
153 return pVfs->xAccess(pVfs, zPath, flags, pResOut);
157 const char *zPath,
162 return pVfs->xFullPathname(pVfs, zPath, nPathOut, zPathOut);
165 void *sqlite3OsDlOpen(sqlite3_vfs *pVfs, const char *zPath){ argument
166 return pVfs->xDlOpen(pVfs, zPath);
126 sqlite3OsOpen( sqlite3_vfs *pVfs, const char *zPath, sqlite3_file *pFile, int flags, int *pFlagsOut ) argument
146 sqlite3OsAccess( sqlite3_vfs *pVfs, const char *zPath, int flags, int *pResOut ) argument
155 sqlite3OsFullPathname( sqlite3_vfs *pVfs, const char *zPath, int nPathOut, char *zPathOut ) argument
[all...]
H A Dtest_demovfs.c450 ** Delete the file identified by argument zPath. If the dirSync parameter
454 static int demoDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){ argument
457 rc = unlink(zPath);
463 char zDir[MAXPATHNAME+1]; /* Name of directory containing file zPath */
466 sqlite3_snprintf(MAXPATHNAME, zDir, "%s", zPath);
499 const char *zPath,
506 assert( flags==SQLITE_ACCESS_EXISTS /* access(zPath, F_OK) */
507 || flags==SQLITE_ACCESS_READ /* access(zPath, R_OK) */
508 || flags==SQLITE_ACCESS_READWRITE /* access(zPath, R_OK|W_OK) */
514 rc = access(zPath, eAcces
497 demoAccess( sqlite3_vfs *pVfs, const char *zPath, int flags, int *pResOut ) argument
530 demoFullPathname( sqlite3_vfs *pVfs, const char *zPath, int nPathOut, char *zPathOut ) argument
562 demoDlOpen(sqlite3_vfs *pVfs, const char *zPath) argument
[all...]
H A Dtest_onefile.c681 ** Delete the file located at zPath. If the dirSync argument is true,
685 static int fsDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){ argument
690 int nName = strlen(zPath) - 8;
693 assert(strcmp("-journal", &zPath[nName])==0);
696 for(; pReal && strncmp(pReal->zName, zPath, nName); pReal=pReal->pNext);
713 const char *zPath,
720 int nName = strlen(zPath);
724 return pParent->xAccess(pParent, zPath, flags, pResOut);
728 if( nName>8 && strcmp("-journal", &zPath[nName-8])==0 ){
734 for(; pReal && strncmp(pReal->zName, zPath, nNam
711 fsAccess( sqlite3_vfs *pVfs, const char *zPath, int flags, int *pResOut ) argument
745 fsFullPathname( sqlite3_vfs *pVfs, const char *zPath, int nOut, char *zOut ) argument
758 fsDlOpen(sqlite3_vfs *pVfs, const char *zPath) argument
[all...]
H A Dtest_syscall.c95 static int ts_access(const char *zPath, int mode);
96 static char *ts_getcwd(char *zPath, size_t nPath);
97 static int ts_stat(const char *zPath, struct stat *p);
232 static int ts_access(const char *zPath, int mode){ argument
236 return orig_access(zPath, mode);
242 static char *ts_getcwd(char *zPath, size_t nPath){ argument
246 return orig_getcwd(zPath, nPath);
252 static int ts_stat(const char *zPath, struct stat *p){ argument
256 return orig_stat(zPath, p);
H A Dtest_superlock.c168 ** Obtain a superlock on the database file identified by zPath, using the
183 const char *zPath, /* Path to database file to lock */
199 zPath, &pLock->db, SQLITE_OPEN_READWRITE|SQLITE_OPEN_CREATE, zVfs
310 char *zPath; local
322 zPath = Tcl_GetString(objv[2]);
334 rc = sqlite3demo_superlock(zPath, zVfs, xBusy, &busy, &pLock);
182 sqlite3demo_superlock( const char *zPath, const char *zVfs, int (*xBusy)(void*,int), void *pBusyArg, void **ppLock ) argument
H A Dtest_journal.c722 ** Delete the file located at zPath. If the dirSync argument is true,
726 static int jtDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){ argument
727 int nPath = strlen(zPath);
728 if( nPath>8 && 0==strcmp("-journal", &zPath[nPath-8]) ){
730 jt_file *pMain = locateDatabaseHandle(zPath);
736 return sqlite3OsDelete(g.pVfs, zPath, dirSync);
745 const char *zPath,
749 return sqlite3OsAccess(g.pVfs, zPath, flags, pResOut);
754 ** to the pathname in zPath. zOut is guaranteed to point to a buffer
759 const char *zPath,
743 jtAccess( sqlite3_vfs *pVfs, const char *zPath, int flags, int *pResOut ) argument
757 jtFullPathname( sqlite3_vfs *pVfs, const char *zPath, int nOut, char *zOut ) argument
769 jtDlOpen(sqlite3_vfs *pVfs, const char *zPath) argument
[all...]
H A Dtest6.c636 static int cfDelete(sqlite3_vfs *pCfVfs, const char *zPath, int dirSync){ argument
638 return pVfs->xDelete(pVfs, zPath, dirSync);
642 const char *zPath,
647 return pVfs->xAccess(pVfs, zPath, flags, pResOut);
651 const char *zPath,
656 return pVfs->xFullPathname(pVfs, zPath, nPathOut, zPathOut);
658 static void *cfDlOpen(sqlite3_vfs *pCfVfs, const char *zPath){ argument
660 return pVfs->xDlOpen(pVfs, zPath);
640 cfAccess( sqlite3_vfs *pCfVfs, const char *zPath, int flags, int *pResOut ) argument
649 cfFullPathname( sqlite3_vfs *pCfVfs, const char *zPath, int nPathOut, char *zPathOut ) argument
H A Dtest_vfstrace.c534 ** Delete the file located at zPath. If the dirSync argument is true,
538 static int vfstraceDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){ argument
543 pInfo->zVfsName, zPath, dirSync);
544 rc = pRoot->xDelete(pRoot, zPath, dirSync);
555 const char *zPath,
563 pInfo->zVfsName, zPath, flags);
564 rc = pRoot->xAccess(pRoot, zPath, flags, pResOut);
572 ** to the pathname in zPath. zOut is guaranteed to point to a buffer
577 const char *zPath,
585 pInfo->zVfsName, zPath);
553 vfstraceAccess( sqlite3_vfs *pVfs, const char *zPath, int flags, int *pResOut ) argument
575 vfstraceFullPathname( sqlite3_vfs *pVfs, const char *zPath, int nOut, char *zOut ) argument
595 vfstraceDlOpen(sqlite3_vfs *pVfs, const char *zPath) argument
[all...]
H A Dos_unix.c212 const char *zPath; /* Name of the file */ member in struct:unixFile
979 const char *zPath, /* File path associated with error */
1020 if( zPath==0 ) zPath = "";
1023 iLine, iErrno, zFunc, zPath, zErr
1045 pFile ? pFile->zPath : 0, lineno);
3315 return unixLogError(SQLITE_IOERR_FSYNC, "full_fsync", pFile->zPath);
3324 OSTRACE(("DIRSYNC %s (have_fullfsync=%d fullsync=%d)\n", pFile->zPath,
3326 rc = osOpenDirectory(pFile->zPath, &dirfd);
3359 return unixLogError(SQLITE_IOERR_TRUNCATE, "ftruncate", pFile->zPath);
976 unixLogErrorAtLine( int errcode, const char *zFunc, const char *zPath, int iLine ) argument
4755 findReusableFd(const char *zPath, int flags) argument
4815 findCreateFileMode( const char *zPath, int flags, mode_t *pMode ) argument
4946 unixOpen( sqlite3_vfs *pVfs, const char *zPath, sqlite3_file *pFile, int flags, int *pOutFlags ) argument
5163 unixDelete( sqlite3_vfs *NotUsed, const char *zPath, int dirSync ) argument
5206 unixAccess( sqlite3_vfs *NotUsed, const char *zPath, int flags, int *pResOut ) argument
5249 unixFullPathname( sqlite3_vfs *pVfs, const char *zPath, int nOut, char *zOut ) argument
[all...]
H A Dtest_osinst.c499 ** Delete the file located at zPath. If the dirSync argument is true,
503 static int vfslogDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){ argument
507 rc = REALVFS(pVfs)->xDelete(REALVFS(pVfs), zPath, dirSync);
510 vfslog_string(pVfs, zPath);
520 const char *zPath,
527 rc = REALVFS(pVfs)->xAccess(REALVFS(pVfs), zPath, flags, pResOut);
530 vfslog_string(pVfs, zPath);
536 ** to the pathname in zPath. zOut is guaranteed to point to a buffer
541 const char *zPath,
545 return REALVFS(pVfs)->xFullPathname(REALVFS(pVfs), zPath, nOu
518 vfslogAccess( sqlite3_vfs *pVfs, const char *zPath, int flags, int *pResOut ) argument
539 vfslogFullPathname( sqlite3_vfs *pVfs, const char *zPath, int nOut, char *zOut ) argument
551 vfslogDlOpen(sqlite3_vfs *pVfs, const char *zPath) argument
[all...]
H A Dtest_vfs.c603 ** Delete the file located at zPath. If the dirSync argument is true,
607 static int tvfsDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){ argument
613 Tcl_NewStringObj(zPath, -1), Tcl_NewIntObj(dirSync), 0
618 rc = sqlite3OsDelete(PARENTVFS(pVfs), zPath, dirSync);
629 const char *zPath,
641 Tcl_NewStringObj(zPath, -1), Tcl_NewStringObj(zArg, -1), 0
652 return sqlite3OsAccess(PARENTVFS(pVfs), zPath, flags, pResOut);
657 ** to the pathname in zPath. zOut is guaranteed to point to a buffer
662 const char *zPath,
666 return sqlite3OsFullPathname(PARENTVFS(pVfs), zPath, nOu
627 tvfsAccess( sqlite3_vfs *pVfs, const char *zPath, int flags, int *pResOut ) argument
660 tvfsFullPathname( sqlite3_vfs *pVfs, const char *zPath, int nOut, char *zOut ) argument
673 tvfsDlOpen(sqlite3_vfs *pVfs, const char *zPath) argument
[all...]
H A Dshell.c2532 char *zDrive, *zPath; local
2535 zPath = getenv("HOMEPATH");
2536 if( zDrive && zPath ){
2537 n = strlen30(zDrive) + strlen30(zPath) + 1;
2540 sqlite3_snprintf(n, home_dir, "%s%s", zDrive, zPath);
H A Dos_win.c110 const char *zPath; /* Full pathname of this file */ member in struct:winFile
1452 nName = sqlite3Strlen30(pDbFd->zPath);
1460 sqlite3_snprintf(nName+15, pNew->zFilename, "%s-shm", pDbFd->zPath);
2059 /* If argument zPath is a NULL pointer, this function is required to open
2231 pFile->zPath = zName;
/external/chromium_org/third_party/sqlite/src/ext/async/
H A Dsqlite3async.c1223 ** Fill in zPathOut with the full path to the file identified by zPath.
1227 const char *zPath,
1233 rc = pVfs->xFullPathname(pVfs, zPath, nPathOut, zPathOut);
1265 static void *asyncDlOpen(sqlite3_vfs *pAsyncVfs, const char *zPath){ argument
1267 return pVfs->xDlOpen(pVfs, zPath);
1225 asyncFullPathname( sqlite3_vfs *pAsyncVfs, const char *zPath, int nPathOut, char *zPathOut ) argument
/external/sqlite/dist/orig/
H A Dshell.c2629 char *zDrive, *zPath; local
2632 zPath = getenv("HOMEPATH");
2633 if( zDrive && zPath ){
2634 n = strlen30(zDrive) + strlen30(zPath) + 1;
2637 sqlite3_snprintf(n, home_dir, "%s%s", zDrive, zPath);
H A Dsqlite3.c14818 const char *zPath,
14829 rc = pVfs->xOpen(pVfs, zPath, pFile, flags & 0x87f7f, pFlagsOut);
14833 SQLITE_PRIVATE int sqlite3OsDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){ argument
14836 return pVfs->xDelete(pVfs, zPath, dirSync);
14840 const char *zPath,
14845 return pVfs->xAccess(pVfs, zPath, flags, pResOut);
14849 const char *zPath,
14855 return pVfs->xFullPathname(pVfs, zPath, nPathOut, zPathOut);
14858 SQLITE_PRIVATE void *sqlite3OsDlOpen(sqlite3_vfs *pVfs, const char *zPath){ argument
14859 return pVfs->xDlOpen(pVfs, zPath);
14816 sqlite3OsOpen( sqlite3_vfs *pVfs, const char *zPath, sqlite3_file *pFile, int flags, int *pFlagsOut ) argument
14838 sqlite3OsAccess( sqlite3_vfs *pVfs, const char *zPath, int flags, int *pResOut ) argument
14847 sqlite3OsFullPathname( sqlite3_vfs *pVfs, const char *zPath, int nPathOut, char *zPathOut ) argument
25025 const char *zPath; /* Name of the file */ member in struct:unixFile
26057 unixLogErrorAtLine( int errcode, const char *zFunc, const char *zPath, int iLine ) argument
29888 findReusableFd(const char *zPath, int flags) argument
29951 findCreateFileMode( const char *zPath, int flags, mode_t *pMode, uid_t *pUid, gid_t *pGid ) argument
30028 unixOpen( sqlite3_vfs *pVfs, const char *zPath, sqlite3_file *pFile, int flags, int *pOutFlags ) argument
30286 unixDelete( sqlite3_vfs *NotUsed, const char *zPath, int dirSync ) argument
30329 unixAccess( sqlite3_vfs *NotUsed, const char *zPath, int flags, int *pResOut ) argument
30372 unixFullPathname( sqlite3_vfs *pVfs, const char *zPath, int nOut, char *zOut ) argument
32178 const char *zPath; /* Full pathname of this file */ member in struct:winFile
33251 winLogErrorAtLine( int errcode, DWORD lastErrno, const char *zFunc, const char *zPath, int iLine ) argument
80459 char *zPath = 0; local
[all...]
/external/sqlite/dist/
H A Dshell.c2648 char *zDrive, *zPath; local
2651 zPath = getenv("HOMEPATH");
2652 if( zDrive && zPath ){
2653 n = strlen30(zDrive) + strlen30(zPath) + 1;
2656 sqlite3_snprintf(n, home_dir, "%s%s", zDrive, zPath);
H A Dsqlite3.c14818 const char *zPath,
14829 rc = pVfs->xOpen(pVfs, zPath, pFile, flags & 0x87f7f, pFlagsOut);
14833 SQLITE_PRIVATE int sqlite3OsDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){ argument
14836 return pVfs->xDelete(pVfs, zPath, dirSync);
14840 const char *zPath,
14845 return pVfs->xAccess(pVfs, zPath, flags, pResOut);
14849 const char *zPath,
14855 return pVfs->xFullPathname(pVfs, zPath, nPathOut, zPathOut);
14858 SQLITE_PRIVATE void *sqlite3OsDlOpen(sqlite3_vfs *pVfs, const char *zPath){ argument
14859 return pVfs->xDlOpen(pVfs, zPath);
14816 sqlite3OsOpen( sqlite3_vfs *pVfs, const char *zPath, sqlite3_file *pFile, int flags, int *pFlagsOut ) argument
14838 sqlite3OsAccess( sqlite3_vfs *pVfs, const char *zPath, int flags, int *pResOut ) argument
14847 sqlite3OsFullPathname( sqlite3_vfs *pVfs, const char *zPath, int nPathOut, char *zPathOut ) argument
25032 const char *zPath; /* Name of the file */ member in struct:unixFile
26075 unixLogErrorAtLine( int errcode, const char *zFunc, const char *zPath, int iLine ) argument
29916 findReusableFd(const char *zPath, int flags) argument
29979 findCreateFileMode( const char *zPath, int flags, mode_t *pMode, uid_t *pUid, gid_t *pGid ) argument
30056 unixOpen( sqlite3_vfs *pVfs, const char *zPath, sqlite3_file *pFile, int flags, int *pOutFlags ) argument
30314 unixDelete( sqlite3_vfs *NotUsed, const char *zPath, int dirSync ) argument
30357 unixAccess( sqlite3_vfs *NotUsed, const char *zPath, int flags, int *pResOut ) argument
30400 unixFullPathname( sqlite3_vfs *pVfs, const char *zPath, int nOut, char *zOut ) argument
32206 const char *zPath; /* Full pathname of this file */ member in struct:winFile
33279 winLogErrorAtLine( int errcode, DWORD lastErrno, const char *zFunc, const char *zPath, int iLine ) argument
80495 char *zPath = 0; local
[all...]
/external/chromium_org/third_party/sqlite/amalgamation/
H A Dsqlite3.c14087 const char *zPath,
14098 rc = pVfs->xOpen(pVfs, zPath, pFile, flags & 0x87f3f, pFlagsOut);
14102 SQLITE_PRIVATE int sqlite3OsDelete(sqlite3_vfs *pVfs, const char *zPath, int dirSync){ argument
14103 return pVfs->xDelete(pVfs, zPath, dirSync);
14107 const char *zPath,
14112 return pVfs->xAccess(pVfs, zPath, flags, pResOut);
14116 const char *zPath,
14121 return pVfs->xFullPathname(pVfs, zPath, nPathOut, zPathOut);
14124 SQLITE_PRIVATE void *sqlite3OsDlOpen(sqlite3_vfs *pVfs, const char *zPath){ argument
14125 return pVfs->xDlOpen(pVfs, zPath);
14085 sqlite3OsOpen( sqlite3_vfs *pVfs, const char *zPath, sqlite3_file *pFile, int flags, int *pFlagsOut ) argument
14105 sqlite3OsAccess( sqlite3_vfs *pVfs, const char *zPath, int flags, int *pResOut ) argument
14114 sqlite3OsFullPathname( sqlite3_vfs *pVfs, const char *zPath, int nPathOut, char *zPathOut ) argument
24163 const char *zPath; /* Name of the file */ member in struct:unixFile
25132 unixLogErrorAtLine( int errcode, const char *zFunc, const char *zPath, int iLine ) argument
28911 findReusableFd(const char *zPath, int flags) argument
28971 findCreateFileMode( const char *zPath, int flags, mode_t *pMode ) argument
29102 unixOpen( sqlite3_vfs *pVfs, const char *zPath, sqlite3_file *pFile, int flags, int *pOutFlags ) argument
29319 unixDelete( sqlite3_vfs *NotUsed, const char *zPath, int dirSync ) argument
29362 unixAccess( sqlite3_vfs *NotUsed, const char *zPath, int flags, int *pResOut ) argument
29405 unixFullPathname( sqlite3_vfs *pVfs, const char *zPath, int nOut, char *zOut ) argument
31245 const char *zPath; /* Full pathname of this file */ member in struct:winFile
[all...]

Completed in 498 milliseconds