/external/chromium_org/crypto/ |
H A D | signature_creator_openssl.cc | 100 int rv = EVP_SignFinal(sign_context_, vector_as_array(signature), &len, key); local 101 if (!rv) {
|
H A D | symmetric_key_nss.cc | 133 SECStatus rv = PK11_ExtractKeyValue(key_.get()); local 134 if (SECSuccess != rv)
|
/external/chromium_org/crypto/third_party/nss/ |
H A D | rsawrapr.c | 83 SECStatus rv; local 153 rv = SECFailure; 155 rv = SECSuccess; 159 return rv;
|
/external/chromium_org/mojo/common/test/ |
H A D | test_utils_posix.cc | 79 int rv = dup(fileno(fp.get())); local 80 PCHECK(rv != -1) << "dup"; 81 return embedder::ScopedPlatformHandle(embedder::PlatformHandle(rv)); 87 base::ScopedFILE rv(fdopen(h.release().fd, mode)); 88 PCHECK(rv) << "fdopen"; 89 return rv.Pass();
|
H A D | test_utils_win.cc | 87 HANDLE rv = INVALID_HANDLE_VALUE; local 92 &rv, 96 return embedder::ScopedPlatformHandle(embedder::PlatformHandle(rv)); 111 base::ScopedFILE rv( 115 PCHECK(rv) << "_fdopen"; 116 return rv.Pass();
|
/external/chromium_org/mojo/embedder/ |
H A D | simple_platform_shared_buffer.cc | 18 SimplePlatformSharedBuffer* rv = new SimplePlatformSharedBuffer(num_bytes); local 19 if (!rv->Init()) { 22 scoped_refptr<SimplePlatformSharedBuffer> deleter(rv); 26 return rv; 36 SimplePlatformSharedBuffer* rv = new SimplePlatformSharedBuffer(num_bytes); local 37 if (!rv->InitFromPlatformHandle(platform_handle.Pass())) { 40 scoped_refptr<SimplePlatformSharedBuffer> deleter(rv); 44 return rv;
|
/external/chromium_org/mojo/public/cpp/bindings/lib/ |
H A D | connector.cc | 54 MojoResult rv = Wait(message_pipe_.get(), 57 if (rv != MOJO_RESULT_OK) { 61 mojo_ignore_result(ReadSingleMessage(&rv)); 62 return (rv == MOJO_RESULT_OK); 74 MojoResult rv = WriteMessageRaw( 84 switch (rv) { 153 MojoResult rv = ReadAndDispatchMessage( local 156 *read_result = rv; 165 if (rv == MOJO_RESULT_SHOULD_WAIT) 168 if (rv ! 178 MojoResult rv; local [all...] |
/external/chromium_org/mojo/public/cpp/system/ |
H A D | buffer.h | 40 MojoResult rv = MojoCreateSharedBuffer(options, num_bytes, local 45 return rv; 59 MojoResult rv = MojoDuplicateBufferHandle( local 64 return rv;
|
H A D | message_pipe.h | 41 MojoResult rv = MojoCreateMessagePipe(options, local 48 return rv;
|
/external/chromium_org/net/base/ |
H A D | mime_util_unittest.cc | 34 bool rv; local 37 rv = GetMimeTypeFromExtension(tests[i].extension, &mime_type); 38 EXPECT_EQ(tests[i].valid, rv); 39 if (rv) 59 bool rv; local 62 rv = GetMimeTypeFromFile(base::FilePath(tests[i].file_path), 64 EXPECT_EQ(tests[i].valid, rv); 65 if (rv)
|
H A D | sdch_dictionary_fetcher.cc | 122 int SdchDictionaryFetcher::DoLoop(int rv) { argument 131 rv = DoDispatchRequest(rv); 134 rv = DoRequestStarted(rv); 137 rv = DoRead(rv); 140 rv = DoCompleteRequest(rv); 145 } while (rv ! 150 DoDispatchRequest(int rv) argument 174 DoRequestStarted(int rv) argument 188 DoRead(int rv) argument 228 DoCompleteRequest(int rv) argument [all...] |
/external/chromium_org/net/cert/ |
H A D | mock_cert_verifier.cc | 20 int rv) 24 rv(rv) { 32 int rv; member in struct:net::MockCertVerifier::Rule 55 return it->rv; 70 int rv) { 71 AddResultForCertAndHost(cert, "*", verify_result, rv); 78 int rv) { 79 Rule rule(cert, host_pattern, verify_result, rv); 17 Rule(X509Certificate* cert, const std::string& hostname, const CertVerifyResult& result, int rv) argument 68 AddResultForCert(X509Certificate* cert, const CertVerifyResult& verify_result, int rv) argument 74 AddResultForCertAndHost( X509Certificate* cert, const std::string& host_pattern, const CertVerifyResult& verify_result, int rv) argument
|
H A D | x509_cert_types_win.cc | 98 BOOL rv; local 99 rv = CryptDecodeObjectEx(X509_ASN_ENCODING | PKCS_7_ASN_ENCODING, 106 if (!rv)
|
/external/chromium_org/net/disk_cache/blockfile/ |
H A D | disk_cache_perftest.cc | 66 int rv = cache->CreateEntry(entry.key, &cache_entry, cb.callback()); local 67 if (net::OK != cb.GetResult(rv)) 115 int rv = cache->OpenEntry(entries[i].key, &cache_entry, cb.callback()); local 116 if (net::OK != cb.GetResult(rv)) 169 int rv = disk_cache::CreateCacheBackend(net::DISK_CACHE, local 179 ASSERT_EQ(net::OK, cb.GetResult(rv)); 203 rv = disk_cache::CreateCacheBackend(net::DISK_CACHE, 212 ASSERT_EQ(net::OK, cb.GetResult(rv));
|
/external/chromium_org/net/disk_cache/ |
H A D | entry_unittest.cc | 625 int rv = entry->WriteData( local 627 EXPECT_EQ(kBufferSize, cb.GetResult(rv)); 1753 int rv = entry->GetAvailableRange( 1755 EXPECT_EQ(kSize, cb.GetResult(rv)); 1759 rv = entry->GetAvailableRange(0, kSize, &start, cb.callback()); 1760 EXPECT_EQ(0, cb.GetResult(rv)); 1761 rv = entry->GetAvailableRange( 1763 EXPECT_EQ(0, cb.GetResult(rv)); 1764 rv = entry->GetAvailableRange(0, 0x2100000, &start, cb.callback()); 1765 EXPECT_EQ(kSize, cb.GetResult(rv)); [all...] |
/external/chromium_org/net/dns/ |
H A D | mapped_host_resolver.cc | 28 int rv = ApplyRules(&info); local 29 if (rv != OK) 30 return rv; 39 int rv = ApplyRules(&info); local 40 if (rv != OK) 41 return rv;
|
/external/chromium_org/net/http/ |
H A D | disk_cache_based_quic_server_info_unittest.cc | 65 int rv = quic_server_info->WaitForDataReady(callback.callback()); local 66 EXPECT_EQ(ERR_IO_PENDING, rv); 69 EXPECT_EQ(OK, callback.GetResult(rv)); 82 int rv = quic_server_info->WaitForDataReady(callback.callback()); local 83 EXPECT_EQ(OK, callback.GetResult(rv)); 106 rv = quic_server_info->WaitForDataReady(callback.callback()); 107 EXPECT_EQ(OK, callback.GetResult(rv)); 122 rv = quic_server_info->WaitForDataReady(callback.callback()); 123 EXPECT_EQ(OK, callback.GetResult(rv)); 149 int rv local 237 int rv = quic_server_info->WaitForDataReady(callback.callback()); local [all...] |
H A D | http_auth.cc | 43 int rv = http_auth_handler_factory->CreateAuthHandlerFromString( local 45 if (rv != OK) { 47 << ErrorToString(rv) << " Challenge: " << cur_challenge;
|
H A D | http_auth_handler.cc | 74 int rv = GenerateAuthTokenImpl( local 79 if (rv != ERR_IO_PENDING) 81 return rv; 96 void HttpAuthHandler::OnGenerateAuthTokenComplete(int rv) { argument 100 callback.Run(rv);
|
H A D | http_auth_handler_ntlm_win.cc | 65 int rv = DetermineMaxTokenLength(sspi_library_.get(), NTLMSP_NAME, local 67 if (rv == ERR_UNSUPPORTED_AUTH_SCHEME) 69 if (rv != OK) 70 return rv;
|
/external/chromium_org/net/proxy/ |
H A D | proxy_resolver_winhttp.cc | 90 int rv = OK; local 115 rv = ERR_FAILED; 119 return rv; 161 BOOL rv = WinHttpSetTimeouts(session_handle_, 10000, 10000, 5000, 5000); 162 DCHECK(rv);
|
/external/chromium_org/net/quic/ |
H A D | quic_reliable_client_stream.cc | 36 int rv = delegate_->OnDataReceived(data, data_len); local 37 if (rv != OK) { 38 DLOG(ERROR) << "Delegate refused data, rv: " << rv;
|
H A D | quic_server_packet_writer.cc | 44 void QuicServerPacketWriter::OnWriteComplete(int rv) { argument 45 DCHECK_NE(rv, ERR_IO_PENDING); 47 WriteResult result(rv < 0 ? WRITE_STATUS_ERROR : WRITE_STATUS_OK, rv); 74 int rv; local 76 rv = socket_->SendTo(buf.get(), 82 rv = ERR_MSG_TOO_BIG; 85 if (rv < 0) { 86 if (rv != ERR_IO_PENDING) { 87 UMA_HISTOGRAM_SPARSE_SLOWLY("Net.QuicSession.WriteError", -rv); [all...] |
/external/chromium_org/net/socket/ |
H A D | websocket_transport_connect_sub_job.cc | 83 int rv = DoLoop(result); local 84 if (rv != ERR_IO_PENDING) 85 parent_job_->OnSubJobComplete(rv, this); // |this| deleted 91 int rv = result; local 97 DCHECK_EQ(OK, rv); 98 rv = DoEndpointLock(); 101 DCHECK_EQ(OK, rv); 102 rv = DoEndpointLockComplete(); 105 DCHECK_EQ(OK, rv); 106 rv 123 int rv = WebSocketEndpointLockManager::GetInstance()->LockEndpoint( local [all...] |
/external/chromium_org/net/spdy/ |
H A D | spdy_websocket_stream.cc | 41 int rv = stream_request_.StartRequest( local 46 if (rv == OK) { 51 return rv;
|