Home
last modified time | relevance | path

Searched refs:listp (Results 1 – 25 of 31) sorted by relevance

12

/dragonfly/contrib/gcc-4.7/gcc/
H A Dlists.c49 prev_link = *listp; in free_list()
66 *listp = 0; in free_list()
75 listp = &XEXP (*listp, 1); in find_list_elem()
76 return listp; in find_list_elem()
85 node = *listp; in remove_list_node()
97 listp = find_list_elem (elem, listp); in remove_list_elem()
98 node = *listp; in remove_list_elem()
153 if (*listp == 0) in free_EXPR_LIST_list()
162 if (*listp == 0) in free_INSN_LIST_list()
227 rtx node = *listp; in remove_free_INSN_LIST_node()
[all …]
H A Dsched-deps.c1566 add_dependence_list (insn, *listp, uncond, dep_type); in add_dependence_list_and_free()
1574 free_INSN_LIST_list (listp); in add_dependence_list_and_free()
1581 remove_from_dependence_list (rtx insn, rtx* listp) in remove_from_dependence_list() argument
1585 while (*listp) in remove_from_dependence_list()
1587 if (XEXP (*listp, 0) == insn) in remove_from_dependence_list()
1589 remove_free_INSN_LIST_node (listp); in remove_from_dependence_list()
1594 listp = &XEXP (*listp, 1); in remove_from_dependence_list()
1606 while (*listp) in remove_from_both_dependence_lists()
1608 if (XEXP (*listp, 0) == insn) in remove_from_both_dependence_lists()
1610 remove_free_INSN_LIST_node (listp); in remove_from_both_dependence_lists()
[all …]
H A Dvar-tracking.c1435 *listp = NULL; in attrs_list_clear()
1461 list->next = *listp; in attrs_list_insert()
1462 *listp = list; in attrs_list_insert()
3358 for (listp = &list->next; (list = *listp); listp = &list->next) in canonicalize_values_star()
3365 *listp = list->next; in canonicalize_values_star()
3367 list = *listp; in canonicalize_values_star()
3376 for (listp = &list->next; (list = *listp); listp = &list->next) in canonicalize_values_star()
3385 list = *listp; in canonicalize_values_star()
3821 attrs list, *listp; in dataflow_set_equiv_regs() local
3871 for (listp = &set->regs[i]; (list = *listp); in dataflow_set_equiv_regs()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dlists.c45 prev_link = *listp; in free_list()
61 *unused_listp = *listp; in free_list()
62 *listp = 0; in free_list()
71 listp = &XEXP (*listp, 1); in find_list_elem()
72 return listp; in find_list_elem()
81 node = *listp; in remove_list_node()
82 *listp = XEXP (node, 1); in remove_list_node()
93 listp = find_list_elem (elem, listp); in remove_list_elem()
94 node = *listp; in remove_list_elem()
149 if (*listp == 0) in free_EXPR_LIST_list()
[all …]
H A Dsched-deps.c1578 rtx_insn_list **listp, in add_dependence_list_and_free() argument
1589 free_INSN_LIST_list (listp); in add_dependence_list_and_free()
1600 while (*listp) in remove_from_dependence_list()
1602 if ((*listp)->insn () == insn) in remove_from_dependence_list()
1604 remove_free_INSN_LIST_node (listp); in remove_from_dependence_list()
1609 listp = (rtx_insn_list **)&XEXP (*listp, 1); in remove_from_dependence_list()
1618 rtx_insn_list **listp, in remove_from_both_dependence_lists() argument
1623 while (*listp) in remove_from_both_dependence_lists()
1625 if (XEXP (*listp, 0) == insn) in remove_from_both_dependence_lists()
1627 remove_free_INSN_LIST_node (listp); in remove_from_both_dependence_lists()
[all …]
H A Dvar-tracking.c1503 *listp = NULL; in attrs_list_clear()
1527 list->next = *listp; in attrs_list_insert()
1528 *listp = list; in attrs_list_insert()
3839 for (listp = &list->next; (list = *listp); listp = &list->next) in canonicalize_values_star()
3846 *listp = list->next; in canonicalize_values_star()
3848 list = *listp; in canonicalize_values_star()
3857 for (listp = &list->next; (list = *listp); listp = &list->next) in canonicalize_values_star()
3864 *listp = list->next; in canonicalize_values_star()
3866 list = *listp; in canonicalize_values_star()
4349 for (listp = &set->regs[i]; (list = *listp); in dataflow_set_equiv_regs()
[all …]
/dragonfly/usr.bin/calendar/
H A Dutils.c169 list_addfront(struct node *listp, struct node *newp) in list_addfront() argument
171 newp->next = listp; in list_addfront()
181 list_lookup(struct node *listp, const char *name, in list_lookup() argument
184 for ( ; listp; listp = listp->next) { in list_lookup()
185 if ((*cmp)(name, listp->name) == 0) { in list_lookup()
187 *data_out = listp->data; in list_lookup()
199 list_freeall(struct node *listp, in list_freeall() argument
205 while (listp) { in list_freeall()
206 cur = listp; in list_freeall()
207 listp = listp->next; in list_freeall()
H A Dutils.h264 struct node * list_addfront(struct node *listp, struct node *newp);
265 bool list_lookup(struct node *listp, const char *name,
268 void list_freeall(struct node *listp, void (*free_name)(void *),
/dragonfly/sys/ddb/
H A Ddb_output.c183 __va_list listp; in db_printf() local
185 __va_start(listp, fmt); in db_printf()
186 kvcprintf (fmt, db_putchar, NULL, listp); in db_printf()
187 __va_end(listp); in db_printf()
204 __va_list listp; in db_iprintf() local
210 __va_start(listp, fmt); in db_iprintf()
211 kvcprintf (fmt, db_putchar, NULL, listp); in db_iprintf()
212 __va_end(listp); in db_iprintf()
/dragonfly/contrib/binutils-2.34/bfd/
H A Delf-properties.c243 elf_find_and_remove_property (elf_property_list **listp, in elf_find_and_remove_property() argument
248 for (list = *listp; list; list = list->next) in elf_find_and_remove_property()
254 *listp = list->next; in elf_find_and_remove_property()
259 listp = &list->next; in elf_find_and_remove_property()
269 bfd *abfd, elf_property_list **listp) in elf_merge_gnu_property_list() argument
288 pr = elf_find_and_remove_property (listp, p->property.pr_type, in elf_merge_gnu_property_list()
356 for (p = *listp; p != NULL; p = p->next) in elf_merge_gnu_property_list()
559 elf_property_list **listp = &null_ptr; in _bfd_elf_link_setup_gnu_properties() local
571 listp = &elf_properties (abfd); in _bfd_elf_link_setup_gnu_properties()
580 elf_merge_gnu_property_list (info, first_pbfd, abfd, listp); in _bfd_elf_link_setup_gnu_properties()
/dragonfly/contrib/cvs-1.12/src/
H A Drecurse.c24 static void addlist (List ** listp, char *key);
26 static void addfile (List **listp, char *dir, char *file);
1267 addlist (List **listp, char *key) in addlist() argument
1271 if (*listp == NULL) in addlist()
1272 *listp = getlist (); in addlist()
1276 if (addnode (*listp, p) != 0) in addlist()
1281 addfile (List **listp, char *dir, char *file) in addfile() argument
1287 addlist (listp, dir); in addfile()
1289 n = findnode (*listp, dir); in addfile()
H A Dhash.c89 dellist (List **listp) in dellist() argument
95 if (*listp == NULL) in dellist()
98 tmp = *listp; in dellist()
99 *listp = NULL; in dellist()
H A Dhash.h62 void dellist (List **listp);
/dragonfly/crypto/openssh/
H A Dssh-add.c650 stringlist_append(char ***listp, const char *s) in stringlist_append() argument
654 if (*listp == NULL) in stringlist_append()
655 *listp = xcalloc(2, sizeof(**listp)); in stringlist_append()
657 for (i = 0; (*listp)[i] != NULL; i++) in stringlist_append()
659 *listp = xrecallocarray(*listp, i + 1, i + 2, sizeof(**listp)); in stringlist_append()
661 (*listp)[i] = xstrdup(s); in stringlist_append()
H A Dkex.c225 kex_assemble_names(char **listp, const char *def, const char *all) in kex_assemble_names() argument
231 if (listp == NULL || def == NULL || all == NULL) in kex_assemble_names()
234 if (*listp == NULL || **listp == '\0') { in kex_assemble_names()
235 if ((*listp = strdup(def)) == NULL) in kex_assemble_names()
240 list = *listp; in kex_assemble_names()
241 *listp = NULL; in kex_assemble_names()
252 if ((*listp = match_filter_denylist(def, list + 1)) == NULL) { in kex_assemble_names()
308 *listp = ret; in kex_assemble_names()
/dragonfly/usr.bin/crunch/crunchgen/
H A Dcrunchgen.c111 static void add_string(strlst_t **listp, char *str, int nodup);
115 static int in_list(strlst_t **listp, char *str);
639 static void collect_internal_libs(strlst_t **listp);
1008 collect_internal_libs(strlst_t **listp) in collect_internal_libs() argument
1014 add_string(listp, l->str, 1); in collect_internal_libs()
1018 add_string(listp, l->str, 1); in collect_internal_libs()
1294 add_string(strlst_t **listp, char *str, int nodup) in add_string() argument
1300 for (p1 = NULL, p2 = *listp; p2 != NULL; p1 = p2, p2 = p2->next) in add_string()
1313 *listp = p2; in add_string()
1335 in_list(strlst_t **listp, char *str) in in_list() argument
[all …]
/dragonfly/contrib/gdb-7/gdb/
H A Dpsymtab.c1622 extend_psymbol_list (struct psymbol_allocation_list *listp, in extend_psymbol_list() argument
1627 if (listp->size == 0) in extend_psymbol_list()
1630 listp->list = (struct partial_symbol **) in extend_psymbol_list()
1635 new_size = listp->size * 2; in extend_psymbol_list()
1636 listp->list = (struct partial_symbol **) in extend_psymbol_list()
1637 xrealloc ((char *) listp->list, in extend_psymbol_list()
1642 listp->next = listp->list + listp->size; in extend_psymbol_list()
1643 listp->size = new_size; in extend_psymbol_list()
/dragonfly/sbin/restore/
H A Dinteractive.c485 struct afile *fp, *list, *listp = NULL; in printlist() local
520 listp = list; in printlist()
539 mkentry(locname, dp, listp++); in printlist()
553 for (fp = listp - 1; fp >= list; fp--) in printlist()
/dragonfly/contrib/nvi2/vi/
H A Dvs_split.c450 vs_join(SCR *sp, SCR **listp, jdir_t *jdirp) in vs_join() argument
460 for (lp = listp, tlen = sp->rows, in vs_join()
495 for (lp = listp, tlen = sp->rows, in vs_join()
530 for (first = 0, lp = listp, tlen = sp->cols, in vs_join()
566 for (first = 0, lp = listp, tlen = sp->cols, in vs_join()
/dragonfly/sbin/rcorder/
H A Drcorder.c213 strnode_add(strnodelist **listp, char *s, filenode *fnode) in strnode_add() argument
220 ent->next = *listp; in strnode_add()
221 *listp = ent; in strnode_add()
/dragonfly/usr.sbin/mfiutil/
H A Dmfiutil.h107 int mfi_pd_get_list(int fd, struct mfi_pd_list **listp, uint8_t *statusp);
H A Dmfi_drive.c250 mfi_pd_get_list(int fd, struct mfi_pd_list **listp, uint8_t *statusp) in mfi_pd_get_list() argument
276 *listp = list; in mfi_pd_get_list()
/dragonfly/usr.bin/dsynth/
H A Dpkglist.c586 GetPkgPkg(pkg_t **listp) in GetPkgPkg() argument
592 for (scan = *listp; scan; scan = scan->bnext) { in GetPkgPkg()
620 s2->bnext = *listp; in GetPkgPkg()
621 *listp = scan; in GetPkgPkg()
H A Ddsynth.h627 pkg_t *GetPkgPkg(pkg_t **listp);
/dragonfly/sys/sys/
H A Dbus.h370 int device_get_children(device_t dev, device_t **listp, int *countp);
419 int devclass_get_devices(devclass_t dc, device_t **listp, int *countp);
420 int devclass_get_drivers(devclass_t dc, driver_t ***listp, int *countp);

12