Searched defs:bytes_max (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/net/test/spawned_test_server/
H A Dlocal_test_server_posix.cc60 // Given a file descriptor, reads into |buffer| until |bytes_max|
63 bool ReadData(int fd, ssize_t bytes_max, uint8* buffer, argument
67 while (bytes_read < bytes_max) {
92 bytes_max - bytes_read));
H A Dlocal_test_server_win.cc45 // Given a file handle, reads into |buffer| until |bytes_max| bytes
49 DWORD bytes_max, uint8* buffer) {
57 FROM_HERE, base::Bind(UnblockPipe, write_fd, bytes_max, &unblocked),
61 while (bytes_read < bytes_max) {
63 if (!ReadFile(read_fd, buffer + bytes_read, bytes_max - bytes_read,
48 ReadData(HANDLE read_fd, HANDLE write_fd, DWORD bytes_max, uint8* buffer) argument

Completed in 75 milliseconds