Searched refs:read_size (Results 1 – 5 of 5) sorted by relevance
48 const size_t read_size = static_cast<size_t>(ret); in read() local49 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()
27 size_t read_size = fread(buf, 1, size, f); in loadHybFile() local29 if (read_size < size) { in loadHybFile()
127 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()
223 const size_t read_size = sizeof(T) * count; in ReadType() local224 *in_out_data_ptr += read_size; in ReadType()225 *in_out_size -= read_size; in ReadType()
1129 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()