Home
last modified time | relevance | path

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

12

/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/
Doct.c170 BN_CTX *new_ctx = NULL; in ec_GFp_simple_oct2point() local
172 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_oct2point()
197 BN_CTX_free(new_ctx); in ec_GFp_simple_oct2point()
237 BN_CTX *new_ctx = NULL; in EC_POINT_set_compressed_coordinates_GFp() local
243 ctx = new_ctx = BN_CTX_new(); in EC_POINT_set_compressed_coordinates_GFp()
326 BN_CTX_free(new_ctx); in EC_POINT_set_compressed_coordinates_GFp()
Dec.c356 BN_CTX *new_ctx = NULL; in EC_GROUP_new_curve_GFp() local
358 ctx = new_ctx = BN_CTX_new(); in EC_GROUP_new_curve_GFp()
386 BN_CTX_free(new_ctx); in EC_GROUP_new_curve_GFp()
964 BN_CTX *new_ctx = NULL; in EC_POINT_mul() local
966 new_ctx = BN_CTX_new(); in EC_POINT_mul()
967 if (new_ctx == NULL) { in EC_POINT_mul()
970 ctx = new_ctx; in EC_POINT_mul()
1009 BN_CTX_free(new_ctx); in EC_POINT_mul()
/external/boringssl/src/crypto/fipsmodule/ec/
Doct.c171 BN_CTX *new_ctx = NULL; in ec_GFp_simple_oct2point() local
173 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_oct2point()
198 BN_CTX_free(new_ctx); in ec_GFp_simple_oct2point()
268 BN_CTX *new_ctx = NULL; in EC_POINT_set_compressed_coordinates_GFp() local
274 ctx = new_ctx = BN_CTX_new(); in EC_POINT_set_compressed_coordinates_GFp()
356 BN_CTX_free(new_ctx); in EC_POINT_set_compressed_coordinates_GFp()
Dec.c356 BN_CTX *new_ctx = NULL; in EC_GROUP_new_curve_GFp() local
358 ctx = new_ctx = BN_CTX_new(); in EC_GROUP_new_curve_GFp()
386 BN_CTX_free(new_ctx); in EC_GROUP_new_curve_GFp()
963 BN_CTX *new_ctx = NULL; in ec_point_mul_no_self_test() local
965 new_ctx = BN_CTX_new(); in ec_point_mul_no_self_test()
966 if (new_ctx == NULL) { in ec_point_mul_no_self_test()
969 ctx = new_ctx; in ec_point_mul_no_self_test()
1008 BN_CTX_free(new_ctx); in ec_point_mul_no_self_test()
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/ec/
Doct.c171 BN_CTX *new_ctx = NULL; in ec_GFp_simple_oct2point() local
173 ctx = new_ctx = BN_CTX_new(); in ec_GFp_simple_oct2point()
198 BN_CTX_free(new_ctx); in ec_GFp_simple_oct2point()
268 BN_CTX *new_ctx = NULL; in EC_POINT_set_compressed_coordinates_GFp() local
274 ctx = new_ctx = BN_CTX_new(); in EC_POINT_set_compressed_coordinates_GFp()
356 BN_CTX_free(new_ctx); in EC_POINT_set_compressed_coordinates_GFp()
Dec.c356 BN_CTX *new_ctx = NULL; in EC_GROUP_new_curve_GFp() local
358 ctx = new_ctx = BN_CTX_new(); in EC_GROUP_new_curve_GFp()
386 BN_CTX_free(new_ctx); in EC_GROUP_new_curve_GFp()
963 BN_CTX *new_ctx = NULL; in ec_point_mul_no_self_test() local
965 new_ctx = BN_CTX_new(); in ec_point_mul_no_self_test()
966 if (new_ctx == NULL) { in ec_point_mul_no_self_test()
969 ctx = new_ctx; in ec_point_mul_no_self_test()
1008 BN_CTX_free(new_ctx); in ec_point_mul_no_self_test()
/external/nos/host/generic/libnos_datagram/
Dcitadel.cpp355 int fd, *new_ctx; in nos_device_open() local
373 new_ctx = (int *)malloc(sizeof(int)); in nos_device_open()
374 if (!new_ctx) { in nos_device_open()
379 *new_ctx = fd; in nos_device_open()
381 dev->ctx = new_ctx; in nos_device_open()
/external/boringssl/src/crypto/fipsmodule/bn/
Dmontgomery.c215 BN_CTX *new_ctx = NULL; in BN_MONT_CTX_set() local
217 new_ctx = BN_CTX_new(); in BN_MONT_CTX_set()
218 if (new_ctx == NULL) { in BN_MONT_CTX_set()
221 ctx = new_ctx; in BN_MONT_CTX_set()
234 BN_CTX_free(new_ctx); in BN_MONT_CTX_set()
Dprime.c694 BN_CTX *new_ctx = NULL; in BN_primality_test() local
696 new_ctx = BN_CTX_new(); in BN_primality_test()
697 if (new_ctx == NULL) { in BN_primality_test()
700 ctx = new_ctx; in BN_primality_test()
783 BN_CTX_free(new_ctx); in BN_primality_test()
/external/rust/crates/quiche/deps/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.c681 BN_CTX *new_ctx = NULL; in BN_primality_test() local
683 new_ctx = BN_CTX_new(); in BN_primality_test()
684 if (new_ctx == NULL) { in BN_primality_test()
687 ctx = new_ctx; in BN_primality_test()
770 BN_CTX_free(new_ctx); in BN_primality_test()
/external/cronet/third_party/boringssl/src/crypto/fipsmodule/bn/
Dmontgomery.c215 BN_CTX *new_ctx = NULL; in BN_MONT_CTX_set() local
217 new_ctx = BN_CTX_new(); in BN_MONT_CTX_set()
218 if (new_ctx == NULL) { in BN_MONT_CTX_set()
221 ctx = new_ctx; in BN_MONT_CTX_set()
234 BN_CTX_free(new_ctx); in BN_MONT_CTX_set()
Dprime.c694 BN_CTX *new_ctx = NULL; in BN_primality_test() local
696 new_ctx = BN_CTX_new(); in BN_primality_test()
697 if (new_ctx == NULL) { in BN_primality_test()
700 ctx = new_ctx; in BN_primality_test()
783 BN_CTX_free(new_ctx); in BN_primality_test()
/external/igt-gpu-tools/benchmarks/
Dgem_exec_trace.c213 int new_ctx = ALIGN(t->handle, 1024); in replay() local
214 ctx = realloc(ctx, sizeof(*ctx)*new_ctx); in replay()
215 memset(ctx + num_ctx, 0, sizeof(*ctx)*(new_ctx - num_ctx)); in replay()
216 num_ctx = new_ctx; in replay()
/external/virglrenderer/src/mesa/util/
Dralloc.h297 void ralloc_steal(const void *new_ctx, void *ptr);
304 void ralloc_adopt(const void *new_ctx, void *old_ctx);
Dralloc.c319 ralloc_steal(const void *new_ctx, void *ptr) in ralloc_steal() argument
327 parent = new_ctx ? get_header(new_ctx) : NULL; in ralloc_steal()
335 ralloc_adopt(const void *new_ctx, void *old_ctx) in ralloc_adopt() argument
343 new_info = get_header(new_ctx); in ralloc_adopt()
/external/mesa3d/src/util/
Dralloc.h297 void ralloc_steal(const void *new_ctx, void *ptr);
304 void ralloc_adopt(const void *new_ctx, void *old_ctx);
Dralloc.c319 ralloc_steal(const void *new_ctx, void *ptr) in ralloc_steal() argument
327 parent = new_ctx ? get_header(new_ctx) : NULL; in ralloc_steal()
335 ralloc_adopt(const void *new_ctx, void *old_ctx) in ralloc_adopt() argument
343 new_info = get_header(new_ctx); in ralloc_adopt()
/external/igt-gpu-tools/assembler/
Dralloc.h235 void ralloc_steal(const void *new_ctx, void *ptr);
Dralloc.c244 ralloc_steal(const void *new_ctx, void *ptr) in ralloc_steal() argument
252 parent = get_header(new_ctx); in ralloc_steal()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dparallel_interleave_dataset_op.cc580 std::shared_ptr<IteratorContext> new_ctx(new IteratorContext(*ctx)); in RestoreInternal() local
583 [this, new_ctx, i]() { WorkerThread(new_ctx, i); })); in RestoreInternal()
699 std::shared_ptr<IteratorContext> new_ctx(new IteratorContext(*ctx)); in EnsureWorkerThreadsStarted() local
702 [this, new_ctx, i]() { WorkerThread(new_ctx, i); })); in EnsureWorkerThreadsStarted()
/external/mesa3d/src/gallium/drivers/iris/
Diris_batch.c559 uint32_t new_ctx = iris_clone_hw_context(bufmgr, batch->hw_ctx_id); in replace_hw_ctx() local
560 if (!new_ctx) in replace_hw_ctx()
564 batch->hw_ctx_id = new_ctx; in replace_hw_ctx()
Diris_bufmgr.c1717 uint32_t new_ctx = iris_create_hw_context(bufmgr); in iris_clone_hw_context() local
1719 if (new_ctx) { in iris_clone_hw_context()
1721 iris_hw_context_set_priority(bufmgr, new_ctx, priority); in iris_clone_hw_context()
1724 return new_ctx; in iris_clone_hw_context()
/external/tensorflow/tensorflow/core/kernels/data/
Dprefetch_dataset_op.cc445 std::shared_ptr<IteratorContext> new_ctx = in EnsurePrefetchThreadStarted() local
448 "tf_data_prefetch", [this, new_ctx]() { PrefetchThread(new_ctx); }); in EnsurePrefetchThreadStarted()
/external/ComputeLibrary/tests/framework/
DFramework.cpp575 … cl::Context new_ctx = cl::Context(CL_DEVICE_TYPE_DEFAULT, ctx_properties.data()); in run() local
576 …cl::CommandQueue new_queue = cl::CommandQueue(new_ctx, CLKernelLibrary::get().get_device(), queue_… in run()
579 CLScheduler::get().set_context(new_ctx); in run()

12