/external/syslinux/com32/lib/sys/ |
H A D | 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;
|
/external/bsdiff/ |
H A D | extents_file_unittest.cc | 99 size_t bytes_read; local 100 EXPECT_FALSE(file.Read(nullptr, 1, &bytes_read)); 126 size_t bytes_read = 0; local 127 EXPECT_TRUE(file.Read(buf, 100, &bytes_read)); 128 EXPECT_EQ(15U, bytes_read); 148 size_t bytes_read = 0; local 149 EXPECT_TRUE(file.Read(buf, 2, &bytes_read)); 150 EXPECT_EQ(2U, bytes_read); 151 EXPECT_TRUE(file.Read(buf, 8, &bytes_read)); 152 EXPECT_EQ(8U, bytes_read); 168 size_t bytes_read = 0; local 182 size_t bytes_read = 0; local 191 size_t bytes_read; local 206 size_t bytes_read = 0; local [all...] |
H A D | memory_file.cc | 15 bool MemoryFile::Read(void* buf, size_t count, size_t* bytes_read) { argument 19 *bytes_read = count;
|
H A D | sink_file.cc | 12 bool SinkFile::Read(void* buf, size_t count, size_t* bytes_read) { argument
|
H A D | buffer_file.cc | 20 bool BufferFile::Read(void* buf, size_t count, size_t* bytes_read) { argument
|
H A D | extents_file.cc | 34 bool ExtentsFile::Read(void* buf, size_t count, size_t* bytes_read) { argument 35 return IOOperation(&FileInterface::Read, buf, count, bytes_read);
|
H A D | file.cc | 38 bool File::Read(void* buf, size_t count, size_t* bytes_read) { argument 46 *bytes_read = static_cast<size_t>(rc);
|
H A D | 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/common/ |
H A D | data_pipe_file_utils.cc | 36 int bytes_read = local 38 if (bytes_read >= 0) { 39 EndWriteDataRaw(destination.get(), bytes_read); 40 if (bytes_read == 0) {
|
/external/libmojo/mojo/edk/test/ |
H A D | multiprocess_test_helper_unittest.cc | 44 size_t bytes_read = 0; local 45 BlockingRead(handle, c, 1, &bytes_read); 46 return bytes_read == 1;
|
H A D | test_utils_posix.cc | 41 size_t* bytes_read) { 55 *bytes_read = result; 62 size_t* bytes_read) { 69 *bytes_read = 0; 71 *bytes_read = result; 38 BlockingRead(const PlatformHandle& handle, void* buffer, size_t buffer_size, size_t* bytes_read) argument 59 NonBlockingRead(const PlatformHandle& handle, void* buffer, size_t buffer_size, size_t* bytes_read) argument
|
H A D | 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; 37 BlockingRead(const PlatformHandle& handle, void* buffer, size_t buffer_size, size_t* bytes_read) argument 57 NonBlockingRead(const PlatformHandle& handle, void* buffer, size_t buffer_size, size_t* bytes_read) argument
|
/external/libvpx/libvpx/ |
H A D | ivfdec.c | 73 int ivf_read_frame(FILE *infile, uint8_t **buffer, size_t *bytes_read, argument 107 *bytes_read = frame_size;
|
/external/ltp/testcases/kernel/fs/fs_di/ |
H A D | frag.c | 48 int bytes_read = 0, bytes_written = 0, fd1 = -1, fd2 = -1; local 78 bytes_read = fread(buff, 1, 1024, fp_data); 79 if (bytes_read < 0) { 84 bytes_written = fwrite(buff, 1, bytes_read, fp_frag1); 85 if (bytes_read != bytes_written) { 90 bytes_written = fwrite(buff, 1, bytes_read, fp_frag2); 91 if (bytes_read != bytes_written) { 104 if (bytes_read < 1024)
|
/external/sfntly/cpp/src/test/ |
H A D | file_io_test.cc | 41 size_t bytes_read = fread(&(b1[0]), 1, length, file_handle); local 42 EXPECT_EQ(bytes_read, length); 102 size_t bytes_read = fread(&(b1[0]), 1, length, file_handle); local 103 EXPECT_EQ(bytes_read, length);
|
H A D | 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/syslinux/com32/elflink/ldlinux/ |
H A D | loadhigh.c | 48 uint32_t bytes_read; local 85 bytes_read = fs->fs_ops->getfssec(file, buf, sectors, &have_more); 87 if (bytes_read > chunk) 88 bytes_read = chunk; 90 buf += bytes_read; 91 bytes -= bytes_read;
|
/external/e2fsprogs/resize/ |
H A D | resource_track.c | 43 track->bytes_read = 0; 48 track->bytes_read = io_start->bytes_read; 105 unsigned long long bytes_read = 0; local 110 bytes_read = delta->bytes_read - track->bytes_read; 113 if (bytes_read == 0 && bytes_written == 0) 119 mbytes(bytes_read), 121 (double)mbytes(bytes_read [all...] |
/external/google-breakpad/src/common/tests/ |
H A D | file_utils.cc | 64 ssize_t bytes_read = HANDLE_EINTR(read(infile, buffer, sizeof(buffer))); local 65 if (bytes_read < 0) { 70 if (bytes_read == 0) 77 bytes_read - bytes_written_per_read)); 84 } while (bytes_written_per_read < bytes_read);
|
/external/sfntly/cpp/src/sample/subsetter/ |
H A D | subset_util.cc | 55 size_t bytes_read = fread(&(input_buffer[0]), 1, file_size, input_file); local 56 UNREFERENCED_PARAMETER(bytes_read);
|
/external/webrtc/webrtc/base/ |
H A D | bufferqueue.cc | 35 bool BufferQueue::ReadFront(void* buffer, size_t bytes, size_t* bytes_read) { argument 47 if (bytes_read) { 48 *bytes_read = bytes;
|
/external/boringssl/src/tool/ |
H A D | 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)) {
|
/external/libmojo/base/debug/ |
H A D | 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/libmojo/mojo/edk/embedder/ |
H A D | 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/ |
H A D | 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;
|