HomeSort by relevance Sort by last modified time
    Searched defs:bytes_read (Results 51 - 75 of 213) sorted by null

1 23 4 5 6 7 8 9

  /external/webrtc/src/system_wrappers/source/
file_impl.cc 198 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/
zfstream.cc 197 int bytes_read = gzread(file, buffer, buffer_size); local
199 if (bytes_read <= 0)
206 this->setg(buffer, buffer, buffer + bytes_read);
  /external/chromium/base/
platform_file_unittest.cc 17 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 = ReadFully(file, kPartialReadOffset, data_read_1, kTestDataSize)
229 int bytes_read = ReadFully(file, 0, data_read, static_cast<int>(file_size)); local
    [all...]
  /external/chromium/chrome/browser/
browser_main_posix.cc 118 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/socket/
transport_client_socket_unittest.cc 136 uint32 bytes_read = 0; local
138 while (bytes_read < bytes_to_read) {
146 bytes_read += rv;
149 return static_cast<int>(bytes_read);
204 uint32 bytes_read; local
221 bytes_read = DrainClientSocket(buf, 1, 1, &callback);
222 ASSERT_EQ(bytes_read, 1u);
229 bytes_read = DrainClientSocket(buf, 4096, arraysize(kServerReply) - 2,
231 ASSERT_EQ(bytes_read, arraysize(kServerReply) - 2);
242 bytes_read = DrainClientSocket(buf, 1, 1, &callback)
271 uint32 bytes_read = DrainClientSocket(buf, 4096, arraysize(kServerReply) - 1, local
296 uint32 bytes_read = 0; local
    [all...]
  /external/chromium/net/tools/fetch/
fetch_client.cc 92 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) /
  /external/chromium/net/tools/flip_server/
ring_buffer.cc 139 int bytes_read = 0; local
145 memcpy(bytes + bytes_read, rptr, rsize);
146 bytes_read += rsize;
151 return bytes_read;
  /external/chromium/net/url_request/
url_request_test_job.cc 158 int *bytes_read) {
166 DCHECK(bytes_read);
167 *bytes_read = 0;
180 *bytes_read = to_read;
221 int bytes_read; local
222 if (!ReadRawData(async_buf_, async_buf_size_, &bytes_read))
225 NotifyReadComplete(bytes_read);
url_request_test_util.cc 200 int bytes_read = 0; local
201 if (request->Read(buf_, kBufferSize, &bytes_read))
202 OnReadCompleted(request, bytes_read);
208 void TestDelegate::OnReadCompleted(net::URLRequest* request, int bytes_read) {
218 if (bytes_read >= 0) {
220 received_bytes_count_ += bytes_read;
223 data_received_.append(buf_->data(), bytes_read);
227 if (request->status().is_success() && bytes_read > 0) {
228 bytes_read = 0;
229 while (request->Read(buf_, kBufferSize, &bytes_read)) {
    [all...]
  /external/chromium_org/base/
platform_file_posix.cc 246 int bytes_read = 0; local
249 rv = DoPread(file, data + bytes_read,
250 size - bytes_read, offset + bytes_read);
254 bytes_read += rv;
255 } while (bytes_read < size);
257 return bytes_read ? bytes_read : rv;
265 int bytes_read = 0; local
272 bytes_read += rv
    [all...]
platform_file_unittest.cc 170 int bytes_read = ReadFully(file, kTestDataSize, data_read_1, kTestDataSize); local
171 EXPECT_EQ(0, bytes_read);
175 bytes_read = ReadFully(file, kPartialReadOffset, data_read_1, kTestDataSize);
176 EXPECT_EQ(kTestDataSize - kPartialReadOffset, bytes_read);
177 for (int i = 0; i < bytes_read; i++)
181 bytes_read = ReadFully(file, 0, data_read_1, 0);
182 EXPECT_EQ(0, bytes_read);
185 bytes_read = ReadFully(file, 0, data_read_1, kTestDataSize);
186 EXPECT_EQ(kTestDataSize, bytes_read);
187 for (int i = 0; i < bytes_read; i++
264 int bytes_read = ReadFully(file, 0, data_read_1, local
304 int bytes_read = ReadFully(file, 0, data_read, static_cast<int>(file_size)); local
    [all...]
platform_file_win.cc 147 DWORD bytes_read; local
148 if (::ReadFile(file, data, size, &bytes_read, &overlapped) != 0)
149 return bytes_read;
  /external/chromium_org/base/test/
test_file_util_win.cc 161 DWORD bytes_read, bytes_written; local
163 bytes_read = 0;
164 ::ReadFile(file_handle, buffer, kOneMB, &bytes_read, NULL);
165 if (bytes_read == 0)
168 if (bytes_read < kOneMB) {
173 ZeroMemory(buffer + bytes_read, kOneMB - bytes_read);
190 total_bytes += bytes_read;
  /external/chromium_org/chrome/app/
image_pre_reader_win.cc 60 DWORD bytes_read = 0; local
65 &bytes_read,
67 bytes_read == bytes_to_read;
  /external/chromium_org/chrome/browser/
chrome_browser_main_posix.cc 206 size_t bytes_read = 0; local
211 reinterpret_cast<char*>(&signal) + bytes_read,
212 sizeof(signal) - bytes_read));
222 bytes_read += ret;
223 } while (bytes_read < sizeof(signal));
  /external/chromium_org/chrome/browser/extensions/
extension_creator.cc 220 int bytes_read = -1; local
221 while ((bytes_read = fread(buffer.get(), 1, buffer_size,
223 if (!signature_creator->Update(buffer.get(), bytes_read)) {
276 size_t bytes_read = 0; local
278 while ((bytes_read = fread(buffer.get(), 1, buffer_size,
280 if (fwrite(buffer.get(), sizeof(char), bytes_read, crx_handle.get()) !=
281 bytes_read) {
  /external/chromium_org/chrome/utility/media_galleries/
itunes_library_parser.cc 166 int bytes_read = local
168 if (bytes_read != file_info.size)
  /external/chromium_org/components/nacl/loader/
nacl_ipc_adapter_unittest.cc 89 int bytes_read = BlockingReceive(buf, kBufSize); local
91 static_cast<size_t>(bytes_read));
195 int bytes_read = BlockingReceive(buf, bytes_requested); local
196 ASSERT_EQ(bytes_requested, bytes_read);
199 bytes_read += BlockingReceive(&buf[bytes_requested],
202 static_cast<size_t>(bytes_read));
212 bytes_read = BlockingReceive(buf, kBufSize);
214 static_cast<size_t>(bytes_read));
  /external/chromium_org/ipc/
ipc_channel_nacl.cc 46 int bytes_read = imc_recvmsg(pipe, &msg, 0); local
48 if (bytes_read <= 0) {
55 DCHECK(bytes_read);
57 contents->data.resize(bytes_read);
299 int* bytes_read) {
300 *bytes_read = 0;
305 while (!read_queue_.empty() && *bytes_read < buffer_len) {
307 size_t bytes_to_read = buffer_len - *bytes_read;
310 std::copy(vec->begin(), vec->end(), buffer + *bytes_read);
311 *bytes_read += vec->size()
    [all...]
  /external/chromium_org/media/tools/shader_bench/
shader_bench.cc 59 long bytes_read = local
62 if (bytes_read != frame_size) {
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io/
mount_node.cc 117 int bytes_read; local
118 Error read_error = Read(offset, new_addr, length, &bytes_read);
  /external/chromium_org/native_client_sdk/src/libraries/nacl_io_test/
mount_test.cc 284 int bytes_read = 0; local
286 dev_urandom->Read(0, &buffer[0], kSampleBatchSize, &bytes_read));
287 EXPECT_EQ(kSampleBatchSize, bytes_read);
289 for (int i = 0; i < bytes_read; ++i) {
335 int bytes_read; local
347 EXPECT_EQ(0, dev_tty->Read(0, buffer, 5, &bytes_read));
348 EXPECT_EQ(bytes_read, 5);
354 EXPECT_EQ(0, dev_tty->Read(0, buffer + 5, 95, &bytes_read));
355 EXPECT_EQ(bytes_read, content.size() - 5);
  /external/chromium_org/net/base/
file_stream_context_win.cc 95 DWORD bytes_read; local
97 &bytes_read, &io_context_.overlapped)) {
115 DWORD bytes_read; local
116 if (!ReadFile(file_, buf, buf_len, &bytes_read, NULL)) {
127 return bytes_read;
210 DWORD bytes_read,
232 result = bytes_read;
233 IncrementOffset(&io_context_.overlapped, bytes_read);
  /external/chromium_org/net/socket/
tcp_server_socket_unittest.cc 231 size_t bytes_read = 0; local
232 while (bytes_read < message.size()) {
234 new net::IOBufferWithSize(message.size() - bytes_read));
240 ASSERT_TRUE(bytes_read + read_result <= message.size());
241 memmove(&buffer[bytes_read], read_buffer->data(), read_result);
242 bytes_read += read_result;
transport_client_socket_unittest.cc 143 uint32 bytes_read = 0; local
145 while (bytes_read < bytes_to_read) {
153 bytes_read += rv;
156 return static_cast<int>(bytes_read);
211 uint32 bytes_read; local
228 bytes_read = DrainClientSocket(buf.get(), 1, 1, &callback);
229 ASSERT_EQ(bytes_read, 1u);
236 bytes_read = DrainClientSocket(
238 ASSERT_EQ(bytes_read, arraysize(kServerReply) - 2);
249 bytes_read = DrainClientSocket(buf.get(), 1, 1, &callback)
284 uint32 bytes_read = DrainClientSocket( local
309 uint32 bytes_read = 0; local
    [all...]

Completed in 2118 milliseconds

1 23 4 5 6 7 8 9