Home
last modified time | relevance | path

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

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