Lines Matching refs:num_pipes
81 run_once(int num_pipes) in run_once() argument
87 events = (struct event *)calloc(num_pipes, sizeof(struct event)); in run_once()
88 pipes = (evutil_socket_t *)calloc(num_pipes * 2, sizeof(evutil_socket_t)); in run_once()
95 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { in run_once()
109 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { in run_once()
110 evutil_socket_t fd = i < num_pipes - 1 ? cp[3] : -1; in run_once()
127 for (cp = pipes, i = 0; i < num_pipes; i++, cp += 2) { in run_once()
148 int num_pipes = 100; in main() local
157 num_pipes = atoi(optarg); in main()
166 rl.rlim_cur = rl.rlim_max = num_pipes * 2 + 50; in main()
176 tv = run_once(num_pipes); in main()