Lines Matching refs:start
41 mandoc_escape(const char **end, const char **start, int *sz)
53 if (NULL == start)
54 start = &local_start;
65 *start = ++*end;
69 switch ((*start)[-1]) {
84 if ('\'' != **start)
86 *start = ++*end;
128 switch (**start) {
130 *start = ++*end;
134 *start = ++*end;
157 if (**start == '\0')
161 term = **start;
162 *start = ++*end;
176 if (strchr(" %&()*+-./0123456789:<=>", **start)) {
177 if ('\0' != **start)
181 switch ((*start)[-1]) {
192 term = **start;
193 *start = ++*end;
201 if ('\0' == **start)
204 if (isdigit((unsigned char)**start)) {
208 (*start)++;
211 *sz = *end - *start;
224 *start = ++*end;
228 *start = ++*end;
232 *start = ++*end;
236 *start = ++*end;
258 *start = --*end;
286 *sz = (*end)++ - *start;
289 if ((size_t)*sz > strlen(*start))
299 if ('C' == **start) {
304 (*start)++;
307 if ('B' == (*start)[0] && 'I' == (*start)[1])
314 switch (**start) {
333 if (1 == *sz && 'c' == **start)
341 if (**start != 'u' || *sz < 5 || *sz > 7)
343 if (*sz == 7 && ((*start)[1] != '1' || (*start)[2] != '0'))
345 if (*sz == 6 && (*start)[1] == '0')
347 if (*sz == 5 && (*start)[1] == 'D' &&
348 strchr("89ABCDEF", (*start)[2]) != NULL)
350 if ((int)strspn(*start + 1, "0123456789ABCDEFabcdef")
373 char *start, *cp;
376 /* Quoting can only start with a new word. */
377 start = *cpp;
379 if ('"' == *start) {
381 start++;
386 for (cp = start; '\0' != *cp; cp++) {
447 *pos += (int)(cp - start) + (quoted ? 1 : 0);
453 return start;