| /dragonfly/contrib/flex/src/ |
| HD | buf.c | 62 for (i=0; i < buf->nelts; i++){ in buf_print_strings() 127 buf_append(dest, src->elts, src->nelts); in buf_concat() 138 buf->nelts--; in buf_strnappend() 209 buf->nelts = 0; in buf_init() 238 if (n_elem + buf->nelts > buf->nmax) { in buf_append() 241 n_alloc = n_elem + buf->nelts; in buf_append() 262 memcpy ((char *) buf->elts + (size_t) buf->nelts * buf->elt_size, ptr, in buf_append() 264 buf->nelts += n_elem; in buf_append()
|
| /dragonfly/contrib/gcc-8.0/gcc/ |
| HD | rtx-vector-builder.c | 68 unsigned int nelts; in build() local 69 if (!GET_MODE_NUNITS (m_mode).is_constant (&nelts)) in build() 70 nelts = encoded_nelts (); in build() 71 rtvec v = rtvec_alloc (nelts); in build() 72 for (unsigned int i = 0; i < nelts; ++i) in build()
|
| HD | tree-vector-builder.c | 111 poly_uint64 nelts = TYPE_VECTOR_SUBPARTS (TREE_TYPE (t1)); in binary_encoded_nelts() local 112 gcc_assert (known_eq (nelts, TYPE_VECTOR_SUBPARTS (TREE_TYPE (t2)))); in binary_encoded_nelts() 119 if (nelts.is_constant (&const_nelts)) in binary_encoded_nelts()
|
| HD | tree-ssa-forwprop.c | 1827 unsigned HOST_WIDE_INT nelts; in simplify_bitfield_ref() local 1830 || !VECTOR_CST_NELTS (m).is_constant (&nelts)) in simplify_bitfield_ref() 1833 idx %= 2 * nelts; in simplify_bitfield_ref() 1834 if (idx < nelts) in simplify_bitfield_ref() 1841 idx -= nelts; in simplify_bitfield_ref() 1861 unsigned HOST_WIDE_INT nelts, i, j; in is_combined_permutation_identity() local 1871 if (!VECTOR_CST_NELTS (mask).is_constant (&nelts)) in is_combined_permutation_identity() 1873 for (i = 0; i < nelts; i++) in is_combined_permutation_identity() 1877 j = TREE_INT_CST_LOW (val) & (2 * nelts - 1); in is_combined_permutation_identity() 1880 else if (j == i + nelts) in is_combined_permutation_identity() [all …]
|
| HD | vector-builder.h | 186 unsigned int nelts = encoded_nelts (); variable 187 for (unsigned int i = 0; i < nelts; ++i)
|
| HD | fold-const-call.c | 591 unsigned HOST_WIDE_INT nelts; in fold_const_reduction() local 593 || !VECTOR_CST_NELTS (arg).is_constant (&nelts)) in fold_const_reduction() 597 for (unsigned HOST_WIDE_INT i = 1; i < nelts; i++) in fold_const_reduction() 1207 unsigned HOST_WIDE_INT nelts; in fold_const_fold_left() local 1208 if (!VECTOR_CST_NELTS (arg1).is_constant (&nelts)) in fold_const_fold_left() 1211 for (unsigned HOST_WIDE_INT i = 0; i < nelts; i++) in fold_const_fold_left()
|
| HD | tree-vect-generic.c | 1079 unsigned HOST_WIDE_INT nelts; in optimize_vector_constructor() local 1086 if (!TYPE_VECTOR_SUBPARTS (type).is_constant (&nelts) in optimize_vector_constructor() 1087 || nelts <= 2 in optimize_vector_constructor() 1088 || CONSTRUCTOR_NELTS (rhs) != nelts) in optimize_vector_constructor() 1103 for (j = 0; j < nelts + 1; j++) in optimize_vector_constructor() 1122 tree_vector_builder cst (type, nelts, 1); in optimize_vector_constructor() 1123 for (i = 0; i < nelts; i++) in optimize_vector_constructor() 1140 for (i = 0; i < nelts; i++) in optimize_vector_constructor()
|
| HD | tree-vect-slp.c | 226 poly_int64 nelts; in can_duplicate_and_interleave_p() local 232 if (multiple_p (current_vector_size, elt_bytes, &nelts) in can_duplicate_and_interleave_p() 237 tree vector_type = build_vector_type (int_type, nelts); in can_duplicate_and_interleave_p() 240 vec_perm_builder sel1 (nelts, 2, 3); in can_duplicate_and_interleave_p() 241 vec_perm_builder sel2 (nelts, 2, 3); in can_duplicate_and_interleave_p() 242 poly_int64 half_nelts = exact_div (nelts, 2); in can_duplicate_and_interleave_p() 246 sel1.quick_push (i + nelts); in can_duplicate_and_interleave_p() 248 sel2.quick_push (half_nelts + i + nelts); in can_duplicate_and_interleave_p() 250 vec_perm_indices indices1 (sel1, 2, nelts); in can_duplicate_and_interleave_p() 251 vec_perm_indices indices2 (sel2, 2, nelts); in can_duplicate_and_interleave_p() [all …]
|
| /dragonfly/contrib/gcc-4.7/libcpp/ |
| HD | symtab.c | 279 size_t nelts, nids, overhead, headers; in ht_dump_statistics() local 309 nelts = table->nelements; in ht_dump_statistics() 314 (unsigned long) nelts); in ht_dump_statistics() 316 (unsigned long) nids, nids * 100.0 / nelts); in ht_dump_statistics() 327 exp_len = (double)total_bytes / (double)nelts; in ht_dump_statistics() 329 exp_len2 = (double) sum_of_squares / (double) nelts; in ht_dump_statistics() 334 (double) nelts / (double) table->searches); in ht_dump_statistics()
|
| /dragonfly/contrib/gcc-8.0/libcpp/ |
| HD | symtab.c | 276 size_t nelts, nids, overhead, headers; in ht_dump_statistics() local 306 nelts = table->nelements; in ht_dump_statistics() 311 (unsigned long) nelts); in ht_dump_statistics() 313 (unsigned long) nids, nids * 100.0 / nelts); in ht_dump_statistics() 324 exp_len = (double)total_bytes / (double)nelts; in ht_dump_statistics() 326 exp_len2 = (double) sum_of_squares / (double) nelts; in ht_dump_statistics() 331 (double) nelts / (double) table->searches); in ht_dump_statistics()
|
| /dragonfly/contrib/gcc-8.0/gcc/cp/ |
| HD | init.c | 150 build_zero_init_1 (tree type, tree nelts, bool static_storage_p, in build_zero_init_1() argument 173 gcc_assert (nelts == NULL_TREE || TREE_CODE (nelts) == INTEGER_CST); in build_zero_init_1() 247 if (nelts) in build_zero_init_1() 249 MINUS_EXPR, TREE_TYPE (nelts), in build_zero_init_1() 250 nelts, integer_one_node); in build_zero_init_1() 314 build_zero_init (tree type, tree nelts, bool static_storage_p) in build_zero_init() argument 316 return build_zero_init_1 (type, nelts, static_storage_p, NULL_TREE); in build_zero_init() 2330 build_raw_new_expr (vec<tree, va_gc> *placement, tree type, tree nelts, in build_raw_new_expr() argument 2353 build_tree_list_vec (placement), type, nelts, in build_raw_new_expr() 2511 warn_placement_new_too_small (tree type, tree nelts, tree size, tree oper) in warn_placement_new_too_small() argument [all …]
|
| HD | constexpr.c | 751 unsigned nelts = 0; in cx_check_missing_mem_inits() local 757 nelts = CONSTRUCTOR_NELTS (body); in cx_check_missing_mem_inits() 763 if (nelts == 0 && next_initializable_field (field)) in cx_check_missing_mem_inits() 776 for (unsigned i = 0; i <= nelts; ++i) in cx_check_missing_mem_inits() 779 if (i < nelts) in cx_check_missing_mem_inits() 1991 tree nelts = array_type_nelts_top (TREE_TYPE (TREE_OPERAND (lhs, 0))); in cxx_fold_pointer_plus_expression() local 1992 nelts = cxx_eval_constant_expression (ctx, nelts, false, non_constant_p, in cxx_fold_pointer_plus_expression() 1997 if (!tree_int_cst_le (t, nelts)) in cxx_fold_pointer_plus_expression() 2330 tree nelts; in get_array_or_vector_nelts() local 2334 nelts = array_type_nelts_top (type); in get_array_or_vector_nelts() [all …]
|
| HD | cp-gimplify.c | 2547 vec<constructor_elt, va_gc> *nelts = NULL; in cp_fold() local 2556 vec_free (nelts); in cp_fold() 2559 if (nelts == NULL) in cp_fold() 2560 nelts = elts->copy (); in cp_fold() 2561 (*nelts)[i].value = op; in cp_fold() 2564 if (nelts) in cp_fold() 2566 x = build_constructor (TREE_TYPE (x), nelts); in cp_fold()
|
| /dragonfly/contrib/gcc-4.7/gcc/cp/ |
| HD | init.c | 148 build_zero_init_1 (tree type, tree nelts, bool static_storage_p, in build_zero_init_1() argument 171 gcc_assert (nelts == NULL_TREE || TREE_CODE (nelts) == INTEGER_CST); in build_zero_init_1() 240 if (nelts) in build_zero_init_1() 242 MINUS_EXPR, TREE_TYPE (nelts), in build_zero_init_1() 243 nelts, integer_one_node); in build_zero_init_1() 304 build_zero_init (tree type, tree nelts, bool static_storage_p) in build_zero_init() argument 306 return build_zero_init_1 (type, nelts, static_storage_p, NULL_TREE); in build_zero_init() 2058 build_raw_new_expr (VEC(tree,gc) *placement, tree type, tree nelts, in build_raw_new_expr() argument 2076 build_tree_list_vec (placement), type, nelts, in build_raw_new_expr() 2161 build_new_1 (VEC(tree,gc) **placement, tree type, tree nelts, in build_new_1() argument [all …]
|
| /dragonfly/contrib/gdb-7/gdb/cli/ |
| HD | cli-cmds.c | 782 if (! sals.nelts) in edit_command() 787 if (sals.nelts > 1) in edit_command() 906 if (!sals.nelts) in list_command() 908 if (sals.nelts > 1) in list_command() 942 if (sals_end.nelts == 0) in list_command() 944 if (sals_end.nelts > 1) in list_command() 1446 for (i = 0; i < sals->nelts; ++i) in ambiguous_line_spec() 1496 for (i = 0; i < sals->nelts; ++i) in filter_sals() 1505 sals->nelts = out; in filter_sals() 1507 qsort (sals->sals, sals->nelts, sizeof (struct symtab_and_line), in filter_sals() [all …]
|
| /dragonfly/contrib/gdb-7/gdb/ |
| HD | linespec.c | 849 ++sals->nelts; in add_sal_to_sals_basic() 850 sals->sals = xrealloc (sals->sals, sals->nelts * sizeof (sals->sals[0])); in add_sal_to_sals_basic() 851 sals->sals[sals->nelts - 1] = *sal; in add_sal_to_sals_basic() 874 (sals->nelts in add_sal_to_sals() 876 canonical = &self->canonical_names[sals->nelts - 1]; in add_sal_to_sals() 1266 for (j = 0; j < result->nelts; ++j) in filter_results() 1282 if (lsal.sals.nelts > 0) in filter_results() 1363 gdb_assert (result->nelts >= 1); in decode_line_2() 1368 items_count = result->nelts; in decode_line_2() 1836 values.nelts = 0; in create_sals_line_offset() [all …]
|
| HD | probe.c | 53 result.nelts = 0; in parse_probes() 138 ++result.nelts; in parse_probes() 140 result.nelts in parse_probes() 142 sal = &result.sals[result.nelts - 1]; in parse_probes() 154 if (result.nelts == 0) in parse_probes()
|
| HD | expression.h | 84 int nelts; member
|
| HD | expprint.c | 700 exp->language_defn->la_name, exp->nelts, in dump_raw_expression() 704 for (elt = 0; elt < exp->nelts; elt++) in dump_raw_expression() 1035 exp->language_defn->la_name, exp->nelts, in dump_prefix_expression() 1039 for (elt = 0; elt < exp->nelts;) in dump_prefix_expression()
|
| HD | parse.c | 211 expout->nelts = expout_ptr; in reallocate_expout() 833 int len = sizeof (struct expression) + EXP_ELEM_TO_BYTES (expr->nelts); in prefixify_expression() 835 int inpos = expr->nelts, outpos = 0; in prefixify_expression() 1861 for (endpos = exp->nelts; endpos > 0; ) in exp_iterate()
|
| HD | jv-exp.y | 486 expout_ptr -= name_expr->nelts; 1422 new->nelts = len; in copy_exp() 1433 int newlen = new->nelts; in insert_exp()
|
| /dragonfly/contrib/gcc-8.0/gcc/c/ |
| HD | c-fold.c | 76 tree nelts = array_type_nelts (TREE_TYPE (ary)); in c_fold_array_ref() local 78 nelts = c_fully_fold_internal (nelts, true, &dummy1, &dummy2, false, false); in c_fold_array_ref() 80 if (!tree_int_cst_le (index, nelts) in c_fold_array_ref()
|
| /dragonfly/sys/sys/ |
| HD | objcache.h | 78 void objcache_populate_linear(struct objcache *oc, void *elts, int nelts,
|
| /dragonfly/contrib/gdb-7/gdb/python/ |
| HD | python.c | 633 sals.nelts = 1; in gdbpy_decode_line() 650 if (sals.nelts) in gdbpy_decode_line() 654 result = PyTuple_New (sals.nelts); in gdbpy_decode_line() 657 for (i = 0; i < sals.nelts; ++i) in gdbpy_decode_line()
|
| /dragonfly/contrib/gcc-4.7/gcc/ |
| HD | fold-const.c | 8348 unsigned int nelts = TYPE_VECTOR_SUBPARTS (type), i; in fold_unary_loc() local 8352 gcc_assert (TYPE_VECTOR_SUBPARTS (TREE_TYPE (arg0)) == nelts * 2); in fold_unary_loc() 8356 elts = XALLOCAVEC (tree, nelts * 2); in fold_unary_loc() 8362 elts += nelts; in fold_unary_loc() 8369 for (i = 0; i < nelts; i++) in fold_unary_loc() 8376 for (i = 0; i < nelts; i++) in fold_unary_loc() 8377 vals = tree_cons (NULL_TREE, elts[nelts - i - 1], vals); in fold_unary_loc() 9643 unsigned int nelts = TYPE_VECTOR_SUBPARTS (TREE_TYPE (arg)), i; in vec_cst_ctor_to_array() local 9650 i < nelts && t; i++, t = TREE_CHAIN (t)) in vec_cst_ctor_to_array() 9660 if (i >= nelts) in vec_cst_ctor_to_array() [all …]
|