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.cpp125 bwr.read_size = sizeof(br); in binderTestReadEmpty()
265 bwr.read_size = sizeof(br); in TEST_F()
307 bwr.read_size = 0; in TEST_F()
353 bwr.read_size = sizeof(br); in TEST_F()
/frameworks/native/cmds/servicemanager/
Dbinder.c172 bwr.read_size = 0; in binder_write()
393 bwr.read_size = sizeof(readbuf); in binder_call()
429 bwr.read_size = sizeof(readbuf); in binder_loop()
/frameworks/native/libs/binder/
DIPCThreadState.cpp943 bwr.read_size = mIn.dataCapacity(); in talkWithDriver()
946 bwr.read_size = 0; in talkWithDriver()
960 alog << "Size of receive buffer: " << bwr.read_size in talkWithDriver()
965 if ((bwr.write_size == 0) && (bwr.read_size == 0)) return NO_ERROR; in talkWithDriver()