Home
last modified time | relevance | path

Searched refs:bytes_available (Results 1 – 8 of 8) sorted by relevance

/third_party/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_ev_driver_posix.cc70 size_t bytes_available = 0; in IsFdStillReadableLocked() local
71 return ioctl(grpc_fd_wrapped_fd(fd_), FIONREAD, &bytes_available) == 0 && in IsFdStillReadableLocked()
72 bytes_available > 0; in IsFdStillReadableLocked()
/third_party/openh264/test/api/
DBaseThreadDecoderTest.cpp43 int32_t bytes_available = iFileSize - bufPos; in ReadFrame() local
44 if (bytes_available < 4) { in ReadFrame()
45 return bytes_available; in ReadFrame()
54 while (read_bytes < bytes_available - 4) { in ReadFrame()
91 if (read_bytes >= bytes_available - 4) { in ReadFrame()
92 return bytes_available; in ReadFrame()
101 return bytes_available; in ReadFrame()
/third_party/boost/libs/asio/include/boost/asio/impl/
Dread.hpp136 std::size_t bytes_available = std::min<std::size_t>( in read() local
139 while (bytes_available > 0) in read()
141 std::size_t bytes_transferred = s.read_some(b.prepare(bytes_available), ec); in read()
146 bytes_available = std::min<std::size_t>( in read()
261 std::size_t bytes_available = std::min<std::size_t>( in read() local
264 while (bytes_available > 0) in read()
267 b.grow(bytes_available); in read()
269 b.data(pos, bytes_available), ec); in read()
270 b.shrink(bytes_available - bytes_transferred); in read()
274 bytes_available = std::min<std::size_t>( in read()
[all …]
Dread_at.hpp125 std::size_t bytes_available = read_size_helper(b, max_size); in read_at() local
126 while (bytes_available > 0) in read_at()
129 offset + total_transferred, b.prepare(bytes_available), ec); in read_at()
134 bytes_available = read_size_helper(b, max_size); in read_at()
519 std::size_t max_size, bytes_available; in operator ()() local
524 bytes_available = read_size_helper(streambuf_, max_size); in operator ()()
530 streambuf_.prepare(bytes_available), in operator ()()
537 bytes_available = read_size_helper(streambuf_, max_size); in operator ()()
538 if ((!ec && bytes_transferred == 0) || bytes_available == 0) in operator ()()
/third_party/boost/boost/asio/impl/
Dread.hpp136 std::size_t bytes_available = std::min<std::size_t>( in read() local
139 while (bytes_available > 0) in read()
141 std::size_t bytes_transferred = s.read_some(b.prepare(bytes_available), ec); in read()
146 bytes_available = std::min<std::size_t>( in read()
261 std::size_t bytes_available = std::min<std::size_t>( in read() local
264 while (bytes_available > 0) in read()
267 b.grow(bytes_available); in read()
269 b.data(pos, bytes_available), ec); in read()
270 b.shrink(bytes_available - bytes_transferred); in read()
274 bytes_available = std::min<std::size_t>( in read()
[all …]
Dread_at.hpp125 std::size_t bytes_available = read_size_helper(b, max_size); in read_at() local
126 while (bytes_available > 0) in read_at()
129 offset + total_transferred, b.prepare(bytes_available), ec); in read_at()
134 bytes_available = read_size_helper(b, max_size); in read_at()
519 std::size_t max_size, bytes_available; in operator ()() local
524 bytes_available = read_size_helper(streambuf_, max_size); in operator ()()
530 streambuf_.prepare(bytes_available), in operator ()()
537 bytes_available = read_size_helper(streambuf_, max_size); in operator ()()
538 if ((!ec && bytes_transferred == 0) || bytes_available == 0) in operator ()()
/third_party/openh264/codec/console/dec/src/
Dh264dec.cpp107 int32_t bytes_available = iFileSize - bufPos; in readPicture() local
108 if (bytes_available < 4) { in readPicture()
109 return bytes_available; in readPicture()
120 while (read_bytes < bytes_available - 4) { in readPicture()
165 if (read_bytes >= bytes_available - 4) { in readPicture()
166 return bytes_available; in readPicture()
175 return bytes_available; in readPicture()
/third_party/libuv/src/unix/
Dibmi.c65 int bytes_available; member
112 int bytes_available; member
362 if (err.bytes_available > 0) { in get_ibmi_physical_address()