• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/minidlna/sqlite-3.6.22/

Lines Matching defs:zFilename

1226 ** SQLite will guarantee that the zFilename parameter to xOpen
1233 ** If the zFilename parameter is xOpen is a NULL pointer then xOpen
1334 void *(*xDlOpen)(sqlite3_vfs*, const char *zFilename);
6859 const char *zFilename, /* Name of database file to open */
10283 SQLITE_PRIVATE int sqlite3BtreeFactory(sqlite3 *db, const char *zFilename,
13034 SQLITE_PRIVATE void sqlite3MemdebugDump(const char *zFilename){
13039 out = fopen(zFilename, "w");
13042 zFilename);
13677 SQLITE_PRIVATE void sqlite3Memsys3Dump(const char *zFilename){
13682 if( zFilename==0 || zFilename[0]==0 ){
13685 out = fopen(zFilename, "w");
13688 zFilename);
13746 UNUSED_PARAMETER(zFilename);
14296 SQLITE_PRIVATE void sqlite3Memsys5Dump(const char *zFilename){
14301 if( zFilename==0 || zFilename[0]==0 ){
14304 out = fopen(zFilename, "w");
14307 zFilename);
21000 const char *zFilename, /* Name of file to delete */
21004 char *zFilenameCp = convertUtf8PathToCp( zFilename );
21008 OSTRACE2( "DELETE \"%s\"\n", zFilename );
21017 const char *zFilename, /* Name of file to check */
21023 char *zFilenameCp = convertUtf8PathToCp( zFilename );
21035 OSTRACE3( "ACCESS %s access of read and exists rc=%d\n", zFilename, rc );
21039 OSTRACE3( "ACCESS %s access of read/write rc=%d\n", zFilename, rc );
21058 static void *os2DlOpen(sqlite3_vfs *pVfs, const char *zFilename){
21062 char *zFilenameCp = convertUtf8PathToCp(zFilename);
24999 const char *zFilename, /* Name of the file being opened */
25015 OSTRACE3("OPEN %-3d %s\n", h, zFilename);
25022 pNew->pId = vxworksFindFileId(zFilename);
25032 pLockingStyle = (**(finder_type*)pVfs->pAppData)(zFilename, pNew);
25034 /* Cache zFilename in the locking context (AFP and dotlock override) for
25036 ** zFilename remains valid until file is closed, to support */
25037 pNew->lockingContext = (void*)zFilename;
25079 /* NB: zFilename exists and remains valid until the file is closed
25082 pCtx->dbPath = zFilename;
25097 nFilename = (int)strlen(zFilename) + 6;
25102 sqlite3_snprintf(nFilename, zLockFile, "%s" DOTLOCK_SUFFIX, zFilename);
25134 unlink(zFilename);
25150 ** Open a file descriptor to the directory containing file zFilename.
25159 static int openDirectory(const char *zFilename, int *pFd){
25164 sqlite3_snprintf(MAX_PATHNAME, zDirname, "%s", zFilename);
25651 static void *unixDlOpen(sqlite3_vfs *NotUsed, const char *zFilename){
25653 return dlopen(zFilename, RTLD_NOW | RTLD_GLOBAL);
27273 static WCHAR *utf8ToUnicode(const char *zFilename){
27277 nChar = MultiByteToWideChar(CP_UTF8, 0, zFilename, -1, NULL, 0);
27282 nChar = MultiByteToWideChar(CP_UTF8, 0, zFilename, -1, zWideFilename, nChar);
27296 char *zFilename;
27299 zFilename = malloc( nByte );
27300 if( zFilename==0 ){
27303 nByte = WideCharToMultiByte(CP_UTF8, 0, zWideFilename, -1, zFilename, nByte,
27306 free(zFilename);
27307 zFilename = 0;
27309 return zFilename;
27319 static WCHAR *mbcsToUnicode(const char *zFilename){
27324 nByte = MultiByteToWideChar(codepage, 0, zFilename, -1, NULL,0)*sizeof(WCHAR);
27329 nByte = MultiByteToWideChar(codepage, 0, zFilename, -1, zMbcsFilename, nByte);
27346 char *zFilename;
27350 zFilename = malloc( nByte );
27351 if( zFilename==0 ){
27354 nByte = WideCharToMultiByte(codepage, 0, zWideFilename, -1, zFilename, nByte,
27357 free(zFilename);
27358 zFilename = 0;
27360 return zFilename;
27367 SQLITE_API char *sqlite3_win32_mbcs_to_utf8(const char *zFilename){
27371 zTmpWide = mbcsToUnicode(zFilename);
27384 static char *utf8ToMbcs(const char *zFilename){
27388 zTmpWide = utf8ToUnicode(zFilename);
27454 static BOOL winceCreateLock(const char *zFilename, winFile *pFile){
27456 WCHAR *zName = utf8ToUnicode(zFilename);
28277 static void *convertUtf8Filename(const char *zFilename){
28280 zConverted = utf8ToUnicode(zFilename);
28285 zConverted = utf8ToMbcs(zFilename);
28573 const char *zFilename, /* Name of file to delete */
28579 void *zConverted = convertUtf8Filename(zFilename);
28608 OSTRACE2("DELETE \"%s\"\n", zFilename);
28618 const char *zFilename, /* Name of file to check */
28624 void *zConverted = convertUtf8Filename(zFilename);
28806 static void *winDlOpen(sqlite3_vfs *pVfs, const char *zFilename){
28808 void *zConverted = convertUtf8Filename(zFilename);
31470 u8 tempFile; /* zFilename is a temporary file */
31517 char *zFilename; /* Name of the database file */
33639 ** If the pager was opened on a transient file (zFilename==""), or
34294 ** The zFilename argument is the path to the database file to open.
34295 ** If zFilename is NULL then a randomly-named temporary file is created
34297 ** automatically when they are closed. If zFilename is ":memory:" then
34322 const char *zFilename, /* Name of the database file to open */
34363 if( zFilename && zFilename[0] ){
34370 if( strcmp(zFilename,":memory:")==0 ){
34377 rc = sqlite3OsFullPathname(pVfs, zFilename, nPathname, zPathname);
34413 nPathname + 1 + /* zFilename */
34426 pPager->zFilename = (char*)(pPtr += journalFileSize);
34429 /* Fill in the Pager.zFilename and Pager.zJournal buffers, if required. */
34432 memcpy(pPager->zFilename, zPathname, nPathname);
34435 if( pPager->zFilename[0]==0 ) pPager->zJournal[0] = 0;
34443 if( zFilename && zFilename[0] && !memDb ){
34445 rc = sqlite3OsOpen(pVfs, pPager->zFilename, pPager->fd, vfsFlags, &fout);
34520 PAGERTRACE(("OPEN %d %s\n", FILEHANDLEID(pPager->fd), pPager->zFilename));
34521 IOTRACE(("OPEN %p %s\n", pPager, pPager->zFilename))
35779 pPager->zFilename, zMaster, pPager->dbSize));
36237 return pPager->zFilename;
39227 ** zFilename is the name of the database file. If zFilename is NULL
39230 ** If zFilename is ":memory:" then an in-memory database is created
39240 const char *zFilename, /* Name of the file containing the BTree database */
39263 const int isMemdb = zFilename && !strcmp(zFilename, ":memory:");
39287 if( isMemdb==0 && zFilename && zFilename[0] ){
39297 sqlite3OsFullPathname(pVfs, zFilename, nFullPathname, zFullPathname);
39354 rc = sqlite3PagerOpen(pVfs, &pBt->pPager, zFilename,
39380 if( zFilename && !isMemdb ){
96417 ** driver. If zFilename is the name of a file, then that file is
96418 ** opened and used. If zFilename is the magic name ":memory:" then
96420 ** the connection is closed.) If zFilename is NULL then the database
96430 const char *zFilename, /* Name of the file containing the BTree database */
96448 if( zFilename==0 && sqlite3TempInMemory(db) ){
96449 zFilename = ":memory:";
96453 if( (vfsFlags & SQLITE_OPEN_MAIN_DB)!=0 && (zFilename==0 || *zFilename==0) ){
96456 rc = sqlite3BtreeOpen(zFilename, (sqlite3 *)db, ppBtree, btFlags, vfsFlags);
96726 ** sqlite3_open() and sqlite3_open16(). The database filename "zFilename"
96730 const char *zFilename, /* Database filename UTF-8 encoded */
96850 rc = sqlite3BtreeFactory(db, zFilename, 0, SQLITE_DEFAULT_CACHE_SIZE,
96961 const char *zFilename,
96964 return openDatabase(zFilename, ppDb,
96981 const void *zFilename,
96984 char const *zFilename8; /* zFilename encoded in UTF-8 instead of UTF-16 */
96988 assert( zFilename );
96996 sqlite3ValueSetStr(pVal, -1, zFilename, SQLITE_UTF16NATIVE, SQLITE_STATIC);