Home
last modified time | relevance | path

Searched refs:nelts (Results 1 – 25 of 35) sorted by relevance

12

/openbsd/src/usr.bin/lex/
Dbuf.c66 for (i = 0; i < buf->nelts; i++) { in buf_print_strings()
132 buf_append(dest, src->elts, src->nelts); in buf_concat()
144 buf->nelts--; in buf_strnappend()
220 buf->nelts = 0; in buf_init()
249 if (n_elem + buf->nelts > buf->nmax) { in buf_append()
252 n_alloc = (n_elem + buf->nelts) * buf->elt_size; in buf_append()
272 memcpy((char *) buf->elts + buf->nelts * buf->elt_size, ptr, in buf_append()
274 buf->nelts += n_elem; in buf_append()
Dmain.c452 m4defs_buf.nelts = 0; /* memory leak here. */ in check_options()
656 for (i = 0; i < defs_buf.nelts; i++) { in flexend()
Dflexdef.h1059 int nelts; /* number of elements. */ member
/openbsd/src/gnu/usr.bin/gcc/gcc/
Dhashtable.c247 size_t nelts, nids, overhead, headers; local
275 nelts = table->nelements;
280 (unsigned long) nelts);
282 (unsigned long) nids, nids * 100.0 / nelts);
291 exp_len = (double)total_bytes / (double)nelts;
293 exp_len2 = (double) sum_of_squares / (double) nelts;
298 (double) nelts / (double) table->searches);
Dbuiltins.c1059 int regno, size, align, nelts; local
1064 size = nelts = 0;
1073 savevec[nelts++] = (savep
1078 return gen_rtx_PARALLEL (VOIDmode, gen_rtvec_v (nelts, savevec));
/openbsd/src/gnu/usr.bin/binutils/gdb/
Dlinespec.c475 decode_line_2 (struct symbol *sym_arr[], int nelts, int funfirstline, in decode_line_2() argument
487 alloca (nelts * sizeof (struct symtab_and_line)); in decode_line_2()
489 xmalloc (nelts * sizeof (struct symtab_and_line)); in decode_line_2()
494 canonical_arr = (char **) xmalloc (nelts * sizeof (char *)); in decode_line_2()
496 memset (canonical_arr, 0, nelts * sizeof (char *)); in decode_line_2()
502 while (i < nelts) in decode_line_2()
556 for (i = 0; i < nelts; i++) in decode_line_2()
566 (nelts * sizeof (struct symtab_and_line))); in decode_line_2()
567 return_values.nelts = nelts; in decode_line_2()
572 if (num >= nelts + 2) in decode_line_2()
[all …]
Dbreakpoint.c4532 if (sals.nelts == 0) in solib_load_unload_1()
4539 if (sals.nelts != 1) in solib_load_unload_1()
4973 i + sals.nelts, 0); in create_breakpoints()
4983 for (i = 0; i < sals.nelts; i++) in create_breakpoints()
5064 sals->nelts = 1; in parse_breakpoint_sals()
5092 if (sals->nelts > 0 && *addr_string == NULL) in parse_breakpoint_sals()
5093 *addr_string = xcalloc (sals->nelts, sizeof (char **)); in parse_breakpoint_sals()
5097 for (i = 0; i < sals->nelts; i++) in parse_breakpoint_sals()
5115 for (i = 0; i < sals->nelts; i++) in breakpoint_sals_to_pc()
5188 sals.nelts = 0; in break_command_1()
[all …]
Dexpression.h365 int nelts; member
Dexpprint.c767 exp->language_defn->la_name, exp->nelts, in dump_raw_expression()
771 for (elt = 0; elt < exp->nelts; elt++) in dump_raw_expression()
1062 exp->language_defn->la_name, exp->nelts, in dump_prefix_expression()
1066 for (elt = 0; elt < exp->nelts;) in dump_prefix_expression()
Dparse.c789 sizeof (struct expression) + EXP_ELEM_TO_BYTES (expr->nelts); in prefixify_expression()
791 int inpos = expr->nelts, outpos = 0; in prefixify_expression()
1080 expout->nelts = expout_ptr; in parse_exp_in_context()
Dtracepoint.c397 if (!sals.nelts) in trace_command()
401 for (i = 0; i < sals.nelts; i++) in trace_command()
405 for (i = 0; i < sals.nelts; i++) in trace_command()
423 if (sals.nelts > 1) in trace_command()
2102 sals.nelts = 1; in trace_find_line_command()
2341 if (sals.nelts == 0) in scope_info()
Djv-exp.y479 expout_ptr -= name_expr->nelts;
1444 new->nelts = len;
1457 int newlen = new->nelts;
Dsource.c1317 sals.nelts = 1; in line_info()
1331 for (i = 0; i < sals.nelts; i++) in line_info()
1385 if (annotation_level && sals.nelts == 1) in line_info()
Dstack.c1915 sizeof (struct function_bounds) * sals.nelts); in func_command()
1916 for (i = 0; (i < sals.nelts && !found); i++) in func_command()
1931 for (i = 0; (i < sals.nelts && !found); i++) in func_command()
Djv-exp.c1630 expout_ptr -= name_expr->nelts;
2831 new->nelts = len;
2844 int newlen = new->nelts;
Dsymtab.h1208 int nelts; member
Dinfcmd.c846 if (sals.nelts != 1) in jump_command()
/openbsd/src/gnu/gcc/gcc/cp/
Dinit.c149 build_zero_init (tree type, tree nelts, bool static_storage_p) in build_zero_init() argument
171 gcc_assert (nelts == NULL_TREE || TREE_CODE (nelts) == INTEGER_CST); in build_zero_init()
220 if (nelts) in build_zero_init()
221 max_index = fold_build2 (MINUS_EXPR, TREE_TYPE (nelts), in build_zero_init()
222 nelts, integer_one_node); in build_zero_init()
279 build_default_init (tree type, tree nelts) in build_default_init() argument
309 || (nelts && TREE_CODE (nelts) != INTEGER_CST)) in build_default_init()
314 return build_zero_init (type, nelts, /*static_storage_p=*/false); in build_default_init()
1554 build_raw_new_expr (tree placement, tree type, tree nelts, tree init, in build_raw_new_expr() argument
1560 nelts, init); in build_raw_new_expr()
[all …]
Dparser.c5202 tree nelts; in cp_parser_new_expression() local
5239 nelts = NULL_TREE; in cp_parser_new_expression()
5243 type = cp_parser_new_type_id (parser, &nelts); in cp_parser_new_expression()
5257 return build_new (placement, type, nelts, initializer, global_scope_p); in cp_parser_new_expression()
5290 cp_parser_new_type_id (cp_parser* parser, tree *nelts) in cp_parser_new_type_id() argument
5316 *nelts = NULL_TREE; in cp_parser_new_type_id()
5337 *nelts = declarator->u.array.bounds; in cp_parser_new_type_id()
5338 if (*nelts == error_mark_node) in cp_parser_new_type_id()
5339 *nelts = integer_one_node; in cp_parser_new_type_id()
5348 if (TREE_CODE (type) == ARRAY_TYPE && *nelts == NULL_TREE) in cp_parser_new_type_id()
[all …]
Ddecl.c877 size_t i, nelts; in push_local_name() local
884 nelts = VEC_length (tree, local_names); in push_local_name()
885 for (i = 0; i < nelts; i++) in push_local_name()
5109 size_t nelts; in value_dependent_init_p() local
5113 nelts = VEC_length (constructor_elt, elts); in value_dependent_init_p()
5114 for (i = 0; i < nelts; ++i) in value_dependent_init_p()
/openbsd/src/gnu/gcc/libcpp/
Dsymtab.c255 size_t nelts, nids, overhead, headers; in ht_dump_statistics() local
283 nelts = table->nelements; in ht_dump_statistics()
288 (unsigned long) nelts); in ht_dump_statistics()
290 (unsigned long) nids, nids * 100.0 / nelts); in ht_dump_statistics()
299 exp_len = (double)total_bytes / (double)nelts; in ht_dump_statistics()
301 exp_len2 = (double) sum_of_squares / (double) nelts; in ht_dump_statistics()
306 (double) nelts / (double) table->searches); in ht_dump_statistics()
/openbsd/src/gnu/usr.bin/gcc/gcc/cp/
Dinit.c170 build_zero_init (tree type, tree nelts, bool static_storage_p) in build_zero_init() argument
192 my_friendly_assert (nelts == NULL_TREE || TREE_CODE (nelts) == INTEGER_CST, in build_zero_init()
245 max_index = nelts ? nelts : array_type_nelts (type); in build_zero_init()
283 build_default_init (type, nelts) in build_default_init() argument
285 tree nelts;
315 || (nelts && TREE_CODE (nelts) != INTEGER_CST))
320 return build_zero_init (type, nelts, /*static_storage_p=*/false);
1912 tree nelts = NULL_TREE, t; local
1927 nelts = integer_one_node;
1957 nelts = this_nelts;
[all …]
/openbsd/src/gnu/usr.bin/binutils/gdb/cli/
Dcli-cmds.c581 if (! sals.nelts) return; /* C++ */ in edit_command()
582 if (sals.nelts > 1) { in edit_command()
705 if (!sals.nelts) in list_command()
707 if (sals.nelts > 1) in list_command()
739 if (sals_end.nelts == 0) in list_command()
741 if (sals_end.nelts > 1) in list_command()
996 for (i = 0; i < sals->nelts; ++i) in ambiguous_line_spec()
/openbsd/src/gnu/gcc/gcc/config/bfin/
Dbfin.c1731 int nelts = 2 + !!sibcall; in bfin_expand_call() local
1764 nelts++; in bfin_expand_call()
1780 pat = gen_rtx_PARALLEL (VOIDmode, rtvec_alloc (nelts)); in bfin_expand_call()
/openbsd/src/gnu/gcc/gcc/
Dvarasm.c2300 int bitsize, nelts, nunits, units_per; in assemble_real() local
2316 nelts = CEIL (bitsize, 32); in assemble_real()
2328 for (i = 1; i < nelts; i++) in assemble_real()

12