Lines Matching refs:num
240 fprintf(stderr," -num <val> - number of connections to perform\n");
505 else if (strncmp(*argv,"-num",4) == 0)
649 fprintf(stderr, "Warning: For accurate timings, use more connections (e.g. -num 1000)\n");
1169 size_t num;
1175 num = r1;
1176 if (r2 < num)
1177 num = r2;
1178 if (num)
1182 if (INT_MAX < num) /* yeah, right */
1183 num = INT_MAX;
1185 r = BIO_nread(io1, &dataptr, (int)num);
1187 assert(r <= (int)num);
1188 /* possibly r < num (non-contiguous data) */
1189 num = r;
1190 r = BIO_write(io2, dataptr, (int)num);
1191 if (r != (int)num) /* can't happen */
1203 (int)num);
1210 size_t num;
1219 num = r1;
1220 if (r2 < num)
1221 num = r2;
1222 if (num)
1226 if (INT_MAX < num)
1227 num = INT_MAX;
1229 if (num > 1)
1230 --num; /* test restartability even more thoroughly */
1234 if (r < (int)num)
1235 num = r;
1236 r = BIO_read(io2, dataptr, (int)num);
1237 if (r != (int)num) /* can't happen */
1244 r = BIO_nwrite(io1, &dataptr, (int)num);
1245 if (r != (int)num) /* can't happen */
1256 (int)num);