/external/valgrind/main/memcheck/tests/linux/ |
sys-openat.c | 11 int dfd = open ("/tmp", O_RDONLY); local 12 __attribute__((unused)) int fd1 = openat (dfd, "abc", O_RDONLY);
|
/external/qemu/slirp-android/ |
debug.c | 11 FILE *dfd = NULL; variable 33 if (dfd) 34 fclose(dfd); 36 dfd = fopen(file,"w"); 37 if (dfd != NULL) { 39 fprintf(dfd,"Slirp %s - Debugging Started.\n", SLIRP_VERSION); 41 fprintf(dfd,"Debugging Started level %i.\r\n",dbg); 42 fflush(dfd); 64 DEBUG_MISC((dfd, "PACKET DUMPED: \n")); 67 DEBUG_MISC((dfd, "%02x ", *pptr++)) [all...] |
/external/qemu/slirp/ |
debug.c | 11 FILE *dfd = NULL; variable 32 if (dfd) 33 fclose(dfd); 35 dfd = fopen(file,"w"); 36 if (dfd != NULL) { 38 fprintf(dfd,"Slirp %s - Debugging Started.\n", SLIRP_VERSION); 40 fprintf(dfd,"Debugging Started level %i.\r\n",dbg); 41 fflush(dfd); 63 DEBUG_MISC((dfd, "PACKET DUMPED: \n")); 66 DEBUG_MISC((dfd, "%02x ", *pptr++)) [all...] |
/system/vold/ |
main.cpp | 112 int dfd, fd; local 114 dfd = dirfd(d); 116 fd = openat(dfd, "uevent", O_WRONLY); 131 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY);
|
/external/chromium_org/third_party/sqlite/src/src/ |
test_demovfs.c | 461 int dfd; /* File descriptor open on directory */ local 472 dfd = open(zDir, O_RDONLY, 0); 473 if( dfd<0 ){ 476 rc = fsync(dfd); 477 close(dfd);
|
/external/e2fsprogs/util/ |
symlinks.c | 272 DIR *dfd; local 276 if ((dfd = opendir(path)) == NULL) { 285 while ((dp = readdir(dfd)) != NULL ) { 299 closedir(dfd);
|
/frameworks/native/cmds/installd/ |
utils.c | 227 int dfd; local 229 dfd = dirfd(d); 231 if (dfd < 0) return -1; 251 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 268 if (unlinkat(dfd, name, AT_REMOVEDIR) < 0) { 273 if (unlinkat(dfd, name, 0) < 0) { 306 int delete_dir_contents_fd(int dfd, const char *name) 311 fd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 625 int dfd; local 630 dfd = dirfd(dir) [all...] |
commands.c | 474 int dfd; local 511 dfd = dirfd(d); 512 codesize += calculate_dir_size(dfd); 533 dfd = dirfd(d); 551 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 554 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 569 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 573 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 1137 int dfd, subfd; local [all...] |
/system/core/init/ |
devices.c | 986 int dfd, fd; local 988 dfd = dirfd(d); 990 fd = openat(dfd, "uevent", O_WRONLY); 1003 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY);
|