Home | History | Annotate | Download | only in tools

Lines Matching full:printf

28     if (events & POLLIN) printf("POLLIN ");
29 if (events & POLLPRI) printf("POLLPRI ");
30 if (events & POLLOUT) printf("POLLOUT ");
31 if (events & POLLERR) printf("POLLERR ");
32 if (events & POLLHUP) printf("POLLHUP ");
33 if (events & POLLNVAL) printf("POLLNVAL ");
34 printf("\n");
39 printf("%d: socketpair()\n", gettid());
41 printf("%d: socketpair() = %d\n", gettid(), ret);
42 if (ret) printf("\terr %d (%s)\n", errno, strerror(errno));
48 printf("%d: close(%d)\n", gettid(), fd);
50 printf("%d: close(%d) = %d\n", gettid(), fd, ret);
51 if (ret) printf("\terr %d (%s)\n", errno, strerror(errno));
58 printf("%d: poll()\n", gettid());
60 printf("%d: poll() = %d\n", gettid(), ret);
61 if (ret < 0) printf("\terr %d (%s)\n", errno, strerror(errno));
65 printf("\tfd %d ", ufds[i].fd); print_events(ufds[i].revents);
75 printf("%d: write(%d)\n", gettid(), fd);
77 printf("%d: write(%d) = %d\n", gettid(), fd, ret);
78 if (ret < 0) printf("\terr %d (%s)\n", errno, strerror(errno));
87 printf("%d: read(%d)\n", gettid(), fd);
89 printf("%d: read(%d) = %d [%d]\n", gettid(), fd, ret, (int)buf);
90 if (ret < 0) printf("\terr %d (%s)\n", errno, strerror(errno));
98 printf("%d: shutdown(%d)\n", gettid(), fd);
100 printf("%d: shutdown(%d) = %d\n", gettid(), fd, ret);
101 if (ret < 0) printf("\terr %d (%s)\n", errno, strerror(errno));
108 printf("%d: START\n", gettid());
112 printf("%d: END\n", gettid());
118 printf("%d: START\n", gettid());
122 printf("%d: END\n", gettid());
129 printf("%d: START (delay = %d)\n", gettid(), delay);
134 printf("%d: END\n", gettid());
139 printf("%d: START\n", gettid());
141 printf("%d: END\n", gettid());
146 printf("%d: START\n", gettid());
148 printf("%d: END\n", gettid());
257 printf("pipe: %s\n", strerror(errno));
260 printf("%d %d\n", fd[0], fd[1]);
408 printf("Usage:\n");
410 printf("\tpipetest %s\n", function_table[i].name);
423 printf("%s\n", function_table[i].name);