/external/epid-sdk/epid/common-testhelper/ |
D | member_wrapper-testhelper.cc | 46 : ctx_(nullptr) { in MemberCtxObj() 50 ctx_ = CreateMember(¶ms); in MemberCtxObj() 51 sts = EpidProvisionKey(ctx_, &pub_key, &priv_key, nullptr); in MemberCtxObj() 53 DeleteMember(&ctx_); in MemberCtxObj() 58 sts = EpidMemberStartup(ctx_); in MemberCtxObj() 60 DeleteMember(&ctx_); in MemberCtxObj() 70 : ctx_(nullptr) { in MemberCtxObj() 74 ctx_ = CreateMember(¶ms); in MemberCtxObj() 75 sts = EpidProvisionCredential(ctx_, &pub_key, &cred, nullptr); in MemberCtxObj() 77 DeleteMember(&ctx_); in MemberCtxObj() [all …]
|
D | verifier_wrapper-testhelper.cc | 27 VerifierCtxObj::VerifierCtxObj(GroupPubKey const& pub_key) : ctx_(nullptr) { in VerifierCtxObj() 28 auto sts = EpidVerifierCreate(&pub_key, nullptr, &ctx_); in VerifierCtxObj() 38 : ctx_(nullptr) { in VerifierCtxObj() 39 auto sts = EpidVerifierCreate(&pub_key, &precomp, &ctx_); in VerifierCtxObj() 47 VerifierCtxObj::~VerifierCtxObj() { EpidVerifierDelete(&ctx_); } in ~VerifierCtxObj() 49 VerifierCtx* VerifierCtxObj::ctx() const { return ctx_; } in ctx() 51 VerifierCtxObj::operator VerifierCtx*() const { return ctx_; } in operator VerifierCtx*() 53 VerifierCtxObj::operator const VerifierCtx*() const { return ctx_; } in operator const VerifierCtx*()
|
/external/grpc-grpc/src/cpp/common/ |
D | secure_auth_context.cc | 27 : ctx_(ctx), take_ownership_(take_ownership) {} in SecureAuthContext() 30 if (take_ownership_) grpc_auth_context_release(ctx_); in ~SecureAuthContext() 34 if (!ctx_) { in GetPeerIdentity() 37 grpc_auth_property_iterator iter = grpc_auth_context_peer_identity(ctx_); in GetPeerIdentity() 48 if (!ctx_) { in GetPeerIdentityPropertyName() 51 const char* name = grpc_auth_context_peer_identity_property_name(ctx_); in GetPeerIdentityPropertyName() 57 if (!ctx_) { in FindPropertyValues() 61 grpc_auth_context_find_properties_by_name(ctx_, name.c_str()); in FindPropertyValues() 71 if (ctx_) { in begin() 73 grpc_auth_context_property_iterator(ctx_); in begin() [all …]
|
/external/grpc-grpc/include/grpcpp/impl/codegen/ |
D | async_unary_call.h | 204 : call_(nullptr, nullptr, nullptr), ctx_(ctx) {} in ServerAsyncResponseWriter() 214 GPR_CODEGEN_ASSERT(!ctx_->sent_initial_metadata_); in SendInitialMetadata() 217 meta_buf_.SendInitialMetadata(ctx_->initial_metadata_, in SendInitialMetadata() 218 ctx_->initial_metadata_flags()); in SendInitialMetadata() 219 if (ctx_->compression_level_set()) { in SendInitialMetadata() 220 meta_buf_.set_compression_level(ctx_->compression_level()); in SendInitialMetadata() 222 ctx_->sent_initial_metadata_ = true; in SendInitialMetadata() 243 if (!ctx_->sent_initial_metadata_) { in Finish() 244 finish_buf_.SendInitialMetadata(ctx_->initial_metadata_, in Finish() 245 ctx_->initial_metadata_flags()); in Finish() [all …]
|
D | sync_stream.h | 583 GPR_CODEGEN_ASSERT(!ctx_->sent_initial_metadata_); in SendInitialMetadata() 586 ops.SendInitialMetadata(ctx_->initial_metadata_, in SendInitialMetadata() 587 ctx_->initial_metadata_flags()); in SendInitialMetadata() 588 if (ctx_->compression_level_set()) { in SendInitialMetadata() 589 ops.set_compression_level(ctx_->compression_level()); in SendInitialMetadata() 591 ctx_->sent_initial_metadata_ = true; in SendInitialMetadata() 610 ServerContext* const ctx_; variable 616 : call_(call), ctx_(ctx) {} in ServerReader() 635 GPR_CODEGEN_ASSERT(!ctx_->sent_initial_metadata_); in SendInitialMetadata() 638 ops.SendInitialMetadata(ctx_->initial_metadata_, in SendInitialMetadata() [all …]
|
D | async_stream.h | 702 : call_(nullptr, nullptr, nullptr), ctx_(ctx) {} in ServerAsyncReader() 710 GPR_CODEGEN_ASSERT(!ctx_->sent_initial_metadata_); in SendInitialMetadata() 713 meta_ops_.SendInitialMetadata(ctx_->initial_metadata_, in SendInitialMetadata() 714 ctx_->initial_metadata_flags()); in SendInitialMetadata() 715 if (ctx_->compression_level_set()) { in SendInitialMetadata() 716 meta_ops_.set_compression_level(ctx_->compression_level()); in SendInitialMetadata() 718 ctx_->sent_initial_metadata_ = true; in SendInitialMetadata() 741 if (!ctx_->sent_initial_metadata_) { in Finish() 742 finish_ops_.SendInitialMetadata(ctx_->initial_metadata_, in Finish() 743 ctx_->initial_metadata_flags()); in Finish() [all …]
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_suppressions_test.cc | 67 : ctx_(kTestSuppressionTypes, ARRAY_SIZE(kTestSuppressionTypes)) {} in SuppressionContextTest() 70 SuppressionContext ctx_; member in __sanitizer::SuppressionContextTest 74 EXPECT_EQ(count, ctx_.SuppressionCount()); in CheckSuppressions() 76 const Suppression *s = ctx_.SuppressionAt(i); in CheckSuppressions() 84 ctx_.Parse("race:foo\n" in TEST_F() 94 ctx_.Parse( in TEST_F() 105 ctx_.Parse( in TEST_F() 115 ctx_.Parse( in TEST_F() 126 ctx_.Parse( in TEST_F() 129 EXPECT_TRUE(ctx_.HasSuppressionType("race")); in TEST_F() [all …]
|
/external/boringssl/src/ssl/test/ |
D | fuzzer.h | 311 bssl::UniquePtr<SSL> ssl_handoff(SSL_new(ctx_.get())); in TestOneInput() 312 bssl::UniquePtr<SSL> ssl_handback(SSL_new(ctx_.get())); in TestOneInput() 379 ctx_.reset(SSL_CTX_new(protocol_ == kDTLS ? DTLS_method() : TLS_method())); in Init() 383 if (!ctx_ || !privkey || !pkey || in Init() 385 !SSL_CTX_use_PrivateKey(ctx_.get(), pkey.get())) { in Init() 392 !SSL_CTX_use_certificate(ctx_.get(), cert.get()) || in Init() 393 !SSL_CTX_set_ocsp_response(ctx_.get(), kOCSPResponse, in Init() 395 !SSL_CTX_set_signed_cert_timestamp_list(ctx_.get(), kSCT, in Init() 402 ctx_.get(), in Init() 405 SSL_CTX_enable_signed_cert_timestamps(ctx_.get()); in Init() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | functional_ops.cc | 169 ctx_(ctx), in State() 174 lib_(CHECK_NOTNULL(ctx_->function_library())) { in State() 175 SetRunOptions(ctx_, &opts_, true /* always_collect_stats */); in State() 176 for (int i = 1; i < ctx_->num_inputs(); ++i) { in State() 177 args_.push_back(ctx_->input(i)); in State() 192 s = SetOutputs(kernel_, ctx_, rets_); in Start() 194 ctx_->SetStatus(s); in Start() 203 OpKernelContext* const ctx_; member in tensorflow::__anonf4cf7ed10111::IfOp::State 259 ctx_(ctx), in State() 263 lib_(CHECK_NOTNULL(ctx_->function_library())) { in State() [all …]
|
/external/libchrome/crypto/ |
D | secure_hash.cc | 27 SHA256_Init(&ctx_); in SecureHashSHA256() 31 memcpy(&ctx_, &other.ctx_, sizeof(ctx_)); in SecureHashSHA256() 35 OPENSSL_cleanse(&ctx_, sizeof(ctx_)); in ~SecureHashSHA256() 39 SHA256_Update(&ctx_, static_cast<const unsigned char*>(input), len); in Update() 45 SHA256_Final(result.safe_buffer(), &ctx_); in Finish() 55 SHA256_CTX ctx_; member in crypto::__anon21a0f6ac0111::SecureHashSHA256
|
/external/boringssl/src/crypto/test/ |
D | abi_test.cc | 253 explicit UnwindCursor(const CONTEXT &ctx) : ctx_(ctx) { in UnwindCursor() 254 starting_ip_ = ctx_.Rip; in UnwindCursor() 267 RtlLookupFunctionEntry(ctx_.Rip, &image_base, nullptr); in Step() 274 memcpy(&ctx_.Rip, reinterpret_cast<const void *>(ctx_.Rsp), in Step() 275 sizeof(ctx_.Rip)); in Step() 276 ctx_.Rsp += 8; in Step() 283 RtlVirtualUnwind(UNW_FLAG_NHANDLER, image_base, ctx_.Rip, entry, &ctx_, in Step() 285 return ctx_.Rip != 0; in Step() 289 UnwindStatusOr<crypto_word_t> GetIP() { return ctx_.Rip; } in GetIP() 292 UnwindStatusOr<crypto_word_t> GetSP() { return ctx_.Rsp; } in GetSP() [all …]
|
/external/tensorflow/tensorflow/contrib/ignite/kernels/client/ |
D | ignite_ssl_wrapper.cc | 39 ctx_(nullptr), in SslWrapper() 48 if (ctx_ != nullptr) { in ~SslWrapper() 49 SSL_CTX_free(ctx_); in ~SslWrapper() 50 ctx_ = nullptr; in ~SslWrapper() 63 ctx_ = SSL_CTX_new(SSLv23_method()); in InitSslContext() 64 if (ctx_ == NULL) return errors::Internal("Couldn't create SSL context"); in InitSslContext() 66 SSL_CTX_set_default_passwd_cb(ctx_, PasswordCb); in InitSslContext() 67 SSL_CTX_set_default_passwd_cb_userdata(ctx_, (void *)cert_password_.c_str()); in InitSslContext() 69 if (SSL_CTX_use_certificate_chain_file(ctx_, certfile_.c_str()) != 1) in InitSslContext() 74 if (SSL_CTX_use_PrivateKey_file(ctx_, private_key_file.c_str(), in InitSslContext() [all …]
|
/external/epid-sdk/epid/common-testhelper/1.1/ |
D | verifier_wrapper-testhelper.cc | 28 : ctx_(nullptr) { in Epid11VerifierCtxObj() 29 auto sts = Epid11VerifierCreate(&pub_key, nullptr, &ctx_); in Epid11VerifierCtxObj() 39 : ctx_(nullptr) { in Epid11VerifierCtxObj() 40 auto sts = Epid11VerifierCreate(&pub_key, &precomp, &ctx_); in Epid11VerifierCtxObj() 48 Epid11VerifierCtxObj::~Epid11VerifierCtxObj() { Epid11VerifierDelete(&ctx_); } in ~Epid11VerifierCtxObj() 50 Epid11VerifierCtx* Epid11VerifierCtxObj::ctx() const { return ctx_; } in ctx() 52 Epid11VerifierCtxObj::operator Epid11VerifierCtx*() const { return ctx_; } in operator Epid11VerifierCtx*() 54 Epid11VerifierCtxObj::operator const Epid11VerifierCtx*() const { return ctx_; } in operator const Epid11VerifierCtx*()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | propagator.cpp | 24 if (dest_bb == ctx_->cfg()->pseudo_exit_block()) { in AddControlEdge() 50 if (!BlockHasBeenSimulated(ctx_->get_instr_block(use_instr))) { in AddSSAEdges() 61 BasicBlock* phi_bb = ctx_->get_instr_block(phi); in IsPhiArgExecutable() 65 BasicBlock* in_bb = ctx_->get_instr_block(in_label_instr); in IsPhiArgExecutable() 110 BasicBlock* block = ctx_->get_instr_block(instr); in Simulate() 126 AddControlEdge(Edge(ctx_->get_instr_block(instr), dest_bb)); in Simulate() 176 if (block == ctx_->cfg()->pseudo_exit_block()) { in Simulate() 213 bb_succs_[ctx_->cfg()->pseudo_entry_block()].push_back( in Initialize() 214 Edge(ctx_->cfg()->pseudo_entry_block(), fn->entry().get())); in Initialize() 220 ctx_->get_instr_block(get_def_use_mgr()->GetDef(label_id)); in Initialize() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | propagator.cpp | 24 if (dest_bb == ctx_->cfg()->pseudo_exit_block()) { in AddControlEdge() 50 if (!BlockHasBeenSimulated(ctx_->get_instr_block(use_instr))) { in AddSSAEdges() 61 BasicBlock* phi_bb = ctx_->get_instr_block(phi); in IsPhiArgExecutable() 65 BasicBlock* in_bb = ctx_->get_instr_block(in_label_instr); in IsPhiArgExecutable() 110 BasicBlock* block = ctx_->get_instr_block(instr); in Simulate() 126 AddControlEdge(Edge(ctx_->get_instr_block(instr), dest_bb)); in Simulate() 176 if (block == ctx_->cfg()->pseudo_exit_block()) { in Simulate() 213 bb_succs_[ctx_->cfg()->pseudo_entry_block()].push_back( in Initialize() 214 Edge(ctx_->cfg()->pseudo_entry_block(), fn->entry().get())); in Initialize() 220 ctx_->get_instr_block(get_def_use_mgr()->GetDef(label_id)); in Initialize() [all …]
|
/external/grpc-grpc/test/cpp/common/ |
D | auth_property_iterator_test.cc | 43 ctx_ = grpc_auth_context_create(nullptr); in SetUp() 44 grpc_auth_context_add_cstring_property(ctx_, "name", "chapi"); in SetUp() 45 grpc_auth_context_add_cstring_property(ctx_, "name", "chapo"); in SetUp() 46 grpc_auth_context_add_cstring_property(ctx_, "foo", "bar"); in SetUp() 48 grpc_auth_context_set_peer_identity_property_name(ctx_, "name")); in SetUp() 50 void TearDown() override { grpc_auth_context_release(ctx_); } in TearDown() 51 grpc_auth_context* ctx_; member in grpc::__anon81a78b790111::AuthPropertyIteratorTest 62 grpc_auth_context_property_iterator(ctx_); in TEST_F()
|
/external/epid-sdk/epid/member/tpm2/unittests/ |
D | tpm2_wrapper-testhelper.cc | 38 : ctx_(nullptr) { in Tpm2CtxObj() 47 &ctx_); in Tpm2CtxObj() 55 Tpm2CtxObj::~Tpm2CtxObj() { Tpm2DeleteContext(&ctx_); } in ~Tpm2CtxObj() 57 Tpm2Ctx* Tpm2CtxObj::ctx() const { return ctx_; } in ctx() 59 Tpm2CtxObj::operator Tpm2Ctx*() const { return ctx_; } in operator Tpm2Ctx*() 61 Tpm2CtxObj::operator const Tpm2Ctx*() const { return ctx_; } in operator const Tpm2Ctx*()
|
/external/grpc-grpc/include/grpcpp/test/ |
D | server_context_test_spouse.h | 32 explicit ServerContextTestSpouse(ServerContext* ctx) : ctx_(ctx) {} in ServerContextTestSpouse() 39 ctx_->client_metadata_.map()->clear(); in AddClientMetadata() 42 ctx_->client_metadata_.map()->insert( in AddClientMetadata() 50 return ctx_->initial_metadata_; in GetInitialMetadata() 54 return ctx_->trailing_metadata_; in GetTrailingMetadata() 58 ServerContext* ctx_; // not owned
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | propagator_test.cpp | 37 ctx_.reset(nullptr); in TearDown() 43 ctx_ = BuildModule(SPV_ENV_UNIVERSAL_1_1, nullptr, input); in Assemble() 44 ASSERT_NE(nullptr, ctx_) << "Assembling failed for shader:\n" in Assemble() 49 SSAPropagator propagator(ctx_.get(), visit_fn); in Propagate() 51 for (auto& fn : *ctx_->module()) { in Propagate() 65 std::unique_ptr<IRContext> ctx_; member in spvtools::opt::__anon6c6435070111::PropagatorTest 113 Instruction* rhs_def = ctx_->get_def_use_mgr()->GetDef(rhs_id); in TEST_F() 180 Instruction* rhs_def = ctx_->get_def_use_mgr()->GetDef(rhs_id); in TEST_F()
|
/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | propagator_test.cpp | 37 ctx_.reset(nullptr); in TearDown() 43 ctx_ = BuildModule(SPV_ENV_UNIVERSAL_1_1, nullptr, input); in Assemble() 44 ASSERT_NE(nullptr, ctx_) << "Assembling failed for shader:\n" in Assemble() 49 SSAPropagator propagator(ctx_.get(), visit_fn); in Propagate() 51 for (auto& fn : *ctx_->module()) { in Propagate() 65 std::unique_ptr<IRContext> ctx_; member in spvtools::opt::__anon01e52acd0111::PropagatorTest 113 Instruction* rhs_def = ctx_->get_def_use_mgr()->GetDef(rhs_id); in TEST_F() 180 Instruction* rhs_def = ctx_->get_def_use_mgr()->GetDef(rhs_id); in TEST_F()
|
/external/webrtc/webrtc/base/ |
D | openssldigest.cc | 21 EVP_MD_CTX_init(&ctx_); in OpenSSLDigest() 23 EVP_DigestInit_ex(&ctx_, md_, NULL); in OpenSSLDigest() 30 EVP_MD_CTX_cleanup(&ctx_); in ~OpenSSLDigest() 44 EVP_DigestUpdate(&ctx_, buf, len); in Update() 52 EVP_DigestFinal_ex(&ctx_, static_cast<unsigned char*>(buf), &md_len); in Finish() 53 EVP_DigestInit_ex(&ctx_, md_, NULL); // prepare for future Update()s in Finish()
|
/external/python/cpython3/Python/ |
D | ast_opt.c | 417 static int astfold_mod(mod_ty node_, PyArena *ctx_, int optimize_); 418 static int astfold_stmt(stmt_ty node_, PyArena *ctx_, int optimize_); 419 static int astfold_expr(expr_ty node_, PyArena *ctx_, int optimize_); 420 static int astfold_arguments(arguments_ty node_, PyArena *ctx_, int optimize_); 421 static int astfold_comprehension(comprehension_ty node_, PyArena *ctx_, int optimize_); 422 static int astfold_keyword(keyword_ty node_, PyArena *ctx_, int optimize_); 423 static int astfold_slice(slice_ty node_, PyArena *ctx_, int optimize_); 424 static int astfold_arg(arg_ty node_, PyArena *ctx_, int optimize_); 425 static int astfold_withitem(withitem_ty node_, PyArena *ctx_, int optimize_); 426 static int astfold_excepthandler(excepthandler_ty node_, PyArena *ctx_, int optimize_); [all …]
|
/external/syzkaller/vendor/google.golang.org/api/compute/v0.beta/ |
D | compute-gen.go | 17818 ctx_ context.Context member 17918 c.ctx_ = ctx 17949 return gensupport.SendRequest(c.ctx_, c.s.client, req) 18045 c.ctx_ = ctx 18071 ctx_ context.Context member 18107 c.ctx_ = ctx 18140 return gensupport.SendRequest(c.ctx_, c.s.client, req) 18233 ctx_ context.Context member 18335 c.ctx_ = ctx 18367 return gensupport.SendRequest(c.ctx_, c.s.client, req) [all …]
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_call.h | 152 : handle_request_function_(handle_request_function), responder_(&ctx_) {} in Call() 170 if (ctx_.IsCancelled()) { in RequestCancelled() 208 (grpc_service->*enqueue_function)(&call->ctx_, &call->request, in EnqueueRequest() 229 grpc_service->RequestAsyncUnary(method_id, &call->ctx_, &call->request, in EnqueueRequestForMethod() 239 return ctx_.client_metadata(); in client_metadata() 248 ctx_.AsyncNotifyWhenDone(&cancelled_tag_); in RegisterCancellationHandler() 252 ::grpc::ServerContext ctx_;
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | graph_optimizer_stage.h | 121 : optimizer_name_(optimizer_name), stage_name_(stage_name), ctx_(ctx) {} in GraphOptimizerStage() 187 return ::tensorflow::grappler::GetInputNode(ctx_, input, node); in GetInputNode() 194 return ::tensorflow::grappler::GetTensorProperties(ctx_, tensor, in GetTensorProperties() 199 return ::tensorflow::grappler::AddCopyNode(ctx_, name, node_to_copy); in AddCopyNode() 202 return ::tensorflow::grappler::AddEmptyNode(ctx_, name); in AddEmptyNode() 206 const GraphOptimizerContext& ctx() const { return ctx_; } in ctx() 211 while (ctx_.node_map->NodeExists(node_name)) { in UniqueNodeName() 221 const GraphOptimizerContext ctx_; variable
|