Searched refs:brace_end (Results 1 – 3 of 3) sorted by relevance
/external/openssh/ |
D | scp.c | 711 emit_expansion(const char *pattern, int brace_start, int brace_end, in emit_expansion() argument 715 int o = 0, tail_len = strlen(pattern + brace_end + 1); in emit_expansion() 734 memcpy(cp + o, pattern + brace_end + 1, tail_len); in emit_expansion() 759 int in_bracket, brace_start, brace_end, brace_level; in brace_expand_one() local 764 if (find_brace(pattern, &brace_start, &brace_end) != 0) { in brace_expand_one() 771 for (i = sel_start = brace_start + 1; i < brace_end; i++) { in brace_expand_one() 790 if (i < brace_end - 1) in brace_expand_one() 794 if (pattern[i] == ',' || i == brace_end - 1) { in brace_expand_one() 800 sel_end = (i == brace_end - 1) ? brace_end : i; in brace_expand_one() 801 if (emit_expansion(pattern, brace_start, brace_end, in brace_expand_one()
|
/external/mksh/src/ |
D | eval.c | 2015 char *brace_start, *brace_end, *comma = NULL; in alt_expand() local 2054 brace_end = p; in alt_expand() 2056 alt_expand(wp, start, brace_end, end, fdo); in alt_expand() 2063 for (p = brace_start + 2; p != brace_end; p++) { in alt_expand() 2078 l3 = end - brace_end; in alt_expand() 2082 memcpy(news + l1 + l2, brace_end, l3); in alt_expand()
|
/external/toybox/toys/pending/ |
D | sh.c | 1862 static int brace_end(struct sh_brace *bb) in brace_end() function 1952 if (brace_end(bstk)>bb->commas[0]) { in expand_arg() 1966 if ((i = bnext->commas[0])>brace_end(bb)) break; in expand_arg() 1990 while (!bnext || bnext->commas[0]>brace_end(bstk)) { in expand_arg() 1992 i = brace_end(bstk)+1; // start of span in expand_arg() 1999 } else if (brace_end(bb)>bnext->commas[0]) in expand_arg() 2006 if (bnext && bnext->commas[0]<brace_end(bb)) break; in expand_arg()
|