Searched refs:brace (Results 1 - 7 of 7) sorted by relevance

/ast/src/cmd/ksh93/sh/
H A Dexpand.c272 register int brace; local
286 range = comma = brace = 0;
291 if(brace++==0)
295 if(--brace>0)
297 if(brace==0 && comma && *cp!='(')
299 comma = brace = 0;
302 if(brace==1 && *cp=='.')
375 if(brace==1)
391 brace=path_expand(shp,ap->argval,arghead);
396 brace
[all...]
H A Dmacro.c449 int brace = 0; local
647 if(endch==RBRACE && mp->pattern && brace)
649 brace--;
778 brace++;
/ast/src/lib/libast/misc/
H A Dfastfind.c150 int brace = 0; local
583 if (!brace)
585 brace++;
591 if (brace)
593 brace--;
598 if (!brace)
602 if (!brace && paren > 0 && !--paren)
607 if (!brace && !paren)
/ast/src/lib/libpp/
H A Dppproto.c70 int brace; /* {..} level */ member in struct:Proto_s
1012 if (!strncmp(proto->tp, "inline", 6) && !(flags & (MATCH|SKIP|TOKENS|TYPEDEF)) && proto->brace == 0 && paren == 0 && group == 0 && (last == ';' || last == '}' || last == '\n' || last == 0))
1131 if (!(flags & CLASSIC) || proto->brace == 0)
1188 if (!(flags & CLASSIC) || proto->brace == 0)
1221 if (proto->brace == 0 && paren == 0 && last != '=' && (flags & (CLASSIC|DECLARE|DIRECTIVE|MATCH|PLUSONLY|SKIP|TOKENS)) == (MATCH|TOKENS) && ((dir & DIR) != DIR_en || ((dir>>2) & DIR) != DIR_if))
1347 if (proto->brace++ == 0 && paren == 0)
1641 proto->brace = 0;
1654 if (--proto->brace == 0)
1669 if (last == ')' && proto->brace && (group != 2 || call != 2)) flags |= SKIP;
1834 if (proto->brace
[all...]
/ast/src/cmd/INIT/
H A Dproto.c1299 int brace; member in struct:Proto_s
3278 if (!sstrncmp( proto->tp, "inline", 6) && !(flags & ((1L<<15)|(1L<<23)|(1L<<25)|(1L<<26))) && proto->brace == 0 && paren == 0 && group == 0 && (last == ';' || last == '}' || last == '\n' || last == 0))
3397 if (!(flags & (1L<<0)) || proto->brace == 0)
3454 if (!(flags & (1L<<0)) || proto->brace == 0)
3487 if (proto->brace == 0 && paren == 0 && last != '=' && (flags & ((1L<<0)|(1L<<1)|(1L<<3)|(1L<<15)|(1L<<19)|(1L<<23)|(1L<<25))) == ((1L<<15)|(1L<<25)) && ((dir & 03) != 03 || ((dir>>2) & 03) != 01))
3613 if (proto->brace++ == 0 && paren == 0)
3907 proto->brace = 0;
3920 if (--proto->brace == 0)
3935 if (last == ')' && proto->brace && (group != 2 || call != 2)) flags |= (1L<<23);
4100 if (proto->brace
[all...]
/ast/src/lib/libtksh/tcl/
H A DtclUtil.c70 * opening brace and *sizePtr will not include either of the braces.
107 * Skim off leading white space and check for an opening brace or
130 * Find the end of the element (either a space or a close brace or
138 * Open brace: don't treat specially unless the element is
149 * Close brace: if element is in braces, keep nesting
150 * count and quit when the last close brace is seen.
242 Tcl_SetResult(interp, "unmatched open brace in list",
360 int size, i, result, elSize, brace;
380 result = TclFindElement(interp, list, &element, &list, &elSize, &brace);
397 if (brace) {
357 int size, i, result, elSize, brace; local
[all...]
/ast/src/cmd/nmake/
H A Dparse.c1547 char* brace = 0; local
1575 if (brace)
1582 if (*p || brace > b && *(brace - 1) == '$')
1584 brace = 0;
1598 brace = s - 1;
1735 if (brace)
1737 for (t = brace; t > s && isspace(*(t - 1)); t--);
1744 if (p > ++brace)
1748 if (!*brace)
[all...]

Completed in 42 milliseconds