• Home
  • Raw
  • Download

Lines Matching refs:testno

102   long testno;       /* test number found in the request */  member
247 req->testno = testnum; in parse_cmdfile()
261 stream = test2fopen(req->testno); in parse_servercmd()
268 logmsg(" Couldn't open test file %ld", req->testno); in parse_servercmd()
375 (req->testno == DOCNUMBER_NOTHING) && in ProcessRequest()
378 req->testno = DOCNUMBER_WERULEZ; in ProcessRequest()
382 else if((req->testno == DOCNUMBER_NOTHING) && in ProcessRequest()
408 req->testno = DOCNUMBER_WERULEZ; in ProcessRequest()
414 req->testno = DOCNUMBER_QUIT; in ProcessRequest()
424 req->testno = strtol(ptr, &ptr, 10); in ProcessRequest()
426 if(req->testno > 10000) { in ProcessRequest()
427 req->partno = req->testno % 10000; in ProcessRequest()
428 req->testno /= 10000; in ProcessRequest()
433 if(req->testno) { in ProcessRequest()
436 req->testno, req->partno); in ProcessRequest()
441 req->testno = DOCNUMBER_NOTHING; in ProcessRequest()
446 if(req->testno == DOCNUMBER_NOTHING) { in ProcessRequest()
484 req->testno = part; in ProcessRequest()
498 req->connect_port, req->testno); in ProcessRequest()
502 if(req->testno == DOCNUMBER_NOTHING) { in ProcessRequest()
518 req->testno = num; in ProcessRequest()
519 if(req->testno > 10000) { in ProcessRequest()
520 req->partno = req->testno % 10000; in ProcessRequest()
521 req->testno /= 10000; in ProcessRequest()
523 logmsg("found test %d in requested host name", req->testno); in ProcessRequest()
530 if(req->testno != DOCNUMBER_NOTHING) { in ProcessRequest()
532 req->testno, req->partno); in ProcessRequest()
537 if(req->testno == DOCNUMBER_NOTHING) in ProcessRequest()
541 if(req->testno == DOCNUMBER_NOTHING) { in ProcessRequest()
543 req->testno = DOCNUMBER_404; in ProcessRequest()
548 else if((req->offset >= 3) && (req->testno == DOCNUMBER_NOTHING)) { in ProcessRequest()
558 logmsg("- request found to be complete (%d)", req->testno); in ProcessRequest()
560 if(req->testno == DOCNUMBER_NOTHING) { in ProcessRequest()
562 char *testno = strstr(line, "\nTestno: "); in ProcessRequest() local
563 if(testno) { in ProcessRequest()
564 req->testno = strtol(&testno[9], NULL, 10); in ProcessRequest()
565 logmsg("Found test number %d in Testno: header!", req->testno); in ProcessRequest()
590 req->testno = strtol(ptr, &ptr, 10); in ProcessRequest()
592 if(req->testno > 10000) { in ProcessRequest()
593 req->partno = req->testno % 10000; in ProcessRequest()
594 req->testno /= 10000; in ProcessRequest()
601 req->testno, req->partno); in ProcessRequest()
705 if(req->testno != prev_testno) { in ProcessRequest()
706 prev_testno = req->testno; in ProcessRequest()
842 req->testno = DOCNUMBER_NOTHING; in init_httprequest()
985 if(req->testno < 0) { in send_doc()
989 switch(req->testno) { in send_doc()
1028 logmsg("Send response test%ld section <%s>", req->testno, partbuf); in send_doc()
1030 stream = test2fopen(req->testno); in send_doc()
1052 stream = test2fopen(req->testno); in send_doc()
1154 prevtestno = req->testno; in send_doc()
1202 prevtestno = req->testno; in send_doc()
1813 if((req->testno == prevtestno) && in service_connection()
1829 if(req->testno < 0) { in service_connection()
2321 if(req->testno == DOCNUMBER_QUIT) in main()