/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...] |
/system/netd/ |
main.cpp | 102 int dfd, fd; local 104 dfd = dirfd(d); 106 fd = openat(dfd, "uevent", O_WRONLY); 121 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY);
|
/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 | 103 int dfd, fd; local 105 dfd = dirfd(d); 107 fd = openat(dfd, "uevent", O_WRONLY); 122 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY);
|
/frameworks/base/cmds/installd/ |
commands.c | 483 int dfd; local 520 dfd = dirfd(d); 521 codesize += calculate_dir_size(dfd); 542 dfd = dirfd(d); 560 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 563 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 578 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 582 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 902 int dfd, subfd; local 919 dfd = dirfd(d) [all...] |
utils.c | 214 int dfd; local 216 dfd = dirfd(d); 218 if (dfd < 0) return -1; 236 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 253 if (unlinkat(dfd, name, AT_REMOVEDIR) < 0) { 258 if (unlinkat(dfd, name, 0) < 0) { 291 int delete_dir_contents_fd(int dfd, const char *name) 296 fd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 512 int dfd; local 517 dfd = dirfd(dir) [all...] |
/system/core/init/ |
devices.c | 840 int dfd, fd; local 842 dfd = dirfd(d); 844 fd = openat(dfd, "uevent", O_WRONLY); 857 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY);
|
/system/core/charger/ |
charger.c | 530 int dfd, fd; local 532 dfd = dirfd(d); 534 fd = openat(dfd, "uevent", O_WRONLY); 554 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY); 556 LOGE("cannot openat %d '%s' (%d: %s)\n", dfd, de->d_name,
|