Searched refs:ctx_ (Results 1 - 21 of 21) sorted by relevance

/external/chromium_org/net/quic/crypto/
H A Dscoped_evp_aead_ctx.cc10 ctx_.aead = NULL;
14 if (ctx_.aead != NULL) {
15 EVP_AEAD_CTX_cleanup(&ctx_);
20 return &ctx_;
H A Dscoped_evp_aead_ctx.h24 EVP_AEAD_CTX ctx_; member in class:net::ScopedEVPAEADCtx
H A Daead_base_decrypter_openssl.cc60 EVP_AEAD_CTX_cleanup(ctx_.get());
61 if (!EVP_AEAD_CTX_init(ctx_.get(), aead_alg_, key_, key_size_,
90 ctx_.get(), output, output_length, ciphertext.size(),
H A Daead_base_encrypter_openssl.cc56 EVP_AEAD_CTX_cleanup(ctx_.get());
58 if (!EVP_AEAD_CTX_init(ctx_.get(), aead_alg_, key_, key_size_,
86 ctx_.get(),
H A Daead_base_decrypter.h99 ScopedEVPAEADCtx ctx_; member in class:net::AeadBaseDecrypter
H A Daead_base_encrypter.h102 ScopedEVPAEADCtx ctx_; member in class:net::AeadBaseEncrypter
/external/chromium_org/third_party/webrtc/base/
H A Dmd5digest.h24 MD5Init(&ctx_);
30 MD5Update(&ctx_, static_cast<const uint8*>(buf), len);
36 MD5Final(&ctx_, static_cast<uint8*>(buf));
37 MD5Init(&ctx_); // Reset for next use.
41 MD5_CTX ctx_; member in class:rtc::Md5Digest
H A Dsha1digest.h24 SHA1Init(&ctx_);
30 SHA1Update(&ctx_, static_cast<const uint8*>(buf), len);
36 SHA1Final(&ctx_, static_cast<uint8*>(buf));
37 SHA1Init(&ctx_); // Reset for next use.
42 SHA1_CTX ctx_; member in class:rtc::Sha1Digest
H A Dopenssldigest.cc21 EVP_MD_CTX_init(&ctx_);
23 EVP_DigestInit_ex(&ctx_, md_, NULL);
30 EVP_MD_CTX_cleanup(&ctx_);
44 EVP_DigestUpdate(&ctx_, buf, len);
52 EVP_DigestFinal_ex(&ctx_, static_cast<unsigned char*>(buf), &md_len);
53 EVP_DigestInit_ex(&ctx_, md_, NULL); // prepare for future Update()s
H A Dopenssldigest.h44 EVP_MD_CTX ctx_; member in class:rtc::OpenSSLDigest
/external/chromium_org/crypto/
H A Dsecure_hash_default.cc23 SHA256_Begin(&ctx_);
27 memset(&ctx_, 0, sizeof(ctx_));
32 SHA256_Update(&ctx_, static_cast<const unsigned char*>(input), len);
36 SHA256_End(&ctx_, static_cast<unsigned char*>(output), NULL,
44 SHA256Context ctx_; member in class:crypto::__anon7956::SecureHashSHA256NSS
53 !pickle->WriteBytes(&ctx_, sizeof(ctx_))) {
76 if (!data_iterator->ReadBytes(&data, sizeof(ctx_)))
79 memcpy(&ctx_, dat
[all...]
H A Dsecure_hash_openssl.cc26 SHA256_Init(&ctx_);
30 OPENSSL_cleanse(&ctx_, sizeof(ctx_));
34 SHA256_Update(&ctx_, static_cast<const unsigned char*>(input), len);
40 SHA256_Final(result.safe_buffer(), &ctx_);
47 SHA256_CTX ctx_; member in class:crypto::__anon7957::SecureHashSHA256OpenSSL
56 !pickle->WriteBytes(&ctx_, sizeof(ctx_))) {
82 if (!data_iterator->ReadBytes(&data, sizeof(ctx_)))
85 memcpy(&ctx_, dat
[all...]
H A Dencryptor_openssl.cc32 EVP_CIPHER_CTX_init(&ctx_);
35 EVP_CIPHER_CTX_cleanup(&ctx_);
38 EVP_CIPHER_CTX* get() { return &ctx_; }
41 EVP_CIPHER_CTX ctx_; member in class:crypto::__anon7936::ScopedCipherCTX
/external/chromium-trace/trace-viewer/src/tracing/
H A Dfast_rect_renderer.js45 this.ctx_ = ctx;
92 this.ctx_.fillStyle = this.pallette_[colorId];
93 this.ctx_.fillRect(x, this.y_, w, this.h_);
103 this.ctx_.fillStyle = this.pallette_[this.mergedColorId];
104 this.ctx_.fillRect(this.mergeStartX_, this.y_,
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_suppressions_test.cc78 virtual void SetUp() { ctx_ = new(placeholder_) SuppressionContext; }
79 virtual void TearDown() { ctx_->~SuppressionContext(); }
83 return &ctx_->suppressions_;
85 SuppressionContext *ctx_; member in class:__sanitizer::SuppressionContextTest
90 ctx_->Parse(
97 EXPECT_EQ((unsigned)4, ctx_->SuppressionCount());
109 ctx_->Parse(
116 EXPECT_EQ((unsigned)2, ctx_->SuppressionCount());
124 ctx_->Parse(
129 EXPECT_EQ((unsigned)2, ctx_
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
H A Devergreen_compute.c119 struct pipe_context *ctx_,
122 struct r600_context *ctx = (struct r600_context *)ctx_;
147 r600_compute_shader_create(ctx_, shader->mod, &shader->bc);
168 static void evergreen_bind_compute_state(struct pipe_context *ctx_, void *state) argument
170 struct r600_context *ctx = (struct r600_context *)ctx_;
189 struct pipe_context *ctx_,
194 struct r600_context *ctx = (struct r600_context *)ctx_;
451 struct pipe_context *ctx_,
455 struct r600_context *ctx = (struct r600_context *)ctx_;
459 evergreen_compute_upload_input(ctx_, block_layou
118 evergreen_create_compute_state( struct pipe_context *ctx_, const const struct pipe_compute_state *cso) argument
188 evergreen_compute_upload_input( struct pipe_context *ctx_, const uint *block_layout, const uint *grid_layout, const void *input) argument
450 evergreen_launch_grid( struct pipe_context *ctx_, const uint *block_layout, const uint *grid_layout, uint32_t pc, const void *input) argument
463 evergreen_set_compute_resources(struct pipe_context * ctx_, unsigned start, unsigned count, struct pipe_surface ** surfaces) argument
497 evergreen_set_cs_sampler_view(struct pipe_context *ctx_, unsigned start_slot, unsigned count, struct pipe_sampler_view **views) argument
515 evergreen_bind_compute_sampler_states( struct pipe_context *ctx_, unsigned start_slot, unsigned num_samplers, void **samplers_) argument
533 evergreen_set_global_binding( struct pipe_context *ctx_, unsigned first, unsigned n, struct pipe_resource **resources, uint32_t **handles) argument
802 r600_compute_global_transfer_map( struct pipe_context *ctx_, struct pipe_transfer* transfer) argument
828 r600_compute_global_transfer_unmap( struct pipe_context *ctx_, struct pipe_transfer* transfer) argument
842 r600_compute_global_get_transfer( struct pipe_context *ctx_, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
872 r600_compute_global_transfer_destroy( struct pipe_context *ctx_, struct pipe_transfer *transfer) argument
880 r600_compute_global_transfer_flush_region( struct pipe_context *ctx_, struct pipe_transfer *transfer, const struct pipe_box *box) argument
[all...]
/external/mesa3d/src/gallium/drivers/r600/
H A Devergreen_compute.c119 struct pipe_context *ctx_,
122 struct r600_context *ctx = (struct r600_context *)ctx_;
147 r600_compute_shader_create(ctx_, shader->mod, &shader->bc);
168 static void evergreen_bind_compute_state(struct pipe_context *ctx_, void *state) argument
170 struct r600_context *ctx = (struct r600_context *)ctx_;
189 struct pipe_context *ctx_,
194 struct r600_context *ctx = (struct r600_context *)ctx_;
451 struct pipe_context *ctx_,
455 struct r600_context *ctx = (struct r600_context *)ctx_;
459 evergreen_compute_upload_input(ctx_, block_layou
118 evergreen_create_compute_state( struct pipe_context *ctx_, const const struct pipe_compute_state *cso) argument
188 evergreen_compute_upload_input( struct pipe_context *ctx_, const uint *block_layout, const uint *grid_layout, const void *input) argument
450 evergreen_launch_grid( struct pipe_context *ctx_, const uint *block_layout, const uint *grid_layout, uint32_t pc, const void *input) argument
463 evergreen_set_compute_resources(struct pipe_context * ctx_, unsigned start, unsigned count, struct pipe_surface ** surfaces) argument
497 evergreen_set_cs_sampler_view(struct pipe_context *ctx_, unsigned start_slot, unsigned count, struct pipe_sampler_view **views) argument
515 evergreen_bind_compute_sampler_states( struct pipe_context *ctx_, unsigned start_slot, unsigned num_samplers, void **samplers_) argument
533 evergreen_set_global_binding( struct pipe_context *ctx_, unsigned first, unsigned n, struct pipe_resource **resources, uint32_t **handles) argument
802 r600_compute_global_transfer_map( struct pipe_context *ctx_, struct pipe_transfer* transfer) argument
828 r600_compute_global_transfer_unmap( struct pipe_context *ctx_, struct pipe_transfer* transfer) argument
842 r600_compute_global_get_transfer( struct pipe_context *ctx_, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box) argument
872 r600_compute_global_transfer_destroy( struct pipe_context *ctx_, struct pipe_transfer *transfer) argument
880 r600_compute_global_transfer_flush_region( struct pipe_context *ctx_, struct pipe_transfer *transfer, const struct pipe_box *box) argument
[all...]
/external/chromium-trace/trace-viewer/src/tracing/tracks/
H A Ddrawing_container.js33 this.ctx_ = this.canvas_.getContext('2d');
45 return this.ctx_;
59 this.ctx_.clearRect(0, 0, this.canvas_.width, this.canvas_.height);
81 this.viewport.drawGridLines(this.ctx_, viewLWorld, viewRWorld);
82 this.viewport.drawMarkerLines(this.ctx_, viewLWorld, viewRWorld);
/external/chromium_org/net/socket/
H A Dssl_session_cache_openssl.cc157 : ctx_(ctx), config_(config), expiration_check_(0) {
164 SSL_CTX_set_session_cache_mode(ctx_,
169 SSL_CTX_sess_set_new_cb(ctx_, NewSessionCallbackStatic);
170 SSL_CTX_sess_set_remove_cb(ctx_, RemoveSessionCallbackStatic);
171 SSL_CTX_set_generate_session_id(ctx_, GenerateSessionIdStatic);
172 SSL_CTX_set_timeout(ctx_, config_.timeout_seconds);
174 SSL_CTX_set_ex_data(ctx_, GetSSLContextExIndex(), this);
177 // Destroy this instance. Must happen before |ctx_| is destroyed.
180 SSL_CTX_set_ex_data(ctx_, GetSSLContextExIndex(), NULL);
181 SSL_CTX_sess_set_new_cb(ctx_, NUL
483 SSL_CTX* ctx_; member in class:net::SSLSessionCacheOpenSSLImpl
[all...]
H A Dssl_session_cache_openssl_unittest.cc113 ctx_.reset(SSL_CTX_new(SSLv23_client_method()));
114 cache_.Reset(ctx_.get(), kDefaultConfig);
119 cache_.Reset(ctx_.get(), config);
126 SSL* ssl = SSL_new(ctx_.get());
141 ssl_update_cache(ssl, ctx_.get()->session_cache_mode);
147 ScopedSSL_CTX ctx_; member in class:net::SSLSessionCacheOpenSSLTest
148 // |cache_| must be destroyed before |ctx_| and thus appears after it.
/external/chromium_org/v8/tools/gcmole/
H A Dgcmole.cc89 : ctx_(ctx), decl_ctx_(ctx.getTranslationUnitDecl()) {
93 : ctx_(ctx), decl_ctx_(decl_ctx) {
97 clang::IdentifierInfo* ident = &ctx_.Idents.get(n);
98 return ctx_.DeclarationNames.getIdentifier(ident);
102 return Resolver(ctx_, Resolve<clang::NamespaceDecl>(n));
122 clang::ASTContext& ctx_; member in struct:__anon17419::Resolver
129 explicit CalleesPrinter(clang::MangleContext* ctx) : ctx_(ctx) {
147 if (InV8Namespace(f) && GetMangledName(ctx_, f, &name)) {
199 clang::MangleContext* ctx_; member in class:__anon17419::CalleesPrinter
512 : ctx_(ct
1169 clang::MangleContext* ctx_; member in class:__anon17419::FunctionAnalyzer
[all...]

Completed in 3446 milliseconds