/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 | 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);
|
/frameworks/native/cmds/installd/ |
commands.c | 429 int dfd; local 466 dfd = dirfd(d); 467 codesize += calculate_dir_size(dfd); 488 dfd = dirfd(d); 506 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 509 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 524 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 528 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 848 int dfd, subfd; local 865 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 | 839 int dfd, fd; local 841 dfd = dirfd(d); 843 fd = openat(dfd, "uevent", O_WRONLY); 856 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY);
|
/system/core/charger/ |
charger.c | 549 int dfd, fd; local 551 dfd = dirfd(d); 553 fd = openat(dfd, "uevent", O_WRONLY); 573 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY); 575 LOGE("cannot openat %d '%s' (%d: %s)\n", dfd, de->d_name,
|