/aosp14/system/core/fs_mgr/libsnapshot/libsnapshot_cow/ |
H A D | cow_decompress.cpp | 278 size_t bytes_read = 0; in Decompress() local 279 stream_->Read(output_buffer, output_size, &bytes_read); in Decompress() 280 if (bytes_read != output_size) { in Decompress() 282 << " actual: " << bytes_read; in Decompress() 290 size_t bytes_read = 0; in Decompress() local 291 stream_->Read(input_buffer.data(), input_buffer.size(), &bytes_read); in Decompress() 292 if (bytes_read != input_buffer.size()) { in Decompress() 294 << " actual: " << bytes_read; in Decompress()
|
/aosp14/system/core/fastboot/device/ |
H A D | tcp_client.cpp | 85 ssize_t bytes_read = in Read() local 87 if (bytes_read == -1) { in Read() 91 message_bytes_left_ -= bytes_read; in Read() 92 total_read += bytes_read; in Read()
|
H A D | fastboot_device.cpp | 210 auto bytes_read = transport_->Read(command, FB_RESPONSE_SZ); in ExecuteCommands() local 211 if (bytes_read == -1) { in ExecuteCommands() 215 if (std::count_if(command, command + bytes_read, iscntrl) != 0) { in ExecuteCommands() 220 command[bytes_read] = '\0'; in ExecuteCommands()
|
/aosp14/system/core/fastboot/ |
H A D | tcp.cpp | 147 ssize_t bytes_read = socket_->ReceiveAll(data, length, 0); in Read() local 148 if (bytes_read == -1) { in Read() 151 message_bytes_left_ -= bytes_read; in Read() 153 return bytes_read; in Read()
|
/aosp14/system/core/fs_mgr/libsnapshot/ |
H A D | snapshot_writer_test.cpp | 57 const auto bytes_read = cow_reader->Read(read_back.data(), read_back.size()); in TEST_F() local 58 ASSERT_EQ((size_t)(bytes_read), BLOCK_SIZE); in TEST_F()
|
/aosp14/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
H A D | snapuserd_verify.cpp | 117 uint64_t bytes_read = 0; in VerifyBlocks() local 130 bytes_read += to_read; in VerifyBlocks() 137 SNAP_LOG(DEBUG) << "Verification success with bytes-read: " << bytes_read in VerifyBlocks()
|
/aosp14/system/core/trusty/utils/acvp/ |
H A D | trusty_modulewrapper.cpp | 155 int bytes_read = read(tipc_fd_, &resp, sizeof(struct acvp_resp)); in ForwardResponse() local 156 if (bytes_read < 0) { in ForwardResponse() 160 if (bytes_read != sizeof(struct acvp_resp)) { in ForwardResponse()
|
/aosp14/frameworks/base/tools/aapt2/compile/ |
H A D | PngChunkFilter.cpp | 85 const size_t bytes_read = window_end_ - window_start_; in ConsumeWindow() local 87 *len = bytes_read; in ConsumeWindow()
|
H A D | PngCrunch.cpp | 103 const size_t bytes_read = std::min(in_len, len); in ReadDataFromStream() local 104 memcpy(buffer, in_buffer, bytes_read); in ReadDataFromStream() 105 if (bytes_read != in_len) { in ReadDataFromStream() 106 in->BackUp(in_len - bytes_read); in ReadDataFromStream()
|
/aosp14/system/core/trusty/storage/lib/ |
H A D | storage.c | 205 size_t bytes_read = 0; in storage_read() local 219 bytes_read += rc; in storage_read() 222 return bytes_read; in storage_read()
|
/aosp14/system/core/init/ |
H A D | init.cpp | 718 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(signal_fd, &siginfo, sizeof(siginfo))); in HandleSignalFd() local 719 if (bytes_read != sizeof(siginfo)) { in HandleSignalFd()
|
/aosp14/system/core/trusty/storage/tests/ |
H A D | main.cpp | 230 size_t bytes_read = 0; in ReadPatternEOF() local 244 bytes_read += rc; in ReadPatternEOF() 246 ASSERT_EQ(bytes_read, exp_len); in ReadPatternEOF()
|