Searched refs:fuzzPos (Results 1 – 2 of 2) sorted by relevance
353 +static size_t fuzzPos;357 + fuzzPos = 0;382 + if (size > fuzzSize - fuzzPos) {383 + size = fuzzSize - fuzzPos;385 + if (fuzzPos < fuzzSize) {386 + memcpy(bufp, fuzzBuffer + fuzzPos, size);388 + fuzzPos += size;411 + return (fuzzPos < fuzzSize);440 + return (fuzzPos < fuzzSize);
126 size_t fuzzPos; variable129 fuzzPos = 0; in sock_initfuzz()135 if (remaining > fuzzSize - fuzzPos) { in fuzz_recv()136 remaining = fuzzSize - fuzzPos; in fuzz_recv()138 if (fuzzPos < fuzzSize) { in fuzz_recv()139 memcpy(bufp, fuzzBuffer + fuzzPos, remaining); in fuzz_recv()141 fuzzPos += remaining; in fuzz_recv()