Lines Matching refs:testno

98   long testno;       /* test number found in the request */  member
214 req->testno, line); in ProcessRequest()
218 if((req->testno == DOCNUMBER_NOTHING) && in ProcessRequest()
259 req->testno = DOCNUMBER_WERULEZ; in ProcessRequest()
265 req->testno = DOCNUMBER_QUIT; in ProcessRequest()
275 req->testno = strtol(ptr, &ptr, 10); in ProcessRequest()
277 if(req->testno > 10000) { in ProcessRequest()
278 req->partno = req->testno % 10000; in ProcessRequest()
279 req->testno /= 10000; in ProcessRequest()
285 req->testno, req->partno); in ProcessRequest()
288 stream = test2fopen(req->testno, logdir); in ProcessRequest()
293 logmsg("Couldn't open test file %ld", req->testno); in ProcessRequest()
420 req->testno = DOCNUMBER_BADCONNECT; in ProcessRequest()
426 req->testno = strtol(portp + 1, NULL, 10); in ProcessRequest()
428 req->testno = DOCNUMBER_CONNECT; in ProcessRequest()
431 req->testno = DOCNUMBER_CONNECT; in ProcessRequest()
435 req->testno = DOCNUMBER_404; in ProcessRequest()
673 req->testno = DOCNUMBER_NOTHING; in get_request()
784 logmsg("Send response number %ld part %ld", req->testno, req->partno); in send_doc()
810 if(req->testno < 0) { in send_doc()
814 switch(req->testno) { in send_doc()
856 FILE *stream = test2fopen(req->testno, logdir); in send_doc()
882 stream = test2fopen(req->testno, logdir); in send_doc()
1044 prevtestno = req->testno; in send_doc()
1326 if((req.testno == prevtestno) && in main()
1342 if((req.testno < 0) && (req.testno != DOCNUMBER_CONNECT)) { in main()
1354 } while(req.open || (req.testno == DOCNUMBER_CONNECT)); in main()
1368 if(req.testno == DOCNUMBER_QUIT) in main()