Lines Matching full:zdirname
113 + char zDirname[MAX_PATHNAME+1];
115 + sqlite3_snprintf(MAX_PATHNAME, zDirname, "%s", zFilename);
116 + for(ii=(int)strlen(zDirname); ii>1 && zDirname[ii]!='/'; ii--);
118 + zDirname[ii] = '\0';
119 + fd = robust_open(zDirname, O_RDONLY|O_BINARY, 0);
124 + OSTRACE(("OPENDIR %-3d %s\n", fd, zDirname));
128 + return (fd>=0?SQLITE_OK:unixLogError(SQLITE_CANTOPEN_BKPT, "open", zDirname));
244 - char zDirname[MAX_PATHNAME+1];
246 - sqlite3_snprintf(MAX_PATHNAME, zDirname, "%s", zFilename);
247 - for(ii=(int)strlen(zDirname); ii>1 && zDirname[ii]!='/'; ii--);
249 - zDirname[ii] = '\0';
250 - fd = robust_open(zDirname, O_RDONLY|O_BINARY, 0);
255 - OSTRACE(("OPENDIR %-3d %s\n", fd, zDirname));
259 - return (fd>=0?SQLITE_OK:unixLogError(SQLITE_CANTOPEN_BKPT, "open", zDirname));
509 + char zDirname[MAX_PATHNAME+1];
511 + sqlite3_snprintf(MAX_PATHNAME, zDirname, "%s", zFilename);
512 + for(ii=(int)strlen(zDirname); ii>1 && zDirname[ii]!='/'; ii--);
514 + zDirname[ii] = '\0';
515 + fd = robust_open(zDirname, O_RDONLY|O_BINARY, 0);
520 + OSTRACE(("OPENDIR %-3d %s\n", fd, zDirname));
524 + return (fd>=0?SQLITE_OK:unixLogError(SQLITE_CANTOPEN_BKPT, "open", zDirname));
642 - char zDirname[MAX_PATHNAME+1];
644 - sqlite3_snprintf(MAX_PATHNAME, zDirname, "%s", zFilename);
645 - for(ii=(int)strlen(zDirname); ii>1 && zDirname[ii]!='/'; ii--);
647 - zDirname[ii] = '\0';
648 - fd = robust_open(zDirname, O_RDONLY|O_BINARY, 0);
653 - OSTRACE(("OPENDIR %-3d %s\n", fd, zDirname));
657 - return (fd>=0?SQLITE_OK:unixLogError(SQLITE_CANTOPEN_BKPT, "open", zDirname));