Lines Matching refs:brace
559 int wild = 0, brace = 0, bracket = 0;
564 brace++;
568 brace--;
585 return wild && bracket == 0 && brace == 0;
646 * Note the special case: if after the piece of the curly brace is
652 * brace First curly brace in it
665 DirExpandCurly(const char *word, const char *brace, Lst path, Lst expansions)
667 const char *end; /* Character after the closing brace */
668 const char *cp; /* Current position in brace clause */
669 const char *start; /* Start of current piece of brace clause */
671 * right brace when this is 0, we've hit the
680 start = brace+1;
683 * Find the end of the brace clause first, being wary of nested brace
699 otherLen = brace - word + strlen(end);
718 if (brace != word) {
719 strncpy(file, word, brace-word);
722 strncpy(&file[brace-word], start, cp-start);
724 strcpy(&file[(brace-word)+(cp-start)], end);