Searched refs:read_size (Results 1 – 6 of 6) 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()
29 size_t read_size = fread(buf, 1, size, f); in loadHybFile() local31 if (read_size < size) { in loadHybFile()
125 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()
225 const size_t read_size = sizeof(T) * count; in ReadType() local226 *in_out_data_ptr += read_size; in ReadType()227 *in_out_size -= read_size; in ReadType()
1113 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()
2140 ssize_t read_size = read(pipefd[0], &buf, sizeof(buf)); in TEST_F() local2141 EXPECT_NE(read_size, -1); in TEST_F()