Lines Matching defs:cp
65 const CHAR_T *cp = format; /* pointer into format */
115 while (*cp != '\0')
117 CHAR_T c = *cp++;
124 dp->dir_start = cp - 1;
135 if (*cp >= '0' && *cp <= '9')
139 for (np = cp; *np >= '0' && *np <= '9'; np++)
145 for (np = cp; *np >= '0' && *np <= '9'; np++)
154 cp = np + 1;
161 if (*cp == '\'')
164 cp++;
166 else if (*cp == '-')
169 cp++;
171 else if (*cp == '+')
174 cp++;
176 else if (*cp == ' ')
179 cp++;
181 else if (*cp == '#')
184 cp++;
186 else if (*cp == '0')
189 cp++;
196 if (*cp == '*')
198 dp->width_start = cp;
199 cp++;
200 dp->width_end = cp;
205 if (*cp >= '0' && *cp <= '9')
209 for (np = cp; *np >= '0' && *np <= '9'; np++)
215 for (np = cp; *np >= '0' && *np <= '9'; np++)
224 cp = np + 1;
236 else if (*cp >= '0' && *cp <= '9')
240 dp->width_start = cp;
241 for (; *cp >= '0' && *cp <= '9'; cp++)
243 dp->width_end = cp;
250 if (*cp == '.')
252 cp++;
253 if (*cp == '*')
255 dp->precision_start = cp - 1;
256 cp++;
257 dp->precision_end = cp;
262 if (*cp >= '0' && *cp <= '9')
266 for (np = cp; *np >= '0' && *np <= '9'; np++)
272 for (np = cp; *np >= '0' && *np <= '9'; np++)
282 cp = np + 1;
298 dp->precision_start = cp - 1;
299 for (; *cp >= '0' && *cp <= '9'; cp++)
301 dp->precision_end = cp;
317 if (*cp == 'h')
320 cp++;
322 else if (*cp == 'L')
325 cp++;
327 else if (*cp == 'l')
330 cp++;
333 else if (*cp == 'j')
345 cp++;
348 else if (*cp == 'z' || *cp == 'Z')
363 cp++;
365 else if (*cp == 't')
377 cp++;
384 c = *cp++;
498 dp->dir_end = cp;
520 d->dir[d->count].dir_start = cp;