Searched refs:new_ctx (Results 1 - 25 of 49) sorted by relevance

12

/netbsd-current/crypto/external/bsd/openssl/dist/crypto/ec/
H A Dec_check.c23 BN_CTX *new_ctx = NULL; local
31 ctx = new_ctx = BN_CTX_new_ex(NULL);
42 BN_CTX_free(new_ctx);
57 BN_CTX *new_ctx = NULL;
70 ctx = new_ctx = BN_CTX_new();
114 BN_CTX_free(new_ctx);
H A Dec2_oct.c47 BN_CTX *new_ctx = NULL; local
50 ctx = new_ctx = BN_CTX_new();
115 BN_CTX_free(new_ctx);
135 BN_CTX *new_ctx = NULL; local
172 ctx = new_ctx = BN_CTX_new();
239 BN_CTX_free(new_ctx);
247 BN_CTX_free(new_ctx);
266 BN_CTX *new_ctx = NULL; local
322 ctx = new_ctx = BN_CTX_new();
386 BN_CTX_free(new_ctx);
[all...]
H A Decp_oct.c27 BN_CTX *new_ctx = NULL; local
32 ctx = new_ctx = BN_CTX_new_ex(group->libctx);
155 BN_CTX_free(new_ctx);
164 BN_CTX *new_ctx = NULL; local
202 ctx = new_ctx = BN_CTX_new_ex(group->libctx);
264 BN_CTX_free(new_ctx);
270 BN_CTX_free(new_ctx);
280 BN_CTX *new_ctx = NULL; local
323 ctx = new_ctx = BN_CTX_new_ex(group->libctx);
370 BN_CTX_free(new_ctx);
[all...]
H A Decp_mont.c146 BN_CTX *new_ctx = NULL; local
157 ctx = new_ctx = BN_CTX_new_ex(group->libctx);
191 BN_CTX_free(new_ctx);
227 BN_CTX *new_ctx = NULL; local
234 && (ctx = new_ctx = BN_CTX_secure_new_ex(group->libctx)) == NULL)
263 BN_CTX_free(new_ctx);
H A Decp_smpl.c146 BN_CTX *new_ctx = NULL; local
156 ctx = new_ctx = BN_CTX_new_ex(group->libctx);
196 BN_CTX_free(new_ctx);
204 BN_CTX *new_ctx = NULL; local
214 ctx = new_ctx = BN_CTX_new_ex(group->libctx);
241 BN_CTX_free(new_ctx);
256 BN_CTX *new_ctx = NULL; local
259 ctx = new_ctx = BN_CTX_new_ex(group->libctx);
318 BN_CTX_free(new_ctx);
382 BN_CTX *new_ctx local
440 BN_CTX *new_ctx = NULL; local
506 BN_CTX *new_ctx = NULL; local
620 BN_CTX *new_ctx = NULL; local
805 BN_CTX *new_ctx = NULL; local
963 BN_CTX *new_ctx = NULL; local
1072 BN_CTX *new_ctx = NULL; local
1170 BN_CTX *new_ctx = NULL; local
1209 BN_CTX *new_ctx = NULL; local
1387 BN_CTX *new_ctx = NULL; local
[all...]
H A Decp_nist.c97 BN_CTX *new_ctx = NULL; local
100 if ((ctx = new_ctx = BN_CTX_new_ex(group->libctx)) == NULL)
124 BN_CTX_free(new_ctx);
H A Dec2_smpl.c186 BN_CTX *new_ctx = NULL; local
189 ctx = new_ctx = BN_CTX_new();
216 BN_CTX_free(new_ctx);
362 BN_CTX *new_ctx = NULL; local
379 ctx = new_ctx = BN_CTX_new();
468 BN_CTX_free(new_ctx);
517 BN_CTX *new_ctx = NULL; local
532 ctx = new_ctx = BN_CTX_new();
569 BN_CTX_free(new_ctx);
587 BN_CTX *new_ctx local
638 BN_CTX *new_ctx = NULL; local
[all...]
H A Decp_s390x_nistp.c57 BN_CTX *new_ctx = NULL; local
61 ctx = new_ctx = BN_CTX_new_ex(group->libctx);
121 BN_CTX_free(new_ctx);
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce100/
H A Ddce100_resource.h48 struct dc_state *new_ctx,
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce112/
H A Ddce112_resource.h54 struct dc_state *new_ctx,
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/ec/
H A Dec_check.c17 BN_CTX *new_ctx = NULL; local
25 ctx = new_ctx = BN_CTX_new();
69 BN_CTX_free(new_ctx);
H A Dec2_oct.c38 BN_CTX *new_ctx = NULL; local
46 ctx = new_ctx = BN_CTX_new();
104 BN_CTX_free(new_ctx);
118 BN_CTX *new_ctx = NULL; local
156 ctx = new_ctx = BN_CTX_new();
221 BN_CTX_free(new_ctx);
227 BN_CTX_free(new_ctx);
241 BN_CTX *new_ctx = NULL; local
298 ctx = new_ctx = BN_CTX_new();
360 BN_CTX_free(new_ctx);
[all...]
H A Decp_oct.c21 BN_CTX *new_ctx = NULL; local
29 ctx = new_ctx = BN_CTX_new();
150 BN_CTX_free(new_ctx);
159 BN_CTX *new_ctx = NULL; local
197 ctx = new_ctx = BN_CTX_new();
259 BN_CTX_free(new_ctx);
265 BN_CTX_free(new_ctx);
274 BN_CTX *new_ctx = NULL; local
317 ctx = new_ctx = BN_CTX_new();
364 BN_CTX_free(new_ctx);
[all...]
H A Decp_mont.c138 BN_CTX *new_ctx = NULL; local
149 ctx = new_ctx = BN_CTX_new();
183 BN_CTX_free(new_ctx);
219 BN_CTX *new_ctx = NULL; local
225 if (ctx == NULL && (ctx = new_ctx = BN_CTX_secure_new()) == NULL)
254 BN_CTX_free(new_ctx);
H A Decp_smpl.c139 BN_CTX *new_ctx = NULL; local
149 ctx = new_ctx = BN_CTX_new();
189 BN_CTX_free(new_ctx);
197 BN_CTX *new_ctx = NULL; local
207 ctx = new_ctx = BN_CTX_new();
234 BN_CTX_free(new_ctx);
248 BN_CTX *new_ctx = NULL; local
251 ctx = new_ctx = BN_CTX_new();
311 BN_CTX_free(new_ctx);
375 BN_CTX *new_ctx local
433 BN_CTX *new_ctx = NULL; local
500 BN_CTX *new_ctx = NULL; local
616 BN_CTX *new_ctx = NULL; local
801 BN_CTX *new_ctx = NULL; local
957 BN_CTX *new_ctx = NULL; local
1066 BN_CTX *new_ctx = NULL; local
1164 BN_CTX *new_ctx = NULL; local
1203 BN_CTX *new_ctx = NULL; local
1381 BN_CTX *new_ctx = NULL; local
[all...]
H A Decp_nist.c89 BN_CTX *new_ctx = NULL; local
92 if ((ctx = new_ctx = BN_CTX_new()) == NULL)
116 BN_CTX_free(new_ctx);
H A Dec2_smpl.c179 BN_CTX *new_ctx = NULL; local
182 ctx = new_ctx = BN_CTX_new();
208 BN_CTX_free(new_ctx);
352 BN_CTX *new_ctx = NULL; local
369 ctx = new_ctx = BN_CTX_new();
456 BN_CTX_free(new_ctx);
497 BN_CTX *new_ctx = NULL; local
514 ctx = new_ctx = BN_CTX_new();
549 BN_CTX_free(new_ctx);
564 BN_CTX *new_ctx local
608 BN_CTX *new_ctx = NULL; local
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/
H A Ddcn20_resource.h132 bool dcn20_validate_dsc(struct dc *dc, struct dc_state *new_ctx);
161 enum dc_status dcn20_add_stream_to_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stream_state *dc_stream);
163 enum dc_status dcn20_remove_stream_from_ctx(struct dc *dc, struct dc_state *new_ctx, struct dc_stream_state *dc_stream);
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/dc/core/
H A Damdgpu_dc_resource.c1717 struct dc_state *new_ctx,
1723 if (new_ctx->stream_count >= dc->res_pool->timing_generator_count) {
1728 new_ctx->streams[new_ctx->stream_count] = stream;
1730 new_ctx->stream_count++;
1732 res = dc->res_pool->funcs->add_stream_to_ctx(dc, new_ctx, stream);
1744 struct dc_state *new_ctx,
1749 struct pipe_ctx *del_pipe = resource_get_head_pipe_for_stream(&new_ctx->res_ctx, stream);
1762 &new_ctx->res_ctx,
1769 &new_ctx
1715 dc_add_stream_to_ctx( struct dc *dc, struct dc_state *new_ctx, struct dc_stream_state *stream) argument
1742 dc_remove_stream_from_ctx( struct dc *dc, struct dc_state *new_ctx, struct dc_stream_state *stream) argument
2090 dc_validate_global_state( struct dc *dc, struct dc_state *new_ctx, bool fast_validate) argument
[all...]
/netbsd-current/external/gpl3/gcc/dist/gcc/cp/
H A Dconstexpr.cc1436 constexpr_ctx new_ctx = *ctx; local
1437 new_ctx.quiet = true;
1462 arg = cxx_eval_constant_expression (&new_ctx, arg, false,
1560 return cxx_eval_constant_expression (&new_ctx, new_call, lval,
2598 constexpr_ctx new_ctx = *ctx; local
2604 new_ctx.object = AGGR_INIT_EXPR_SLOT (t);
2605 tree ctor = new_ctx.ctor = build_constructor (DECL_CONTEXT (fun), NULL);
2607 ctx->global->values.put (new_ctx.object, ctor);
2608 ctx = &new_ctx;
2628 new_ctx
4020 constexpr_ctx new_ctx; local
4386 gcc_assert(fldsz && fldsz < BITS_PER_UNIT); *p &= ((1U << BITS_PER_UNIT) - 1) >> fldsz; } } else { if (bpos + fldsz <= BITS_PER_UNIT) *p &= ~(((1 << fldsz) - 1) << bpos); else { gcc_assert (bpos); *p &= ~(((1 << BITS_PER_UNIT) - 1) << bpos); p++; fldsz -= BITS_PER_UNIT - bpos; gcc_assert (fldsz && fldsz < BITS_PER_UNIT); *p &= ~((1 << fldsz) - 1); } } if (mask_save[0] != mask[pos] || (end == 2 && mask_save[1] != mask[pos + 1])) { CONSTRUCTOR_NO_CLEARING (t) = 1; continue; } } } else if (is_byte_access_type_not_plain_char (type)) { HOST_WIDE_INT pos; if (TREE_CODE (TREE_TYPE (t)) == ARRAY_TYPE) pos = tree_to_shwi (index); else pos = int_byte_position (index); if (mask[pos]) { CONSTRUCTOR_NO_CLEARING (t) = 1; mask[pos] = 0; continue; } } if (TREE_CODE (value) == CONSTRUCTOR) { HOST_WIDE_INT pos; if (TREE_CODE (TREE_TYPE (t)) == ARRAY_TYPE) pos = tree_to_shwi (index) * tree_to_shwi (TYPE_SIZE_UNIT (TREE_TYPE (TREE_TYPE (t)))); else pos = int_byte_position (index); clear_uchar_or_std_byte_in_mask (loc, value, mask + pos); } if (i != j) { CONSTRUCTOR_ELT (t, j)->index = index; CONSTRUCTOR_ELT (t, j)->value = value; } ++j; } if (CONSTRUCTOR_NELTS (t) != j) vec_safe_truncate (CONSTRUCTOR_ELTS (t), j); } static tree cxx_eval_bit_cast (const constexpr_ctx *ctx, tree t, bool *non_constant_p, bool *overflow_p) { if (check_bit_cast_type (ctx, EXPR_LOCATION (t), TREE_TYPE (t), TREE_TYPE (t)) || check_bit_cast_type (ctx, cp_expr_loc_or_loc (TREE_OPERAND (t, 0), EXPR_LOCATION (t)), TREE_TYPE (TREE_OPERAND (t, 0)), TREE_TYPE (TREE_OPERAND (t, 0)))) { *non_constant_p = true; return t; } tree op = cxx_eval_constant_expression (ctx, TREE_OPERAND (t, 0), false, non_constant_p, overflow_p); if (*non_constant_p) return t; location_t loc = EXPR_LOCATION (t); if (BITS_PER_UNIT != 8 || CHAR_BIT != 8) { if (!ctx->quiet) sorry_at (loc, �, �); *non_constant_p = true; return t; } if (!tree_fits_shwi_p (TYPE_SIZE_UNIT (TREE_TYPE (t)))) { if (!ctx->quiet) sorry_at (loc, � �, �); *non_constant_p = true; return t; } HOST_WIDE_INT len = tree_to_shwi (TYPE_SIZE_UNIT (TREE_TYPE (t))); if (len < 0 || (int) len != len) { if (!ctx->quiet) sorry_at (loc, � �, �); *non_constant_p = true; return t; } unsigned char buf[64]; unsigned char *ptr, *mask; size_t alen = (size_t) len * 2; if (alen <= sizeof (buf)) ptr = buf; else ptr = XNEWVEC (unsigned char, alen); mask = ptr + (size_t) len; memset (mask, ~0, (size_t) len); if (native_encode_initializer (op, ptr, len, 0, mask) != len) { if (!ctx->quiet) sorry_at (loc, � �, �); *non_constant_p = true; if (ptr != buf) XDELETE (ptr); return t; } tree r = NULL_TREE; if (can_native_interpret_type_p (TREE_TYPE (t))) { r = native_interpret_expr (TREE_TYPE (t), ptr, len); if (is_byte_access_type_not_plain_char (TREE_TYPE (t))) { gcc_assert (len == 1); if (mask[0]) { memset (mask, 0, len); r = build_constructor (TREE_TYPE (r), NULL); CONSTRUCTOR_NO_CLEARING (r) = 1; } } } else if (TREE_CODE (TREE_TYPE (t)) == RECORD_TYPE) { r = native_interpret_aggregate (TREE_TYPE (t), ptr, 0, len); if (r != NULL_TREE) { clear_type_padding_in_mask (TREE_TYPE (t), mask); clear_uchar_or_std_byte_in_mask (loc, r, mask); } } if (r != NULL_TREE) { for (int i = 0; i < len; i++) if (mask[i]) { if (!ctx->quiet) error_at (loc, �, �, i); *non_constant_p = true; r = t; break; } if (ptr != buf) XDELETE (ptr); return r; } if (!ctx->quiet) sorry_at (loc, � �, �); *non_constant_p = true; if (ptr != buf) XDELETE (ptr); return t; } static tree cxx_eval_logical_expression (const constexpr_ctx *ctx, tree t, tree bailout_value, tree continue_value, bool *non_constant_p, bool *overflow_p) { tree r; tree lhs = cxx_eval_constant_expression (ctx, TREE_OPERAND (t, 0), false, non_constant_p, overflow_p); VERIFY_CONSTANT (lhs); if (tree_int_cst_equal (lhs, bailout_value)) return lhs; gcc_assert (tree_int_cst_equal (lhs, continue_value)); r = cxx_eval_constant_expression (ctx, TREE_OPERAND (t, 1), false, non_constant_p, overflow_p); VERIFY_CONSTANT (r); return r; } static constructor_elt * base_field_constructor_elt (vec<constructor_elt, va_gc> *v, tree ref) { tree aggr = TREE_OPERAND (ref, 0); tree field = TREE_OPERAND (ref, 1); HOST_WIDE_INT i; constructor_elt *ce; gcc_assert (TREE_CODE (ref) == COMPONENT_REF); if (TREE_CODE (aggr) == COMPONENT_REF) { constructor_elt *base_ce = base_field_constructor_elt (v, aggr); v = CONSTRUCTOR_ELTS (base_ce->value); } for (i = 0; vec_safe_iterate (v, i, &ce); ++i) if (ce->index == field) return ce; gcc_unreachable (); return NULL; } static tree initialized_type (tree t) { if (TYPE_P (t)) return t; tree type = TREE_TYPE (t); if (TREE_CODE (t) == CALL_EXPR) { tree fn = get_function_named_in_call (t); if (fn && TREE_CODE (fn) == FUNCTION_DECL && DECL_CXX_CONSTRUCTOR_P (fn)) type = DECL_CONTEXT (fn); } else if (TREE_CODE (t) == COMPOUND_EXPR) return initialized_type (TREE_OPERAND (t, 1)); else if (TREE_CODE (t) == AGGR_INIT_EXPR) type = TREE_TYPE (AGGR_INIT_EXPR_SLOT (t)); return cv_unqualified (type); } static void init_subob_ctx (const constexpr_ctx *ctx, constexpr_ctx &new_ctx, tree index, tree &value) { new_ctx = *ctx; if (index && TREE_CODE (index) != INTEGER_CST && TREE_CODE (index) != FIELD_DECL && TREE_CODE (index) != RANGE_EXPR) return; tree type = initialized_type (value); if (!AGGREGATE_TYPE_P (type) && !VECTOR_TYPE_P (type)) return; if (VECTOR_TYPE_P (type) && VECTOR_TYPE_P (TREE_TYPE (ctx->ctor)) && index == NULL_TREE) return; if (ctx->object) { if (index == NULL_TREE || TREE_CODE (index) == RANGE_EXPR) new_ctx.object = NULL_TREE; else new_ctx.object = build_ctor_subob_ref (index, type, ctx->object); } tree elt = build_constructor (type, NULL); CONSTRUCTOR_NO_CLEARING (elt) = true; new_ctx.ctor = elt; if (TREE_CODE (value) == TARGET_EXPR) value = TARGET_EXPR_INITIAL (value); } static void verify_ctor_sanity (const constexpr_ctx *ctx, tree type) { if (is_empty_class (type)) return; gcc_assert (ctx->ctor); gcc_assert (same_type_ignoring_top_level_qualifiers_p (type, TREE_TYPE (ctx->ctor))); if (ctx->object) argument
4750 constexpr_ctx new_ctx; local
4928 constexpr_ctx new_ctx; local
5034 constexpr_ctx new_ctx = *ctx; local
5081 constexpr_ctx new_ctx = *ctx; local
5611 constexpr_ctx new_ctx = *ctx; local
6230 constexpr_ctx new_ctx = *ctx; local
6357 constexpr_ctx new_ctx = *ctx; local
6620 constexpr_ctx new_ctx; local
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/gcc/cp/
H A Dconstexpr.c1317 constexpr_ctx new_ctx = *ctx; local
1318 new_ctx.quiet = true;
1343 arg = cxx_eval_constant_expression (&new_ctx, arg, false,
1417 return cxx_eval_constant_expression (&new_ctx, new_call, lval,
2349 constexpr_ctx new_ctx = *ctx; local
2355 new_ctx.object = AGGR_INIT_EXPR_SLOT (t);
2356 tree ctor = new_ctx.ctor = build_constructor (DECL_CONTEXT (fun), NULL);
2358 ctx->global->values.put (new_ctx.object, ctor);
2359 ctx = &new_ctx;
2379 new_ctx
3639 constexpr_ctx new_ctx; local
3940 init_subob_ctx(const constexpr_ctx *ctx, constexpr_ctx &new_ctx, tree index, tree &value) argument
4023 constexpr_ctx new_ctx; local
4197 constexpr_ctx new_ctx; local
4321 constexpr_ctx new_ctx = *ctx; local
4814 constexpr_ctx new_ctx = *ctx; local
5442 constexpr_ctx new_ctx = *ctx; local
5573 constexpr_ctx new_ctx = *ctx; local
5805 constexpr_ctx new_ctx; local
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/dc/
H A Ddc_stream.h313 struct dc_state *new_ctx,
318 struct dc_state *new_ctx,
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/
H A Dcore_types.h122 struct dc_state *new_ctx,
127 struct dc_state *new_ctx,
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/bn/
H A Dbn_gcd.c518 BN_CTX *new_ctx = NULL; local
523 ctx = new_ctx = BN_CTX_new();
533 BN_CTX_free(new_ctx);
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/bn/
H A Dbn_gcd.c518 BN_CTX *new_ctx = NULL; local
523 ctx = new_ctx = BN_CTX_new_ex(NULL);
533 BN_CTX_free(new_ctx);

Completed in 202 milliseconds

12