Searched refs:byte_count (Results 1 - 6 of 6) sorted by relevance

/system/core/base/include/android-base/
H A Dfile.h41 bool ReadFully(int fd, void* data, size_t byte_count);
42 bool WriteFully(int fd, const void* data, size_t byte_count);
/system/core/adb/
H A Dadb_utils.cpp202 std::string dump_hex(const void* data, size_t byte_count) { argument
203 byte_count = std::min(byte_count, size_t(16));
208 for (size_t i = 0; i < byte_count; ++i) {
213 for (size_t i = 0; i < byte_count; ++i) {
H A Dadb_utils.h45 std::string dump_hex(const void* ptr, size_t byte_count);
/system/core/base/
H A Dfile.cpp124 bool ReadFully(int fd, void* data, size_t byte_count) { argument
126 size_t remaining = byte_count;
136 bool WriteFully(int fd, const void* data, size_t byte_count) { argument
138 size_t remaining = byte_count;
/system/connectivity/shill/net/
H A Dbyte_string.cc199 size_t byte_count = min(lhs.GetLength(), rhs.GetLength()); local
200 int result = memcmp(lhs.GetConstData(), rhs.GetConstData(), byte_count);
/system/core/fastboot/
H A Dsocket_test.cpp256 size_t byte_count = bytes_sent, data_index = 0;
258 if (byte_count >= data[data_index].length()) {
259 byte_count -= data[data_index].length();
265 void* expected_next_byte = &data[data_index][byte_count];
266 size_t expected_next_size = data[data_index].length() - byte_count;

Completed in 358 milliseconds