Lines Matching refs:p

53 	char	*p;  in strnormalize()  local
57 for (p = str; *p != NULL; p++) { in strnormalize()
58 if (isspace(*p)) { in strnormalize()
59 *p = ' '; in strnormalize()
62 p--; in strnormalize()
63 while (p >= str && (isspace(*p) || *p == ';')) in strnormalize()
64 *p-- = NULL; in strnormalize()
76 char *p; in strtrim() local
78 for (p = str; *p != NULL; p++) in strtrim()
80 p--; in strtrim()
81 while (p >= str && isspace(*p)) in strtrim()
82 *p-- = NULL; in strtrim()
93 char *p; in strlower() local
95 for (p = str; *p != NULL; p++) { in strlower()
96 *p = tolower(*p); in strlower()
132 in_string_set(char *p, char *set) in in_string_set() argument
137 errlog(BEGIN, "in_string_set( p = \"%s\", set = \"%s\") {", p, set); in in_string_set()
148 if (strcmp(p, set) == 0) { in in_string_set()
164 strend(char *p) in strend() argument
167 while (*p) in strend()
168 p++; in strend()
169 return (p); in strend()
173 lastspace(char *p) in lastspace() argument
177 q = strend(p); in lastspace()
179 while (q >= p && isspace(*q)) in lastspace()
189 skipb(char *p) in skipb() argument
191 while (*p && isspace(*p)) in skipb()
192 p++; in skipb()
193 return (p); in skipb()
201 nextb(char *p) in nextb() argument
203 while (*p && !isspace(*p)) in nextb()
204 p++; in nextb()
205 return (p); in nextb()
213 skipsep(char *p) in skipsep() argument
216 errlog(VERBOSE, "p (in) = %s", p); in skipsep()
217 while (*p && !(isalnum(*p) || *p == '_' || *p == '$')) in skipsep()
218 p++; in skipsep()
219 errlog(VERBOSE, "p (out) = %s", p); in skipsep()
221 return (p); in skipsep()
229 nextsep(char *p) in nextsep() argument
232 errlog(VERBOSE, "p (in) = %s", p); in nextsep()
233 while (*p && isalnum(*p) || *p == '_' || *p == '$') in nextsep()
234 p++; in nextsep()
235 errlog(VERBOSE, "p (out) = %s", p); in nextsep()
237 return (p); in nextsep()
244 nextsep2(char *p) in nextsep2() argument
247 errlog(VERBOSE, "p (in) = %s", p); in nextsep2()
248 while (*p && isalnum(*p) || *p == '_' || *p == '$' || *p == '.') in nextsep2()
249 p++; in nextsep2()
250 errlog(VERBOSE, "p (out) = %s", p); in nextsep2()
252 return (p); in nextsep2()
261 char *p; in objectname() local
264 p = strrchr(name, '/'); in objectname()
265 while (p != NULL && *(p+1) == NULL) { in objectname()
267 *p = NULL; in objectname()
268 p = strrchr(name, '/'); in objectname()
270 (void) strlcpy(basename, p? p+1: name, MAXLINE); in objectname()
271 if ((p = strstr(basename, ".c")) != NULL) { in objectname()
272 *p = NULL; in objectname()
373 compare(const void *p, const void *q) in compare() argument
375 return (strcmp((char *)(*(char **)p), (char *)(*(char **)q))); in compare()