Lines Matching refs:timeout
65 double timeout) /* I - Timeout in seconds */ in cupsSideChannelDoRequest() argument
71 if (cupsSideChannelWrite(command, CUPS_SC_STATUS_NONE, NULL, 0, timeout)) in cupsSideChannelDoRequest()
74 if (cupsSideChannelRead(&rcommand, &status, data, datalen, timeout)) in cupsSideChannelDoRequest()
105 double timeout) /* I - Timeout in seconds */ in cupsSideChannelRead() argument
121 datalen, datalen ? *datalen : -1, timeout)); in cupsSideChannelRead()
139 timeout < 0.0 ? -1 : (int)(timeout * 1000))) < 0 && in cupsSideChannelRead()
147 stimeout.tv_sec = (int)timeout; in cupsSideChannelRead()
148 stimeout.tv_usec = (int)(timeout * 1000000) % 1000000; in cupsSideChannelRead()
151 timeout < 0.0 ? NULL : &stimeout)) < 0 && in cupsSideChannelRead()
304 double timeout) /* I - Timeout in seconds */ in cupsSideChannelSNMPGet() argument
315 timeout)); in cupsSideChannelSNMPGet()
331 (int)strlen(oid) + 1, timeout)) in cupsSideChannelSNMPGet()
338 if (cupsSideChannelRead(&rcommand, &status, real_data, &real_datalen, timeout)) in cupsSideChannelSNMPGet()
408 double timeout, /* I - Timeout for each query in seconds */ in cupsSideChannelSNMPWalk() argument
423 "context=%p)", oid, timeout, cb, context)); in cupsSideChannelSNMPWalk()
450 current_oid, (int)strlen(current_oid) + 1, timeout)) in cupsSideChannelSNMPWalk()
458 timeout)) in cupsSideChannelSNMPWalk()
530 double timeout) /* I - Timeout in seconds */ in cupsSideChannelWrite() argument
558 if (timeout < 0.0) in cupsSideChannelWrite()
563 else if (poll(&pfd, 1, (int)(timeout * 1000)) < 1) in cupsSideChannelWrite()
570 if (timeout < 0.0) in cupsSideChannelWrite()
577 stimeout.tv_sec = (int)timeout; in cupsSideChannelWrite()
578 stimeout.tv_usec = (int)(timeout * 1000000) % 1000000; in cupsSideChannelWrite()