• Home
  • Raw
  • Download

Lines Matching refs:end

346 static void tokenise(char *buffer, char *end)  in tokenise()  argument
355 token_list = tokens = calloc((end - buffer) / 2, sizeof(struct token)); in tokenise()
363 while (buffer < end) { in tokenise()
367 nl = memchr(line, '\n', end - buffer); in tokenise()
369 buffer = nl = end; in tokenise()
847 static struct element *parse_compound(struct token **_cursor, struct token *end,
853 static struct element *parse_type(struct token **_cursor, struct token *end, in parse_type() argument
872 if (cursor >= end) in parse_type()
896 if (cursor >= end) in parse_type()
911 if (cursor >= end) in parse_type()
919 if (cursor >= end) in parse_type()
929 if (cursor >= end) in parse_type()
934 if (cursor >= end) in parse_type()
993 if (cursor >= end) in parse_type()
1003 if (cursor >= end) in parse_type()
1027 element->children = parse_compound(&cursor, end, 1); in parse_type()
1034 if (cursor >= end) in parse_type()
1039 if (cursor >= end) in parse_type()
1041 element->children = parse_type(&cursor, end, NULL); in parse_type()
1043 element->children = parse_compound(&cursor, end, 0); in parse_type()
1051 if (cursor >= end) in parse_type()
1056 if (cursor >= end) in parse_type()
1058 element->children = parse_type(&cursor, end, NULL); in parse_type()
1060 element->children = parse_compound(&cursor, end, 1); in parse_type()
1071 if (cursor < end && (cursor->token_type == DIRECTIVE_OPTIONAL || in parse_type()
1078 if (cursor < end && cursor->token_type == TOKEN_OPEN_ACTION) { in parse_type()
1080 if (cursor >= end) in parse_type()
1121 if (cursor >= end) in parse_type()
1147 static struct element *parse_compound(struct token **_cursor, struct token *end, in parse_compound() argument
1159 if (cursor >= end) in parse_compound()
1173 if (cursor >= end) in parse_compound()
1177 element = parse_type(&cursor, end, name); in parse_compound()
1184 if (cursor >= end) in parse_compound()
1189 if (cursor >= end) in parse_compound()