Home
last modified time | relevance | path

Searched refs:sStat (Results 1 – 5 of 5) sorted by relevance

/external/sqlite/dist/
DAndroid.patch101 if( osFstat(pDbFd->h, &sStat) ){
Dshell.c2238 struct stat sStat; in makeDirectory() local
2245 rc2 = stat(zCopy, &sStat); in makeDirectory()
2249 if( !S_ISDIR(sStat.st_mode) ) rc = SQLITE_ERROR; in makeDirectory()
2285 struct stat sStat; in writeFile() local
2287 || 0!=stat(zFile, &sStat) in writeFile()
2288 || !S_ISDIR(sStat.st_mode) in writeFile()
2289 || ((sStat.st_mode&0777)!=(mode&0777) && 0!=chmod(zFile, mode&0777)) in writeFile()
2471 struct stat sStat; /* Current lstat() results */ member
2578 mode_t m = pCur->sStat.st_mode; in fsdirNext()
2617 if( lstat(pCur->zPath, &pCur->sStat) ){ in fsdirNext()
[all …]
Dsqlite3.c35148 struct stat sStat; /* fstat() info for database file */
35157 if( osFstat(pDbFd->h, &sStat) ){
35177 (u32)sStat.st_ino, (u32)sStat.st_dev);
35195 pShmNode->h = robust_open(zShm, O_RDWR|O_CREAT, (sStat.st_mode&0777));
35198 pShmNode->h = robust_open(zShm, O_RDONLY, (sStat.st_mode&0777));
35210 robustFchown(pShmNode->h, sStat.st_uid, sStat.st_gid);
35305 struct stat sStat; /* Used by fstat() */
35314 if( osFstat(pShmNode->h, &sStat) ){
35319 if( sStat.st_size<nByte ){
35340 for(iPg=(sStat.st_size/pgsz); iPg<(nByte/pgsz); iPg++){
[all …]
/external/sqlite/dist/orig/
Dshell.c2232 struct stat sStat; in makeDirectory() local
2239 rc2 = stat(zCopy, &sStat); in makeDirectory()
2243 if( !S_ISDIR(sStat.st_mode) ) rc = SQLITE_ERROR; in makeDirectory()
2279 struct stat sStat; in writeFile() local
2281 || 0!=stat(zFile, &sStat) in writeFile()
2282 || !S_ISDIR(sStat.st_mode) in writeFile()
2283 || ((sStat.st_mode&0777)!=(mode&0777) && 0!=chmod(zFile, mode&0777)) in writeFile()
2465 struct stat sStat; /* Current lstat() results */ member
2572 mode_t m = pCur->sStat.st_mode; in fsdirNext()
2611 if( lstat(pCur->zPath, &pCur->sStat) ){ in fsdirNext()
[all …]
Dsqlite3.c35132 struct stat sStat; /* fstat() info for database file */
35141 if( osFstat(pDbFd->h, &sStat) ){
35161 (u32)sStat.st_ino, (u32)sStat.st_dev);
35179 pShmNode->h = robust_open(zShm, O_RDWR|O_CREAT, (sStat.st_mode&0777));
35182 pShmNode->h = robust_open(zShm, O_RDONLY, (sStat.st_mode&0777));
35194 robustFchown(pShmNode->h, sStat.st_uid, sStat.st_gid);
35289 struct stat sStat; /* Used by fstat() */
35298 if( osFstat(pShmNode->h, &sStat) ){
35303 if( sStat.st_size<nByte ){
35324 for(iPg=(sStat.st_size/pgsz); iPg<(nByte/pgsz); iPg++){
[all …]