Lines Matching refs:start
40 mandoc_escape(const char **end, const char **start, int *sz)
52 if (NULL == start)
53 start = &local_start;
64 *start = ++*end;
68 switch ((*start)[-1]) {
83 if ('\'' != **start)
85 *start = ++*end;
125 switch (**start) {
127 *start = ++*end;
131 *start = ++*end;
154 if (**start == '\0')
158 term = **start;
159 *start = ++*end;
173 if (strchr(" %&()*+-./0123456789:<=>", **start)) {
174 if ('\0' != **start)
179 term = **start;
180 *start = ++*end;
188 if ('\0' == **start)
191 if (isdigit((unsigned char)**start)) {
195 (*start)++;
198 *sz = *end - *start;
211 *start = ++*end;
215 *start = ++*end;
219 *start = ++*end;
223 *start = ++*end;
245 *start = --*end;
273 *sz = (*end)++ - *start;
276 if ((size_t)*sz > strlen(*start))
286 if ('C' == **start) {
291 (*start)++;
294 if ('B' == (*start)[0] && 'I' == (*start)[1])
301 switch (**start) {
320 if (1 == *sz && 'c' == **start)
328 if (**start != 'u' || *sz < 5 || *sz > 7)
330 if (*sz == 7 && ((*start)[1] != '1' || (*start)[2] != '0'))
332 if (*sz == 6 && (*start)[1] == '0')
334 if (*sz == 5 && (*start)[1] == 'D' &&
335 strchr("89ABCDEF", (*start)[2]) != NULL)
337 if ((int)strspn(*start + 1, "0123456789ABCDEFabcdef")
360 char *start, *cp;
363 /* Quoting can only start with a new word. */
364 start = *cpp;
366 if ('"' == *start) {
368 start++;
373 for (cp = start; '\0' != *cp; cp++) {
434 *pos += (int)(cp - start) + (quoted ? 1 : 0);
440 return start;