/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));
|
/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); }
|
/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);
|
/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);
|
/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/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/compiler-rt/include/sanitizer/ |
linux_syscall_hooks.h | [all...] |
/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...] |
/external/e2fsprogs/util/ |
symlinks.c | 272 DIR *dfd; local 276 if ((dfd = opendir(path)) == NULL) { 285 while ((dp = readdir(dfd)) != NULL ) { 299 closedir(dfd);
|
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/lib/ |
dojo-1.6.1.js | [all...] |