Home
last modified time | relevance | path

Searched refs:elts (Results 1 – 25 of 88) sorted by relevance

1234

/openbsd/src/gnu/usr.bin/binutils/gdb/
Dexpprint.c79 opcode = exp->elts[pc].opcode; in print_subexp_standard()
87 fputs_filtered (type_name_no_tag (exp->elts[pc + 1].type), stream); in print_subexp_standard()
89 nargs = longest_to_int (exp->elts[pc + 2].longconst); in print_subexp_standard()
91 fputs_filtered (&exp->elts[pc + 3].string, stream); in print_subexp_standard()
96 value_print (value_from_longest (exp->elts[pc + 1].type, in print_subexp_standard()
97 exp->elts[pc + 2].longconst), in print_subexp_standard()
103 value_print (value_from_double (exp->elts[pc + 1].type, in print_subexp_standard()
104 exp->elts[pc + 2].doubleconst), in print_subexp_standard()
112 b = exp->elts[pc + 1].block; in print_subexp_standard()
120 fputs_filtered (SYMBOL_PRINT_NAME (exp->elts[pc + 2].symbol), stream); in print_subexp_standard()
[all …]
Deval.c180 if (exp->elts[*pos].opcode == OP_LABELED) in get_label()
183 char *name = &exp->elts[pc + 2].string; in get_label()
184 int tem = longest_to_int (exp->elts[pc + 1].longconst); in get_label()
345 if (exp->elts[*pos].opcode == BINOP_COMMA) in init_array_element()
353 else if (exp->elts[*pos].opcode == BINOP_RANGE) in init_array_element()
401 op = exp->elts[pc].opcode; in evaluate_subexp_standard()
406 tem = longest_to_int (exp->elts[pc + 2].longconst); in evaluate_subexp_standard()
408 arg1 = value_aggregate_elt (exp->elts[pc + 1].type, in evaluate_subexp_standard()
409 &exp->elts[pc + 3].string, in evaluate_subexp_standard()
412 error ("There is no field named %s", &exp->elts[pc + 3].string); in evaluate_subexp_standard()
[all …]
Dparse.c185 expout->elts[expout_ptr++] = expelt; in write_exp_elt()
308 strdata = (char *) &expout->elts[expout_ptr]; in write_exp_string()
356 strdata = (char *) &expout->elts[expout_ptr]; in write_exp_bitstring()
844 i = (int) expr->elts[endpos - 1].opcode; in operator_length_standard()
850 oplen = longest_to_int (expr->elts[endpos - 2].longconst); in operator_length_standard()
876 args = 1 + longest_to_int (expr->elts[endpos - 2].longconst); in operator_length_standard()
881 args = 1 + longest_to_int (expr->elts[endpos - 2].longconst); in operator_length_standard()
919 oplen = longest_to_int (expr->elts[endpos - 2].longconst); in operator_length_standard()
924 oplen = longest_to_int (expr->elts[endpos - 2].longconst); in operator_length_standard()
931 args = longest_to_int (expr->elts[endpos - 2].longconst); in operator_length_standard()
[all …]
Df-valprint.c51 int *elts);
284 int *elts) in f77_print_array_1() argument
290 for (i = 0; (i < F77_DIM_SIZE (nss) && (*elts) < print_max); i++) in f77_print_array_1()
296 stream, format, deref_ref, recurse, pretty, elts); in f77_print_array_1()
299 if (*elts >= print_max && i < F77_DIM_SIZE (nss)) in f77_print_array_1()
304 for (i = 0; i < F77_DIM_SIZE (nss) && (*elts) < print_max; in f77_print_array_1()
305 i++, (*elts)++) in f77_print_array_1()
316 if ((*elts == print_max - 1) && (i != (F77_DIM_SIZE (nss) - 1))) in f77_print_array_1()
331 int elts = 0; in f77_print_array() local
346 deref_ref, recurse, pretty, &elts); in f77_print_array()
Dscm-lang.c206 enum exp_opcode op = exp->elts[*pos].opcode; in evaluate_subexp_scm()
213 len = longest_to_int (exp->elts[pc + 1].longconst); in evaluate_subexp_scm()
217 str = &exp->elts[pc + 2].string; in evaluate_subexp_scm()
221 len = longest_to_int (exp->elts[pc + 1].longconst); in evaluate_subexp_scm()
225 str = &exp->elts[pc + 2].string; in evaluate_subexp_scm()
Dtypeprint.c190 if (exp->elts[0].opcode == OP_TYPE) in ptype_eval()
192 return (exp->elts[1].type); in ptype_eval()
334 if (expr->elts[0].opcode == OP_TYPE) in maintenance_print_type()
337 type = expr->elts[1].type; in maintenance_print_type()
Dada-lang.c2425 enum exp_opcode op = (*expp)->elts[pc].opcode; in resolve_subexp()
2437 if (exp->elts[pc + 3].opcode == OP_VAR_VALUE in resolve_subexp()
2438 && SYMBOL_DOMAIN (exp->elts[pc + 5].symbol) == UNDEF_DOMAIN) in resolve_subexp()
2445 nargs = longest_to_int (exp->elts[pc + 1].longconst); in resolve_subexp()
2450 resolve_subexp (expp, pos, 1, exp->elts[pc + 1].type); in resolve_subexp()
2559 *pos += 4 + BYTES_TO_EXP_ELEM (exp->elts[pc + 1].longconst + 1); in resolve_subexp()
2565 + BYTES_TO_EXP_ELEM (longest_to_int (exp->elts[pc + 1].longconst) in resolve_subexp()
2597 if (SYMBOL_DOMAIN (exp->elts[pc + 2].symbol) == UNDEF_DOMAIN) in resolve_subexp()
2604 (exp->elts[pc + 2].symbol), in resolve_subexp()
2605 exp->elts[pc + 1].block, VAR_DOMAIN, in resolve_subexp()
[all …]
Djv-exp.y553 if (base < 0 || expout->elts[base+2].opcode != OP_TYPE)
555 type = expout->elts[base+1].type;
559 expout->elts[base + i] = expout->elts[base + i + 3];
1445 memcpy (new->elts, expr->elts + endpos - len, EXP_ELEM_TO_BYTES (len));
1473 expout->elts[i + newlen] = expout->elts[i];
1476 memcpy (expout->elts + pos, new->elts, EXP_ELEM_TO_BYTES (newlen));
Djv-exp.c1708 if (base < 0 || expout->elts[base+2].opcode != OP_TYPE)
1710 type = expout->elts[base+1].type;
1714 expout->elts[base + i] = expout->elts[base + i + 3];
2832 memcpy (new->elts, expr->elts + endpos - len, EXP_ELEM_TO_BYTES (len));
2860 expout->elts[i + newlen] = expout->elts[i];
2863 memcpy (expout->elts + pos, new->elts, EXP_ELEM_TO_BYTES (newlen));
Dtracepoint.c957 if (exp->elts[0].opcode == OP_VAR_VALUE) in validate_actionline()
959 if (SYMBOL_CLASS (exp->elts[2].symbol) == LOC_CONST) in validate_actionline()
962 DEPRECATED_SYMBOL_NAME (exp->elts[2].symbol), in validate_actionline()
963 SYMBOL_VALUE (exp->elts[2].symbol)); in validate_actionline()
966 else if (SYMBOL_CLASS (exp->elts[2].symbol) == LOC_OPTIMIZED_OUT) in validate_actionline()
969 DEPRECATED_SYMBOL_NAME (exp->elts[2].symbol)); in validate_actionline()
1557 switch (exp->elts[0].opcode) in encode_actions()
1560 i = exp->elts[1].longconst; in encode_actions()
1570 len = TYPE_LENGTH (check_typedef (exp->elts[1].type)); in encode_actions()
1576 exp->elts[2].symbol, in encode_actions()
Dexpression.h366 union exp_element elts[1]; member
/openbsd/src/usr.bin/lex/
Dbuf.c67 const char *s = ((char **) buf->elts)[i]; in buf_print_strings()
132 buf_append(dest, src->elts, src->nelts); in buf_concat()
219 buf->elts = NULL; in buf_init()
229 free(buf->elts); in buf_destroy()
230 buf->elts = NULL; in buf_destroy()
262 if (!buf->elts) in buf_append()
263 buf->elts = in buf_append()
266 buf->elts = in buf_append()
267 reallocate_array(buf->elts, n_alloc, in buf_append()
272 memcpy((char *) buf->elts + buf->nelts * buf->elt_size, ptr, in buf_append()
Dmain.c440 buf_m4_define(&m4defs_buf, "M4_YY_SC_DEFS", tmpbuf.elts); in check_options()
447 if (top_buf.elts) in check_options()
448 outn((char *) top_buf.elts); in check_options()
458 if (userdef_buf.elts) in check_options()
459 outn((char *) (userdef_buf.elts)); in check_options()
659 if (sclookup(((char **) defs_buf.elts)[i]) > 0) in flexend()
662 ((char **) defs_buf.elts)[i]); in flexend()
Dmisc.c868 if (tablesext && yydmap_buf.elts) in skelout()
869 outn((char *) (yydmap_buf.elts)); in skelout()
/openbsd/src/lib/libcurses/
Dnc_alloc.h119 #define typeMalloc(type,elts) (type *)malloc((size_t)(elts)*sizeof(type)) argument
120 #define typeCalloc(type,elts) (type *)calloc((size_t)(elts),sizeof(type)) argument
121 #define typeRealloc(type,elts,ptr) (type *)_nc_doalloc(ptr, (size_t)(elts)*sizeof(type)) argument
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
DConstantInitBuilder.cpp270 auto elts = llvm::ArrayRef(buffer).slice(Begin); in finishArray() local
271 if (!eltTy) eltTy = elts[0]->getType(); in finishArray()
272 auto type = llvm::ArrayType::get(eltTy, elts.size()); in finishArray()
273 auto constant = llvm::ConstantArray::get(type, elts); in finishArray()
283 auto elts = llvm::ArrayRef(buffer).slice(Begin); in finishStruct() local
285 if (ty == nullptr && elts.empty()) in finishStruct()
291 constant = llvm::ConstantStruct::get(ty, elts); in finishStruct()
293 constant = llvm::ConstantStruct::getAnon(elts, Packed); in finishStruct()
DSwiftCallingConv.cpp579 SmallVector<llvm::Type*, 8> elts; in getCoerceAndExpandTypes() local
590 elts.push_back(padding); in getCoerceAndExpandTypes()
598 elts.push_back(entry.Type); in getCoerceAndExpandTypes()
606 auto coercionType = llvm::StructType::get(ctx, elts, packed); in getCoerceAndExpandTypes()
610 elts.clear(); in getCoerceAndExpandTypes()
612 elts.push_back(entry.Type); in getCoerceAndExpandTypes()
614 if (elts.size() == 1) { in getCoerceAndExpandTypes()
615 unpaddedType = elts[0]; in getCoerceAndExpandTypes()
617 unpaddedType = llvm::StructType::get(ctx, elts, /*packed*/ false); in getCoerceAndExpandTypes()
/openbsd/src/gnu/gcc/gcc/
Dtree-ssa-address.c354 comb->elts[m] = comb->elts[comb->n]; in aff_combination_remove_elt()
359 comb->elts[comb->n] = comb->rest; in aff_combination_remove_elt()
380 val = addr->elts[i]; in move_fixed_address_to_symbol()
408 val = addr->elts[i]; in move_pointer_to_base()
482 addr->elts[j] = addr->elts[i]; in most_expensive_mult_to_index()
487 elt = fold_convert (sizetype, addr->elts[i]); in most_expensive_mult_to_index()
540 part = fold_convert (sizetype, addr->elts[i]); in addr_to_parts()
/openbsd/src/gnu/llvm/llvm/include/llvm/IR/
DDerivedTypes.h246 create(StringRef Name, Type *elt1, Tys *... elts) { in create() argument
248 return create(ArrayRef<Type *>({elt1, elts...}), Name); in create()
263 get(Type *elt1, Tys *... elts) { in get() argument
266 return StructType::get(Ctx, ArrayRef<Type *>({elt1, elts...})); in get()
306 setBody(Type *elt1, Tys *... elts) { in setBody() argument
308 setBody(ArrayRef<Type *>({elt1, elts...})); in setBody()
/openbsd/src/gnu/llvm/clang/utils/ABITest/
DEnumeration.py140 elts = [None]*W
142 elts[i],N = getNthPairBounded(N, H)
143 return tuple(elts)
/openbsd/src/gnu/lib/libiberty/src/
Dhashtab.c477 size_t nsize, osize, elts; in htab_expand() local
484 elts = htab_elements (htab); in htab_expand()
488 if (elts * 2 > osize || (elts * 8 < osize && osize > 32)) in htab_expand()
490 nindex = higher_prime_index (elts * 2); in htab_expand()
/openbsd/src/gnu/usr.bin/gcc/gcc/cp/
Dtypeck2.c710 process_init_constructor (type, init, elts) in process_init_constructor() argument
711 tree type, init, *elts; in process_init_constructor()
726 if (elts)
730 tail = *elts;
1021 if (elts)
1022 *elts = tail;
/openbsd/src/gnu/usr.bin/binutils-2.17/bfd/
Dieee.c1299 ieee_ar_obstack_type *elts = NULL; in ieee_archive_p() local
1335 elts = bfd_malloc (alc_elts * sizeof *elts); in ieee_archive_p()
1336 if (elts == NULL) in ieee_archive_p()
1354 n = bfd_realloc (elts, alc_elts * sizeof (* elts)); in ieee_archive_p()
1357 elts = n; in ieee_archive_p()
1360 t = &elts[ieee->element_count]; in ieee_archive_p()
1388 memcpy (ieee->elements, elts, (size_t) amt); in ieee_archive_p()
1389 free (elts); in ieee_archive_p()
1390 elts = NULL; in ieee_archive_p()
1421 if (elts != NULL) in ieee_archive_p()
[all …]
/openbsd/src/gnu/usr.bin/binutils/bfd/
Dieee.c1462 ieee_ar_obstack_type *elts = NULL; local
1498 elts = (ieee_ar_obstack_type *) bfd_malloc (alc_elts * sizeof *elts);
1499 if (elts == NULL)
1518 bfd_realloc (elts, alc_elts * sizeof *elts));
1521 elts = n;
1524 t = &elts[ieee->element_count];
1552 memcpy (ieee->elements, elts, (size_t) amt);
1553 free (elts);
1554 elts = NULL;
1585 if (elts != NULL)
[all …]
/openbsd/src/gnu/usr.bin/perl/ext/Devel-Peek/
DChanges53 Better indent for AV, HV elts.

1234