Lines Matching refs:cp

85   const CHAR_T *cp = format;    /* pointer into format */  in PRINTF_PARSE()  local
134 while (*cp != '\0') in PRINTF_PARSE()
136 CHAR_T c = *cp++; in PRINTF_PARSE()
143 dp->dir_start = cp - 1; in PRINTF_PARSE()
154 if (*cp >= '0' && *cp <= '9') in PRINTF_PARSE()
158 for (np = cp; *np >= '0' && *np <= '9'; np++) in PRINTF_PARSE()
164 for (np = cp; *np >= '0' && *np <= '9'; np++) in PRINTF_PARSE()
173 cp = np + 1; in PRINTF_PARSE()
180 if (*cp == '\'') in PRINTF_PARSE()
183 cp++; in PRINTF_PARSE()
185 else if (*cp == '-') in PRINTF_PARSE()
188 cp++; in PRINTF_PARSE()
190 else if (*cp == '+') in PRINTF_PARSE()
193 cp++; in PRINTF_PARSE()
195 else if (*cp == ' ') in PRINTF_PARSE()
198 cp++; in PRINTF_PARSE()
200 else if (*cp == '#') in PRINTF_PARSE()
203 cp++; in PRINTF_PARSE()
205 else if (*cp == '0') in PRINTF_PARSE()
208 cp++; in PRINTF_PARSE()
211 else if (*cp == 'I') in PRINTF_PARSE()
214 cp++; in PRINTF_PARSE()
222 if (*cp == '*') in PRINTF_PARSE()
224 dp->width_start = cp; in PRINTF_PARSE()
225 cp++; in PRINTF_PARSE()
226 dp->width_end = cp; in PRINTF_PARSE()
231 if (*cp >= '0' && *cp <= '9') in PRINTF_PARSE()
235 for (np = cp; *np >= '0' && *np <= '9'; np++) in PRINTF_PARSE()
241 for (np = cp; *np >= '0' && *np <= '9'; np++) in PRINTF_PARSE()
250 cp = np + 1; in PRINTF_PARSE()
262 else if (*cp >= '0' && *cp <= '9') in PRINTF_PARSE()
266 dp->width_start = cp; in PRINTF_PARSE()
267 for (; *cp >= '0' && *cp <= '9'; cp++) in PRINTF_PARSE()
269 dp->width_end = cp; in PRINTF_PARSE()
276 if (*cp == '.') in PRINTF_PARSE()
278 cp++; in PRINTF_PARSE()
279 if (*cp == '*') in PRINTF_PARSE()
281 dp->precision_start = cp - 1; in PRINTF_PARSE()
282 cp++; in PRINTF_PARSE()
283 dp->precision_end = cp; in PRINTF_PARSE()
288 if (*cp >= '0' && *cp <= '9') in PRINTF_PARSE()
292 for (np = cp; *np >= '0' && *np <= '9'; np++) in PRINTF_PARSE()
298 for (np = cp; *np >= '0' && *np <= '9'; np++) in PRINTF_PARSE()
308 cp = np + 1; in PRINTF_PARSE()
324 dp->precision_start = cp - 1; in PRINTF_PARSE()
325 for (; *cp >= '0' && *cp <= '9'; cp++) in PRINTF_PARSE()
327 dp->precision_end = cp; in PRINTF_PARSE()
343 if (*cp == 'h') in PRINTF_PARSE()
346 cp++; in PRINTF_PARSE()
348 else if (*cp == 'L') in PRINTF_PARSE()
351 cp++; in PRINTF_PARSE()
353 else if (*cp == 'l') in PRINTF_PARSE()
356 cp++; in PRINTF_PARSE()
358 else if (*cp == 'j') in PRINTF_PARSE()
370 cp++; in PRINTF_PARSE()
372 else if (*cp == 'z' || *cp == 'Z') in PRINTF_PARSE()
387 cp++; in PRINTF_PARSE()
389 else if (*cp == 't') in PRINTF_PARSE()
401 cp++; in PRINTF_PARSE()
407 else if (*cp == 'q') in PRINTF_PARSE()
419 cp++; in PRINTF_PARSE()
426 else if (*cp == 'I' && cp[1] == '6' && cp[2] == '4') in PRINTF_PARSE()
438 cp += 3; in PRINTF_PARSE()
446 c = *cp++; in PRINTF_PARSE()
578 dp->dir_end = cp; in PRINTF_PARSE()
611 d->dir[d->count].dir_start = cp; in PRINTF_PARSE()