Lines Matching refs:num
300 int num = 0; in ProcessRequest() local
335 else if(1 == sscanf(ptr, "pipe: %d", &num)) { in ProcessRequest()
336 logmsg("instructed to allow a pipe size of %d", num); in ProcessRequest()
337 if(num < 0) in ProcessRequest()
339 else if(num > 0) in ProcessRequest()
340 req->pipe = num-1; /* decrease by one since we don't count the in ProcessRequest()
343 else if(1 == sscanf(ptr, "skip: %d", &num)) { in ProcessRequest()
344 logmsg("instructed to skip this number of bytes %d", num); in ProcessRequest()
345 req->skip = num; in ProcessRequest()
938 size_t num = count; in send_doc() local
939 if(num > 200) in send_doc()
940 num = 200; in send_doc()
941 written = swrite(sock, buffer, num); in send_doc()
963 size_t num = count; in send_doc() local
964 if(num > 200) in send_doc()
965 num = 200; in send_doc()
967 num); in send_doc()
1008 int num; in send_doc() local
1011 if(2 == sscanf(ptr, "%31s %d", command, &num)) { in send_doc()
1013 logmsg("Told to sleep for %d seconds", num); in send_doc()
1014 quarters = num * 4; in send_doc()
1029 logmsg("Continuing after sleeping %d seconds", num); in send_doc()