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

/external/webrtc/webrtc/base/
H A Dmd5digest.cc20 MD5Update(&ctx_, static_cast<const uint8_t*>(buf), len);
27 MD5Final(&ctx_, static_cast<uint8_t*>(buf));
28 MD5Init(&ctx_); // Reset for next use.
H A Dsha1digest.cc20 SHA1Update(&ctx_, static_cast<const uint8_t*>(buf), len);
27 SHA1Final(&ctx_, static_cast<uint8_t*>(buf));
28 SHA1Init(&ctx_); // Reset for next use.
H A Dmd5digest.h24 MD5Init(&ctx_);
31 MD5Context ctx_; member in class:rtc::Md5Digest
H A Dsha1digest.h24 SHA1Init(&ctx_);
31 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/libchrome/crypto/
H A Dsecure_hash_default.cc25 SHA256_Begin(&ctx_);
28 ~SecureHashSHA256NSS() override { 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::__anon9216::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::__anon9217::SecureHashSHA256OpenSSL
56 !pickle->WriteBytes(&ctx_, sizeof(ctx_))) {
82 if (!data_iterator->ReadBytes(&data, sizeof(ctx_)))
85 memcpy(&ctx_, dat
[all...]
/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_suppressions_test.cc67 : ctx_(kTestSuppressionTypes, ARRAY_SIZE(kTestSuppressionTypes)) {}
70 SuppressionContext ctx_; member in class:__sanitizer::SuppressionContextTest
74 EXPECT_EQ(count, ctx_.SuppressionCount());
76 const Suppression *s = ctx_.SuppressionAt(i);
84 ctx_.Parse("race:foo\n"
94 ctx_.Parse(
105 ctx_.Parse(
115 ctx_.Parse(
126 ctx_.Parse(
129 EXPECT_TRUE(ctx_
[all...]
/external/vulkan-validation-layers/demos/smoke/
H A DShell.cpp34 : game_(game), settings_(game.settings()), ctx_(),
61 vk::init_dispatch_table_middle(ctx_.instance, false);
70 vk::DestroyDebugReportCallbackEXT(ctx_.instance, ctx_.debug_report, nullptr);
72 vk::DestroyInstance(ctx_.instance, nullptr);
198 vk::assert_success(vk::CreateInstance(&instance_info, nullptr, &ctx_.instance));
220 vk::assert_success(vk::CreateDebugReportCallbackEXT(ctx_.instance,
221 &debug_report_info, nullptr, &ctx_.debug_report));
228 vk::assert_success(vk::enumerate(ctx_.instance, phys));
230 ctx_
[all...]
H A DShell.h73 const Context &context() const { return ctx_; }
156 Context ctx_; member in class:Shell
/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/boringssl/src/crypto/test/
H A Dscoped_types.h80 init_func(&ctx_);
83 cleanup_func(&ctx_);
86 T *get() { return &ctx_; }
87 const T *get() const { return &ctx_; }
90 cleanup_func(&ctx_);
91 init_func(&ctx_);
95 T ctx_; member in class:ScopedOpenSSLContext
/external/libweave/examples/provider/
H A Dssl_stream.h63 std::unique_ptr<SSL_CTX, SslDeleter> ctx_; member in class:weave::examples::SSLStream
H A Dssl_stream.cc53 ctx_.reset(SSL_CTX_new(TLSv1_2_client_method()));
54 CHECK(ctx_); variable
55 ssl_.reset(SSL_new(ctx_.get()));
/external/libbrillo/brillo/streams/
H A Dtls_stream.cc119 std::unique_ptr<SSL_CTX, decltype(&SSL_CTX_free)> ctx_{nullptr, SSL_CTX_free};
140 ctx_.reset();
344 ctx_.reset(SSL_CTX_new(TLSv1_2_client_method()));
345 if (!ctx_)
350 int res = SSL_CTX_set_cipher_list(ctx_.get(),
358 res = SSL_CTX_load_verify_locations(ctx_.get(), nullptr, kCACertificatePath);
365 SSL_CTX_set_ex_data(ctx_.get(), ssl_ctx_private_data_index, this);
369 X509_VERIFY_PARAM* param = SSL_CTX_get0_param(ctx_.get());
372 SSL_CTX_set_verify(ctx_.get(), SSL_VERIFY_PEER,
376 ssl_.reset(SSL_new(ctx_
[all...]
/external/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:__anon18427::Resolver
129 explicit CalleesPrinter(clang::MangleContext* ctx) : ctx_(ctx) {
147 if (InV8Namespace(f) && GetMangledName(ctx_, f, &name)) {
199 clang::MangleContext* ctx_; member in class:__anon18427::CalleesPrinter
512 : ctx_(ct
1169 clang::MangleContext* ctx_; member in class:__anon18427::FunctionAnalyzer
[all...]
/external/opencv3/modules/videoio/src/
H A Dcap_ffmpeg_impl.hpp2243 AVFormatContext* ctx_; member in struct:InputMediaStream_FFMPEG
2252 ctx_ = 0;
2261 err = avformat_open_input(&ctx_, fileName, 0, 0);
2263 err = av_open_input_file(&ctx_, fileName, 0, 0, 0);
2269 err = avformat_find_stream_info(ctx_, 0);
2271 err = av_find_stream_info(ctx_);
2276 for (unsigned int i = 0; i < ctx_->nb_streams; ++i)
2279 AVCodecContext *enc = ctx_->streams[i]->codec;
2281 AVCodecContext *enc = &ctx_->streams[i]->codec;
2349 if (ctx_)
[all...]

Completed in 473 milliseconds