/external/chromium_org/mojo/system/ |
message_pipe_dispatcher.cc | 176 scoped_refptr<MessagePipeDispatcher> rv = local 178 rv->Init(message_pipe_, port_); 181 return scoped_refptr<Dispatcher>(rv.get());
|
multiprocess_message_pipe_unittest.cc | 56 int rv = 0; local 57 for (;; rv = (rv + 1) % 100) { 100 return rv;
|
/external/chromium_org/net/cert/ |
x509_certificate_nss.cc | 220 SECStatus rv = HASH_HashBuf(HASH_AlgSHA1, sha1.data, local 222 DCHECK_EQ(SECSuccess, rv);
|
/external/chromium_org/net/disk_cache/blockfile/ |
file_ios.cc | 103 bool rv = file_->Write(buf_, buf_len_, offset_); local 105 result_ = rv ? static_cast<int>(buf_len_) : net::ERR_CACHE_WRITE_FAILURE;
|
/external/chromium_org/net/http/ |
disk_based_cert_cache_unittest.cc | 130 int rv = local 132 EXPECT_EQ(OK, callback.GetResult(rv)); 145 rv = entry->WriteData(0 /* index */, 151 ASSERT_EQ(static_cast<int>(write_data.size()), callback.GetResult(rv)); 161 int rv = backend->OpenEntry(cert_data.cache_key, &entry, callback.callback()); local 162 EXPECT_EQ(OK, callback.GetResult(rv)); 171 rv = entry->ReadData(0 /* index */, 176 EXPECT_EQ(entry_size, callback.GetResult(rv));
|
http_auth_handler_digest_unittest.cc | 356 int rv = factory->CreateAuthHandlerFromString(tests[i].challenge, local 362 EXPECT_EQ(OK, rv); 364 EXPECT_NE(OK, rv); 521 int rv = factory->CreateAuthHandlerFromString(tests[i].challenge, local 526 EXPECT_EQ(OK, rv); 551 int rv = factory->CreateAuthHandlerFromString( local 554 EXPECT_EQ(OK, rv);
|
http_auth_handler_negotiate.cc | 51 int rv = DetermineMaxTokenLength(auth_library_.get(), NEGOSSP_NAME, local 53 if (rv == ERR_UNSUPPORTED_AUTH_SCHEME) 55 if (rv != OK) 56 return rv; 228 int rv = DoLoop(OK); local 229 if (rv == ERR_IO_PENDING) 231 return rv; 235 int rv = DoLoop(result); local 236 if (rv != ERR_IO_PENDING) 237 DoCallback(rv); 251 int rv = result; local [all...] |
http_network_layer_unittest.cc | 64 int rv = factory_->CreateTransaction(DEFAULT_PRIORITY, &trans); local 65 EXPECT_EQ(OK, rv); 67 rv = trans->Start(&request_info, callback.callback(), BoundNetLog()); 68 if (rv == ERR_IO_PENDING) 69 rv = callback.WaitForResult(); 70 ASSERT_EQ(OK, rv); 73 rv = ReadTransaction(trans.get(), &contents); 74 EXPECT_EQ(OK, rv); 269 int rv = factory_->CreateTransaction(DEFAULT_PRIORITY, &trans); local 270 EXPECT_EQ(OK, rv); 276 int rv = factory_->CreateTransaction(DEFAULT_PRIORITY, &trans); local 320 int rv = factory_->CreateTransaction(DEFAULT_PRIORITY, &trans); local 359 int rv = factory_->CreateTransaction(DEFAULT_PRIORITY, &trans); local 392 int rv = factory_->CreateTransaction(DEFAULT_PRIORITY, &trans); local [all...] |
/external/chromium_org/net/proxy/ |
proxy_resolver_perftest.cc | 112 int rv = resolver_->SetPacScript( local 115 EXPECT_EQ(net::OK, rv); 173 int rv = resolver_->SetPacScript( local 176 EXPECT_EQ(net::OK, rv);
|
/external/chromium_org/net/quic/crypto/ |
channel_id_chromium.cc | 145 int rv = last_result; local 151 DCHECK(rv == OK); 152 rv = DoGetChannelIDKey(rv); 155 rv = DoGetChannelIDKeyComplete(rv); 159 rv = ERR_UNEXPECTED; 163 } while (rv != ERR_IO_PENDING && next_state_ != STATE_NONE); 164 return rv; 168 int rv = DoLoop(result) local [all...] |
/external/chromium_org/net/quic/ |
quic_data_writer.cc | 30 char* rv = buffer_; local 34 return rv;
|
/external/chromium_org/net/socket/ |
socks_client_socket_pool_unittest.cc | 135 int rv = handle.Init("a", CreateSOCKSv5Params(), LOW, CompletionCallback(), local 137 EXPECT_EQ(OK, rv); 188 int rv = handle.Init("a", CreateSOCKSv5Params(), LOW, callback.callback(), local 190 EXPECT_EQ(ERR_IO_PENDING, rv); 207 int rv = handle.Init("a", CreateSOCKSv5Params(), LOW, CompletionCallback(), local 209 EXPECT_EQ(ERR_PROXY_CONNECTION_FAILED, rv); 221 int rv = handle.Init("a", CreateSOCKSv5Params(), LOW, callback.callback(), local 223 EXPECT_EQ(ERR_IO_PENDING, rv); 243 int rv = handle.Init("a", CreateSOCKSv5Params(), LOW, CompletionCallback(), local 245 EXPECT_EQ(ERR_SOCKS_CONNECTION_FAILED, rv); 263 int rv = handle.Init("a", CreateSOCKSv5Params(), LOW, callback.callback(), local 284 int rv = StartRequestV5("a", LOW); local 319 int rv = StartRequestV5("a", LOW); local [all...] |
socks_client_socket_unittest.cc | 75 int rv = tcp_sock_->Connect(callback.callback()); local 76 EXPECT_EQ(ERR_IO_PENDING, rv); 77 rv = callback.WaitForResult(); 78 EXPECT_EQ(OK, rv); 159 int rv = user_sock_->Connect(callback_.callback()); local 160 EXPECT_EQ(ERR_IO_PENDING, rv); 168 rv = callback_.WaitForResult(); 169 EXPECT_EQ(OK, rv); 177 rv = user_sock_->Write( 179 EXPECT_EQ(ERR_IO_PENDING, rv); 181 EXPECT_EQ(static_cast<int>(payload_write.size()), rv); local 188 EXPECT_EQ(static_cast<int>(payload_read.size()), rv); local 231 int rv = user_sock_->Connect(callback_.callback()); local 268 int rv = user_sock_->Connect(callback_.callback()); local 306 int rv = user_sock_->Connect(callback_.callback()); local 338 int rv = user_sock_->Connect(callback_.callback()); local 368 int rv = user_sock_->Connect(callback_.callback()); local 400 int rv = user_sock_->Connect(callback_.callback()); local [all...] |
ssl_client_socket_openssl_unittest.cc | 131 int rv = callback_.GetResult( local 133 if (rv != OK) { 207 int rv; local 208 ASSERT_TRUE(CreateAndConnectSSLClientSocket(ssl_config, &rv)); 210 EXPECT_EQ(ERR_SSL_CLIENT_AUTH_CERT_NEEDED, rv); 229 int rv; local 230 ASSERT_TRUE(CreateAndConnectSSLClientSocket(ssl_config, &rv)); 232 EXPECT_EQ(OK, rv); 258 int rv; local 259 ASSERT_TRUE(CreateAndConnectSSLClientSocket(ssl_config, &rv)); [all...] |
tcp_client_socket.cc | 78 int rv = DoConnectLoop(OK); local 79 if (rv == ERR_IO_PENDING) { 82 socket_->EndLoggingMultipleConnectAttempts(rv); 85 return rv; 91 int rv = result; local 97 DCHECK_EQ(OK, rv); 98 rv = DoConnect(); 101 rv = DoConnectComplete(rv); 105 rv = ERR_UNEXPECTED [all...] |
tcp_server_socket_unittest.cc | 55 bool rv = ParseIPLiteralToNumber(ip_str, &ip_number); local 56 if (!rv)
|
tcp_socket_unittest.cc | 61 bool rv = ParseIPLiteralToNumber(ip_str, &ip_number); local 62 if (!rv)
|
transport_client_socket_unittest.cc | 129 int rv = resolver->Resolve( local 131 CHECK_EQ(ERR_IO_PENDING, rv); 132 rv = callback.WaitForResult(); 133 CHECK_EQ(rv, OK); 143 int rv = OK; local 147 rv = sock_->Read(buf, buf_len, callback->callback()); 148 EXPECT_TRUE(rv >= 0 || rv == ERR_IO_PENDING); 150 if (rv == ERR_IO_PENDING) 151 rv = callback->WaitForResult() 165 int rv; local 186 int rv = sock_->Connect(callback.callback()); local 216 int rv = sock_->Connect(callback.callback()); local 275 int rv = sock_->Connect(callback.callback()); local 300 int rv = sock_->Connect(callback.callback()); local 333 int rv = sock_->Connect(callback.callback()); local 355 int rv = sock_->Connect(callback.callback()); local 398 int rv = sock_->Connect(callback.callback()); local [all...] |
unix_domain_client_socket_posix.cc | 80 int rv = socket_->Open(AF_UNIX); local 81 DCHECK_NE(ERR_IO_PENDING, rv); 82 if (rv != OK) 83 return rv;
|
/external/chromium_org/net/third_party/mozilla_security_manager/ |
nsPKCS12Blob.cpp | 308 SECStatus rv; local 310 rv=PK11_ReadRawAttribute(PK11_TypePrivKey, privKey, CKA_EXTRACTABLE, &value); 311 if (rv != SECSuccess) 312 return rv; 317 rv = SECFailure; 319 return rv; 362 int rv = nsPKCS12Blob_ImportHelper(pkcs12_data, pkcs12_len, password, local 374 if (rv == net::ERR_PKCS12_IMPORT_BAD_PASSWORD && password.empty()) { 375 rv = nsPKCS12Blob_ImportHelper(pkcs12_data, pkcs12_len, password, 378 return rv; 439 SECStatus rv = isExtractable(privKey, &privKeyIsExtractable); local [all...] |
/external/chromium_org/net/third_party/nss/ssl/ |
sslnonce.c | 47 SECStatus rv; local 57 rv = ssl_FreeSymWrapKeysLock(); 58 if (rv != SECSuccess) { 59 return rv; 71 SECStatus rv; local 77 rv = ssl_InitSymWrapKeysLock(); 78 if (rv != SECSuccess) { 86 rv = NSS_RegisterShutdown(FreeSessionCacheLocks, NULL); 87 PORT_Assert(SECSuccess == rv); 88 if (SECSuccess != rv) { 300 SECStatus rv; local [all...] |
/external/chromium_org/net/url_request/ |
url_request_ftp_job.cc | 98 int rv = OK; local 103 rv = proxy_service_->ResolveProxy( 113 if (rv == ERR_IO_PENDING) 116 OnResolveProxyComplete(rv); 161 int rv; local 163 rv = ftp_transaction_->Start( 168 if (rv == ERR_IO_PENDING) 171 rv = ERR_FAILED; 175 OnStartCompletedAsync(rv); 192 int rv = request_->context()->http_transaction_factory()->CreateTransaction local 268 int rv; local 356 int rv; local [all...] |
view_cache_helper.cc | 128 int rv = DoLoop(OK); local 130 if (rv == ERR_IO_PENDING) 133 return rv; 136 void ViewCacheHelper::DoCallback(int rv) { 137 DCHECK_NE(ERR_IO_PENDING, rv); 140 callback_.Run(rv); 144 void ViewCacheHelper::HandleResult(int rv) { 145 DCHECK_NE(ERR_IO_PENDING, rv); 146 DCHECK_NE(ERR_FAILED, rv); 149 DoCallback(rv); 155 int rv = result; local [all...] |
/external/chromium_org/pdf/ |
paint_manager.h | 43 PaintAggregator::ReadyRect rv; local 44 rv.offset = offset; 45 rv.rect = rect; 46 rv.image_data = image_data; 47 return rv;
|
/external/chromium_org/ppapi/examples/crxfs/ |
crxfs.cc | 75 int32_t rv = crxfs_.Open(callback); local 76 if (rv != PP_OK_COMPLETIONPENDING) 77 ReportResponse("ExtCrxFileSystemPrivate::Open", rv); 89 int32_t rv = file_io_.Open( local 92 if (rv != PP_OK_COMPLETIONPENDING) 93 ReportResponse("FileIO::Open", rv); 102 int32_t rv = file_io_.Read(0, read_buf_, sizeof(read_buf_), local 104 if (rv != PP_OK_COMPLETIONPENDING) { 105 ReportResponse("FileIO::Read", rv); 121 void MyInstance::ReportResponse(const char* name, int32_t rv) { 123 out << name << " failed, pp_error: " << rv; local [all...] |