Home
last modified time | relevance | path

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

/packages/modules/adb/client/
Dincremental_utils.cpp84 int32_t le_size = read_int32(fd); in append_bytes_with_size() local
85 if (le_size < 0) { in append_bytes_with_size()
88 int32_t size = int32_t(le32toh(le_size)); in append_bytes_with_size()
97 bytes->resize(old_size + sizeof(le_size) + size); in append_bytes_with_size()
98 memcpy(bytes->data() + old_size, &le_size, sizeof(le_size)); in append_bytes_with_size()
99 ReadFdExactly(fd, bytes->data() + old_size + sizeof(le_size), size); in append_bytes_with_size()
104 int32_t le_size = read_int32(fd); in skip_bytes_with_size() local
105 if (le_size < 0) { in skip_bytes_with_size()
108 int32_t size = int32_t(le32toh(le_size)); in skip_bytes_with_size()