Lines Matching refs:start
369 char *start, *next;
389 start = &ep->data[(int)ep->cur];
392 if ('\0' == *start)
395 if (quote == *start) {
400 start = &ep->data[(int)ep->cur];
403 if ('{' == *start || '}' == *start)
406 ssz = strcspn(start + 1, " ^~\"{}\t") + 1;
407 next = start + (int)ssz;
411 next = strchr(start, quote);
414 *sz = (size_t)(next - start);
427 next = strchr(start, '\0');
428 *sz = (size_t)(next - start);
435 return(start);
437 if (NULL != (def = eqn_def_find(ep, start, *sz))) {
444 start = &ep->data[(int)ep->rew];
448 memmove(start + *sz + diff, start + *sz,
449 (strlen(start) - *sz) + 1);
450 memcpy(start, def->val, def->valsz);
454 return(start);
491 const char *start;
500 if (NULL == (start = eqn_nexttok(ep, &sz)))
505 *p = mandoc_strndup(start, sz);
512 if (STRNEQ(start, sz, eqn_toks[i], strlen(eqn_toks[i])))
517 *p = mandoc_strndup(start, sz);
599 const char *start;
602 if ((start = eqn_nextrawtok(ep, &sz)) == NULL)
605 else if (strncmp(start, "off", 3) == 0)
607 else if (strncmp(start, "on", 2) == 0) {
610 } else if (start[1] != '\0') {
611 ep->odelim = start[0];
612 ep->cdelim = start[1];
623 const char *start;
627 if ((start = eqn_nextrawtok(ep, &sz)) == NULL) {
632 if ((def = eqn_def_find(ep, start, sz)) == NULL)
643 const char *start;
648 if ((start = eqn_nextrawtok(ep, &sz)) == NULL) {
658 if (NULL == (def = eqn_def_find(ep, start, sz))) {
673 def->key = mandoc_strndup(start, sz);
677 start = eqn_next(ep, ep->data[(int)ep->cur], &sz, 0);
678 if (start == NULL) {
688 def->val = mandoc_strndup(start, sz);
700 const char *start;
858 if (NULL == (start = eqn_nexttok(ep, &sz))) {
863 size = mandoc_strntoi(start, sz, 10);
972 if (NULL == (start = eqn_nexttok(ep, &sz))) {
979 if (STRNEQ(start, sz, "ceiling", 7)) {
982 } else if (STRNEQ(start, sz, "floor", 5)) {
986 parent->right = mandoc_strndup(start, sz);
1008 (start = eqn_nexttok(ep, &sz)) == NULL) {
1016 if (STRNEQ(start, sz, "ceiling", 7)) {
1019 } else if (STRNEQ(start, sz, "floor", 5)) {
1023 parent->left = mandoc_strndup(start, sz);