/system/bt/vendor_libs/linux/interface/ |
hci_packetizer.cc | 58 size_t bytes_read = TEMP_FAILURE_RETRY( local 61 CHECK(bytes_read > 0); 62 bytes_read_ += bytes_read; 76 size_t bytes_read = TEMP_FAILURE_RETRY(read( local 80 CHECK(bytes_read > 0); 81 bytes_remaining_ -= bytes_read; 82 bytes_read_ += bytes_read;
|
/device/google/contexthub/util/nanotool/ |
calibrationfile.cpp | 52 ssize_t bytes_read = file_->read(file_data.data(), file_size); local 53 if (bytes_read != file_size) { 55 bytes_read, file_size);
|
/external/libmojo/base/debug/ |
proc_maps_linux.cc | 66 ssize_t bytes_read = HANDLE_EINTR(read(fd.get(), buffer, kReadSize)); local 67 if (bytes_read < 0) { 74 proc_maps->resize(pos + bytes_read); 76 if (bytes_read == 0)
|
/external/sfntly/cpp/src/sample/subsetter/ |
subset_util.cc | 55 size_t bytes_read = fread(&(input_buffer[0]), 1, file_size, input_file); local 56 UNREFERENCED_PARAMETER(bytes_read);
|
/external/sfntly/cpp/src/sfntly/data/ |
byte_array.cc | 113 int32_t bytes_read = 0; local 117 while ((bytes_read = 119 int bytes_written = array->Put(index + dst_offset, &(b[0]), 0, bytes_read); 121 index += bytes_read; 122 remaining_length -= bytes_read; 134 int32_t bytes_read = 0; local 137 while ((bytes_read = Get(index + offset, &(b[0]), 0, buffer_length)) > 0) { 138 os->Write(&b, 0, bytes_read); 139 index += bytes_read; 147 int32_t bytes_read = 0 local 167 int32_t bytes_read = 0; local [all...] |
font_input_stream.cc | 86 int32_t bytes_read = stream_->Read(b, offset, bytes_to_read); local 87 position_ += bytes_read; 88 return bytes_read;
|
/frameworks/ex/framesequence/jni/ |
Stream.cpp | 61 size_t bytes_read = 0; local 64 bytes_read = min(size, peek_remaining); 65 memcpy(buffer, mPeekBuffer + mPeekOffset, bytes_read); 66 mPeekOffset += bytes_read; 73 size -= bytes_read; 74 buffer = ((char*) buffer) + bytes_read; 77 bytes_read += doRead(buffer, size); 79 return bytes_read;
|
/system/update_engine/payload_generator/ |
block_mapping.cc | 49 ssize_t bytes_read = 0; local 50 if (!utils::PReadAll(fd, blob.data(), block_size_, byte_offset, &bytes_read)) 52 if (static_cast<size_t>(bytes_read) != block_size_) 121 ssize_t bytes_read = 0; local 122 if (!utils::PReadAll(fd, blob.data(), block_size, byte_offset, &bytes_read)) 124 if (static_cast<size_t>(bytes_read) != block_size)
|
/bionic/libc/tzcode/ |
bionic.cpp | 116 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, &header, sizeof(header))); local 117 if (bytes_read != sizeof(header)) { 119 __FUNCTION__, path, (bytes_read == -1) ? strerror(errno) : "short read"); 158 __FUNCTION__, path, (bytes_read == -1) ? strerror(errno) : "short read");
|
/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);
|
/device/google/marlin/dumpstate/ |
DumpstateDevice.cpp | 90 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fdLog, buffer.data(), buffer.size())); local 92 if (bytes_read == 0) { 94 } else if (bytes_read < 0) { 99 ssize_t result = TEMP_FAILURE_RETRY(write(fdModem, buffer.data(), bytes_read)); 101 if (result != bytes_read) { 102 ALOGD("Failed to write %ld bytes, actually written: %ld", bytes_read, result);
|
/device/linaro/bootloader/arm-trusted-firmware/common/ |
bl_common.c | 222 size_t bytes_read; local 268 io_result = io_read(image_handle, image_base, image_size, &bytes_read); 269 if ((io_result != IO_SUCCESS) || (bytes_read < image_size)) {
|
/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);
|
/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/protobuf/conformance/ |
conformance_cpp.cc | 67 ssize_t bytes_read = read(fd, (char*)buf + ofs, len); local 69 if (bytes_read == 0) return false; 71 if (bytes_read < 0) { 75 len -= bytes_read; 76 ofs += bytes_read;
|
/external/selinux/restorecond/ |
user.c | 117 gsize bytes_read; local 125 &bytes_read, NULL); 127 if (! bytes_read) { 132 while (i < bytes_read) {
|
/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;
|
/external/sfntly/cpp/src/test/ |
byte_array_test.cc | 39 int32_t bytes_read = ba->Get(index, buffer); local 40 std::copy(buffer->begin(), buffer->begin() + bytes_read, 42 index += bytes_read; 54 int32_t bytes_read = ba->Get(index, &((*b)[0]), index, actual_window_size); local 55 index += bytes_read;
|
/external/webrtc/webrtc/modules/audio_processing/transient/ |
file_utils.cc | 91 size_t bytes_read = file->Read(byte_array.get(), 2); local 92 if (bytes_read < 2) { 153 size_t bytes_read = file->Read(byte_array.get(), 4); local 154 if (bytes_read < 4) { 176 size_t bytes_read = file->Read(byte_array.get(), 8); local 177 if (bytes_read < 8) {
|
/external/webrtc/webrtc/test/ |
fake_audio_device.cc | 91 int bytes_read = file_utility_->ReadPCMData( local 93 if (bytes_read <= 0) 96 size_t num_samples = static_cast<size_t>(bytes_read / 2);
|
/external/zlib/src/contrib/iostream3/ |
zfstream.cc | 197 int bytes_read = gzread(file, buffer, buffer_size); local 199 if (bytes_read <= 0) 206 this->setg(buffer, buffer, buffer + bytes_read);
|
/frameworks/base/tools/aapt2/compile/ |
PngChunkFilter.cpp | 85 const size_t bytes_read = window_end_ - window_start_; local 87 *len = bytes_read;
|
/frameworks/native/cmds/dumpstate/ |
DumpstateInternal.cpp | 165 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buffer, sizeof(buffer))); local 166 if (bytes_read > 0) { 167 android::base::WriteFully(out_fd, buffer, bytes_read); 168 newline = (buffer[bytes_read - 1] == '\n'); 170 if (bytes_read == -1) {
|
/system/core/fastboot/ |
tcp.cpp | 146 ssize_t bytes_read = socket_->ReceiveAll(data, length, 0); local 147 if (bytes_read == -1) { 150 message_bytes_left_ -= bytes_read; 152 return bytes_read;
|
/system/core/libunwindstack/ |
Memory.cpp | 39 uint64_t bytes_read = 0; local 40 while (bytes_read < max_read) { 50 bytes_read++; 158 size_t bytes_read = 0; local 170 bytes_read += copy_bytes; 180 bytes_read += sizeof(long); 189 bytes_read += left_over; 213 ssize_t bytes_read = process_vm_readv(getpid(), &local_io, 1, &remote_io, 1, 0); local 214 if (bytes_read == -1) { 217 return static_cast<size_t>(bytes_read) == size [all...] |