Home | History | Annotate | Download | only in lib

Lines Matching defs:cp

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