Searched refs:read_offset (Results 1 – 2 of 2) sorted by relevance
83 static uint16_t ReadLE16(const uint8_t* data, size_t data_size, uint32_t read_offset) { in ReadLE16() argument85 if (read_offset + 1 >= data_size) return 0; in ReadLE16()87 val = data[read_offset]; in ReadLE16()88 val |= data[read_offset + 1] << 8; in ReadLE16()
291 uint32_t read_offset) { in ReadLE16() argument292 if (read_offset + 1 > data_size) in ReadLE16()295 val = data[read_offset]; in ReadLE16()296 val |= data[read_offset + 1] << 8; in ReadLE16()