Lines Matching refs:zDir
2647 char *zDir; /* Name of directory (nul-terminated) */ member
2728 sqlite3_free(pLvl->zDir); in fsdirResetCursor()
2788 pLvl->zDir = pCur->zPath; in fsdirNext()
2790 pLvl->pDir = opendir(pLvl->zDir); in fsdirNext()
2806 pCur->zPath = sqlite3_mprintf("%s/%s", pLvl->zDir, pEntry->d_name); in fsdirNext()
2815 sqlite3_free(pLvl->zDir); in fsdirNext()
2817 pLvl->zDir = 0; in fsdirNext()
2922 const char *zDir = 0; in fsdirFilter() local
2933 zDir = (const char*)sqlite3_value_text(argv[0]); in fsdirFilter()
2934 if( zDir==0 ){ in fsdirFilter()
2943 pCur->zPath = sqlite3_mprintf("%s/%s", pCur->zBase, zDir); in fsdirFilter()
2945 pCur->zPath = sqlite3_mprintf("%s", zDir); in fsdirFilter()
14331 const char *zDir; /* --directory argument, or NULL */ member
14411 pAr->zDir = zArg; in arProcessSwitch()
14699 char *zDir = 0; in arExtractCommand() local
14710 if( pAr->zDir ){ in arExtractCommand()
14711 zDir = sqlite3_mprintf("%s/", pAr->zDir); in arExtractCommand()
14713 zDir = sqlite3_mprintf(""); in arExtractCommand()
14715 if( zDir==0 ) rc = SQLITE_NOMEM; in arExtractCommand()
14724 sqlite3_bind_text(pSql, j, zDir, -1, SQLITE_STATIC); in arExtractCommand()
14748 sqlite3_free(zDir); in arExtractCommand()
14878 pAr->azArg[i], pAr->zDir, zExists); in arCreateOrUpdateCommand()