HomeSort by relevance Sort by last modified time
    Searched refs:read_result (Results 1 - 25 of 25) sorted by null

  /external/chromium_org/remoting/host/native_messaging/
native_messaging_reader.cc 84 int read_result = read_stream_.ReadUntilComplete( local
86 if (read_result != kMessageHeaderSize) {
88 if (read_result != 0) {
90 << read_result;
103 read_result = read_stream_.ReadUntilComplete(string_as_array(&message_json),
105 if (read_result != static_cast<int>(message_length)) {
107 << read_result;
  /external/chromium_org/chrome/browser/chromeos/drive/
drive_url_request_job.cc 197 void DriveURLRequestJob::OnReadCompleted(int read_result) {
200 if (read_result < 0) {
201 DCHECK_NE(read_result, net::ERR_IO_PENDING);
203 read_result));
207 NotifyReadComplete(read_result);
drive_url_request_job.h 74 void OnReadCompleted(int read_result);
drive_file_stream_reader.cc 115 int read_result) {
119 if (read_result >= 0) {
120 // |read_result| bytes data is read.
121 DCHECK_LE(read_result, remaining_length_);
122 remaining_length_ -= read_result;
127 callback.Run(read_result);
file_cache.cc 406 const int read_result = local
408 if (read_result < 0) {
412 if (read_result == 0) // Skip empty files.
422 } else if (net::SniffMimeType(&content[0], read_result,
425 net::SniffMimeTypeFromLocalData(&content[0], read_result,
drive_file_stream_reader.h 75 const net::CompletionCallback& callback, int read_result);
  /external/chromium_org/net/socket/
tcp_server_socket_unittest.cc 236 int read_result = connecting_socket.Read( local
238 read_result = read_callback.GetResult(read_result);
239 ASSERT_TRUE(read_result >= 0);
240 ASSERT_TRUE(bytes_read + read_result <= message.size());
241 memmove(&buffer[bytes_read], read_buffer->data(), read_result);
242 bytes_read += read_result;
tcp_socket_unittest.cc 249 int read_result = connecting_socket.Read( local
251 read_result = read_callback.GetResult(read_result);
252 ASSERT_TRUE(read_result >= 0);
253 ASSERT_TRUE(bytes_read + read_result <= message.size());
254 memmove(&buffer[bytes_read], read_buffer->data(), read_result);
255 bytes_read += read_result;
  /external/chromium/chrome/browser/prefs/
overlay_persistent_pref_store.cc 50 PrefStore::ReadResult read_result = local
52 if (read_result == READ_OK) {
58 return read_result;
  /external/chromium_org/chrome/browser/extensions/api/storage/
policy_value_store.cc 59 ValueStore::ReadResult read_result = delegate_->Get(); local
60 if (read_result->HasError()) {
62 << extension_id_ << ": " << read_result->error().message;
66 read_result->settings().Swap(&previous_policy);
storage_api.cc 76 bool SettingsFunction::UseReadResult(ValueStore::ReadResult read_result) {
77 if (read_result->HasError()) {
78 error_ = read_result->error().message;
83 result->Swap(&read_result->settings());
  /external/chromium_org/remoting/host/linux/
audio_pipe_reader.cc 132 int read_result = HANDLE_EINTR( local
134 if (read_result > 0) {
135 pos += read_result;
137 if (read_result < 0 && errno != EWOULDBLOCK && errno != EAGAIN)
  /external/chromium_org/chrome/common/extensions/docs/server2/
test_file_system.py 107 read_result = self.Read([path]).Get().get(path)
109 if isinstance(read_result, list):
112 for file_result in read_result)
  /external/chromium_org/webkit/browser/blob/
local_file_stream_reader.cc 154 const int read_result = stream_impl_->Read(buf, buf_len, callback); local
155 if (read_result != net::ERR_IO_PENDING)
156 callback.Run(read_result);
  /external/chromium_org/chrome/browser/mac/
relauncher.cc 163 int read_result = HANDLE_EINTR(read(*pipe_read_fd, &read_char, 1)); local
164 if (read_result != 1) {
165 if (read_result < 0) {
168 LOG(ERROR) << "read: unexpected result " << read_result;
  /external/chromium_org/remoting/protocol/
ssl_hmac_channel_authenticator.cc 226 bool SslHmacChannelAuthenticator::HandleAuthBytesRead(int read_result) {
227 if (read_result <= 0) {
228 NotifyError(read_result);
232 auth_read_buf_->set_offset(auth_read_buf_->offset() + read_result);
  /external/chromium_org/remoting/host/it2me/
it2me_native_messaging_host_unittest.cc 260 int read_result = base::ReadPlatformFileAtCurrentPos( local
262 if (read_result != sizeof(length)) {
268 read_result = base::ReadPlatformFileAtCurrentPos(
270 if (read_result != static_cast<int>(length)) {
271 LOG(ERROR) << "Message size (" << read_result
  /external/chromium_org/chrome/browser/value_store/
leveldb_value_store.cc 254 ReadResult read_result = Get(); local
255 if (read_result->HasError())
256 return MakeWriteResult(read_result->PassError());
258 base::DictionaryValue& whole_db = read_result->settings();
  /external/chromium_org/chrome/browser/devtools/
adb_client_socket_browsertest.cc 170 int read_result = client_socket_->Read( local
175 if (read_result != net::ERR_IO_PENDING)
176 OnDataRead(read_result);
  /external/chromium_org/remoting/host/setup/
me2me_native_messaging_host_unittest.cc 378 int read_result = base::ReadPlatformFileAtCurrentPos( local
380 if (read_result != sizeof(length)) {
385 read_result = base::ReadPlatformFileAtCurrentPos(
387 if (read_result != static_cast<int>(length)) {
  /external/chromium_org/ppapi/tests/extensions/socket/
test_socket.cc 521 int32_t read_result = socket_.Read(socket_id, Optional<int32_t>(), local
523 if (read_result != PP_OK_COMPLETIONPENDING)
535 read_callback.WaitForResult(read_result);
  /external/chromium/third_party/libjingle/source/talk/base/
httpbase.cc 531 StreamResult read_result = http_stream_->Read(buffer_ + len_, local
534 switch (read_result) {
  /external/chromium_org/chrome/browser/extensions/
extension_protocols.cc 162 bool read_result) {
170 int result = read_result ? net::OK : net::ERR_INVALID_URL;
  /external/chromium_org/third_party/libjingle/source/talk/base/
httpbase.cc 535 StreamResult read_result = http_stream_->Read(buffer_ + len_, local
538 switch (read_result) {
  /external/chromium_org/net/spdy/
spdy_test_util_common.cc 589 FakeSpdySessionClientSocket(int read_result)
591 read_result_(read_result) {}
    [all...]

Completed in 272 milliseconds