/external/chromium/base/ |
platform_file_win.cc | 124 DWORD bytes_read; local 125 if (::ReadFile(file, data, size, &bytes_read, &overlapped) != 0) 126 return bytes_read;
|
file_util_posix.cc | 367 ssize_t bytes_read = local 369 if (bytes_read <= 0) 371 total_read += bytes_read; 560 ssize_t bytes_read = HANDLE_EINTR(read(fd, data, size)); 563 return bytes_read; 867 ssize_t bytes_read = HANDLE_EINTR(read(infile, &buffer[0], buffer.size())); local 868 if (bytes_read < 0) { 872 if (bytes_read == 0) 880 bytes_read - bytes_written_per_read)); 886 } while (bytes_written_per_read < bytes_read); [all...] |
/external/chromium/chrome/browser/renderer_host/ |
download_resource_handler.cc | 143 bool DownloadResourceHandler::OnReadCompleted(int request_id, int* bytes_read) { 144 if (!*bytes_read) 153 buffer_->contents.push_back(std::make_pair(buffer, *bytes_read));
|
/external/chromium/net/url_request/ |
url_request_ftp_job.cc | 236 int *bytes_read) { 238 DCHECK(bytes_read); 243 *bytes_read = rv;
|
/external/chromium_org/content/browser/loader/ |
redirect_to_file_resource_handler.cc | 126 int bytes_read, 132 int new_offset = buf_->offset() + bytes_read; 139 if (buf_->capacity() == bytes_read) {
|
/external/chromium_org/net/base/ |
network_delegate.cc | 57 int bytes_read) { 59 OnRawBytesRead(request, bytes_read); 176 int bytes_read) {
|
nss_memio.c | 427 void memio_PutReadResult(memio_Private *secret, int bytes_read) 432 if (bytes_read > 0) { 433 mb->tail += bytes_read; 436 } else if (bytes_read == 0) { 439 } else /* if (bytes_read < 0) */ { 440 mb->last_err = bytes_read;
|
/external/chromium_org/net/dns/ |
mdns_client_impl.h | 44 // Handle an mDNS packet buffered in |response| with a size of |bytes_read|. 45 virtual void HandlePacket(DnsResponse* response, int bytes_read) = 0; 86 int bytes_read); 126 virtual void HandlePacket(DnsResponse* response, int bytes_read) OVERRIDE;
|
/external/chromium_org/net/tools/quic/ |
quic_client.cc | 298 int bytes_read = QuicSocketUtils::ReadPacket( local 302 if (bytes_read < 0) { 306 QuicEncryptedPacket packet(buf, bytes_read, false);
|
quic_server.cc | 219 int bytes_read = local 224 if (bytes_read < 0) { 228 QuicEncryptedPacket packet(buf, bytes_read, false);
|
quic_socket_utils.cc | 107 int bytes_read = recvmsg(fd, &hdr, 0); local 111 if (bytes_read < 0 && errno != 0) { 135 return bytes_read;
|
/external/tinyalsa/ |
tinycap.c | 192 unsigned int bytes_read = 0; local 227 bytes_read += size; 232 return pcm_bytes_to_frames(pcm, bytes_read);
|
/external/chromium/net/base/ |
nss_memio.c | 394 void memio_PutReadResult(memio_Private *secret, int bytes_read) 399 if (bytes_read > 0) { 400 mb->tail += bytes_read; 403 } else if (bytes_read == 0) { 406 } else /* if (bytes_read < 0) */ { 407 mb->last_err = bytes_read;
|
/external/chromium/sdch/open-vcdiff/src/gtest/ |
gtest-death-test.cc | 324 ssize_t bytes_read; local 327 bytes_read = read(read_fd_, &flag, 1); 328 } while (bytes_read == -1 && errno == EINTR); 330 if (bytes_read == 0) { 332 } else if (bytes_read == 1) {
|
/external/chromium_org/chrome/browser/media_galleries/win/ |
mtp_device_operations_util.cc | 374 DWORD bytes_read = 0; 377 optimal_transfer_size, &bytes_read); 384 DCHECK_GT(bytes_read, 0U); 385 CHECK_LE(bytes_read, buffer.length()); 388 std::min(bytes_read,
|
/external/chromium_org/content/browser/download/ |
download_resource_handler.cc | 243 bool DownloadResourceHandler::OnReadCompleted(int request_id, int bytes_read, 256 double actual_bandwidth = (bytes_read)/seconds_since_last_read; 262 if (!bytes_read) 264 bytes_read_ += bytes_read; 269 if (!stream_writer_->Write(read_buffer_, bytes_read)) {
|
/external/chromium_org/content/renderer/media/ |
buffered_data_source.cc | 413 int bytes_read) { 447 if (bytes_read > 0) { 448 memcpy(read_op_->data(), intermediate_read_buffer_.get(), bytes_read); 449 } else if (bytes_read == 0 && total_bytes_ == kPositionNotSpecified) { 461 ReadOperation::Run(read_op_.Pass(), bytes_read);
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
xmppclient.cc | 365 size_t bytes_read; local 373 if (!socket_->Read(bytes, sizeof(bytes), &bytes_read)) { 378 if (bytes_read == 0) 382 client_->SignalLogInput(bytes, static_cast<int>(bytes_read)); 385 engine_->HandleInput(bytes, bytes_read);
|
/frameworks/av/media/libstagefright/ |
MediaCodecList.cpp | 120 int bytes_read = ::fread(buff, 1, BUFF_SIZE, file); local 121 if (bytes_read < 0) { 127 if (::XML_ParseBuffer(parser, bytes_read, bytes_read == 0) 133 if (bytes_read == 0) {
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
r600_shader.c | 262 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++] 519 unsigned bytes_read = 0; local [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
r600_shader.c | 262 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++] 519 unsigned bytes_read = 0; local [all...] |
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/test/ |
omx_vdec_test.cpp | 2699 int bytes_read=0; local 2743 int bytes_read = 0; local 2817 int bytes_read=0; local 2841 int bytes_read = 0; local 2974 int bytes_read = 0; local 3144 int bytes_read = 0; local 3241 unsigned int read_code = 0, bytes_read, byte_pos = 0, frame_type; local 3375 unsigned int bytes_read = 0; local 3423 unsigned int bytes_read = 0; local [all...] |
/external/chromium_org/webkit/browser/appcache/ |
appcache_update_job.cc | 168 net::URLRequest* request, int bytes_read) { 171 if (request->status().is_success() && bytes_read > 0) { 172 data_consumed = ConsumeResponseData(bytes_read); 174 bytes_read = 0; 175 while (request->Read(buffer_.get(), kBufferSize, &bytes_read)) { 176 if (bytes_read > 0) { 177 data_consumed = ConsumeResponseData(bytes_read); 229 int bytes_read = 0; local 230 request_->Read(buffer_.get(), kBufferSize, &bytes_read); 231 OnReadCompleted(request_.get(), bytes_read); [all...] |
/external/bison/src/ |
scan-gram.l | 730 size_t bytes_read = fread (buf, 1, size, fp); 731 if (bytes_read) 733 char *w = memchr (buf, '\r', bytes_read); 737 char const *lim = buf + bytes_read; 766 return bytes_read;
|
/external/chromium/net/tools/dump_cache/ |
upgrade.cc | 244 void DoGetKey(int bytes_read); 251 void DoReadData(int bytes_read); 282 int bytes_read = static_cast<int>(bytes_transfered); local 283 if (bytes_read < sizeof(Message) && state_ != MASTER_END && 297 DoGetKey(bytes_read); 306 DoReadData(bytes_read); 383 void MasterSM::DoGetKey(int bytes_read) { 497 void MasterSM::DoReadData(int bytes_read) { 641 int bytes_read = static_cast<int>(bytes_transfered); local 642 if (bytes_read < sizeof(Message)) [all...] |