Lines Matching refs:num
2463 size_t num; in doit_biopair() local
2469 num = r1; in doit_biopair()
2470 if (r2 < num) in doit_biopair()
2471 num = r2; in doit_biopair()
2472 if (num) { in doit_biopair()
2475 if (INT_MAX < num) /* yeah, right */ in doit_biopair()
2476 num = INT_MAX; in doit_biopair()
2478 r = BIO_nread(io1, &dataptr, (int)num); in doit_biopair()
2480 assert(r <= (int)num); in doit_biopair()
2484 num = r; in doit_biopair()
2485 r = BIO_write(io2, dataptr, (int)num); in doit_biopair()
2486 if (r != (int)num) { /* can't happen */ in doit_biopair()
2496 "S->C relaying: %d bytes\n", (int)num); in doit_biopair()
2503 size_t num; in doit_biopair() local
2513 num = r1; in doit_biopair()
2514 if (r2 < num) in doit_biopair()
2515 num = r2; in doit_biopair()
2516 if (num) { in doit_biopair()
2519 if (INT_MAX < num) in doit_biopair()
2520 num = INT_MAX; in doit_biopair()
2522 if (num > 1) in doit_biopair()
2523 --num; /* test restartability even more thoroughly */ in doit_biopair()
2527 if (r < (int)num) in doit_biopair()
2528 num = r; in doit_biopair()
2529 r = BIO_read(io2, dataptr, (int)num); in doit_biopair()
2530 if (r != (int)num) { /* can't happen */ in doit_biopair()
2536 r = BIO_nwrite(io1, &dataptr, (int)num); in doit_biopair()
2537 if (r != (int)num) { /* can't happen */ in doit_biopair()
2546 "S->C relaying: %d bytes\n", (int)num); in doit_biopair()