| /bionic/tests/ |
| fcntl_test.cpp | 175 ssize_t bytes_read = splice(in, 0, pipe_fds[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); local 176 ASSERT_NE(bytes_read, -1); 178 ssize_t bytes_written = splice(pipe_fds[0], NULL, tf.fd, 0, bytes_read, SPLICE_F_MORE | SPLICE_F_MOVE); 179 ASSERT_EQ(bytes_read, bytes_written); 224 ssize_t bytes_read = splice(in, 0, pipe1[1], NULL, 8*1024, SPLICE_F_MORE | SPLICE_F_MOVE); local 225 ASSERT_NE(bytes_read, -1); 230 ASSERT_EQ(bytes_read, bytes_teed);
|
| utils.h | 191 ssize_t bytes_read; local 192 while ((bytes_read = TEMP_FAILURE_RETRY(read(fds[0], buf, sizeof(buf)))) > 0) { 193 output.append(buf, bytes_read);
|
| /external/sfntly/cpp/src/test/ |
| font_data_test.cc | 158 int32_t bytes_read = rfd->ReadBytes(index, &(buffer[0]), 0, buffer.size()); local 159 EXPECT_GE(bytes_read, 0); 160 std::copy(buffer.begin(), buffer.begin() + bytes_read, b->begin() + index); 161 index += bytes_read; 172 int32_t bytes_read = local 174 EXPECT_GE(bytes_read, 0); 175 index += bytes_read; 205 int32_t bytes_read = rfd->ReadBytes(index, &(b[0]), index, sliding_size); local 207 index += bytes_read;
|
| test_font_utils.cc | 78 size_t bytes_read = fread(&((*input_buffer)[0]), 1, file_size, input_file); local 79 EXPECT_EQ(bytes_read, file_size);
|
| /external/compiler-rt/lib/sanitizer_common/tests/ |
| sanitizer_libc_test.cc | 131 uptr bytes_read = 0; local 132 EXPECT_TRUE(ReadFromFile(fd, buf, len1, &bytes_read)); 133 EXPECT_EQ(len1, bytes_read); 137 EXPECT_TRUE(ReadFromFile(fd, buf, len2, &bytes_read)); 138 EXPECT_EQ(len2, bytes_read);
|
| /external/protobuf/conformance/ |
| conformance_test_runner.cc | 206 ssize_t bytes_read = read(fd, (char*)buf + ofs, len); local 208 if (bytes_read == 0) { 212 } else if (bytes_read < 0) { 219 len -= bytes_read; 220 ofs += bytes_read;
|
| /system/update_engine/common/ |
| subprocess.cc | 119 size_t bytes_read; local 121 bytes_read = 0; 124 record->stdout_fd, buf, arraysize(buf), &bytes_read, &eof); 125 record->stdout.append(buf, bytes_read); 133 } while (bytes_read);
|
| /system/update_engine/payload_consumer/ |
| postinstall_runner_action.cc | 221 size_t bytes_read; local 223 bytes_read = 0; 226 utils::ReadAll(progress_fd_, buf, arraysize(buf), &bytes_read, &eof); 227 progress_buffer_.append(buf, bytes_read); 245 } while (bytes_read);
|
| /toolchain/binutils/binutils-2.25/bfd/ |
| dwarf2.c | 813 unsigned int abbrev_number, bytes_read, abbrev_name; local 828 abbrev_number = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read); 829 abbrev_ptr += bytes_read; 842 read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read); 843 abbrev_ptr += bytes_read; 848 abbrev_name = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read); 849 abbrev_ptr += bytes_read; 850 abbrev_form = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read); 851 abbrev_ptr += bytes_read; 885 abbrev_name = read_unsigned_leb128 (abfd, abbrev_ptr, &bytes_read); 931 unsigned int bytes_read; local 1548 unsigned int i, bytes_read, offset_size; local 2132 unsigned int abbrev_number, bytes_read, i; local 2297 unsigned int abbrev_number, bytes_read, i; local 2549 unsigned int abbrev_number, bytes_read, i; local [all...] |
| /device/linaro/bootloader/arm-trusted-firmware/plat/hikey/ |
| plat_io_storage.c | 349 size_t bytes_read, length; local 389 &bytes_read); 390 if ((result != IO_SUCCESS) || (bytes_read < length)) { 410 size_t bytes_read, length; local 422 result = io_read(img_handle, FLUSH_BASE, length, &bytes_read); 423 if ((result != IO_SUCCESS) || (bytes_read < length)) { 444 size_t bytes_read; local 467 &bytes_read); 468 if ((result != IO_SUCCESS) || (bytes_read < length)) { 590 size_t bytes_read; local [all...] |
| /external/bsdiff/ |
| test_utils.cc | 73 size_t bytes_read = fread(buf, 1, sizeof(buf), fp); local 74 if (!bytes_read) 76 out->insert(out->end(), buf, buf + bytes_read);
|
| extents_file.cc | 34 bool ExtentsFile::Read(void* buf, size_t count, size_t* bytes_read) { 35 return IOOperation(&FileInterface::Read, buf, count, bytes_read);
|
| file.cc | 38 bool File::Read(void* buf, size_t count, size_t* bytes_read) { 46 *bytes_read = static_cast<size_t>(rc);
|
| extents_file.h | 52 bool Read(void* buf, size_t count, size_t* bytes_read) override;
|
| /external/webrtc/webrtc/system_wrappers/source/ |
| file_impl.cc | 196 size_t bytes_read = fread(buf, 1, length, id_); 197 if (bytes_read != length && !looping_) { 200 return static_cast<int>(bytes_read);
|
| /system/update_engine/payload_generator/ |
| full_update_generator.cc | 97 ssize_t bytes_read = -1; local 102 &bytes_read)); 103 TEST_AND_RETURN_FALSE(bytes_read == static_cast<ssize_t>(size_));
|
| /external/libmojo/mojo/edk/embedder/ |
| platform_channel_pair_posix_unittest.cc | 190 size_t bytes_read = fread(read_buf, 1, sizeof(read_buf), fp.get()); local 191 EXPECT_EQ(j + 1, bytes_read); 192 EXPECT_EQ(std::string(j + 1, c), std::string(read_buf, bytes_read)); 253 size_t bytes_read = fread(read_buf, 1, sizeof(read_buf), fp.get()); local 254 EXPECT_EQ(file_contents.size(), bytes_read); 255 EXPECT_EQ(file_contents, std::string(read_buf, bytes_read));
|
| /external/webrtc/webrtc/tools/frame_analyzer/ |
| video_quality_analysis.cc | 112 size_t bytes_read = fread(result_frame, 1, frame_size, input_file); local 113 if (bytes_read != static_cast<size_t>(frame_size) && 144 size_t bytes_read = local 146 if (bytes_read != static_cast<size_t>(frame_size) && ferror(input_file)) { 166 size_t bytes_read = fread(result_frame, 1, frame_size, input_file); local 167 if (bytes_read != static_cast<size_t>(frame_size) &&
|
| /device/linaro/hikey/bluetooth/ |
| bluetooth_hci.cc | 71 size_t bytes_read = TEMP_FAILURE_RETRY(read(fd, tmp_buffer, tty_bytes)); 72 CHECK(static_cast<int>(bytes_read) == tty_bytes);
|
| /external/sfntly/cpp/src/sample/chromium/ |
| chrome_subsetter.cc | 57 size_t bytes_read = fread(&((*input_buffer)[0]), 1, file_size, input_file); local 59 return bytes_read == file_size;
|
| /frameworks/base/tools/aapt2/compile/ |
| PngChunkFilter.cpp | 85 const size_t bytes_read = window_end_ - window_start_; local 87 *len = bytes_read;
|
| /toolchain/binutils/binutils-2.25/opcodes/ |
| v850-dis.c | 134 int bytes_read, 146 int status = info->read_memory_func (memaddr + bytes_read, buffer, 2, info); 161 info->memory_error_func (status, memaddr + bytes_read, info); 180 info->memory_error_func (status, memaddr + bytes_read, info); 187 int status = info->read_memory_func (memaddr + bytes_read, buffer, 4, info); 191 bytes_read += 4; 198 info->memory_error_func (status, memaddr + bytes_read, info); 224 int bytes_read, 261 if (bytes_read == 2) 285 value = get_operand_value (operand, insn, bytes_read, memaddr [all...] |
| /external/autotest/client/cros/ |
| network.py | 250 bytes_read = len(result.read(bytes_to_read)) 251 bytes_fetched += bytes_read 252 if bytes_read != bytes_to_read: 255 (bytes_to_read, bytes_read))
|
| /external/boringssl/src/crypto/ |
| cpu-arm-linux.c | 110 ssize_t bytes_read = read_eintr(fd, buf + len, kReadSize); local 111 if (bytes_read < 0) { 114 if (bytes_read == 0) { 117 len += bytes_read;
|
| /external/boringssl/src/tool/ |
| server.cc | 67 size_t bytes_read; local 88 bytes_read = fread(data, 1, length, f); 90 bytes_read != (size_t)length || 91 !SSL_CTX_set_ocsp_response(ctx, (uint8_t*)data, bytes_read)) {
|