/external/qemu/slirp/ |
debug.h | 11 extern FILE *dfd; 22 #define DEBUG_CALL(x) if (slirp_debug & DBG_CALL) { fprintf(dfd, "%s...\n", x); fflush(dfd); } 23 #define DEBUG_ARG(x, y) if (slirp_debug & DBG_CALL) { fputc(' ', dfd); fprintf(dfd, x, y); fputc('\n', dfd); fflush(dfd); } 24 #define DEBUG_ARGS(x) if (slirp_debug & DBG_CALL) { fprintf x ; fflush(dfd); } 25 #define DEBUG_MISC(x) if (slirp_debug & DBG_MISC) { fprintf x ; fflush(dfd); } 26 #define DEBUG_ERROR(x) if (slirp_debug & DBG_ERROR) {fprintf x ; fflush(dfd); } [all...] |
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...] |
cksum.c | 124 DEBUG_ERROR((dfd, "cksum: out of data\n")); 125 DEBUG_ERROR((dfd, " len = %d\n", len));
|
socket.c | 172 DEBUG_MISC((dfd, " ... read nn = %d bytes\n", nn)); 180 DEBUG_MISC((dfd, " --- soread() disconnected, nn = %d, errno = %d-%s\n", nn, errno,strerror(errno))); 204 DEBUG_MISC((dfd, " ... read nn = %d bytes\n", nn)); 311 DEBUG_MISC((dfd, " --- sent %d bytes urgent data, %d urgent bytes left\n", n, so->so_urgc)); 332 DEBUG_ERROR((dfd, "Didn't send all data urgently XXXXX\n")); 334 DEBUG_MISC((dfd, " ---2 sent %d bytes urgent data, %d urgent bytes left\n", n, so->so_urgc)); 398 DEBUG_MISC((dfd, " ... wrote nn = %d bytes\n", nn)); 407 DEBUG_MISC((dfd, " --- sowrite disconnected, so->so_state = %x, errno = %d\n", 421 DEBUG_MISC((dfd, " ... wrote nn = %d bytes\n", nn)); 466 DEBUG_MISC((dfd," udp icmp rx errno = %d-%s\n" [all...] |
ip_icmp.c | 120 DEBUG_MISC((dfd,"icmp_input udp_attach errno = %d-%s\n", 154 DEBUG_MISC((dfd,"icmp_input udp sendto tx errno = %d-%s\n", 225 DEBUG_MISC((dfd, " %.16s to %.16s\n", bufa, bufb));
|
bootp.c | 47 if (slirp_debug & DBG_CALL) { fprintf(dfd, fmt, ## __VA_ARGS__); fflush(dfd); }
|
if.c | 92 DEBUG_MISC((dfd, " read %d bytes\n", if_n));
|
mbuf.c | 224 DEBUG_ERROR((dfd, "dtom failed"));
|
/external/qemu/slirp-android/ |
debug.h | 11 extern FILE *dfd; 22 #define DEBUG_CALL(x) if (slirp_debug & DBG_CALL) { fprintf(dfd, "%s...\n", x); fflush(dfd); } 23 #define DEBUG_ARG(x, y) if (slirp_debug & DBG_CALL) { fputc(' ', dfd); fprintf(dfd, x, y); fputc('\n', dfd); fflush(dfd); } 24 #define DEBUG_ARGS(x) if (slirp_debug & DBG_CALL) { fprintf x ; fflush(dfd); } 25 #define DEBUG_MISC(x) if (slirp_debug & DBG_MISC) { fprintf x ; fflush(dfd); } 26 #define DEBUG_ERROR(x) if (slirp_debug & DBG_ERROR) {fprintf x ; fflush(dfd); } [all...] |
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...] |
cksum.c | 124 DEBUG_ERROR((dfd, "cksum: out of data\n")); 125 DEBUG_ERROR((dfd, " len = %d\n", len));
|
socket.c | 180 DEBUG_MISC((dfd, " ... read nn = %d bytes\n", nn)); 188 DEBUG_MISC((dfd, " --- soread() disconnected, nn = %d, errno = %d-%s\n", nn, errno,errno_str)); 212 DEBUG_MISC((dfd, " ... read nn = %d bytes\n", nn)); 319 DEBUG_MISC((dfd, " --- sent %d bytes urgent data, %d urgent bytes left\n", n, so->so_urgc)); 340 DEBUG_ERROR((dfd, "Didn't send all data urgently XXXXX\n")); 342 DEBUG_MISC((dfd, " ---2 sent %d bytes urgent data, %d urgent bytes left\n", n, so->so_urgc)); 406 DEBUG_MISC((dfd, " ... wrote nn = %d bytes\n", nn)); 415 DEBUG_MISC((dfd, " --- sowrite disconnected, so->so_state = %x, errno = %d\n", 429 DEBUG_MISC((dfd, " ... wrote nn = %d bytes\n", nn)); 472 DEBUG_MISC((dfd," udp icmp rx errno = %d-%s\n" [all...] |
ip_icmp.c | 124 DEBUG_MISC((dfd,"icmp_input udp_attach errno = %d-%s\n", 156 DEBUG_MISC((dfd,"icmp_input udp sendto tx errno = %d-%s\n", 227 DEBUG_MISC((dfd, " %.16s to %.16s\n", bufa, bufb));
|
udp.c | 206 DEBUG_MISC((dfd,"Error logging DNS packet")); 247 DEBUG_MISC((dfd," udp_attach errno = %d-%s\n", 286 DEBUG_MISC((dfd,"udp tx errno = %d-%s\n",errno, errno_str)); 363 DEBUG_MISC((dfd,"Error logging DNS packet"));
|
bootp.c | 48 if (slirp_debug & DBG_CALL) { fprintf(dfd, fmt, ## __VA_ARGS__); fflush(dfd); }
|
if.c | 92 DEBUG_MISC((dfd, " read %d bytes\n", if_n));
|
mbuf.c | 224 DEBUG_ERROR((dfd, "dtom failed"));
|
/frameworks/native/include/diskusage/ |
dirsize.h | 26 int64_t calculate_dir_size(int dfd);
|
/frameworks/native/libs/diskusage/ |
dirsize.c | 38 int64_t calculate_dir_size(int dfd) 45 d = fdopendir(dfd); 47 close(dfd); 53 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 67 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY);
|
/ndk/sources/host-tools/make-3.81/ |
vmsdir.h | 71 extern struct direct *readdir PARAMS ((DIR *dfd)); 73 extern int closedir PARAMS ((DIR *dfd));
|
/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);
|
/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/ |
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...] |
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...] |
/external/kernel-headers/original/linux/ |
time.h | 111 extern long do_utimes(int dfd, char __user *filename, struct timeval *times);
|