Lines Matching defs:zDir
32089 const char *zDir = 0;
32094 for(i=0; i<sizeof(azDirs)/sizeof(azDirs[0]); zDir=azDirs[i++]){
32095 if( zDir==0 ) continue;
32096 if( osStat(zDir, &buf) ) continue;
32098 if( osAccess(zDir, 07) ) continue;
32101 return zDir;
32115 const char *zDir;
32123 zDir = unixTempFileDir();
32124 if( zDir==0 ) zDir = ".";
32129 if( (strlen(zDir) + strlen(SQLITE_TEMP_FILE_PREFIX) + 18) >= (size_t)nBuf ){
32134 sqlite3_snprintf(nBuf-18, zBuf, "%s/"SQLITE_TEMP_FILE_PREFIX, zDir);
38810 const char *zDir = 0;
38817 for(i=0; i<sizeof(azDirs)/sizeof(azDirs[0]); zDir=azDirs[i++]){
38819 if( zDir==0 ) continue;
38825 if( winIsDriveLetterAndColon(zDir) ){
38826 zConverted = winConvertFromUtf8Filename(zDir);
38833 sqlite3_snprintf(nMax, zBuf, "%s", zDir);
38846 osIsNT() ? CCP_POSIX_TO_WIN_W : CCP_POSIX_TO_WIN_A, zDir,
38852 "winGetTempname2", zDir);