Home
last modified time | relevance | path

Searched refs:read_size (Results 1 – 5 of 5) 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.cpp27 size_t read_size = fread(buf, 1, size, f); in loadHybFile() local
29 if (read_size < size) { in loadHybFile()
/frameworks/native/libs/binder/tests/
DbinderDriverInterfaceTest.cpp127 bwr.read_size = sizeof(br); in binderTestReadEmpty()
266 bwr.read_size = sizeof(br); in TEST_F()
308 bwr.read_size = 0; in TEST_F()
354 bwr.read_size = sizeof(br); in TEST_F()
/frameworks/base/libs/androidfw/
DIdmap.cpp223 const size_t read_size = sizeof(T) * count; in ReadType() local
224 *in_out_data_ptr += read_size; in ReadType()
225 *in_out_size -= read_size; in ReadType()
/frameworks/native/libs/binder/
DIPCThreadState.cpp1129 bwr.read_size = mIn.dataCapacity(); in talkWithDriver()
1132 bwr.read_size = 0; in talkWithDriver()
1145 logStream << "Size of receive buffer: " << bwr.read_size << ", needRead: " << needRead in talkWithDriver()
1153 if ((bwr.write_size == 0) && (bwr.read_size == 0)) return NO_ERROR; in talkWithDriver()