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

12345

/external/chromium/chrome/browser/
H A Dcrash_upload_list_win.cc19 DWORD bytes_read; local
27 &bytes_read,
33 while (record_offset < bytes_read) {
34 DCHECK(record_offset + sizeof(EVENTLOGRECORD) <= bytes_read);
36 DCHECK(record_offset + record->Length <= bytes_read);
H A Dplugin_download_helper.cc78 int bytes_read = 0; local
80 &bytes_read)) {
86 } else if (bytes_read == 0) {
89 OnReadCompleted(request, bytes_read);
95 int bytes_read) {
98 if (bytes_read == 0) {
103 int request_bytes_read = bytes_read;
94 OnReadCompleted(net::URLRequest* request, int bytes_read) argument
H A Dbrowser_main_posix.cc118 size_t bytes_read = 0; local
123 reinterpret_cast<char*>(&signal) + bytes_read,
124 sizeof(signal) - bytes_read));
134 bytes_read += ret;
135 } while (bytes_read < sizeof(signal));
/external/chromium/net/base/
H A Dnetwork_delegate.cc35 void NetworkDelegate::NotifyReadCompleted(URLRequest* request, int bytes_read) { argument
38 OnReadCompleted(request, bytes_read);
/external/chromium/net/url_request/
H A Durl_request_simple_job.cc41 int* bytes_read) {
42 DCHECK(bytes_read);
48 *bytes_read = buf_size;
40 ReadRawData(IOBuffer* buf, int buf_size, int* bytes_read) argument
H A Dhttps_prober.cc62 void HTTPSProber::OnReadCompleted(URLRequest* request, int bytes_read) { argument
H A Durl_request_file_dir_job.cc79 int *bytes_read) {
80 DCHECK(bytes_read);
81 *bytes_read = 0;
86 if (FillReadBuffer(buf->data(), buf_size, bytes_read))
187 int bytes_read; local
189 &bytes_read)) {
196 NotifyReadComplete(bytes_read);
206 int *bytes_read) {
207 DCHECK(bytes_read);
209 *bytes_read
78 ReadRawData(IOBuffer* buf, int buf_size, int *bytes_read) argument
205 FillReadBuffer(char *buf, int buf_size, int *bytes_read) argument
[all...]
/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/chromium/chrome/browser/extensions/
H A Dextension_creator.cc173 int bytes_read = -1; local
174 while ((bytes_read = fread(buffer.get(), 1, buffer_size,
176 if (!signature_creator->Update(buffer.get(), bytes_read)) {
225 size_t bytes_read = 0; local
227 while ((bytes_read = fread(buffer.get(), 1, buffer_size,
229 if (fwrite(buffer.get(), sizeof(char), bytes_read, crx_handle.get()) !=
230 bytes_read) {
/external/chromium/chrome/browser/net/
H A Dchrome_dns_cert_provenance_checker.cc94 void OnReadCompleted(net::URLRequest* request, int bytes_read) { argument
H A Dchrome_network_delegate.cc86 int bytes_read) {
85 OnReadCompleted(net::URLRequest* request, int bytes_read) argument
H A Dmetadata_url_request.cc32 virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read);
73 int *bytes_read) {
117 *bytes_read = buf_size;
72 ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read) argument
H A Durl_request_slow_download_job.cc82 int *bytes_read) {
85 *bytes_read = 0;
94 *bytes_read = kSecondDownloadSize;
104 *bytes_read = send_size;
112 *bytes_read = 0;
81 ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read) argument
H A Dview_http_cache_job_factory.cc39 virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read) { argument
40 return core_->ReadRawData(buf, buf_size, bytes_read);
62 bool ReadRawData(net::IOBuffer* buf, int buf_size, int *bytes_read);
160 int* bytes_read) {
161 DCHECK(bytes_read);
167 *bytes_read = buf_size;
158 ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read) argument
/external/chromium/chrome/browser/ui/webui/
H A Dscreenshot_source.cc48 int bytes_read = 0; local
49 if (!(bytes_read = file_util::ReadFile(file,
/external/chromium/net/test/
H A Dtest_server_posix.cc61 ssize_t bytes_read = 0; local
63 while (bytes_read < bytes_max) {
83 ssize_t num_bytes = HANDLE_EINTR(read(fd, buffer + bytes_read,
84 bytes_max - bytes_read));
87 bytes_read += num_bytes;
H A Dtest_server_win.cc110 DWORD bytes_read = 0; local
111 while (bytes_read < bytes_max) {
113 if (!ReadFile(read_fd, buffer + bytes_read, bytes_max - bytes_read,
122 bytes_read += num_bytes;
/external/dbus/dbus/
H A Ddbus-file-unix.c110 int bytes_read; local
114 bytes_read = _dbus_read (fd, str,
116 if (bytes_read <= 0)
131 total += bytes_read;
/external/chromium/base/
H A Dplatform_file_unittest.cc17 int bytes_read; local
19 bytes_read = base::ReadPlatformFile(
23 // If we reached EOF, bytes_read will be 0.
24 if (bytes_read == 0)
27 if ((bytes_read < 0) || (bytes_read > size - total_bytes_read))
30 total_bytes_read += bytes_read;
155 int bytes_read = ReadFully(file, kTestDataSize, data_read_1, kTestDataSize); local
156 EXPECT_EQ(0, bytes_read);
160 bytes_read
229 int bytes_read = ReadFully(file, 0, data_read, static_cast<int>(file_size)); local
[all...]
H A Dplatform_file_win.cc124 DWORD bytes_read; local
125 if (::ReadFile(file, data, size, &bytes_read, &overlapped) != 0)
126 return bytes_read;
/external/chromium/base/test/
H A Dtest_file_util_win.cc65 DWORD bytes_read, bytes_written; local
67 bytes_read = 0;
68 ::ReadFile(file_handle, buffer, kOneMB, &bytes_read, NULL);
69 if (bytes_read == 0)
72 if (bytes_read < kOneMB) {
77 ZeroMemory(buffer + bytes_read, kOneMB - bytes_read);
94 total_bytes += bytes_read;
/external/chromium/chrome/browser/renderer_host/
H A Ddownload_throttling_resource_handler.cc119 int* bytes_read) {
126 if (!*bytes_read)
131 tmp_buffer_length_ = *bytes_read;
137 return download_handler_->OnReadCompleted(request_id, bytes_read);
118 OnReadCompleted(int request_id, int* bytes_read) argument
H A Doffline_resource_handler.cc128 bool OfflineResourceHandler::OnReadCompleted(int request_id, int* bytes_read) { argument
129 return next_handler_->OnReadCompleted(request_id, bytes_read);
/external/chromium/chrome/browser/safe_browsing/
H A Dbloom_filter.cc102 int bytes_read = filter.Read(reinterpret_cast<char*>(&file_version), local
104 if (bytes_read != sizeof(file_version) || file_version != kFileVersion) {
111 bytes_read = filter.Read(reinterpret_cast<char*>(&num_keys),
113 if (bytes_read != sizeof(num_keys) ||
122 bytes_read = filter.Read(reinterpret_cast<char*>(&key), sizeof(key), NULL);
123 if (bytes_read != sizeof(key)) {
142 bytes_read = filter.Read(data.get(), byte_size, NULL);
143 if (bytes_read < byte_size) {
146 } else if (bytes_read != byte_size) {
/external/chromium/net/tools/fetch/
H A Dfetch_client.cc92 base::StatsCounter bytes_read("FetchClient.bytes_read");
93 bytes_read.Add(result);
183 int bytes_read = table.GetCounterValue("c:FetchClient.bytes_read"); local
188 printf("Bytes Read : %d\n", bytes_read);
191 double bps = static_cast<float>(bytes_read * 8) /

Completed in 1168 milliseconds

12345