Home
last modified time | relevance | path

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

/system/core/debuggerd/test/
DBacktraceMock.h61 size_t bytes_available = buffer_.size() - offset; in Read() local
71 } else if (bytes > bytes_available) { in Read()
72 bytes = bytes_available; in Read()
/system/bt/osi/src/
Deager_reader.c173 eventfd_t bytes_available; in eager_reader_read() local
174 if (eventfd_read(reader->bytes_available_fd, &bytes_available) == -1) { in eager_reader_read()
179 if (max_size > bytes_available) in eager_reader_read()
180 max_size = bytes_available; in eager_reader_read()
201 bytes_available -= bytes_consumed; in eager_reader_read()
202 if (eventfd_write(reader->bytes_available_fd, bytes_available) == -1) { in eager_reader_read()
/system/core/adb/
Dsysdeps_win32.cpp2433 const size_t bytes_available = last - current; in ParseCompleteUTF8() local
2434 if (bytes_available < utf8_codepoint_len(ch)) { in ParseCompleteUTF8()