/external/chromium_org/net/http/ |
http_stream_parser_unittest.cc | 234 int rv = transport->Connect(callback.callback()); local 235 rv = callback.GetResult(rv); 236 ASSERT_EQ(OK, rv); 259 rv = parser.SendRequest("GET /one.html HTTP/1.1\r\n", request_headers, 261 ASSERT_EQ(ERR_IO_PENDING, rv); 301 rv = callback.WaitForResult(); 302 ASSERT_EQ(OK, rv); 305 rv = parser.ReadResponseHeaders(callback.callback()); 306 ASSERT_EQ(ERR_IO_PENDING, rv); 389 int rv = transport->Connect(callback.callback()); local 458 int rv = transport->Connect(callback.callback()); local 529 int rv = transport_->Connect(callback.callback()); local 555 int rv; local [all...] |
http_transaction_test_util.cc | 488 int rv; local 495 rv = trans->Read(buf.get(), 256, callback.callback()); 496 if (rv == net::ERR_IO_PENDING) 497 rv = callback.WaitForResult(); 499 if (rv > 0) 500 content.append(buf->data(), rv); 501 else if (rv < 0) 502 return rv; 503 } while (rv > 0);
|
/external/chromium_org/net/proxy/ |
multi_threaded_proxy_resolver.cc | 180 int rv = resolver->SetPacScript(script_data_, CompletionCallback()); variable 182 DCHECK_NE(rv, ERR_IO_PENDING); 185 base::Bind(&SetPacScriptJob::RequestComplete, this, rv)); 245 int rv = resolver->GetProxyForURL( variable 247 DCHECK_NE(rv, ERR_IO_PENDING); 251 base::Bind(&GetProxyForURLJob::QueryComplete, this, rv));
|
proxy_service_unittest.cc | 250 int rv = service.ResolveProxy( local 253 EXPECT_EQ(OK, rv); 291 int rv = service.ResolveProxy( local 294 EXPECT_EQ(OK, rv); 298 rv = service.ResolveProxy( 310 rv = service.ResolveProxy( 318 rv = service.ResolveProxy( 325 rv = service.ResolveProxy( 351 int rv = service.ResolveProxy( local 354 EXPECT_EQ(OK, rv); 395 int rv = service.ResolveProxy( local 451 int rv = service.ResolveProxy( local 480 int rv = service.ResolveProxy( local 532 int rv = service.ResolveProxy( local 588 int rv = service.ResolveProxy( local 666 int rv = service.ResolveProxy( local 702 int rv = service.ResolveProxy( local 766 int rv = service.ResolveProxy( local 817 int rv = service.ResolveProxy( local 861 int rv = service.ResolveProxy( local 919 int rv = service.ResolveProxy( local 1072 int rv = service.ResolveProxy( local 1146 int rv = service.ResolveProxy( local 1250 int rv = service.ResolveProxy( local 1349 int rv = service.ResolveProxy( local 1440 int rv; local 1470 int rv = service.ResolveProxy(test_url, net::LOAD_NORMAL, &info, local 1483 int rv = service.ResolveProxy(test_url, net::LOAD_NORMAL, &info, local 1496 int rv = service.ResolveProxy(test_url, net::LOAD_NORMAL, &info, local 1510 int rv = service.ResolveProxy(test_url, net::LOAD_NORMAL, &info, local 1532 int rv = service.ResolveProxy(test_url, net::LOAD_NORMAL, &info, local 1548 int rv = service.ResolveProxy(test_url, net::LOAD_NORMAL, &info, local 1563 int rv = service.ResolveProxy(test_url, net::LOAD_NORMAL, &info, local 1587 int rv = service.ResolveProxy(test_url, net::LOAD_NORMAL, &info, local 1600 int rv = service.ResolveProxy(test_url, net::LOAD_NORMAL, &info, local 1613 int rv = service.ResolveProxy(test_url, net::LOAD_NORMAL, &info, local 1626 int rv = service.ResolveProxy(test_url, net::LOAD_NORMAL, &info, local 1648 int rv = service.ResolveProxy(GURL("http:\/\/request1"), net::LOAD_NORMAL, local 1729 int rv = service.ResolveProxy(GURL("http:\/\/request1"), net::LOAD_NORMAL, local 1834 int rv = service.ResolveProxy(GURL("http:\/\/request1"), net::LOAD_NORMAL, local 1895 int rv = service.ResolveProxy(GURL("http:\/\/request1"), net::LOAD_NORMAL, local 1988 int rv = service.ResolveProxy(GURL("http:\/\/request1"), net::LOAD_NORMAL, local 2067 int rv = service.ResolveProxy(GURL("http:\/\/request1"), net::LOAD_NORMAL, local 2142 int rv = service.ResolveProxy(GURL("http:\/\/request1"), net::LOAD_NORMAL, local 2202 int rv = service.ResolveProxy( local 2272 int rv = service.ResolveProxy(GURL("http:\/\/www.google.com"), net::LOAD_NORMAL, local 2302 int rv = service.ResolveProxy( local 2321 int rv = service.ResolveProxy(GURL("http:\/\/request1"), net::LOAD_NORMAL, local 2351 int rv = service.ResolveProxy(GURL("http:\/\/www.google.com"), net::LOAD_NORMAL, local 2414 int rv = service.ResolveProxy(GURL("http:\/\/request1"), net::LOAD_NORMAL, local 2529 int rv = service.ResolveProxy( local 2634 int rv = service.ResolveProxy( local 2744 int rv = service.ResolveProxy( local 2850 int rv = service.ResolveProxy( local 3002 int rv = service.ResolveProxy( local [all...] |
/external/chromium_org/net/quic/ |
quic_network_transaction_unittest.cc | 78 void AddRead(IoMode mode, int rv) { 79 reads_.push_back(MockRead(mode, rv)); 255 int rv = trans->Start(&request_, callback.callback(), net_log_.bound()); local 256 EXPECT_EQ(ERR_IO_PENDING, rv); 431 int rv = trans->Start(&request_, callback.callback(), net_log_.bound()); local 432 EXPECT_EQ(ERR_IO_PENDING, rv); 809 int rv = trans->Start(&request_, callback.callback(), net_log_.bound()); local 810 EXPECT_EQ(ERR_IO_PENDING, rv); 899 int rv = trans->Start(&request_, callback.callback(), net_log_.bound()); local [all...] |
/external/chromium_org/net/server/ |
http_server.cc | 131 int rv; local 133 rv = server_socket_->Accept(&accepted_socket_, 136 if (rv == ERR_IO_PENDING) 138 rv = HandleAcceptResult(rv); 139 } while (rv == OK); 142 void HttpServer::OnAcceptCompleted(int rv) { 143 if (HandleAcceptResult(rv) == OK) 147 int HttpServer::HandleAcceptResult(int rv) { 148 if (rv < 0) 163 int rv; local 274 int rv = OK; local [all...] |
/external/chromium_org/net/socket/ |
ssl_client_socket_pool_unittest.cc | 711 int rv = handle.Init("a", params, MEDIUM, CompletionCallback(), pool_.get(), local 713 EXPECT_EQ(ERR_CONNECTION_FAILED, rv); 730 int rv = handle.Init( local 732 EXPECT_EQ(ERR_IO_PENDING, rv); 755 int rv = handle.Init( local 757 EXPECT_EQ(OK, rv); 799 int rv = handle.Init( local 801 EXPECT_EQ(ERR_IO_PENDING, rv); 823 int rv = handle.Init( local 825 EXPECT_EQ(ERR_IO_PENDING, rv); 847 int rv = handle.Init( local 872 int rv = handle.Init( local 899 int rv = handle.Init( local 924 int rv = handle.Init( local 955 int rv = handle.Init( local 984 int rv = handle.Init( local 1003 int rv = handle.Init( local 1028 int rv = handle.Init( local 1070 int rv = handle.Init( local 1095 int rv = handle.Init( local 1114 int rv = handle.Init( local 1151 int rv = handle.Init( local 1214 int rv = handle.Init( local 1250 int rv = handle.Init( local 1341 int rv; local [all...] |
ssl_server_socket_nss.cc | 126 int rv = Init(); local 127 if (rv != OK) { 129 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SSL_SERVER_HANDSHAKE, rv); 130 return rv; 133 rv = InitializeSSLOptions(); 134 if (rv != OK) { 136 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SSL_SERVER_HANDSHAKE, rv); 137 return rv; 147 rv = DoHandshakeLoop(OK); 148 if (rv == ERR_IO_PENDING) 209 int rv = DoReadLoop(OK); local 230 int rv = DoWriteLoop(OK); local 329 int rv; local 509 int rv = DoWriteLoop(result); local 530 int rv = DoReadLoop(result); local 536 int rv = DoHandshakeLoop(result); local 561 int rv = 0; local 592 int rv; local 633 int rv; local 650 int rv = PR_Read(nss_fd_, user_read_buf_->data(), user_read_buf_len_); local 665 int rv = PR_Write(nss_fd_, user_write_buf_->data(), user_write_buf_len_); local 679 int rv = last_io_result; local 720 int rv = ERR_UNEXPECTED; local 727 int rv; local 744 int rv = ERR_UNEXPECTED; local 751 int rv; local 761 SECStatus rv = SSL_ForceHandshake(nss_fd_); local [all...] |
ssl_server_socket_openssl.cc | 79 int rv = Init(); local 80 if (rv != OK) { 81 LOG(ERROR) << "Failed to initialize OpenSSL: rv=" << rv; 82 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SSL_SERVER_HANDSHAKE, rv); 83 return rv; 90 rv = DoHandshakeLoop(OK); 91 if (rv == ERR_IO_PENDING) { 94 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_SSL_SERVER_HANDSHAKE, rv); 97 return rv > OK ? OK : rv 111 int rv = SSL_export_keying_material( local 143 int rv = DoReadLoop(OK); local 164 int rv = DoWriteLoop(OK); local 262 int rv = DoWriteLoop(result); local 283 int rv = DoReadLoop(result); local 289 int rv = DoHandshakeLoop(result); local 316 int rv = transport_socket_->Write( local 389 int rv = transport_socket_->Read( local 438 int rv; local 455 int rv = SSL_read(ssl_, user_read_buf_->data(), user_read_buf_len_); local 473 int rv = SSL_write(ssl_, user_write_buf_->data(), user_write_buf_len_); local 489 int rv = last_io_result; local 529 int rv; local 545 int rv; local 556 int rv = SSL_do_handshake(ssl_); local [all...] |
ssl_server_socket_unittest.cc | 564 int rv = server_socket_->ExportKeyingMaterial(kKeyingLabel, local 567 ASSERT_EQ(OK, rv); 570 rv = client_socket_->ExportKeyingMaterial(kKeyingLabel, 573 ASSERT_EQ(OK, rv); 578 rv = client_socket_->ExportKeyingMaterial(kKeyingLabelBad, 581 ASSERT_EQ(rv, OK);
|
transport_client_socket_pool.h | 333 int rv = result; local 339 DCHECK_EQ(OK, rv); 340 rv = job->DoResolveHost(); 343 rv = job->DoResolveHostComplete(rv); 346 DCHECK_EQ(OK, rv); 347 rv = job->DoTransportConnect(); 350 rv = job->DoTransportConnectComplete(rv); 354 rv = ERR_FAILED [all...] |
/external/chromium_org/net/third_party/nss/ssl/ |
dtlscon.c | 91 SECStatus rv = ssl3_CipherPrefSet(ss, *suite, PR_FALSE); local 93 PORT_Assert(rv == SECSuccess); /* else is coding error */ 187 SECStatus rv = SECSuccess; local 202 rv = SECFailure; 227 rv = SECFailure; 234 rv = SECFailure; 266 rv = ssl3_HandleHandshakeMessage(ss, buf.buf, ss->ssl3.hs.msg_len); 267 if (rv == SECFailure) { 296 rv = SECSuccess; 302 rv = SECSuccess 455 SECStatus rv = SECSuccess; local 485 SECStatus rv = SECSuccess; local 512 SECStatus rv = SECSuccess; local 544 SECStatus rv = SECFailure; local 578 SECStatus rv = SECSuccess; local 776 SECStatus rv = SECFailure; local 957 SECStatus rv; local [all...] |
/external/chromium_org/net/udp/ |
udp_socket_libevent.cc | 51 int rv = ioctl(socket, SIOCGIFADDR, &ifr); local 52 if (rv == -1) 247 int rv = InternalConnect(address); local 248 if (rv != OK) 250 net_log_.EndEventWithNetErrorCode(NetLog::TYPE_UDP_CONNECT, rv); 251 return rv; 259 int rv = CreateSocket(addr_family); local 260 if (rv < 0) 261 return rv; 269 rv = RandomBind(addr_any) 300 int rv = CreateSocket(address.GetSockAddrFamily()); local 320 int rv = setsockopt(socket_, SOL_SOCKET, SO_RCVBUF, local 329 int rv = setsockopt(socket_, SOL_SOCKET, SO_SNDBUF, local 521 int rv = setsockopt(socket_, SOL_SOCKET, SO_REUSEADDR, &true_value, local 527 int rv; local 543 int rv; local 557 int rv; local 585 int rv = setsockopt(socket_, IPPROTO_IP, IP_MULTICAST_IF, local 593 int rv = setsockopt(socket_, IPPROTO_IPV6, IPV6_MULTICAST_IF, local 612 int rv = bind(socket_, storage.addr, storage.addr_len); local 631 int rv = DoBind(IPEndPoint(address, local 661 int rv = setsockopt(socket_, IPPROTO_IP, IP_ADD_MEMBERSHIP, local 673 int rv = setsockopt(socket_, IPPROTO_IPV6, IPV6_JOIN_GROUP, local 698 int rv = setsockopt(socket_, IPPROTO_IP, IP_DROP_MEMBERSHIP, local 710 int rv = setsockopt(socket_, IPPROTO_IPV6, IPV6_LEAVE_GROUP, local 757 int rv; local [all...] |
/external/chromium_org/net/websockets/ |
websocket_basic_handshake_stream.cc | 427 int rv = parser()->ReadResponseHeaders( local 431 if (rv == ERR_IO_PENDING) 432 return rv; 433 return ValidateResponse(rv); 549 int WebSocketBasicHandshakeStream::ValidateResponse(int rv) { 554 if (rv >= 0) { 587 if (rv == ERR_EMPTY_RESPONSE) { 590 return rv; 593 ErrorToString(rv)); 595 return rv; [all...] |
/external/chromium_org/ppapi/tests/ |
test_file_io.cc | 116 int32_t rv = callback.result(); local 117 if (rv < 0) 118 return rv; 119 if (rv == 0) 122 assert(rv == static_cast<int32_t>(output.size())); 123 offset += rv; 336 int32_t rv = WriteEntireBuffer(instance_->pp_instance(), &file_io, 0, local 338 ASSERT_EQ(PP_OK, rv); 351 rv = ReadEntireFile(instance_->pp_instance(), &file_io, 0, &read_buffer, 353 ASSERT_EQ(PP_OK, rv); 464 int32_t rv = WriteEntireBuffer(instance_->pp_instance(), &file_io, 0, local 614 int32_t rv = PP_ERROR_FAILED; local 778 int32_t rv = WriteEntireBuffer(instance_->pp_instance(), &file_io, 0, local 920 int32_t rv = ReadEntireFile(instance_->pp_instance(), &file_io, 0, local 1322 int32_t rv = WriteEntireBuffer(instance_->pp_instance(), &existent_file_io, local [all...] |
test_graphics_2d.cc | 616 int32_t rv = dc.Flush(pp::BlockUntilComplete()); local 617 ASSERT_EQ(PP_ERROR_BLOCKS_MAIN_THREAD, rv); 628 rv = dc_nopaints.Flush(callback_1.GetCallback()); 629 if (rv == PP_OK_COMPLETIONPENDING) { 637 callback_1.WaitForResult(rv);
|
/external/chromium_org/sandbox/win/src/ |
sandbox_policy_base.cc | 322 ResultCode rv = appcontainer_list_->SetAppContainer(sid, capabilities_); local 323 if (rv != SBOX_ALL_OK) 324 return rv;
|
/external/chromium_org/third_party/boringssl/src/ssl/ |
s3_lib.c | 1365 int rv = 0; local 1373 rv = EVP_PKEY_set1_RSA(ptmp, sc->peer_rsa_tmp); 1375 rv = EVP_PKEY_set1_DH(ptmp, sc->peer_dh_tmp); 1377 rv = EVP_PKEY_set1_EC_KEY(ptmp, sc->peer_ecdh_tmp); 1378 if (rv) [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vpx_mem/ |
vpx_mem.c | 634 int rv = 0; local 635 rv = vpx_memory_tracker_set_functions(g_malloc_l 643 if (rv < 0) { 644 return rv;
|
/external/chromium_org/third_party/tcmalloc/chromium/src/windows/ |
port.h | 154 void* rv = TlsGetValue(key); local 156 return rv;
|
/external/chromium_org/third_party/tcmalloc/vendor/src/windows/ |
port.h | 151 void* rv = TlsGetValue(key); local 153 return rv;
|
/external/compiler-rt/lib/dfsan/ |
dfsan_custom.cc | 345 int rv = pthread_create(thread, attr, pthread_create_cb, (void *)pci); local 346 if (rv != 0) 349 return rv;
|
/external/e2fsprogs/lib/ext2fs/ |
bitops.h | 583 errcode_t rv; local 585 rv = ext2fs_find_first_zero_generic_bmap((ext2fs_generic_bitmap) bitmap, 587 if (!rv) 589 return rv; 598 errcode_t rv; local 600 rv = ext2fs_find_first_zero_generic_bmap((ext2fs_generic_bitmap) bitmap, 602 if (!rv) 604 return rv;
|
/external/libnl/lib/ |
addr.c | 117 int rv = 0; local 124 return rv; 126 rv++; 131 return rv;
|
/external/libvpx/libvpx/vpx_mem/ |
vpx_mem.c | 610 int rv = 0; local 611 rv = vpx_memory_tracker_set_functions(g_malloc_l 619 if (rv < 0) { 620 return rv;
|