Home
last modified time | relevance | path

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

/system/core/fastboot/
Dsocket_test.cpp256 size_t byte_count = bytes_sent, data_index = 0; in TEST() local
257 while (data_index < data.size()) { in TEST()
258 if (byte_count >= data[data_index].length()) { in TEST()
259 byte_count -= data[data_index].length(); in TEST()
260 ++data_index; 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()
268 EXPECT_EQ(data.size() - data_index, num_buffers); in TEST()
/system/extras/libfec/
Dfec_read.cpp117 int data_index = -1; in __ecc_read() local
129 data_index = i; in __ecc_read()
156 check(data_index >= 0); in __ecc_read()
196 dest[i] = ecc_data[i * FEC_RSM + data_index]; in __ecc_read()