/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/ |
utils.c | 201 int dfd; local 203 dfd = dirfd(d); 205 if (dfd < 0) return -1; 223 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 240 if (unlinkat(dfd, name, AT_REMOVEDIR) < 0) { 245 if (unlinkat(dfd, name, 0) < 0) { 278 int delete_dir_contents_fd(int dfd, const char *name) 283 fd = openat(dfd, name, O_RDONLY | O_DIRECTORY);
|
commands.c | 265 int dfd, subfd; local 287 dfd = dirfd(d); 299 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 384 int dfd; local 433 dfd = dirfd(d); 449 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 461 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 771 int dfd, subfd; local 788 dfd = dirfd(d); 799 subfd = openat(dfd, name, O_RDONLY) [all...] |
/system/core/init/ |
devices.c | 854 int dfd, fd; local 856 dfd = dirfd(d); 858 fd = openat(dfd, "uevent", O_WRONLY); 871 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY);
|
/system/core/charger/ |
charger.c | 529 int dfd, fd; local 531 dfd = dirfd(d); 533 fd = openat(dfd, "uevent", O_WRONLY); 553 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY); 555 LOGE("cannot openat %d '%s' (%d: %s)\n", dfd, de->d_name,
|