Lines Matching defs:timeout
33 " timeout=<msec> fail if no match after <msec> milliseconds\n"
36 " also don't fail on timeout after first match\n"
47 static zx_duration_t timeout = 0;
208 } else if (!strncmp(argv[1], "timeout=", 8)) {
209 timeout = ZX_MSEC(atoi(argv[1] + 8));
210 if (timeout == 0) {
211 fprintf(stderr, "waitfor: error: timeout of 0 not allowed\n");
252 if (timeout == 0) {
255 deadline = zx_deadline_after(timeout);
265 // timeout, but if we're in forever mode and matched any, its good