Lines Matching refs:testno
101 long testno; /* test number found in the request */ member
347 req->testno, line); in ProcessRequest()
351 if((req->testno == DOCNUMBER_NOTHING) && in ProcessRequest()
394 req->testno = DOCNUMBER_WERULEZ; in ProcessRequest()
400 req->testno = DOCNUMBER_QUIT; in ProcessRequest()
410 req->testno = strtol(ptr, &ptr, 10); in ProcessRequest()
412 if(req->testno > 10000) { in ProcessRequest()
413 req->partno = req->testno % 10000; in ProcessRequest()
414 req->testno /= 10000; in ProcessRequest()
420 req->testno, req->partno); in ProcessRequest()
423 filename = test2file(req->testno); in ProcessRequest()
430 logmsg("Couldn't open test file %ld", req->testno); in ProcessRequest()
553 req->testno = DOCNUMBER_BADCONNECT; in ProcessRequest()
559 req->testno = strtol(portp + 1, NULL, 10); in ProcessRequest()
561 req->testno = DOCNUMBER_CONNECT; in ProcessRequest()
564 req->testno = DOCNUMBER_CONNECT; in ProcessRequest()
568 req->testno = DOCNUMBER_404; in ProcessRequest()
804 req->testno = DOCNUMBER_NOTHING; in get_request()
912 logmsg("Send response number %ld part %ld", req->testno, req->partno); in send_doc()
938 if(req->testno < 0) { in send_doc()
942 switch(req->testno) { in send_doc()
984 char *filename = test2file(req->testno); in send_doc()
1177 prevtestno = req->testno; in send_doc()
1403 if((req.testno == prevtestno) && in main()
1419 if((req.testno < 0) && (req.testno != DOCNUMBER_CONNECT)) { in main()
1431 } while(req.open || (req.testno == DOCNUMBER_CONNECT)); in main()
1445 if(req.testno == DOCNUMBER_QUIT) in main()