• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/mandoc/

Lines Matching defs:start

95 mandoc_escape(const char **end, const char **start, int *sz)
107 if (NULL == start)
108 start = &local_start;
127 *start = ++*end;
131 switch ((*start)[-1]) {
142 if (**start == ' ') {
150 if ('\'' != **start)
152 *start = ++*end;
206 gly = (*start)[-1] == 'f' ? ESCAPE_FONT : ESCAPE_IGNORE;
207 switch (**start) {
209 if ((*start)[-1] == 'O')
211 *start = ++*end;
215 if ((*start)[-1] == 'O')
216 gly = (*start)[1] == '5' ?
218 *start = ++*end;
222 if ((*start)[-1] == 'O') {
223 switch (**start) {
242 if (strncmp(*start, "(.T", 3) != 0)
245 *start = ++*end;
263 if (**start == '\0')
267 term = **start;
268 *start = ++*end;
282 if (strchr(" %&()*+-./0123456789:<=>", **start)) {
283 if ('\0' != **start)
287 switch ((*start)[-1]) {
298 term = **start;
299 *start = ++*end;
307 if ('\0' == **start)
310 if (isdigit((unsigned char)**start)) {
314 (*start)++;
317 *sz = *end - *start;
330 *start = ++*end;
334 *start = ++*end;
338 *start = ++*end;
342 *start = ++*end;
377 *start = --*end;
403 *sz = (*end)++ - *start;
411 if (gly == ESCAPE_SPECIAL && *sz == 1 && **start != '-')
415 if ((size_t)*sz > strlen(*start))
424 gly = mandoc_font(*start, *sz);
427 if (**start == 'c') {
429 strncmp(*start, "char", 4) != 0 ||
430 (int)strspn(*start + 4, "0123456789") + 4 < *sz)
434 c = 10 * c + ((*start)[i] - '0');
437 *start += 4;
449 if (**start != 'u' || *sz < 5 || *sz > 7)
451 if (*sz == 7 && ((*start)[1] != '1' || (*start)[2] != '0'))
453 if (*sz == 6 && (*start)[1] == '0')
455 if (*sz == 5 && (*start)[1] == 'D' &&
456 strchr("89ABCDEF", (*start)[2]) != NULL)
458 if ((int)strspn(*start + 1, "0123456789ABCDEFabcdef")