Home
last modified time | relevance | path

Searched refs:elt (Results 1 – 25 of 180) sorted by relevance

12345678

/netbsd/src/lib/libc/include/isc/
Dlist.h29 #define INIT_LINK_TYPE(elt, link, type) \ argument
31 (elt)->link.prev = (type *)(-1); \
32 (elt)->link.next = (type *)(-1); \
34 #define INIT_LINK(elt, link) \ argument
35 INIT_LINK_TYPE(elt, link, void)
36 #define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1) && \ argument
37 (void *)((elt)->link.next) != (void *)(-1))
43 #define PREPEND(list, elt, link) \ argument
45 INSIST(!LINKED(elt, link));\
47 (list).head->link.prev = (elt); \
[all …]
/netbsd/src/external/bsd/libbind/dist/include/isc/
Dlist.h29 #define INIT_LINK_TYPE(elt, link, type) \ argument
31 (elt)->link.prev = (type *)(-1); \
32 (elt)->link.next = (type *)(-1); \
34 #define INIT_LINK(elt, link) \ argument
35 INIT_LINK_TYPE(elt, link, void)
36 #define LINKED(elt, link) ((void *)((elt)->link.prev) != (void *)(-1) && \ argument
37 (void *)((elt)->link.next) != (void *)(-1))
43 #define PREPEND(list, elt, link) \ argument
45 INSIST(!LINKED(elt, link));\
47 (list).head->link.prev = (elt); \
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dtype-stack.h85 type_stack_elt elt; in push() local
86 elt.piece = tp; in push()
87 m_elements.push_back (elt); in push()
92 type_stack_elt elt; in push() local
93 elt.int_val = n; in push()
94 m_elements.push_back (elt); in push()
101 type_stack_elt elt; in push() local
102 elt.stack_val = stack; in push()
103 m_elements.push_back (elt); in push()
113 type_stack_elt elt; in push() local
[all …]
/netbsd/src/sys/uvm/
Duvm_aobj.c83 #define UAO_SWHASH_ELT_PAGESLOT(elt, idx) \ argument
84 ((elt)->slots[UAO_SWHASH_ELT_PAGESLOT_IDX(idx)])
88 ((elt)->tag << UAO_SWHASH_CLUSTER_SHIFT)
207 struct uao_swhash_elt *elt; local
217 LIST_FOREACH(elt, swhash, list) {
218 if (elt->tag == page_tag) {
219 return elt;
230 elt = pool_get(&uao_swhash_elt_pool, PR_NOWAIT);
231 if (elt == NULL) {
234 LIST_INSERT_HEAD(swhash, elt, list);
[all …]
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/
Datexit_thread.cc58 struct elt struct
62 elt *next; argument
71 elt *single_thread;
76 elt *e = static_cast<elt*>(p); in run()
79 elt *old_e = e; in run()
146 elt *first; in __cxa_thread_atexit()
148 first = static_cast<elt*>(__gthread_getspecific (key)); in __cxa_thread_atexit()
152 elt *new_elt = new (std::nothrow) elt; in __cxa_thread_atexit()
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dcse.cc617 struct table_elt *elt; in dump_class() local
623 for (elt = classp->first_same_value; elt; elt = elt->next_same_value) in dump_class()
625 print_rtl (stderr, elt->exp); in dump_class()
1191 struct table_elt *elt; in insert_const_anchor() local
1198 elt = lookup (anchor_exp, hash, mode); in insert_const_anchor()
1199 if (!elt) in insert_const_anchor()
1200 elt = insert (anchor_exp, NULL, hash, mode); in insert_const_anchor()
1214 insert_with_costs (exp, elt, hash, mode, COST (reg, mode), 1); in insert_const_anchor()
1249 struct table_elt *elt; in find_reg_offset_for_const() local
1259 for (elt = anchor_elt->first_same_value, idx = 0; in find_reg_offset_for_const()
[all …]
Dbitmap.cc78 bitmap_elem_to_freelist (bitmap head, bitmap_element *elt) in bitmap_elem_to_freelist() argument
85 elt->next = NULL; in bitmap_elem_to_freelist()
86 elt->indx = -1; in bitmap_elem_to_freelist()
89 elt->prev = bit_obstack->elements; in bitmap_elem_to_freelist()
90 bit_obstack->elements = elt; in bitmap_elem_to_freelist()
94 elt->prev = bitmap_ggc_free; in bitmap_elem_to_freelist()
95 bitmap_ggc_free = elt; in bitmap_elem_to_freelist()
155 bitmap_elt_clear_from (bitmap head, bitmap_element *elt) in bitmap_elt_clear_from() argument
160 if (!elt) in bitmap_elt_clear_from()
164 elt = bitmap_tree_listify_from (head, elt); in bitmap_elt_clear_from()
[all …]
Drtx-vector-builder.cc73 RTVEC_ELT (v, i) = elt (i); in build()
89 rtx elt = (*this)[0]; in find_cached_value() local
93 if (elt == const1_rtx) in find_cached_value()
95 else if (elt == constm1_rtx) in find_cached_value()
97 else if (elt == const0_rtx) in find_cached_value()
106 if (elt == CONST0_RTX (inner_mode)) in find_cached_value()
108 else if (elt == CONST1_RTX (inner_mode)) in find_cached_value()
110 else if (elt == CONSTM1_RTX (inner_mode)) in find_cached_value()
Dtree-affine.cc78 aff_combination_elt (aff_tree *comb, tree type, tree elt) in aff_combination_elt() argument
83 comb->elts[0].val = elt; in aff_combination_elt()
140 aff_combination_add_elt (aff_tree *comb, tree elt, const widest_int &scale_in) in aff_combination_add_elt() argument
150 if (operand_equal_p (comb->elts[i].val, elt, 0)) in aff_combination_add_elt()
176 comb->elts[comb->n].val = elt; in aff_combination_add_elt()
186 elt = fold_convert (type, elt); in aff_combination_add_elt()
188 elt = fold_build2 (MULT_EXPR, type, in aff_combination_add_elt()
189 fold_convert (type, elt), in aff_combination_add_elt()
194 elt); in aff_combination_add_elt()
196 comb->rest = elt; in aff_combination_add_elt()
[all …]
Dstmt.cc890 tree elt; in expand_case() local
918 elt = gimple_switch_label (stmt, 1); in expand_case()
919 minval = fold_convert (index_type, CASE_LOW (elt)); in expand_case()
920 elt = gimple_switch_label (stmt, ncases - 1); in expand_case()
921 if (CASE_HIGH (elt)) in expand_case()
922 maxval = fold_convert (index_type, CASE_HIGH (elt)); in expand_case()
924 maxval = fold_convert (index_type, CASE_LOW (elt)); in expand_case()
960 elt = gimple_switch_label (stmt, i); in expand_case()
961 tree low = CASE_LOW (elt); in expand_case()
963 tree high = CASE_HIGH (elt); in expand_case()
[all …]
Dtree-ssa-loop-ivcanon.cc496 class nb_iter_bound *elt; in remove_exits_and_undefined_stmts() local
499 for (elt = loop->bounds; elt; elt = elt->next) in remove_exits_and_undefined_stmts()
504 if (!elt->is_exit in remove_exits_and_undefined_stmts()
505 && wi::ltu_p (elt->bound, npeeled)) in remove_exits_and_undefined_stmts()
507 gimple_stmt_iterator gsi = gsi_for_stmt (elt->stmt); in remove_exits_and_undefined_stmts()
510 gimple_set_location (stmt, gimple_location (elt->stmt)); in remove_exits_and_undefined_stmts()
517 print_gimple_stmt (dump_file, elt->stmt, 0); in remove_exits_and_undefined_stmts()
521 else if (elt->is_exit in remove_exits_and_undefined_stmts()
522 && wi::leu_p (elt->bound, npeeled)) in remove_exits_and_undefined_stmts()
524 basic_block bb = gimple_bb (elt->stmt); in remove_exits_and_undefined_stmts()
[all …]
Dtree-vector-builder.h107 tree_vector_builder::integral_p (const_tree elt) const in integral_p() argument
109 return TREE_CODE (elt) == INTEGER_CST; in integral_p()
126 tree_vector_builder::can_elide_p (const_tree elt) const in can_elide_p() argument
128 return !CONSTANT_CLASS_P (elt) || !TREE_OVERFLOW (elt); in can_elide_p()
Dvec-perm-indices.h120 vec_perm_indices::clamp (element_type elt) const in clamp() argument
124 if (!can_div_trunc_p (elt, limit, &input, &elem_within_input)) in clamp()
125 return elt; in clamp()
141 return clamp (m_encoding.elt (i));
Dcselib.cc41 cselib_val *elt; member
283 new_elt_list (struct elt_list *next, cselib_val *elt) in new_elt_list() argument
287 el->elt = elt; in new_elt_list()
829 || REG_VALUES (REGNO (x))->elt == NULL) in cselib_reg_set_mode()
832 return GET_MODE (REG_VALUES (REGNO (x))->elt->val_rtx); in cselib_reg_set_mode()
1385 rtx elt; in cselib_hash_rtx() local
1391 elt = CONST_VECTOR_ENCODED_ELT (x, i); in cselib_hash_rtx()
1392 hash += cselib_hash_rtx (elt, 0, memmode); in cselib_hash_rtx()
1647 if (GET_MODE (l->elt->val_rtx) == mode) in cselib_lookup_mem()
1649 for (elt_loc_list *l2 = l->elt->locs; l2; l2 = l2->next) in cselib_lookup_mem()
[all …]
Dtree-emutls.cc159 constructor_elt elt; in default_emutls_var_init() local
163 elt.index = field; in default_emutls_var_init()
164 elt.value = fold_convert (TREE_TYPE (field), DECL_SIZE_UNIT (decl)); in default_emutls_var_init()
165 v->quick_push (elt); in default_emutls_var_init()
168 elt.index = field; in default_emutls_var_init()
169 elt.value = build_int_cst (TREE_TYPE (field), in default_emutls_var_init()
171 v->quick_push (elt); in default_emutls_var_init()
174 elt.index = field; in default_emutls_var_init()
175 elt.value = null_pointer_node; in default_emutls_var_init()
176 v->quick_push (elt); in default_emutls_var_init()
[all …]
/netbsd/src/external/bsd/libbind/dist/isc/
Dheap.c108 float_up(heap_context ctx, int i, void *elt) { in float_up() argument
112 i > 1 && ctx->higher_priority(elt, ctx->heap[p]); in float_up()
118 ctx->heap[i] = elt; in float_up()
124 sink_down(heap_context ctx, int i, void *elt) { in sink_down() argument
135 if (ctx->higher_priority(elt, ctx->heap[j])) in sink_down()
142 ctx->heap[i] = elt; in sink_down()
148 heap_insert(heap_context ctx, void *elt) { in heap_insert() argument
151 if (ctx == NULL || elt == NULL) { in heap_insert()
160 float_up(ctx, i, elt); in heap_insert()
167 void *elt; in heap_delete() local
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/config/mcore/
Dpredicates.md274 rtx elt = XVECEXP (op, 0, i);
276 if (GET_CODE (elt) != SET
277 || GET_CODE (SET_DEST (elt)) != REG
278 || GET_MODE (SET_DEST (elt)) != SImode
279 || REGNO (SET_DEST (elt)) != (unsigned) (dest_regno + i)
280 || GET_CODE (SET_SRC (elt)) != MEM
281 || GET_MODE (SET_SRC (elt)) != SImode
282 || GET_CODE (XEXP (SET_SRC (elt), 0)) != PLUS
283 || ! rtx_equal_p (XEXP (XEXP (SET_SRC (elt), 0), 0), src_addr)
284 || GET_CODE (XEXP (XEXP (SET_SRC (elt), 0), 1)) != CONST_INT
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/config/
Dvxworks.cc113 constructor_elt elt = {field, fold_convert (TREE_TYPE (field), tmpl_addr)}; in vxworks_emutls_var_init() local
114 v->quick_push (elt); in vxworks_emutls_var_init()
117 elt.index = field; in vxworks_emutls_var_init()
118 elt.value = build_int_cst (TREE_TYPE (field), 0); in vxworks_emutls_var_init()
119 v->quick_push (elt); in vxworks_emutls_var_init()
122 elt.index = field; in vxworks_emutls_var_init()
123 elt.value = fold_convert (TREE_TYPE (field), DECL_SIZE_UNIT (decl)); in vxworks_emutls_var_init()
124 v->quick_push (elt); in vxworks_emutls_var_init()
/netbsd/src/external/gpl3/gcc/dist/gcc/config/i386/
Dpredicates.md1082 rtx elt = CONST_VECTOR_ELT (op, n_elts);
1083 if (elt != CONST0_RTX (GET_MODE_INNER (GET_MODE (op))))
1604 rtx elt = XVECEXP (op, 0, i+1);
1606 if (GET_CODE (elt) != SET
1607 || GET_CODE (SET_DEST (elt)) != REG
1608 || GET_MODE (SET_DEST (elt)) != V8SImode
1609 || REGNO (SET_DEST (elt)) != GET_SSE_REGNO (i)
1610 || SET_SRC (elt) != CONST0_RTX (V8SImode))
1636 int nunits, elt;
1652 for (elt = 0; elt < nunits; elt++)
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/config/rs6000/
Dpredicates.md758 int elt;
761 elt = BYTES_BIG_ENDIAN ? GET_MODE_NUNITS (mode) - 1 : 0;
762 val = const_vector_elt_as_int (op, elt);
775 int elt, sz = easy_altivec_constant (op, mode);
780 elt = BYTES_BIG_ENDIAN ? GET_MODE_NUNITS (mode) - 1 : 0;
783 if (const_vector_elt_as_int (op, elt) != 0)
785 elt += (BYTES_BIG_ENDIAN ? -1 : 1) * (sz - isz) / isz;
789 val = const_vector_elt_as_int (op, elt);
806 rtx elt;
807 if (!const_vec_duplicate_p (op, &elt))
[all …]
/netbsd/src/external/gpl3/binutils/dist/binutils/
Dbinemul.c82 bfd *elt; in do_ar_emul_append() local
85 for (elt = bfd_openr_next_archived_file (new_bfd, NULL); in do_ar_emul_append()
86 elt; in do_ar_emul_append()
87 elt = bfd_openr_next_archived_file (new_bfd, elt)) in do_ar_emul_append()
89 if (do_ar_emul_append (after_bfd, elt, verbose, true, check)) in do_ar_emul_append()
/netbsd/src/external/gpl3/gdb/dist/gdb/python/
Dpy-cmd.c306 gdbpy_ref<> elt (PyIter_Next (iter.get ())); in cmdpy_completer()
307 if (elt == NULL) in cmdpy_completer()
314 if (! gdbpy_is_string (elt.get ())) in cmdpy_completer()
321 item (python_string_to_host_string (elt.get ())); in cmdpy_completer()
352 struct cmd_list_element *elt; in gdbpy_parse_command_name() local
387 elt = lookup_cmd_1 (&prefix_text2, *start_list, NULL, NULL, 1); in gdbpy_parse_command_name()
388 if (elt == NULL || elt == CMD_LIST_AMBIGUOUS) in gdbpy_parse_command_name()
395 if (elt->is_prefix ()) in gdbpy_parse_command_name()
397 *base_list = elt->subcommands; in gdbpy_parse_command_name()
/netbsd/src/external/gpl3/gcc/dist/gcc/config/s390/
Dpredicates.md423 rtx elt = XVECEXP (op, 0, i);
425 if (GET_CODE (elt) != SET
426 || GET_CODE (SET_DEST (elt)) != REG
427 || GET_MODE (SET_DEST (elt)) != elt_mode
428 || REGNO (SET_DEST (elt)) != dest_regno + i
429 || GET_CODE (SET_SRC (elt)) != MEM
430 || GET_MODE (SET_SRC (elt)) != elt_mode
431 || GET_CODE (XEXP (SET_SRC (elt), 0)) != PLUS
432 || ! rtx_equal_p (XEXP (XEXP (SET_SRC (elt), 0), 0), src_addr)
433 || GET_CODE (XEXP (XEXP (SET_SRC (elt), 0), 1)) != CONST_INT
[all …]
/netbsd/src/external/gpl3/gcc/dist/gcc/config/cris/
Dcris.cc511 rtx elt; in cris_movem_load_rest_p() local
548 elt = XVECEXP (op, 0, 0); in cris_movem_load_rest_p()
549 src_addr = XEXP (SET_SRC (elt), 0); in cris_movem_load_rest_p()
551 if (GET_CODE (elt) != SET in cris_movem_load_rest_p()
552 || !REG_P (SET_DEST (elt)) in cris_movem_load_rest_p()
553 || GET_MODE (SET_DEST (elt)) != SImode in cris_movem_load_rest_p()
554 || REGNO (SET_DEST (elt)) != regno in cris_movem_load_rest_p()
555 || !MEM_P (SET_SRC (elt)) in cris_movem_load_rest_p()
556 || GET_MODE (SET_SRC (elt)) != SImode in cris_movem_load_rest_p()
562 rtx elt = XVECEXP (op, 0, i); in cris_movem_load_rest_p() local
[all …]
/netbsd/src/external/gpl3/gcc/dist/libcpp/
Dmkdeps.cc67 void push (const T &elt) in push() argument
74 ary[num++] = elt; in push()
310 mkdeps::velt elt; in deps_add_vpath() local
311 elt.len = p - elem; in deps_add_vpath()
312 char *str = XNEWVEC (char, elt.len + 1); in deps_add_vpath()
313 elt.str = str; in deps_add_vpath()
314 memcpy (str, elem, elt.len); in deps_add_vpath()
315 str[elt.len] = '\0'; in deps_add_vpath()
319 d->vpath.push (elt); in deps_add_vpath()

12345678