Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpRequestPacket.cpp48 const size_t read_size = static_cast<size_t>(ret); in read() local
49 if (read_size >= MTP_CONTAINER_HEADER_SIZE in read()
50 && read_size <= MTP_CONTAINER_HEADER_SIZE + 5 * sizeof(uint32_t) in read()
51 && ((read_size - MTP_CONTAINER_HEADER_SIZE) & 3) == 0) { in read()
52 mPacketSize = read_size; in read()
53 mParameterCount = (read_size - MTP_CONTAINER_HEADER_SIZE) / sizeof(uint32_t); in read()
/frameworks/minikin/app/
DHyphTool.cpp29 size_t read_size = fread(buf, 1, size, f); in loadHybFile() local
31 if (read_size < size) { in loadHybFile()
/frameworks/native/libs/binder/tests/
DbinderDriverInterfaceTest.cpp125 bwr.read_size = sizeof(br); in binderTestReadEmpty()
264 bwr.read_size = sizeof(br); in TEST_F()
306 bwr.read_size = 0; in TEST_F()
352 bwr.read_size = sizeof(br); in TEST_F()
/frameworks/base/libs/androidfw/
DIdmap.cpp225 const size_t read_size = sizeof(T) * count; in ReadType() local
226 *in_out_data_ptr += read_size; in ReadType()
227 *in_out_size -= read_size; in ReadType()
/frameworks/native/libs/binder/
DIPCThreadState.cpp1113 bwr.read_size = mIn.dataCapacity(); in talkWithDriver()
1116 bwr.read_size = 0; in talkWithDriver()
1129 logStream << "Size of receive buffer: " << bwr.read_size << ", needRead: " << needRead in talkWithDriver()
1137 if ((bwr.write_size == 0) && (bwr.read_size == 0)) return NO_ERROR; in talkWithDriver()
/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter_test.cc2140 ssize_t read_size = read(pipefd[0], &buf, sizeof(buf)); in TEST_F() local
2141 EXPECT_NE(read_size, -1); in TEST_F()