Searched defs:bytes_read (Results 1 - 25 of 299) sorted by last modified time

1234567891011>>

/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/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/tinyalsa/
H A Dtinycap.c192 unsigned int bytes_read = 0; local
227 bytes_read += size;
232 return pcm_bytes_to_frames(pcm, bytes_read);
/external/stressapptest/src/
H A Dos.cc311 ssize_t bytes_read = read(hpfile, buf, 64); local
314 if (bytes_read <= 0) {
320 if (bytes_read == 64) {
327 buf[bytes_read] = '\0';
H A Dworker.cc3067 int64 bytes_read = 0; local
3100 (address * kSectorSize + bytes_read) / kSectorSize,
3104 address * kSectorSize + bytes_read,
3123 0, bytes_read)) {
3133 bytes_read += current_blocks * read_block_size_;
/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/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/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/sfntly/cpp/src/test/
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 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 Dfont_data_test.cc158 int32_t bytes_read = rfd->ReadBytes(index, &(buffer[0]), 0, buffer.size()); local
159 EXPECT_GE(bytes_read, 0);
160 std::copy(buffer.begin(), buffer.begin() + bytes_read, b->begin() + index);
161 index += bytes_read;
172 int32_t bytes_read = local
174 EXPECT_GE(bytes_read, 0);
175 index += bytes_read;
205 int32_t bytes_read = rfd->ReadBytes(index, &(b[0]), index, sliding_size); local
207 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/qemu/distrib/jpeg-6b/
H A Djdmarker.c103 unsigned int bytes_read; /* data bytes read so far in marker */ member in struct:__anon29300
744 unsigned int bytes_read, data_length; local
773 marker->bytes_read = 0;
774 bytes_read = 0;
778 bytes_read = data_length = 0;
783 bytes_read = marker->bytes_read;
785 data = cur_marker->data + bytes_read;
788 while (bytes_read < data_length) {
790 marker->bytes_read
[all...]
/external/qemu/slirp/
H A Dtftp.c105 int bytes_read = 0; local
123 bytes_read = read(fd, buf, len);
128 return bytes_read;
/external/qemu/slirp-android/
H A Dtftp.c105 int bytes_read = 0; local
123 bytes_read = read(fd, buf, len);
128 return bytes_read;
/external/protobuf/gtest/src/
H A Dgtest-death-test.cc374 int bytes_read; local
381 bytes_read = posix::Read(read_fd(), &flag, 1);
382 } while (bytes_read == -1 && errno == EINTR);
384 if (bytes_read == 0) {
386 } else if (bytes_read == 1) {
/external/pdfium/core/src/fxcodec/libjpeg/
H A Dfpdfapi_jdmarker.c104 unsigned int bytes_read; /* data bytes read so far in marker */ member in struct:__anon28746
778 unsigned int bytes_read, data_length; local
807 marker->bytes_read = 0;
808 bytes_read = 0;
812 bytes_read = data_length = 0;
817 bytes_read = marker->bytes_read;
819 data = cur_marker->data + bytes_read;
822 while (bytes_read < data_length) {
824 marker->bytes_read
[all...]
/external/openssl/apps/
H A Ds_time.c134 static long bytes_read=0; variable
157 bytes_read=0;
396 bytes_read=0;
419 bytes_read+=i;
453 printf( "\n\n%d connections in %.2fs; %.2f connections/user sec, bytes read %ld\n", nConn, totalTime, ((double)nConn/totalTime),bytes_read);
454 printf( "%d connections in %ld real seconds, %ld bytes read per connection\n",nConn,(long)time(NULL)-finishtime+maxTime,bytes_read/nConn);
489 bytes_read=0;
512 bytes_read+=i;
543 printf( "\n\n%d connections in %.2fs; %.2f connections/user sec, bytes read %ld\n", nConn, totalTime, ((double)nConn/totalTime),bytes_read);
544 printf( "%d connections in %ld real seconds, %ld bytes read per connection\n",nConn,(long)time(NULL)-finishtime+maxTime,bytes_read/nCon
[all...]
/external/netperf/
H A Dnetlib.c1238 int bytes_read;
1297 if (((bytes_read = (int)fread(bufptr,
1304 bufptr += bytes_read;
1305 bytes_left -= bytes_read;
1400 int bytes_read;
1493 if (((bytes_read = (int) fread (temp_link->buffer_ptr,
1500 bytes_left -= bytes_read;
1225 int bytes_read; local
1386 int bytes_read; local
/external/mesa3d/src/gallium/drivers/r600/
H A Dr600_shader.c262 unsigned * bytes_read)
267 out |= bytes[(*bytes_read)++] << (8 * i);
273 unsigned bytes_read, struct r600_bytecode_alu * alu, unsigned src_idx)
277 sel0 = bytes[bytes_read++];
278 sel1 = bytes[bytes_read++];
280 alu->src[src_idx].chan = bytes[bytes_read++];
281 alu->src[src_idx].neg = bytes[bytes_read++];
282 alu->src[src_idx].abs = bytes[bytes_read++];
283 alu->src[src_idx].rel = bytes[bytes_read++];
284 alu->src[src_idx].kc_bank = bytes[bytes_read
261 i32_from_byte_stream(unsigned char * bytes, unsigned * bytes_read) argument
272 r600_src_from_byte_stream(unsigned char * bytes, unsigned bytes_read, struct r600_bytecode_alu * alu, unsigned src_idx) argument
291 r600_alu_from_byte_stream(struct r600_shader_ctx *ctx, unsigned char * bytes, unsigned bytes_read) argument
373 r600_fc_from_byte_stream(struct r600_shader_ctx *ctx, unsigned char * bytes, unsigned bytes_read) argument
439 r600_tex_from_byte_stream(struct r600_shader_ctx *ctx, unsigned char * bytes, unsigned bytes_read) argument
473 r600_vtx_from_byte_stream(struct r600_shader_ctx *ctx, unsigned char * bytes, unsigned bytes_read) argument
519 unsigned bytes_read = 0; local
[all...]
/external/mesa3d/src/gtest/src/
H A Dgtest-death-test.cc387 int bytes_read; local
394 bytes_read = posix::Read(read_fd(), &flag, 1);
395 } while (bytes_read == -1 && errno == EINTR);
397 if (bytes_read == 0) {
399 } else if (bytes_read == 1) {
/external/llvm/utils/unittest/googletest/src/
H A Dgtest-death-test.cc390 int bytes_read; local
397 bytes_read = posix::Read(read_fd(), &flag, 1);
398 } while (bytes_read == -1 && errno == EINTR);
400 if (bytes_read == 0) {
402 } else if (bytes_read == 1) {
/external/ltrace/sysdeps/linux-gnu/
H A Dtrace.c1205 size_t offset = 0, bytes_read = 0; local
1211 return bytes_read;
1219 bytes_read += sizeof(long);
1223 bytes_read += (len - offset);
1228 return 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;

Completed in 589 milliseconds

1234567891011>>