HomeSort by relevance Sort by last modified time
    Searched defs:bytes_read (Results 126 - 150 of 254) sorted by null

1 2 3 4 56 7 8 91011

  /external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
fuse_fs_test.cc 272 int bytes_read = 0; local
274 ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read));
275 ASSERT_EQ(strlen(hello_world), bytes_read); local
280 ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read));
281 ASSERT_EQ(7, bytes_read);
308 int bytes_read = 0; local
309 ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read));
310 ASSERT_EQ(strlen(message), bytes_read); local
343 int bytes_read; local
346 ASSERT_EQ(0, root->GetDents(0, &entries[0], sizeof(entries), &bytes_read));
    [all...]
html5_fs_test.cc 294 int bytes_read = 0; local
296 ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read));
297 ASSERT_EQ(strlen(contents), bytes_read); local
302 ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read));
303 ASSERT_EQ(0, bytes_read);
307 ASSERT_EQ(0, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read));
308 ASSERT_EQ(strlen(contents) - 4, bytes_read);
309 buffer[bytes_read] = 0;
321 ASSERT_EQ(EISDIR, node->Read(attr, &buffer[0], sizeof(buffer), &bytes_read));
338 int bytes_read = 1; // Set to a non-zero value local
438 int bytes_read = 0; local
480 int bytes_read = 1; \/\/ Set to a non-zero value. local
    [all...]
tty_test.cc 95 int bytes_read; local
109 EXPECT_EQ(0, dev_tty_->Read(attrs, buffer, 5, &bytes_read));
110 EXPECT_EQ(5, bytes_read);
116 EXPECT_EQ(0, dev_tty_->Read(attrs, buffer + 5, 95, &bytes_read));
117 EXPECT_EQ(bytes_read, message.size() - 5);
  /external/chromium_org/net/base/
upload_data_stream_unittest.cc 49 const int bytes_read = local
51 data_read.append(buf->data(), bytes_read);
164 int bytes_read = local
166 ASSERT_LE(0, bytes_read); // Not an error.
239 int bytes_read = read_callback.WaitForResult(); local
240 ASSERT_LE(0, bytes_read); // Not an error.
241 read_counter += bytes_read;
357 const int bytes_read = local
359 ASSERT_LE(0, bytes_read); // Not an error.
378 int bytes_read local
469 int bytes_read = stream.Read(buf.get(), kTestDataSize, CompletionCallback()); local
470 ASSERT_EQ(static_cast<int>(kTestDataSize), bytes_read); \/\/ Not an error. local
    [all...]
  /external/chromium_org/net/quic/
quic_http_stream.cc 179 int bytes_read = 0; local
183 memcpy(&(buf->data()[bytes_read]), data->data(), bytes_to_copy);
195 bytes_read += bytes_to_copy;
197 return bytes_read;
quic_stream_sequencer_test.cc 306 int bytes_read = sequencer_->Readv(&iov, 1); local
307 EXPECT_EQ(3, bytes_read);
  /external/chromium_org/net/tools/flip_server/
sm_connection.cc 422 ssize_t bytes_read = 0; local
424 bytes_read = SSL_read(ssl_, bytes, size);
425 if (bytes_read < 0) {
426 int err = SSL_get_error(ssl_, bytes_read);
442 bytes_read = recv(fd_, bytes, size, MSG_DONTWAIT);
445 if (bytes_read == -1) {
462 } else if (bytes_read > 0) {
463 VLOG(2) << log_prefix_ << ACCEPTOR_CLIENT_IDENT << "read " << bytes_read local
474 read_buffer_.AdvanceWritablePtr(bytes_read);
478 } else { // bytes_read ==
    [all...]
  /external/chromium_org/net/tools/quic/
quic_client.cc 350 int bytes_read = ReadPacket(buf, arraysize(buf), &server_address, &client_ip); local
352 if (bytes_read < 0) {
356 QuicEncryptedPacket packet(buf, bytes_read, false);
  /external/chromium_org/net/url_request/
url_request_test_job.cc 218 int *bytes_read) {
226 DCHECK(bytes_read);
227 *bytes_read = 0;
240 *bytes_read = to_read;
299 int bytes_read; local
300 if (!ReadRawData(async_buf_, async_buf_size_, &bytes_read))
308 NotifyReadComplete(bytes_read);
  /external/chromium_org/sdch/open-vcdiff/src/
vcdiff_main.cc 138 // into input_buffer_. If successful, returns true and sets *bytes_read
141 bool ReadInput(size_t* bytes_read);
312 bool VCDiffFileBasedCoder::ReadInput(size_t* bytes_read) {
314 *bytes_read = fread(&input_buffer_[0], 1, input_buffer_.size(), input_file_);
347 size_t bytes_read = fread(&compare_buffer_[0], local
356 if (bytes_read < output_size) {
361 if (output.compare(0, output_size, &compare_buffer_[0], bytes_read) != 0) {
414 size_t bytes_read = 0; local
415 if (!WriteOutput(output) || !ReadInput(&bytes_read)) {
420 if (bytes_read > 0)
471 size_t bytes_read = 0; local
535 size_t bytes_read = 0; local
    [all...]
  /external/chromium_org/storage/browser/blob/
blob_url_request_job.cc 90 int* bytes_read) {
92 DCHECK(bytes_read);
97 *bytes_read = 0;
107 *bytes_read = 0;
115 return ReadLoop(bytes_read);
413 int bytes_read = BytesReadCompleted(); local
414 NotifyReadComplete(bytes_read);
419 int bytes_read = 0; local
420 if (ReadLoop(&bytes_read))
421 NotifyReadComplete(bytes_read);
433 int bytes_read = read_buf_->BytesConsumed(); local
    [all...]
  /external/chromium_org/sync/engine/net/
server_connection_manager.cc 93 const int64 bytes_read = ReadResponse(buffer_out, local
95 if (bytes_read != response->content_length) {
105 const int64 bytes_read = ReadResponse(buffer_out, local
108 if (bytes_read != response->content_length) {
110 response->content_length << ", but sent " << bytes_read;
160 int bytes_read = buffer_.length(); local
161 CHECK(length <= bytes_read);
163 return bytes_read;
  /external/chromium_org/third_party/android_crazy_linker/src/src/
crazy_linker_shared_library.cpp 201 const ssize_t bytes_read = fd.Read(buffer.Get(), bytes); local
202 if (static_cast<size_t>(bytes_read) != bytes) {
  /external/chromium_org/third_party/leveldatabase/src/db/
db_impl.h 180 int64_t bytes_read; member in struct:leveldb::DBImpl::CompactionStats
183 CompactionStats() : micros(0), bytes_read(0), bytes_written(0) { }
187 this->bytes_read += c.bytes_read;
  /external/chromium_org/third_party/libjingle/source/talk/xmpp/
xmppclient.cc 366 size_t bytes_read; local
374 if (!socket_->Read(bytes, sizeof(bytes), &bytes_read)) {
379 if (bytes_read == 0)
383 client_->SignalLogInput(bytes, static_cast<int>(bytes_read));
386 engine_->HandleInput(bytes, bytes_read);
  /external/chromium_org/third_party/sfntly/cpp/src/test/
font_data_test.cc 158 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;
  /external/chromium_org/third_party/tcmalloc/chromium/src/tests/
profiledata_unittest.cc 171 ssize_t bytes_read = ReadPersistent(fd.get(), filedata.get(), expected_bytes); local
172 if (expected_bytes != bytes_read)
  /external/chromium_org/third_party/tcmalloc/vendor/src/tests/
profiledata_unittest.cc 171 ssize_t bytes_read = ReadPersistent(fd.get(), filedata.get(), expected_bytes); local
172 if (expected_bytes != bytes_read)
  /external/chromium_org/third_party/webrtc/tools/frame_analyzer/
video_quality_analysis.cc 106 size_t bytes_read = fread(result_frame, 1, frame_size, input_file); local
107 if (bytes_read != static_cast<size_t>(frame_size) &&
135 size_t bytes_read = local
137 if (bytes_read != static_cast<size_t>(frame_size) && ferror(input_file)) {
157 size_t bytes_read = fread(result_frame, 1, frame_size, input_file); local
158 if (bytes_read != static_cast<size_t>(frame_size) &&
  /external/chromium_org/tools/android/forwarder2/
host_forwarder_main.cc 324 const int bytes_read = client_socket->Read(buf, sizeof(buf)); variable
325 if (bytes_read <= 0) {
332 const Pickle command_pickle(buf, bytes_read);
371 const int bytes_read = daemon_socket->Read( variable
373 CHECK_GT(bytes_read, 0);
374 DCHECK(bytes_read < sizeof(buf));
375 buf[bytes_read] = 0;
376 base::StringPiece msg(buf, bytes_read);
socket.cc 294 int bytes_read = 0; local
296 while (bytes_read < num_bytes && ret > 0) {
297 ret = Read(static_cast<char*>(buffer) + bytes_read, num_bytes - bytes_read);
299 bytes_read += ret;
301 return bytes_read;
  /external/chromium_org/v8/src/base/platform/
platform-freebsd.cc 134 ssize_t bytes_read = read(fd, addr_buffer + 2, 8); local
135 if (bytes_read < 8) break;
137 bytes_read = read(fd, addr_buffer + 2, 1);
138 if (bytes_read < 1) break;
140 bytes_read = read(fd, addr_buffer + 2, 8);
141 if (bytes_read < 8) break;
144 int bytes_read = -1; local
146 bytes_read++;
147 if (bytes_read >= MAP_LENGTH - 1)
149 bytes_read = read(fd, buffer + bytes_read, 1)
    [all...]
  /external/e2fsprogs/lib/ext2fs/
ext2_io.h 67 unsigned long long bytes_read; member in struct:struct_io_stats
  /external/e2fsprogs/resize/
resize2fs.h 95 unsigned long long bytes_read; member in struct:resource_track
  /external/libexif/libexif/
exif-loader.c 79 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...]

Completed in 2308 milliseconds

1 2 3 4 56 7 8 91011