/external/chromium_org/sandbox/linux/suid/ |
D | process_util_linux.c | 37 const int dirfd = open(oom_adj, O_RDONLY | O_DIRECTORY); in AdjustOOMScore() local 38 if (dirfd < 0) in AdjustOOMScore() 42 if (fstat(dirfd, &statbuf) < 0) { in AdjustOOMScore() 43 close(dirfd); in AdjustOOMScore() 47 close(dirfd); in AdjustOOMScore() 51 int fd = openat(dirfd, "oom_score_adj", O_WRONLY); in AdjustOOMScore() 55 fd = openat(dirfd, "oom_adj", O_WRONLY); in AdjustOOMScore() 66 close(dirfd); in AdjustOOMScore()
|
/external/chromium_org/third_party/sqlite/ |
D | system-sqlite.patch | 20 - int dirfd; /* File descriptor for the directory */ 59 - if( pFile->dirfd>=0 ){ 60 - robust_close(pFile, pFile->dirfd, __LINE__); 61 - pFile->dirfd=-1; 139 - if( pFile->dirfd>=0 ){ 140 - OSTRACE(("DIRSYNC %-3d (have_fullfsync=%d fullsync=%d)\n", pFile->dirfd, 147 + int dirfd; 155 - if( (!HAVE_FULLFSYNC || !isFullsync) && full_fsync(pFile->dirfd,0,0) ){ 164 + rc = osOpenDirectory(pFile->zPath, &dirfd); 165 + if( rc==SQLITE_OK && dirfd>=0 ){ [all …]
|
D | webdb.patch | 27 int dirfd, /* Directory file descriptor */ 40 + int dirfd, 45 + return fillInUnixFile(vfs, fd, dirfd, file, fileName, noLock, isDelete, 0); 140 rc = fillInUnixFile(pVfs, fd, dirfd, pFile, zPath, noLock, isDelete);
|
/external/qemu/ |
D | oslib-posix.c | 113 int qemu_utimensat(int dirfd, const char *path, const struct timespec *times, in qemu_utimensat() argument 122 ret = utimensat(dirfd, path, times, flags); in qemu_utimensat()
|
D | qemu-os-posix.h | 51 int qemu_utimensat(int dirfd, const char *path, const qemu_timespec *times,
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | linuxfdwalk.c | 60 int opendirfd = dirfd(dir); in fdwalk()
|
/external/grub/stage2/ |
D | dir.h | 135 #define dirfd(dirp) ((dirp)->dd_fd) macro
|
/external/openssh/openbsd-compat/ |
D | bsd-closefrom.c | 84 fd >= 0 && fd < INT_MAX && fd >= lowfd && fd != dirfd(dirp)) in closefrom()
|
D | getcwd.c | 148 if (!(dir = opendir(up)) || fstat(dirfd(dir), &s)) in getcwd()
|
/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/sqlite/ |
D | SQLiteFileSystemPosix.cpp | 46 int chromium_sqlite3_fill_in_unix_sqlite3_file(sqlite3_vfs* vfs, int fd, int dirfd, sqlite3_file* f…
|
/external/chromium_org/third_party/sqlite/src/src/ |
D | os_unix.c | 3323 int dirfd; in unixSync() local 3326 rc = osOpenDirectory(pFile->zPath, &dirfd); in unixSync() 3327 if( rc==SQLITE_OK && dirfd>=0 ){ in unixSync() 3328 full_fsync(dirfd, 0, 0); in unixSync() 3329 robust_close(pFile, dirfd, __LINE__); in unixSync() 4866 int dirfd, in chromium_sqlite3_fill_in_unix_sqlite3_file() argument 4871 return fillInUnixFile(vfs, fd, dirfd, file, fileName, noLock, isDelete, 0); in chromium_sqlite3_fill_in_unix_sqlite3_file()
|
/external/bison/ |
D | maint.mk | 682 _de1 = dirfd|(close|(fd)?open|read|rewind|seek|tell)dir(64)?(_r)?
|
/external/openssh/ |
D | config.h.in | 317 /* Define to 1 if you have the `dirfd' function. */
|
D | configure.ac | 1438 dirfd \
|
D | configure | 8996 dirfd \
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.c | 27479 int dirfd; 27482 rc = osOpenDirectory(pFile->zPath, &dirfd); 27483 if( rc==SQLITE_OK && dirfd>=0 ){ 27484 full_fsync(dirfd, 0, 0); 27485 robust_close(pFile, dirfd, __LINE__); 29022 int dirfd, 29027 return fillInUnixFile(vfs, fd, dirfd, file, fileName, noLock, isDelete, 0);
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 28410 int dirfd; 28413 rc = osOpenDirectory(pFile->zPath, &dirfd); 28414 if( rc==SQLITE_OK && dirfd>=0 ){ 28415 full_fsync(dirfd, 0, 0); 28416 robust_close(pFile, dirfd, __LINE__);
|
/external/sqlite/dist/ |
D | sqlite3.c | 28428 int dirfd; 28431 rc = osOpenDirectory(pFile->zPath, &dirfd); 28432 if( rc==SQLITE_OK && dirfd>=0 ){ 28433 full_fsync(dirfd, 0, 0); 28434 robust_close(pFile, dirfd, __LINE__);
|