Home
last modified time | relevance | path

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

12

/dragonfly/contrib/gcc-8.0/gcc/
HDlists.c41 free_list (rtx *listp, rtx *unused_listp) in free_list() argument
45 prev_link = *listp; in free_list()
61 *unused_listp = *listp; in free_list()
62 *listp = 0; in free_list()
68 find_list_elem (rtx elem, rtx *listp) in find_list_elem() argument
70 while (XEXP (*listp, 0) != elem) in find_list_elem()
71 listp = &XEXP (*listp, 1); in find_list_elem()
72 return listp; in find_list_elem()
77 remove_list_node (rtx *listp) in remove_list_node() argument
81 node = *listp; in remove_list_node()
[all …]
HDsched-deps.c1578 rtx_insn_list **listp, in add_dependence_list_and_free() argument
1581 add_dependence_list (insn, *listp, uncond, dep_type, hard); in add_dependence_list_and_free()
1589 free_INSN_LIST_list (listp); in add_dependence_list_and_free()
1596 remove_from_dependence_list (rtx_insn *insn, rtx_insn_list **listp) in remove_from_dependence_list() argument
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()
[all …]
HDvar-tracking.c1494 attrs_list_clear (attrs **listp) in attrs_list_clear() argument
1498 for (list = *listp; list; list = next) in attrs_list_clear()
1503 *listp = NULL; in attrs_list_clear()
1520 attrs_list_insert (attrs **listp, decl_or_value dv, in attrs_list_insert() argument
1527 list->next = *listp; in attrs_list_insert()
1528 *listp = list; in attrs_list_insert()
3818 attrs *list = set->regs[REGNO (node->loc)], **listp; in canonicalize_values_star() local
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()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
HDlists.c45 free_list (rtx *listp, rtx *unused_listp) in free_list() argument
49 prev_link = *listp; in free_list()
65 *unused_listp = *listp; in free_list()
66 *listp = 0; in free_list()
72 find_list_elem (rtx elem, rtx *listp) in find_list_elem() argument
74 while (XEXP (*listp, 0) != elem) in find_list_elem()
75 listp = &XEXP (*listp, 1); in find_list_elem()
76 return listp; in find_list_elem()
81 remove_list_node (rtx *listp) in remove_list_node() argument
85 node = *listp; in remove_list_node()
[all …]
HDsched-deps.c1563 add_dependence_list_and_free (struct deps_desc *deps, rtx insn, rtx *listp, in add_dependence_list_and_free() argument
1566 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()
1602 remove_from_both_dependence_lists (rtx insn, rtx *listp, rtx *exprp) in remove_from_both_dependence_lists() argument
1606 while (*listp) in remove_from_both_dependence_lists()
[all …]
HDvar-tracking.c1426 attrs_list_clear (attrs *listp) in attrs_list_clear() argument
1430 for (list = *listp; list; list = next) in attrs_list_clear()
1435 *listp = NULL; in attrs_list_clear()
1452 attrs_list_insert (attrs *listp, decl_or_value dv, in attrs_list_insert() argument
1461 list->next = *listp; in attrs_list_insert()
1462 *listp = list; in attrs_list_insert()
3337 attrs list = set->regs[REGNO (node->loc)], *listp; in canonicalize_values_star() local
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()
[all …]
/dragonfly/usr.bin/calendar/
HDutils.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()
HDutils.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/
HDdb_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/crypto/openssh/
HDkex-names.c237 kex_assemble_names(char **listp, const char *def, const char *all) in kex_assemble_names() argument
243 if (listp == NULL || def == NULL || all == NULL) in kex_assemble_names()
246 if (*listp == NULL || **listp == '\0') { in kex_assemble_names()
247 if ((*listp = strdup(def)) == NULL) in kex_assemble_names()
252 list = *listp; in kex_assemble_names()
253 *listp = NULL; in kex_assemble_names()
264 if ((*listp = match_filter_denylist(def, list + 1)) == NULL) { in kex_assemble_names()
320 *listp = ret; in kex_assemble_names()
HDssh-add.c675 stringlist_append(char ***listp, const char *s) in stringlist_append() argument
679 if (*listp == NULL) in stringlist_append()
680 *listp = xcalloc(2, sizeof(**listp)); in stringlist_append()
682 for (i = 0; (*listp)[i] != NULL; i++) in stringlist_append()
684 *listp = xrecallocarray(*listp, i + 1, i + 2, sizeof(**listp)); in stringlist_append()
686 (*listp)[i] = xstrdup(s); in stringlist_append()
/dragonfly/contrib/binutils-2.34/bfd/
HDelf-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/
HDrecurse.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()
HDhash.c89 dellist (List **listp) in dellist() argument
95 if (*listp == NULL) in dellist()
98 tmp = *listp; in dellist()
99 *listp = NULL; in dellist()
HDhash.h62 void dellist (List **listp);
/dragonfly/usr.bin/crunch/crunchgen/
HDcrunchgen.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/
HDpsymtab.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/
HDinteractive.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/
HDvs_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/
HDrcorder.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/
HDmfiutil.h107 int mfi_pd_get_list(int fd, struct mfi_pd_list **listp, uint8_t *statusp);
HDmfi_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/
HDpkglist.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()
HDdsynth.h627 pkg_t *GetPkgPkg(pkg_t **listp);
/dragonfly/sys/sys/
HDbus.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