Home
last modified time | relevance | path

Searched refs:lastp (Results 1 – 25 of 32) sorted by relevance

12

/netbsd-src/external/gpl2/xcvs/dist/lib/
H A Drpmatch.c38 const int nomatch, const char **lastp, regex_t *re) in try() argument
40 if (pattern != *lastp) in try()
43 if (*lastp) in try()
47 *lastp = NULL; in try()
52 *lastp = pattern; in try()
H A Dfnmatch_loop.c1011 struct patternlist **lastp = &list; in EXT() local
1069 *lastp = newp; \ in EXT()
1070 lastp = &newp->next in EXT()
/netbsd-src/sys/arch/powerpc/oea/
H A Dofw_autoconf.c101 char *p, *lastp; in canonicalize_bootpath() local
197 lastp = strrchr(cbootpath, '/'); in canonicalize_bootpath()
198 if (lastp != NULL) { in canonicalize_bootpath()
199 lastp++; in canonicalize_bootpath()
200 if ((strncmp(lastp, "sd@", 3) == 0 in canonicalize_bootpath()
202 (strncmp(lastp, "disk@", 5) == 0 in canonicalize_bootpath()
204 strcpy(lastp, last); in canonicalize_bootpath()
206 lastp = cbootpath; in canonicalize_bootpath()
215 if (strchr(lastp, '@') == NULL) { in canonicalize_bootpath()
221 if ((p = strrchr(lastp, ':')) != NULL) { in canonicalize_bootpath()
/netbsd-src/lib/libutil/
H A Dttyaction.c72 char *lastp; in ttyaction() local
119 p1 = strtok_r(line, " \t", &lastp); in ttyaction()
120 p2 = strtok_r(NULL, " \t", &lastp); in ttyaction()
122 argv[2] = strtok_r(NULL, "\n", &lastp); in ttyaction()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Delf-properties.c36 elf_property_list *p, **lastp; in _bfd_elf_get_property() local
45 lastp = &elf_properties (abfd); in _bfd_elf_get_property()
46 for (p = *lastp; p; p = p->next) in _bfd_elf_get_property()
60 lastp = &p->next; in _bfd_elf_get_property()
72 p->next = *lastp; in _bfd_elf_get_property()
73 *lastp = p; in _bfd_elf_get_property()
370 elf_property_list *p, **lastp; in elf_merge_gnu_property_list() local
376 lastp = &elf_properties (first_pbfd); in elf_merge_gnu_property_list()
377 for (p = *lastp; p; p = p->next) in elf_merge_gnu_property_list()
426 *lastp = p->next; in elf_merge_gnu_property_list()
[all …]
H A Delf-attrs.c237 obj_attribute_list **lastp; in elf_new_obj_attr() local
253 lastp = &elf_other_obj_attributes (abfd)[vendor]; in elf_new_obj_attr()
254 for (p = *lastp; p; p = p->next) in elf_new_obj_attr()
258 lastp = &p->next; in elf_new_obj_attr()
260 list->next = *lastp; in elf_new_obj_attr()
261 *lastp = list; in elf_new_obj_attr()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Delf-properties.c36 elf_property_list *p, **lastp; in _bfd_elf_get_property() local
45 lastp = &elf_properties (abfd); in _bfd_elf_get_property()
46 for (p = *lastp; p; p = p->next) in _bfd_elf_get_property()
60 lastp = &p->next; in _bfd_elf_get_property()
72 p->next = *lastp; in _bfd_elf_get_property()
73 *lastp = p; in _bfd_elf_get_property()
370 elf_property_list *p, **lastp; in elf_merge_gnu_property_list() local
376 lastp = &elf_properties (first_pbfd); in elf_merge_gnu_property_list()
377 for (p = *lastp; p; p = p->next) in elf_merge_gnu_property_list()
426 *lastp = p->next; in elf_merge_gnu_property_list()
[all …]
H A Delf-attrs.c237 obj_attribute_list **lastp; in elf_new_obj_attr() local
255 lastp = &elf_other_obj_attributes (abfd)[vendor]; in elf_new_obj_attr()
256 for (p = *lastp; p; p = p->next) in elf_new_obj_attr()
260 lastp = &p->next; in elf_new_obj_attr()
262 list->next = *lastp; in elf_new_obj_attr()
263 *lastp = list; in elf_new_obj_attr()
/netbsd-src/common/lib/libprop/
H A Dprop_object.c798 const char *lastp; in _prop_object_externalize_file_dirname() local
809 lastp = path + strlen(path) - 1; in _prop_object_externalize_file_dirname()
810 while (lastp != path && *lastp == '/') in _prop_object_externalize_file_dirname()
811 lastp--; in _prop_object_externalize_file_dirname()
815 if (*lastp == '/') { in _prop_object_externalize_file_dirname()
817 while (lastp != path && *lastp == '/') in _prop_object_externalize_file_dirname()
818 lastp--; in _prop_object_externalize_file_dirname()
821 len = (lastp - path) + 1 /* last char */; in _prop_object_externalize_file_dirname()
829 } while (--lastp >= path); in _prop_object_externalize_file_dirname()
/netbsd-src/external/gpl2/gettext/dist/gettext-runtime/intl/
H A Dl10nflist.c183 struct loaded_l10nfile **lastp; in _nl_make_l10nflist() local
249 lastp = l10nfile_list; in _nl_make_l10nflist()
264 lastp = &retval->next; in _nl_make_l10nflist()
298 retval->next = *lastp; in _nl_make_l10nflist()
299 *lastp = retval; in _nl_make_l10nflist()
/netbsd-src/external/gpl2/gettext/dist/gnulib-local/lib/
H A Dfnmatch_loop.c.diff10 struct patternlist **lastp = &list;
32 struct patternlist **lastp = &list;
80 *lastp = newp; \
81 lastp = &newp->next
102 *lastp = newp; \
103 lastp = &newp->next
/netbsd-src/external/gpl2/texinfo/dist/intl/
H A Dl10nflist.c180 struct loaded_l10nfile **lastp; in _nl_make_l10nflist() local
273 lastp = l10nfile_list; in _nl_make_l10nflist()
288 lastp = &retval->next; in _nl_make_l10nflist()
319 retval->next = *lastp; in _nl_make_l10nflist()
320 *lastp = retval; in _nl_make_l10nflist()
/netbsd-src/external/gpl3/gdb.old/dist/intl/
H A Dl10nflist.c206 struct loaded_l10nfile **lastp; local
299 lastp = l10nfile_list;
314 lastp = &retval->next;
345 retval->next = *lastp;
346 *lastp = retval;
/netbsd-src/external/gpl3/binutils.old/dist/intl/
H A Dl10nflist.c206 struct loaded_l10nfile **lastp; local
299 lastp = l10nfile_list;
314 lastp = &retval->next;
345 retval->next = *lastp;
346 *lastp = retval;
/netbsd-src/external/gpl3/gcc/dist/intl/
H A Dl10nflist.c206 struct loaded_l10nfile **lastp; local
299 lastp = l10nfile_list;
314 lastp = &retval->next;
345 retval->next = *lastp;
346 *lastp = retval;
/netbsd-src/external/gpl3/gcc.old/dist/intl/
H A Dl10nflist.c206 struct loaded_l10nfile **lastp; local
299 lastp = l10nfile_list;
314 lastp = &retval->next;
345 retval->next = *lastp;
346 *lastp = retval;
/netbsd-src/lib/libc/rpc/
H A Dgetnetpath.c213 struct netpath_chain *chainp, *lastp; in endnetpath() local
224 lastp=chainp, chainp=chainp->nchain_next, free(lastp)) { in endnetpath()
/netbsd-src/external/gpl2/xcvs/dist/src/
H A Dbuffer.c584 struct buffer_data **lastp) in buf_read_file() argument
589 *lastp = NULL; in buf_read_file()
606 (*lastp)->next = data; in buf_read_file()
608 *lastp = data; in buf_read_file()
633 buf_free_datas (*retp, (*lastp)->next); in buf_read_file()
648 struct buffer_data **lastp) in buf_read_file_to_eof() argument
653 *lastp = NULL; in buf_read_file_to_eof()
670 (*lastp)->next = data; in buf_read_file_to_eof()
672 *lastp = data; in buf_read_file_to_eof()
694 buf_free_datas (*retp, (*lastp)->next); in buf_read_file_to_eof()
/netbsd-src/usr.sbin/perfused/
H A Dperfused.c321 char *lastp; in parse_debug() local
323 for (opt = strtok_r(optstr, ",", &lastp); in parse_debug()
325 opt = strtok_r(NULL, ",", &lastp)) { in parse_debug()
/netbsd-src/bin/sh/
H A Dexpand.h47 struct strlist **lastp; member
/netbsd-src/lib/libperfuse/
H A Dperfuse.c122 char *lastp; in get_fd() local
129 for (opt = strtok_r(string, ",", &lastp); in get_fd()
131 opt = strtok_r(NULL, ",", &lastp)) { in get_fd()
/netbsd-src/external/gpl3/gdb/dist/gnulib/import/
H A Dfnmatch_loop.c988 struct patternlist **lastp = &list; in EXT() local
1065 *lastp = newp; \ in EXT()
1066 lastp = &newp->next in EXT()
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
H A Dfnmatch_loop.c1009 struct patternlist **lastp = &list; in EXT() local
1082 *lastp = newp; \ in EXT()
1083 lastp = &newp->next in EXT()
/netbsd-src/external/bsd/ipf/dist/
H A Dradix_ipf.c64 count_mask_bits(mask, lastp) in count_mask_bits() argument
66 u_32_t **lastp;
77 if (lastp != NULL)
78 *lastp = mp;
/netbsd-src/bin/ksh/
H A Dexec.c455 char **lastp; local
468 if (Flag(FTALKING) && *(lastp = ap)) {
469 while (*++lastp)
472 setstr(typeset("_", LOCAL, 0, INTEGER, 0), *--lastp,

12