| /hardware/interfaces/bluetooth/1.0/default/ |
| h4_protocol.cc | 60 size_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buffer, 1)); local 61 CHECK(bytes_read == 1);
|
| /external/bsdiff/ |
| sink_file.cc | 12 bool SinkFile::Read(void* buf, size_t count, size_t* bytes_read) {
|
| buffer_file.h | 27 bool Read(void* buf, size_t count, size_t* bytes_read) override;
|
| file.h | 23 bool Read(void* buf, size_t count, size_t* bytes_read) override;
|
| memory_file.h | 24 bool Read(void* buf, size_t count, size_t* bytes_read) override;
|
| sink_file.h | 28 bool Read(void* buf, size_t count, size_t* bytes_read) override;
|
| /external/syslinux/com32/lib/sys/ |
| fileread.c | 44 ssize_t bytes_read; local 46 bytes_read = pmapi_read_file(&fp->i.fd.handle, fp->i.buf, 48 if (!bytes_read) { 53 fp->i.nbytes = bytes_read;
|
| /art/runtime/ |
| zip_archive_test.cc | 57 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, buf, kBufSize)); local 58 if (bytes_read == 0) { 61 computed_crc = crc32(computed_crc, buf, bytes_read);
|
| /external/webrtc/webrtc/base/ |
| bufferqueue.cc | 35 bool BufferQueue::ReadFront(void* buffer, size_t bytes, size_t* bytes_read) { 47 if (bytes_read) { 48 *bytes_read = bytes;
|
| bufferqueue.h | 34 bool ReadFront(void* data, size_t bytes, size_t* bytes_read);
|
| /external/libmojo/mojo/edk/test/ |
| test_utils_win.cc | 40 size_t* bytes_read) { 53 *bytes_read = bytes_read_dword; 60 size_t* bytes_read) { 73 *bytes_read = 0; 78 *bytes_read = bytes_read_dword;
|
| /external/google-breakpad/src/tools/windows/dump_syms/ |
| dump_syms_unittest.cc | 136 DWORD bytes_read = 0;
local 137 while (::ReadFile(child_stdout_read, buffer, sizeof(buffer), &bytes_read,
138 NULL) && bytes_read > 0) {
139 stdout_string->append(buffer, bytes_read);
159 size_t bytes_read = ::fread(buffer, 1, sizeof(buffer), f);
local 160 if (bytes_read == 0)
162 content->append(buffer, bytes_read);
|
| /external/syslinux/core/fs/ |
| getfssec.c | 94 uint32_t bytes_read = 0; local 182 bytes_read += len; 187 bytes_read = min(bytes_read, bytes_left); 188 file->offset += bytes_read; 191 *have_more = bytes_read < bytes_left; 193 return bytes_read;
|
| /toolchain/binutils/binutils-2.25/binutils/ |
| dwarf.c | 451 unsigned int bytes_read; local 457 len = read_uleb128 (data, & bytes_read, end); 458 data += bytes_read; 463 return bytes_read; 466 len += bytes_read; 481 SAFE_BYTE_GET (adr, data, len - bytes_read - 1, end); 494 printf ("%s\t", dwarf_vmatoa ("u", read_uleb128 (data, & bytes_read, end))); 495 data += bytes_read; 496 printf ("%s\t", dwarf_vmatoa ("u", read_uleb128 (data, & bytes_read, end))); 497 data += bytes_read; 824 unsigned int bytes_read; local 939 unsigned int bytes_read; local 1550 unsigned int bytes_read; local 2499 unsigned int bytes_read; local 2850 unsigned int bytes_read; local 2885 unsigned int bytes_read; local 3010 unsigned int bytes_read; local 3551 unsigned int bytes_read; local 3572 unsigned int bytes_read; local 3623 unsigned int bytes_read; local 4129 unsigned int bytes_read; local 4210 unsigned int version, opcode_base, bytes_read; local 4291 unsigned int bytes_read; local 4726 unsigned int bytes_read; local [all...] |
| /system/core/libunwindstack/ |
| Memory.cpp | 35 uint64_t bytes_read = 0; local 36 while (bytes_read < max_read) { 46 bytes_read++; 141 size_t bytes_read = 0; local 153 bytes_read += copy_bytes; 163 bytes_read += sizeof(long); 172 bytes_read += left_over; 190 ssize_t bytes_read = process_vm_readv(getpid(), &local_io, 1, &remote_io, 1, 0); local 191 if (bytes_read == -1) { 194 return static_cast<size_t>(bytes_read) == size [all...] |
| /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)
|
| /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)
|
| /system/update_engine/common/ |
| file_fetcher.cc | 133 void FileFetcher::OnReadDoneCallback(size_t bytes_read) { 135 if (bytes_read == 0) { 140 bytes_copied_ += bytes_read; 142 delegate_->ReceivedBytes(this, buffer_.data(), bytes_read);
|
| /external/libchrome/base/files/ |
| file_posix.cc | 209 int bytes_read = 0; local 212 rv = HANDLE_EINTR(pread(file_.get(), data + bytes_read, 213 size - bytes_read, offset + bytes_read)); 217 bytes_read += rv; 218 } while (bytes_read < size); 220 return bytes_read ? bytes_read : rv; 231 int bytes_read = 0; local 234 rv = HANDLE_EINTR(read(file_.get(), data + bytes_read, size - bytes_read)) [all...] |
| file_unittest.cc | 174 int bytes_read = file.Read(kTestDataSize, data_read_1, kTestDataSize); local 175 EXPECT_EQ(0, bytes_read); 179 bytes_read = file.Read(kPartialReadOffset, data_read_1, kTestDataSize); 180 EXPECT_EQ(kTestDataSize - kPartialReadOffset, bytes_read); 181 for (int i = 0; i < bytes_read; i++) 185 bytes_read = file.Read(0, data_read_1, 0); 186 EXPECT_EQ(0, bytes_read); 189 bytes_read = file.Read(0, data_read_1, kTestDataSize); 190 EXPECT_EQ(kTestDataSize, bytes_read); 191 for (int i = 0; i < bytes_read; i++ 262 int bytes_read = file.Read(0, data_read_1, local 298 int bytes_read = file.Read(0, data_read, static_cast<int>(file_size)); local [all...] |
| /development/host/windows/usb/api/ |
| adb_endpoint_object.h | 117 @param[out] bytes_read Number of bytes read. Can be NULL.
129 ULONG* bytes_read,
157 @param[out] bytes_read Number of bytes read. Can be NULL.
166 ULONG* bytes_read,
|
| /external/libvpx/libvpx/ |
| ivfdec.c | 73 int ivf_read_frame(FILE *infile, uint8_t **buffer, size_t *bytes_read, 107 *bytes_read = frame_size;
|
| /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/ltp/testcases/kernel/io/stress_cd/ |
| stress_cd.c | 145 int bytes_read = 0; local 159 while (bytes_read < num_bytes) { 165 bytes_read += n; 172 "%-#12lx\n", num, bytes_read, *cksum); 178 num, bytes_read, *cksum);
|
| /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;
|