Lines Matching refs:testno
101 long testno; /* test number found in the request */ member
251 req->testno = testnum; in parse_cmdfile()
265 stream = test2fopen(req->testno, logdir); in parse_servercmd()
272 logmsg(" Couldn't open test file %ld", req->testno); in parse_servercmd()
383 (req->testno == DOCNUMBER_NOTHING) && in ProcessRequest()
386 req->testno = DOCNUMBER_WERULEZ; in ProcessRequest()
390 else if(req->testno == DOCNUMBER_NOTHING) { in ProcessRequest()
446 req->testno = DOCNUMBER_WERULEZ; in ProcessRequest()
452 req->testno = DOCNUMBER_QUIT; in ProcessRequest()
458 req->testno = strtol(ptr, &ptr, 10); in ProcessRequest()
460 if(req->testno > 10000) { in ProcessRequest()
461 req->partno = req->testno % 10000; in ProcessRequest()
462 req->testno /= 10000; in ProcessRequest()
467 if(req->testno) { in ProcessRequest()
470 req->testno, req->partno); in ProcessRequest()
475 req->testno = DOCNUMBER_NOTHING; in ProcessRequest()
480 if(req->testno == DOCNUMBER_NOTHING) { in ProcessRequest()
518 req->testno = part; in ProcessRequest()
532 req->connect_port, req->testno); in ProcessRequest()
536 if(req->testno == DOCNUMBER_NOTHING) in ProcessRequest()
540 if(req->testno == DOCNUMBER_NOTHING) { in ProcessRequest()
542 req->testno = DOCNUMBER_404; in ProcessRequest()
559 logmsg("- request found to be complete (%ld)", req->testno); in ProcessRequest()
561 if(req->testno == DOCNUMBER_NOTHING) { in ProcessRequest()
563 char *testno = strstr(line, "\nTestno: "); in ProcessRequest() local
564 if(testno) { in ProcessRequest()
565 req->testno = strtol(&testno[9], NULL, 10); in ProcessRequest()
566 logmsg("Found test number %ld in Testno: header!", req->testno); in ProcessRequest()
591 req->testno = strtol(ptr, &ptr, 10); in ProcessRequest()
593 if(req->testno > 10000) { in ProcessRequest()
594 req->partno = req->testno % 10000; in ProcessRequest()
595 req->testno /= 10000; in ProcessRequest()
602 req->testno, req->partno); in ProcessRequest()
706 if(req->testno != prev_testno) { in ProcessRequest()
707 prev_testno = req->testno; in ProcessRequest()
847 req->testno = DOCNUMBER_NOTHING; in init_httprequest()
1052 if(req->testno < 0) { in send_doc()
1056 switch(req->testno) { in send_doc()
1096 logmsg("Send response test%ld section <%s>", req->testno, partbuf); in send_doc()
1098 stream = test2fopen(req->testno, logdir); in send_doc()
1120 stream = test2fopen(req->testno, logdir); in send_doc()
1229 prevtestno = req->testno; in send_doc()
1277 prevtestno = req->testno; in send_doc()
1937 if((req->testno == prevtestno) && in service_connection()
1953 if(req->testno < 0) { in service_connection()
2431 if(req->testno == DOCNUMBER_QUIT) in main()