Searched defs:bytes_read (Results 1 - 25 of 90) sorted by relevance

1234

/external/libvpx/libvpx/
H A Divfdec.c73 size_t *bytes_read, size_t *buffer_size) {
107 *bytes_read = frame_size;
72 ivf_read_frame(FILE *infile, uint8_t **buffer, size_t *bytes_read, size_t *buffer_size) argument
/external/sfntly/cpp/src/test/
H A Dfile_io_test.cc41 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 Dbyte_array_test.cc39 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;
H A Dtest_font_utils.cc78 size_t bytes_read = fread(&((*input_buffer)[0]), 1, file_size, input_file); local
79 EXPECT_EQ(bytes_read, file_size);
/external/e2fsprogs/resize/
H A Dresource_track.c42 track->bytes_read = 0;
47 track->bytes_read = io_start->bytes_read;
104 unsigned long long bytes_read = 0; local
109 bytes_read = delta->bytes_read - track->bytes_read;
112 if (bytes_read == 0 && bytes_written == 0)
118 mbytes(bytes_read),
120 (double)mbytes(bytes_read
[all...]
H A Dresize2fs.h95 unsigned long long bytes_read; member in struct:resource_track
/external/flac/libFLAC/
H A Dogg_helper.c47 size_t bytes_read = bytes; local
48 switch(read_callback(encoder, buffer, &bytes_read, client_data)) {
50 bytes -= bytes_read;
51 buffer += bytes_read;
54 if(bytes_read == 0) {
58 bytes -= bytes_read;
59 buffer += bytes_read;
/external/google-breakpad/src/common/tests/
H A Dfile_utils.cc64 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 Dsubset_util.cc55 size_t bytes_read = fread(&(input_buffer[0]), 1, file_size, input_file); local
56 UNREFERENCED_PARAMETER(bytes_read);
/external/google-breakpad/src/tools/windows/dump_syms/
H A Ddump_syms_unittest.cc136 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/lldb/source/API/
H A DSBCommunication.cpp147 size_t bytes_read = 0; local
149 bytes_read = m_opaque->Read (dst, dst_len, timeout_usec, status, NULL);
160 (uint64_t)bytes_read);
161 return bytes_read;
/external/lldb/source/DataFormatters/
H A DLibCxx.cpp66 size_t bytes_read = process_sp->ReadMemory(byte_location, &byte, 1, err); local
67 if (err.Fail() || bytes_read == 0)
H A DLibStdcpp.cpp65 size_t bytes_read = process_sp->ReadMemory(byte_location, &byte, 1, err); local
66 if (err.Fail() || bytes_read == 0)
/external/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DDYLDRendezvous.cpp239 size_t bytes_read; local
242 bytes_read = m_process->DoReadMemory(addr, dst, size, error);
243 if (bytes_read != size || error.Fail())
246 return addr + bytes_read;
/external/selinux/policycoreutils/restorecond/
H A Duser.c117 gsize bytes_read; local
125 &bytes_read, NULL);
127 if (! bytes_read) {
132 while (i < bytes_read) {
/external/sfntly/cpp/src/sample/chromium/
H A Dchrome_subsetter.cc57 size_t bytes_read = fread(&((*input_buffer)[0]), 1, file_size, input_file); local
59 return bytes_read == file_size;
/external/sfntly/cpp/src/sfntly/data/
H A Dbyte_array.cc111 int32_t bytes_read = 0; local
115 while ((bytes_read =
117 int bytes_written = array->Put(index + dst_offset, &(b[0]), 0, bytes_read);
119 index += bytes_read;
120 remaining_length -= bytes_read;
132 int32_t bytes_read = 0; local
135 while ((bytes_read = Get(index + offset, &(b[0]), 0, buffer_length)) > 0) {
136 os->Write(&b, 0, bytes_read);
137 index += bytes_read;
145 int32_t bytes_read local
165 int32_t bytes_read = 0; local
[all...]
H A Dfont_input_stream.cc86 int32_t bytes_read = stream_->Read(b, offset, bytes_to_read); local
87 position_ += bytes_read;
88 return bytes_read;
/external/webrtc/src/system_wrappers/source/
H A Dfile_impl.cc198 int bytes_read = static_cast<int>(fread(buf, 1, length, _id)); local
199 if (bytes_read != length && !_looping)
203 return bytes_read;
/external/zlib/src/contrib/iostream3/
H A Dzfstream.cc197 int bytes_read = gzread(file, buffer, buffer_size); local
199 if (bytes_read <= 0)
206 this->setg(buffer, buffer, buffer + bytes_read);
/external/boringssl/src/ssl/
H A Ds3_both.c360 int bytes_read = ssl3_read_bytes(s, SSL3_RT_HANDSHAKE, &p[s->init_num], local
362 if (bytes_read <= 0) {
364 return bytes_read;
366 s->init_num += bytes_read;
416 int bytes_read = ssl3_read_bytes(s, SSL3_RT_HANDSHAKE, &p[s->init_num], n, local
418 if (bytes_read <= 0) {
421 return bytes_read;
423 s->init_num += bytes_read;
424 n -= bytes_read;
/external/e2fsprogs/lib/ext2fs/
H A Dext2_io.h67 unsigned long long bytes_read; member in struct:struct_io_stats
/external/e2fsprogs/lib/quota/
H A Dquotaio.c178 unsigned int bytes_read = 0; local
187 err = ext2fs_file_read(e2_file, buf, size, &bytes_read);
193 return bytes_read;
/external/libexif/libexif/
H A Dexif-loader.c79 unsigned int bytes_read; member in struct:_ExifLoader
135 if (!eld || (len && !buf) || (eld->bytes_read >= eld->size))
145 len = MIN (len, eld->size - eld->bytes_read);
146 memcpy (eld->buf + eld->bytes_read, buf, len);
147 eld->bytes_read += len;
149 return (eld->bytes_read >= eld->size) ? 0 : 1;
384 loader->bytes_read = 0;
396 !loader->bytes_read)
401 exif_data_load_data (ed, loader->buf, loader->bytes_read);
418 s = loader->bytes_read;
[all...]
/external/lldb/source/Core/
H A DCommunication.cpp353 size_t bytes_read = comm->ReadFromConnection (buf, sizeof(buf), 5 * TimeValue::MicroSecPerSec, status, &error); local
354 if (bytes_read > 0)
355 comm->AppendBytesToCache (buf, bytes_read, true, status);
356 else if ((bytes_read == 0)
361 comm->AppendBytesToCache (buf, bytes_read, true, status);

Completed in 951 milliseconds

1234