Home
last modified time | relevance | path

Searched refs:new_ctx (Results 1 – 20 of 20) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/ec/
Doct.c132 BN_CTX *new_ctx = NULL; in ec_GFp_simple_oct2point() local
163 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_oct2point()
209 BN_CTX_free(new_ctx); in ec_GFp_simple_oct2point()
245 BN_CTX *new_ctx = NULL; in EC_POINT_set_compressed_coordinates_GFp() local
251 ctx = new_ctx = BN_CTX_new(); in EC_POINT_set_compressed_coordinates_GFp()
334 BN_CTX_free(new_ctx); in EC_POINT_set_compressed_coordinates_GFp()
Dsimple.c105 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_set_curve() local
114 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_set_curve()
160 BN_CTX_free(new_ctx); in ec_GFp_simple_group_set_curve()
Dec.c897 BN_CTX *new_ctx = NULL; in EC_POINT_mul() local
899 new_ctx = BN_CTX_new(); in EC_POINT_mul()
900 if (new_ctx == NULL) { in EC_POINT_mul()
903 ctx = new_ctx; in EC_POINT_mul()
924 BN_CTX_free(new_ctx); in EC_POINT_mul()
Dec_montgomery.c95 BN_CTX *new_ctx = NULL; in ec_GFp_mont_group_set_curve() local
102 ctx = new_ctx = BN_CTX_new(); in ec_GFp_mont_group_set_curve()
122 BN_CTX_free(new_ctx); in ec_GFp_mont_group_set_curve()
/external/boringssl/src/crypto/fipsmodule/bn/
Dmontgomery.c213 BN_CTX *new_ctx = NULL; in BN_MONT_CTX_set() local
215 new_ctx = BN_CTX_new(); in BN_MONT_CTX_set()
216 if (new_ctx == NULL) { in BN_MONT_CTX_set()
219 ctx = new_ctx; in BN_MONT_CTX_set()
232 BN_CTX_free(new_ctx); in BN_MONT_CTX_set()
Dprime.c638 BN_CTX *new_ctx = NULL; in BN_primality_test() local
640 new_ctx = BN_CTX_new(); in BN_primality_test()
641 if (new_ctx == NULL) { in BN_primality_test()
644 ctx = new_ctx; in BN_primality_test()
792 BN_CTX_free(new_ctx); in BN_primality_test()
/external/tensorflow/tensorflow/core/kernels/data/
Dmodel_dataset_op.cc151 std::shared_ptr<IteratorContext> new_ctx = in EnsureOptimizeThreadStarted() local
154 "tf_data_model", [this, new_ctx]() { OptimizeThread(new_ctx); }); in EnsureOptimizeThreadStarted()
Dprefetch_dataset_op.cc269 std::shared_ptr<IteratorContext> new_ctx = in EnsurePrefetchThreadStarted() local
272 "tf_data_prefetch", [this, new_ctx]() { PrefetchThread(new_ctx); }); in EnsurePrefetchThreadStarted()
Dparallel_interleave_dataset_op.cc519 auto new_ctx = std::make_shared<IteratorContext>(*ctx); in EnsureThreadsStarted() local
522 [this, new_ctx]() { CurrentElementsManager(new_ctx); }); in EnsureThreadsStarted()
525 auto new_ctx = std::make_shared<IteratorContext>(*ctx); in EnsureThreadsStarted() local
528 [this, new_ctx]() { FutureElementsManager(new_ctx); }); in EnsureThreadsStarted()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dnuma_map_and_batch_dataset_op.cc896 std::shared_ptr<IteratorContext> new_ctx; in EnsureBackgroundThreadsStarted() local
926 if (!new_ctx) { in EnsureBackgroundThreadsStarted()
927 new_ctx = std::make_shared<IteratorContext>(*ctx); in EnsureBackgroundThreadsStarted()
931 [this, new_ctx, i, j]() { WorkerThread(new_ctx, i, j); })); in EnsureBackgroundThreadsStarted()
936 if (!new_ctx) { in EnsureBackgroundThreadsStarted()
937 new_ctx = std::make_shared<IteratorContext>(*ctx); in EnsureBackgroundThreadsStarted()
941 [this, new_ctx] { RunnerThread(new_ctx); }); in EnsureBackgroundThreadsStarted()
Dparallel_interleave_dataset_op.cc495 std::shared_ptr<IteratorContext> new_ctx(new IteratorContext(*ctx)); in RestoreInternal() local
498 [this, new_ctx, i]() { WorkerThread(new_ctx, i); })); in RestoreInternal()
594 std::shared_ptr<IteratorContext> new_ctx(new IteratorContext(*ctx)); in EnsureWorkerThreadsStarted() local
597 [this, new_ctx, i]() { WorkerThread(new_ctx, i); })); in EnsureWorkerThreadsStarted()
/external/mesa3d/src/util/
Dralloc.h235 void ralloc_steal(const void *new_ctx, void *ptr);
242 void ralloc_adopt(const void *new_ctx, void *old_ctx);
Dralloc.c280 ralloc_steal(const void *new_ctx, void *ptr) in ralloc_steal() argument
288 parent = new_ctx ? get_header(new_ctx) : NULL; in ralloc_steal()
296 ralloc_adopt(const void *new_ctx, void *old_ctx) in ralloc_adopt() argument
304 new_info = get_header(new_ctx); in ralloc_adopt()
/external/tensorflow/tensorflow/python/tpu/
Dtpu_context.py241 new_ctx = copy.copy(self)
242 new_ctx._mode = mode # pylint: disable=protected-access
243 yield new_ctx
/external/libunwind_llvm/src/
DUnwind-seh.cpp197 CONTEXT new_ctx; in _GCC_specific_handler() local
198 RtlUnwindEx(frame, (PVOID)target, ms_exc, (PVOID)retval, &new_ctx, disp->HistoryTable); in _GCC_specific_handler()
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc639 string new_ctx; in genParamIndirectAssign() local
645 new_ctx = "__" + arg->getName().str(); in genParamIndirectAssign()
646 preamble += " struct pt_regs * " + new_ctx + " = " + in genParamIndirectAssign()
658 arg->getName().str() + "), &" + new_ctx + "->" + in genParamIndirectAssign()
/external/mesa3d/src/compiler/glsl/
Dir.cpp1904 steal_memory(ir_instruction *ir, void *new_ctx) in steal_memory() argument
1916 ralloc_steal(new_ctx, fn->subroutine_types); in steal_memory()
1928 ralloc_steal(new_ctx, ir); in steal_memory()
/external/mesa3d/src/glx/
Dglxclient.h233 void (*unbind)(struct glx_context *context, struct glx_context *new_ctx);
/external/python/cpython2/Lib/test/
Dtest_decimal.py2241 new_ctx = Context(prec=42)
2242 with localcontext(new_ctx) as enter_ctx:
2246 self.assertEqual(set_ctx.prec, new_ctx.prec, 'did not set correct context')
2247 self.assertIsNot(new_ctx, set_ctx, 'did not copy the context')
/external/python/cpython3/Lib/test/
Dtest_decimal.py3570 new_ctx = Context(prec=42)
3571 with localcontext(new_ctx) as enter_ctx:
3575 self.assertEqual(set_ctx.prec, new_ctx.prec, 'did not set correct context')
3576 self.assertIsNot(new_ctx, set_ctx, 'did not copy the context')
3590 new_ctx = Context(Emax=384)
3599 with localcontext(new_ctx) as c2:
3600 self.assertEqual(c2.flags, new_ctx.flags)
3601 self.assertEqual(c2.traps, new_ctx.traps)
3611 self.assertFalse(new_ctx.flags[Clamped])
3612 self.assertFalse(new_ctx.flags[Overflow])