Home
last modified time | relevance | path

Searched refs:ctx_ (Results 1 – 25 of 44) sorted by relevance

12

/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dpropagator.cpp24 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 …]
Dpropagator.h190 : ctx_(context), visit_fn_(visit_fn) {} in SSAPropagator()
260 return ctx_->get_def_use_mgr(); in get_def_use_mgr()
272 IRContext* ctx_; variable
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dpropagator.cpp24 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 …]
Dpropagator.h190 : ctx_(context), visit_fn_(visit_fn) {} in SSAPropagator()
260 return ctx_->get_def_use_mgr(); in get_def_use_mgr()
272 IRContext* ctx_; variable
/third_party/spirv-tools/source/opt/
Dpropagator.cpp24 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 …]
Dpropagator.h190 : ctx_(context), visit_fn_(visit_fn) {} in SSAPropagator()
260 return ctx_->get_def_use_mgr(); in get_def_use_mgr()
272 IRContext* ctx_; variable
/third_party/node/src/crypto/
Dcrypto_cipher.cc262 ctx_(nullptr), in CipherBase()
271 tracker->TrackFieldWithSize("context", ctx_ ? kSizeOf_EVP_CIPHER_CTX : 0); in MemoryInfo()
373 CHECK(!ctx_); in CommonInit()
374 ctx_.reset(EVP_CIPHER_CTX_new()); in CommonInit()
378 EVP_CIPHER_CTX_set_flags(ctx_.get(), EVP_CIPHER_CTX_FLAG_WRAP_ALLOW); in CommonInit()
381 if (1 != EVP_CipherInit_ex(ctx_.get(), cipher, nullptr, in CommonInit()
393 if (!EVP_CIPHER_CTX_set_key_length(ctx_.get(), key_len)) { in CommonInit()
394 ctx_.reset(); in CommonInit()
398 if (1 != EVP_CipherInit_ex(ctx_.get(), nullptr, nullptr, key, iv, encrypt)) { in CommonInit()
565 if (!EVP_CIPHER_CTX_ctrl(ctx_.get(), in Init()
[all …]
Dcrypto_context.cc407 if (ctx_ != nullptr) { in Reset()
410 ctx_.reset(); in Reset()
516 sc->ctx_.reset(SSL_CTX_new(method)); in Init()
517 if (!sc->ctx_) { in Init()
520 SSL_CTX_set_app_data(sc->ctx_.get(), sc); in Init()
526 SSL_CTX_set_options(sc->ctx_.get(), SSL_OP_NO_SSLv2); in Init()
527 SSL_CTX_set_options(sc->ctx_.get(), SSL_OP_NO_SSLv3); in Init()
529 SSL_CTX_set_options(sc->ctx_.get(), SSL_OP_ALLOW_CLIENT_RENEGOTIATION); in Init()
535 SSL_CTX_clear_mode(sc->ctx_.get(), SSL_MODE_NO_AUTO_CHAIN); in Init()
538 SSL_CTX_set_session_cache_mode(sc->ctx_.get(), in Init()
[all …]
Dcrypto_hmac.cc33 ctx_(nullptr) { in Hmac()
38 tracker->TrackFieldWithSize("context", ctx_ ? kSizeOf_HMAC_CTX : 0); in MemoryInfo()
81 ctx_.reset(HMAC_CTX_new()); in HmacInit()
82 if (!ctx_ || !HMAC_Init_ex(ctx_.get(), key, key_len, md, nullptr)) { in HmacInit()
83 ctx_.reset(); in HmacInit()
99 return ctx_ && HMAC_Update(ctx_.get(), in HmacUpdate()
129 if (hmac->ctx_) { in HmacDigest()
130 bool ok = HMAC_Final(hmac->ctx_.get(), md_value, &md_len); in HmacDigest()
131 hmac->ctx_.reset(); in HmacDigest()
Dcrypto_context.h45 const SSLCtxPointer& ctx() const { return ctx_; } in ctx()
49 SSLCtxPointer& ctx() { return ctx_; } in ctx()
143 SSLCtxPointer ctx_;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpropagator_test.cpp37 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::__anon9114c4050111::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()
/third_party/spirv-tools/test/opt/
Dpropagator_test.cpp37 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::__anon7e6f16a40111::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()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dpropagator_test.cpp37 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::__anonb82cc7990111::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()
/third_party/python/Python/
Dast_opt.c404 static int astfold_mod(mod_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
405 static int astfold_stmt(stmt_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
406 static int astfold_expr(expr_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
407 static int astfold_arguments(arguments_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
408 static int astfold_comprehension(comprehension_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
409 static int astfold_keyword(keyword_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
410 static int astfold_arg(arg_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
411 static int astfold_withitem(withitem_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
412 static int astfold_excepthandler(excepthandler_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
413 static int astfold_match_case(match_case_ty node_, PyArena *ctx_, _PyASTOptimizeState *state);
[all …]
/third_party/openh264/test/api/
Ddecoder_test.cpp61 SHA1Reset (&ctx_); in SetUp()
67 UpdateHashFromPlane (&ctx_, y.data, y.width, y.height, y.stride); in onDecodeFrame()
68 UpdateHashFromPlane (&ctx_, u.data, u.width, u.height, u.stride); in onDecodeFrame()
69 UpdateHashFromPlane (&ctx_, v.data, v.width, v.height, v.stride); in onDecodeFrame()
72 SHA1Context ctx_; member in DecoderOutputTest
85 SHA1Result (&ctx_, digest); in TEST_P()
Dthread_decoder_test.cpp60 SHA1Reset (&ctx_); in SetUp()
66 UpdateHashFromPlane (&ctx_, y.data, y.width, y.height, y.stride); in onDecodeFrame()
67 UpdateHashFromPlane (&ctx_, u.data, u.width, u.height, u.stride); in onDecodeFrame()
68 UpdateHashFromPlane (&ctx_, v.data, v.width, v.height, v.stride); in onDecodeFrame()
71 SHA1Context ctx_; member in ThreadDecoderOutputTest
84 SHA1Result (&ctx_, digest); in TEST_P()
Dencoder_test.cpp72 SHA1Reset (&ctx_); in SetUp()
75 UpdateHashFromFrame (frameInfo, &ctx_); in onEncodeFrame()
79 SHA1Context ctx_; member in EncoderOutputTest
98 SHA1Result (&ctx_, digest); in TEST_P()
Ddecode_encode_test.cpp52 SHA1Reset (&ctx_); in SetUp()
70 UpdateHashFromFrame (frameInfo, &ctx_); in onEncodeFrame()
90 SHA1Context ctx_; member in DecodeEncodeTest
127 SHA1Result (&ctx_, digest); in TEST_P()
/third_party/cef/tests/cefclient/browser/
Dosr_d3d11_win.cc52 Context::Context(ID3D11DeviceContext* ctx) : ctx_(to_com_ptr(ctx)) {} in Context()
55 ctx_->Flush(); in flush()
70 ctx_ = ctx; in bind()
71 ID3D11DeviceContext* d3d11_ctx = (ID3D11DeviceContext*)(*ctx_); in bind()
90 ctx_.reset(); in unbind()
94 ID3D11DeviceContext* d3d11_ctx = (ID3D11DeviceContext*)(*ctx_); in clear()
112 ID3D11DeviceContext* d3d11_ctx = (ID3D11DeviceContext*)(*ctx_); in resize()
172 ctx_ = ctx; in bind()
173 ID3D11DeviceContext* d3d11_ctx = (ID3D11DeviceContext*)(*ctx_); in bind()
192 ctx_ = ctx; in bind()
[all …]
Dosr_d3d11_win.h75 operator ID3D11DeviceContext*() { return ctx_.get(); }
78 const std::shared_ptr<ID3D11DeviceContext> ctx_;
130 const std::shared_ptr<Context> ctx_; variable
159 std::shared_ptr<Context> ctx_; variable
192 std::shared_ptr<Context> ctx_; variable
210 std::shared_ptr<Context> ctx_; variable
232 std::shared_ptr<Context> ctx_; variable
/third_party/node/deps/openssl/openssl/crypto/poly1305/asm/
Dpoly1305-ppc.pl773 my ($ctx_,$_ctx,$const) = map("r$_",(10..12));
1331 addi $ctx_,$ctx,64 # &ctx->r[1]
1388 lvx_splt $R1,$x00,$ctx_ # gives ~8% improvement
1389 lvx_splt $S1,$x10,$ctx_
1390 lvx_splt $R2,$x20,$ctx_
1391 lvx_splt $S2,$x30,$ctx_
1392 lvx_splt $T1,$x40,$ctx_
1393 lvx_splt $T2,$x50,$ctx_
1394 lvx_splt $T3,$x60,$ctx_
1395 lvx_splt $T4,$x70,$ctx_
[all …]
/third_party/openssl/crypto/poly1305/asm/
Dpoly1305-ppc.pl773 my ($ctx_,$_ctx,$const) = map("r$_",(10..12));
1331 addi $ctx_,$ctx,64 # &ctx->r[1]
1388 lvx_splt $R1,$x00,$ctx_ # gives ~8% improvement
1389 lvx_splt $S1,$x10,$ctx_
1390 lvx_splt $R2,$x20,$ctx_
1391 lvx_splt $S2,$x30,$ctx_
1392 lvx_splt $T1,$x40,$ctx_
1393 lvx_splt $T2,$x50,$ctx_
1394 lvx_splt $T3,$x60,$ctx_
1395 lvx_splt $T4,$x70,$ctx_
[all …]
/third_party/node/deps/v8/src/extensions/
Dgc-extension.cc114 ctx_(isolate, isolate->GetCurrentContext()), in AsyncGC()
124 auto ctx = Local<v8::Context>::New(isolate_, ctx_); in RunInternal()
130 v8::Persistent<v8::Context> ctx_; member in v8::internal::__anonc638892e0111::AsyncGC
/third_party/node/deps/v8/tools/gcmole/
Dgcmole.cc117 : ctx_(ctx), decl_ctx_(ctx.getTranslationUnitDecl()) { in Resolver()
121 : ctx_(ctx), decl_ctx_(decl_ctx) { in Resolver()
125 clang::IdentifierInfo* ident = &ctx_.Idents.get(n); in ResolveName()
126 return ctx_.DeclarationNames.getIdentifier(ident); in ResolveName()
130 return Resolver(ctx_, Resolve<clang::NamespaceDecl>(n)); in ResolveNamespace()
212 clang::ASTContext& ctx_; member
219 explicit CalleesPrinter(clang::MangleContext* ctx) : ctx_(ctx) {} in CalleesPrinter()
239 if (!GetMangledName(ctx_, f, &name)) return; in AnalyzeFunction()
292 clang::MangleContext* ctx_; member in __anon21c93c610111::CalleesPrinter
707 : ctx_(ctx), in FunctionAnalyzer()
[all …]
/third_party/node/src/
Dnode_zlib.cc285 ctx_.Close(); in Close()
361 ctx_.SetBuffers(in, in_len, out, out_len); in Write()
362 ctx_.SetFlush(flush); in Write()
381 ctx_.GetAfterWriteOffsets(&write_result_[1], &write_result_[0]); in UpdateWriteResult()
389 ctx_.DoThreadPoolWork(); in DoThreadPoolWork()
394 const CompressionError err = ctx_.GetErrorInfo(); in CheckError()
464 tracker->TrackField("compression context", ctx_); in MemoryInfo()
470 CompressionContext* context() { return &ctx_; } in context()
552 CompressionContext ctx_; member in node::__anon14f432990111::CompressionStream

12