Searched refs:read_size (Results 1 - 7 of 7) sorted by relevance

/frameworks/av/media/mtp/
H A DMtpRequestPacket.cpp47 const size_t read_size = static_cast<size_t>(ret); local
48 if (read_size >= MTP_CONTAINER_HEADER_SIZE
49 && read_size <= MTP_CONTAINER_HEADER_SIZE + 5 * sizeof(uint32_t)
50 && ((read_size - MTP_CONTAINER_HEADER_SIZE) & 3) == 0) {
51 mPacketSize = read_size;
52 mParameterCount = (read_size - MTP_CONTAINER_HEADER_SIZE) / sizeof(uint32_t);
/frameworks/compile/libbcc/lib/Support/
H A DInputFile.cpp38 ssize_t read_size = ::read(mFD, pBuf, count); local
40 if (read_size >= 0) {
41 return read_size;
/frameworks/minikin/app/
H A DHyphTool.cpp26 size_t read_size = fread(buf, 1, size, f); local
27 if (read_size < size) {
/frameworks/native/libs/binder/tests/
H A DbinderDriverInterfaceTest.cpp115 bwr.read_size = sizeof(br);
247 bwr.read_size = sizeof(br);
289 bwr.read_size = 0;
335 bwr.read_size = sizeof(br);
/frameworks/base/packages/MtpDocumentsProvider/jni/
H A Dcom_android_mtp_AppFuse.cpp366 const jlong read_size = env_->CallLongMethod( local
372 if (read_size <= 0) {
373 return read_size;
384 memcpy(buf, bytes.get(), read_size);
385 return read_size;
/frameworks/native/cmds/servicemanager/
H A Dbinder.c159 bwr.read_size = 0;
366 bwr.read_size = sizeof(readbuf);
402 bwr.read_size = sizeof(readbuf);
/frameworks/native/libs/binder/
H A DIPCThreadState.cpp845 bwr.read_size = mIn.dataCapacity();
848 bwr.read_size = 0;
862 alog << "Size of receive buffer: " << bwr.read_size
867 if ((bwr.write_size == 0) && (bwr.read_size == 0)) return NO_ERROR;

Completed in 210 milliseconds