Lines Matching refs:testno
62 int testno; variable
203 for (testno = 0; testno < TST_TOTAL; ++testno) { in main()
205 && (tdat[testno].flags & MSG_ERRQUEUE) in main()
206 && (tdat[testno].type & SOCK_STREAM)) { in main()
212 tdat[testno].setup(); in main()
215 iov[0].iov_base = tdat[testno].buf; in main()
216 iov[0].iov_len = tdat[testno].buflen; in main()
217 msgdat.msg_name = tdat[testno].from; in main()
218 msgdat.msg_namelen = tdat[testno].fromlen; in main()
219 msgdat.msg_iov = tdat[testno].iov; in main()
220 msgdat.msg_iovlen = tdat[testno].iovcnt; in main()
225 TEST(recvmsg(s, tdat[testno].msg, tdat[testno].flags)); in main()
228 if (TEST_RETURN != tdat[testno].retval || in main()
230 TEST_ERRNO != tdat[testno].experrno)) { in main()
233 " %d)", tdat[testno].desc, in main()
234 TEST_RETURN, tdat[testno].retval, in main()
235 TEST_ERRNO, tdat[testno].experrno); in main()
238 tdat[testno].desc); in main()
240 tdat[testno].cleanup(); in main()
281 if (tdat[testno].experrno == EBADF) in setup0()
298 s = SAFE_SOCKET(cleanup, tdat[testno].domain, tdat[testno].type, in setup1()
299 tdat[testno].proto); in setup1()
300 if (tdat[testno].type == SOCK_STREAM) { in setup1()
301 if (tdat[testno].domain == PF_INET) { in setup1()
313 } else if (tdat[testno].domain == PF_UNIX) { in setup1()