Home | History | Annotate | Download | only in tools

Lines Matching full:printf

70     if (events & POLLIN) printf("POLLIN ");
71 if (events & POLLPRI) printf("POLLPRI ");
72 if (events & POLLOUT) printf("POLLOUT ");
73 if (events & POLLERR) printf("POLLERR ");
74 if (events & POLLHUP) printf("POLLHUP ");
75 if (events & POLLNVAL) printf("POLLNVAL ");
76 printf("\n");
82 printf("%d ", ufds[i].fd);
119 printf("%d: socket()\n", gettid());
121 printf("%d: socket() = %d\n", gettid(), ret);
122 if (ret < 0) printf("\terr %d (%s)\n", errno, strerror(errno));
130 printf("%d: close(%d)\n", gettid(), fd);
132 printf("%d: close(%d) = %d\n", gettid(), fd, ret);
133 if (ret < 0) printf("\terr %d (%s)\n", errno, strerror(errno));
167 printf("%d: bind(%d)\n", gettid(), fd);
169 printf("%d: bind(%d) = %d\n", gettid(), fd, ret);
170 if (ret < 0) printf("\terr %d (%s)\n", errno, strerror(errno));
178 printf("%d: listen(%d)\n", gettid(), fd);
180 printf("%d: listen(%d) = %d\n", gettid(), fd, ret);
181 if (ret < 0) printf("\terr %d (%s)\n", errno, strerror(errno));
190 printf("%d: read(%d)\n", gettid(), fd);
192 printf("%d: read(%d) = %d [%d]\n", gettid(), fd, ret, (int)buf);
193 if (ret < 0) printf("\terr %d (%s)\n", errno, strerror(errno));
227 printf("%d: accept(%d)\n", gettid(), fd);
229 printf("%d: accept(%d) = %d\n", gettid(), fd, ret);
230 if (ret < 0) printf("\terr %d (%s)\n", errno, strerror(errno));
232 printf("\tlen = %d\n", len);
266 printf("%d: connect(%d)\n", gettid(), fd);
268 printf("%d: connect(%d) = %d\n", gettid(), fd, ret);
269 if (ret < 0) printf("\terr %d (%s)\n", errno, strerror(errno));
278 printf("%d: write(%d)\n", gettid(), fd);
280 printf("%d: write(%d) = %d\n", gettid(), fd, ret);
281 if (ret < 0) printf("\terr %d (%s)\n", errno, strerror(errno));
289 printf("%d: shutdown(%d)\n", gettid(), fd);
291 printf("%d: shutdown(%d) = %d\n", gettid(), fd, ret);
292 if (ret < 0) printf("\terr %d (%s)\n", errno, strerror(errno));
301 printf("%d: poll(", gettid());
303 printf(")\n");
305 printf("%d: poll() = %d\n", gettid(), ret);
306 if (ret < 0) printf("\terr %d (%s)\n", errno, strerror(errno));
310 printf("\tfd %d ", ufds[i].fd); print_events(ufds[i].revents);
318 printf("%d: START\n", gettid());
321 printf("%d: END\n", gettid());
327 printf("%d: START\n", gettid());
331 printf("%d: END\n", gettid());
336 printf("%d: START\n", gettid());
338 printf("%d: END\n", gettid());
344 printf("%d: START\n", gettid());
348 printf("%d: END\n", gettid());
352 printf("%d: START\n", gettid());
355 printf("%d: END\n", gettid());
359 printf("%d: START\n", gettid());
362 printf("%d: END\n", gettid());
366 printf("%d: START\n", gettid());
369 printf("%d: END\n", gettid());
373 printf("%d: START\n", gettid());
378 printf("%d: END\n", gettid());
382 printf("%d: START\n", gettid());
387 printf("%d: END\n", gettid());
391 printf("%d: START\n", gettid());
395 printf("%d: END\n", gettid());
704 printf("socktest TYPE ACTION\n");
705 printf("\nTYPE:\n");
707 printf("\t%s\n", type_table[i].name);
709 printf("\nACTION:\n");
711 printf("\t%s\n", action_table[i].name);
735 printf("TYPE = %s ACTION = %s\n", type_table[type].name,