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