Searched refs:lastp (Results 1 - 25 of 26) sorted by relevance

12

/netbsd-6-1-5-RELEASE/lib/libc/gen/
H A Ddirname.c51 const char *lastp; local
63 lastp = path + strlen(path) - 1;
64 while (lastp != path && *lastp == '/')
65 lastp--;
69 if (*lastp == '/') {
71 while (lastp != path && *lastp == '/')
72 lastp--;
75 len = (lastp
[all...]
H A Dbasename.c51 const char *p, *lastp; local
66 lastp = path + strlen(path) - 1;
67 while (lastp != path && *lastp == '/')
68 lastp--;
71 p = lastp;
76 len = (lastp - p) + 1 /* last char */;
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/lib/
H A Drpmatch.c35 const int nomatch, const char **lastp, regex_t *re)
37 if (pattern != *lastp)
40 if (*lastp)
44 *lastp = NULL;
49 *lastp = pattern;
34 try(const char *response, const char *pattern, const int match, const int nomatch, const char **lastp, regex_t *re) argument
H A Dfnmatch_loop.c1008 struct patternlist **lastp = &list; local
1066 *lastp = newp; \
1067 lastp = &newp->next
/netbsd-6-1-5-RELEASE/bin/sh/
H A Dexpand.h47 struct strlist **lastp; member in struct:arglist
H A Dexpand.c151 exparg.lastp = &exparg.list;
157 *exparg.lastp = NULL;
158 exparg.lastp = &exparg.list;
165 *exparg.lastp = sp;
166 exparg.lastp = &sp->next;
169 *exparg.lastp = NULL;
171 *arglist->lastp = exparg.list;
172 arglist->lastp = exparg.lastp;
998 *arglist->lastp
[all...]
H A Deval.c364 arglist.lastp = &arglist.list;
370 *arglist.lastp = NULL;
405 arglist.lastp = &arglist.list;
464 fn.lastp = &fn.list;
709 arglist.lastp = &arglist.list;
724 *arglist.lastp = NULL;
729 varlist.lastp = &varlist.list;
741 *varlist.lastp = NULL;
/netbsd-6-1-5-RELEASE/lib/libutil/
H A Dttyaction.c72 char *lastp; local
119 p1 = strtok_r(line, " \t", &lastp);
120 p2 = strtok_r(NULL, " \t", &lastp);
122 argv[2] = strtok_r(NULL, "\n", &lastp);
/netbsd-6-1-5-RELEASE/sys/arch/powerpc/oea/
H A Dofw_autoconf.c93 char *p, *lastp; local
173 lastp = strrchr(cbootpath, '/');
174 if (lastp != NULL) {
175 lastp++;
176 if (strncmp(lastp, "sd@", 3) == 0
178 strcpy(lastp, last);
180 lastp = cbootpath;
189 if (strchr(lastp, '@') == NULL) {
195 if ((p = strrchr(lastp, ':')) != NULL) {
/netbsd-6-1-5-RELEASE/lib/libc/rpc/
H A Dgetnetpath.c215 struct netpath_chain *chainp, *lastp; local
226 lastp=chainp, chainp=chainp->nchain_next, free(lastp)) {
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/intl/
H A Dl10nflist.c207 struct loaded_l10nfile **lastp;
300 lastp = l10nfile_list;
315 lastp = &retval->next;
346 retval->next = *lastp;
347 *lastp = retval;
206 struct loaded_l10nfile **lastp; local
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/intl/
H A Dl10nflist.c207 struct loaded_l10nfile **lastp;
300 lastp = l10nfile_list;
315 lastp = &retval->next;
346 retval->next = *lastp;
347 *lastp = retval;
206 struct loaded_l10nfile **lastp; local
/netbsd-6-1-5-RELEASE/gnu/dist/texinfo/intl/
H A Dl10nflist.c181 struct loaded_l10nfile **lastp;
274 lastp = l10nfile_list;
289 lastp = &retval->next;
320 retval->next = *lastp;
321 *lastp = retval;
180 struct loaded_l10nfile **lastp; local
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/intl/
H A Dl10nflist.c207 struct loaded_l10nfile **lastp;
300 lastp = l10nfile_list;
315 lastp = &retval->next;
346 retval->next = *lastp;
347 *lastp = retval;
206 struct loaded_l10nfile **lastp; local
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-runtime/intl/
H A Dl10nflist.c179 struct loaded_l10nfile **lastp;
272 lastp = l10nfile_list;
287 lastp = &retval->next;
318 retval->next = *lastp;
319 *lastp = retval;
178 struct loaded_l10nfile **lastp; local
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/mip/
H A Dcompat.c227 char *p, *lastp; local
242 lastp = path + strlen(path) - 1;
243 while (lastp != path && ISPATHSEPARATOR(*lastp))
244 lastp--;
247 p = lastp;
252 len = (lastp - p) + 1 /* last char */;
H A Doptim2.c292 struct dlnod *p, *lastp; local
295 lastp = dl;
356 p->back = lastp;
357 lastp->forw = p;
358 lastp = p;
/netbsd-6-1-5-RELEASE/external/gpl3/binutils/dist/bfd/
H A Delf-attrs.c236 obj_attribute_list **lastp; local
252 lastp = &elf_other_obj_attributes (abfd)[vendor];
253 for (p = *lastp; p; p = p->next)
257 lastp = &p->next;
259 list->next = *lastp;
260 *lastp = list;
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/bfd/
H A Delf-attrs.c236 obj_attribute_list **lastp; local
252 lastp = &elf_other_obj_attributes (abfd)[vendor];
253 for (p = *lastp; p; p = p->next)
257 lastp = &p->next;
259 list->next = *lastp;
260 *lastp = list;
/netbsd-6-1-5-RELEASE/usr.sbin/perfused/
H A Dperfused.c321 char *lastp; local
323 for (opt = strtok_r(optstr, ",", &lastp);
325 opt = strtok_r(NULL, ",", &lastp)) {
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/src/
H A Dbuffer.c582 struct buffer_data **lastp)
587 *lastp = NULL;
604 (*lastp)->next = data;
606 *lastp = data;
631 buf_free_datas (*retp, (*lastp)->next);
646 struct buffer_data **lastp)
651 *lastp = NULL;
668 (*lastp)->next = data;
670 *lastp = data;
692 buf_free_datas (*retp, (*lastp)
581 buf_read_file(FILE *f, long int size, struct buffer_data **retp, struct buffer_data **lastp) argument
645 buf_read_file_to_eof(FILE *f, struct buffer_data **retp, struct buffer_data **lastp) argument
[all...]
/netbsd-6-1-5-RELEASE/lib/libperfuse/
H A Dperfuse.c122 char *lastp; local
129 for (opt = strtok_r(string, ",", &lastp);
131 opt = strtok_r(NULL, ",", &lastp)) {
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/src/
H A Dxgettext.c1174 flag_context_list_ty **lastp = NULL; local
1178 lastp = &list->next;
1179 list = *lastp;
1198 else if (lastp != NULL)
1218 list->next = *lastp;
1219 *lastp = list;
/netbsd-6-1-5-RELEASE/bin/ksh/
H A Dexec.c462 register char **lastp; local
475 if (Flag(FTALKING) && *(lastp = ap)) {
476 while (*++lastp)
479 setstr(typeset("_", LOCAL, 0, INTEGER, 0), *--lastp,
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/lib/
H A Dfnmatch_loop.c1008 struct patternlist **lastp = &list; local
1066 *lastp = newp; \
1067 lastp = &newp->next

Completed in 376 milliseconds

12