Lines Matching refs:pt
101 CKMENU *pt; in allocmenu() local
103 if (pt = calloc(1, sizeof (CKMENU))) { in allocmenu()
104 pt->attr = attr; in allocmenu()
105 pt->label = label; in allocmenu()
107 return (pt); in allocmenu()
194 char *pt; in getnum() local
197 pt = strval; in getnum()
199 if (*pt == '$') { in getnum()
201 pt++; in getnum()
203 n = (int)strtol(pt, &pt, 10); in getnum()
207 while (isspace((unsigned char)*pt)) in getnum()
208 pt++; in getnum()
210 if (!*begin && (*pt == '-')) { in getnum()
212 pt++; in getnum()
213 while (isspace((unsigned char)*pt)) in getnum()
214 pt++; in getnum()
216 } else if (*pt) { in getnum()
237 char *pt, *found; local
244 if (pt = strpbrk(strval, " \t,")) {
246 *pt++ = '\0';
247 } while (strchr(" \t,", *pt));
318 } while (((strval = pt) != NULL) && *pt);
327 char *pt; local
347 if ((pt = strdup(choice)) == NULL) {
351 if (!*pt || isspace((unsigned char)*pt)) {
356 chp->token = strtoki(pt, " \t\n");
452 char *pt; local
472 pt = chp->text;
473 while (*pt) {
474 (void) fputc(*pt, stderr);
475 if (*pt++ == '\n') {
481 while (isspace((unsigned char)*pt))
482 ++pt;