Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/fipsmodule/ec/
Dsimple.c111 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_set_curve() local
121 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_set_curve()
178 BN_CTX_free(new_ctx); in ec_GFp_simple_group_set_curve()
185 BN_CTX *new_ctx = NULL; in ec_GFp_simple_group_get_curve() local
194 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_group_get_curve()
218 BN_CTX_free(new_ctx); in ec_GFp_simple_group_get_curve()
280 BN_CTX *new_ctx = NULL; in ec_GFp_simple_point_set_affine_coordinates() local
284 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_point_set_affine_coordinates()
299 BN_CTX_free(new_ctx); in ec_GFp_simple_point_set_affine_coordinates()
309 BN_CTX *new_ctx = NULL; in ec_GFp_simple_add() local
[all …]
Doct.c81 BN_CTX *new_ctx = NULL; in ec_GFp_simple_point2oct() local
110 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_point2oct()
162 BN_CTX_free(new_ctx); in ec_GFp_simple_point2oct()
169 BN_CTX *new_ctx = NULL; in ec_GFp_simple_oct2point() local
200 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_oct2point()
246 BN_CTX_free(new_ctx); in ec_GFp_simple_oct2point()
282 BN_CTX *new_ctx = NULL; in EC_POINT_set_compressed_coordinates_GFp() local
288 ctx = new_ctx = BN_CTX_new(); in EC_POINT_set_compressed_coordinates_GFp()
371 BN_CTX_free(new_ctx); in EC_POINT_set_compressed_coordinates_GFp()
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()
175 BN_CTX *new_ctx = NULL; in ec_GFp_mont_point_get_affine_coordinates() local
177 ctx = new_ctx = BN_CTX_new(); in ec_GFp_mont_point_get_affine_coordinates()
255 BN_CTX_free(new_ctx); in ec_GFp_mont_point_get_affine_coordinates()
Dwnaf.c242 BN_CTX *new_ctx = NULL; in ec_wNAF_mul() local
251 ctx = new_ctx = BN_CTX_new(); in ec_wNAF_mul()
349 BN_CTX_free(new_ctx); in ec_wNAF_mul()
Dec.c850 BN_CTX *new_ctx = NULL; in EC_POINT_mul() local
852 new_ctx = BN_CTX_new(); in EC_POINT_mul()
853 if (new_ctx == NULL) { in EC_POINT_mul()
856 ctx = new_ctx; in EC_POINT_mul()
876 BN_CTX_free(new_ctx); in EC_POINT_mul()
/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.c285 ralloc_steal(const void *new_ctx, void *ptr) in ralloc_steal() argument
293 parent = get_header(new_ctx); in ralloc_steal()
301 ralloc_adopt(const void *new_ctx, void *old_ctx) in ralloc_adopt() argument
309 new_info = get_header(new_ctx); in ralloc_adopt()
/external/tensorflow/tensorflow/contrib/tpu/python/tpu/
Dtpu_context.py83 new_ctx = copy.copy(self)
84 new_ctx._mode = mode # pylint: disable=protected-access
85 yield new_ctx
/external/mesa3d/src/compiler/glsl/
Dir.cpp1748 steal_memory(ir_instruction *ir, void *new_ctx) in steal_memory() argument
1760 ralloc_steal(new_ctx, fn->subroutine_types); in steal_memory()
1777 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.py3563 new_ctx = Context(prec=42)
3564 with localcontext(new_ctx) as enter_ctx:
3568 self.assertEqual(set_ctx.prec, new_ctx.prec, 'did not set correct context')
3569 self.assertIsNot(new_ctx, set_ctx, 'did not copy the context')
3583 new_ctx = Context(Emax=384)
3592 with localcontext(new_ctx) as c2:
3593 self.assertEqual(c2.flags, new_ctx.flags)
3594 self.assertEqual(c2.traps, new_ctx.traps)
3604 self.assertFalse(new_ctx.flags[Clamped])
3605 self.assertFalse(new_ctx.flags[Overflow])