Lines Matching refs:token

1860 static int config_tokenizer(tokenizer_t *t, buffer *token) {  in config_tokenizer()  argument
1864 buffer_copy_string_len(token, CONST_STR_LEN("(EOL)")); in config_tokenizer()
1881 buffer_copy_string_len(token, s, 2); /* "=>" */ in config_tokenizer()
1898 buffer_copy_string_len(token, s, 2); /* "==" "=~" "=^" "=$" */ in config_tokenizer()
1903 buffer_copy_string_len(token, s, 1); /* "=" */ in config_tokenizer()
1922 buffer_copy_string_len(token, s, 2); /* "!=" "!~" */ in config_tokenizer()
1952 buffer_copy_string_len(token, CONST_STR_LEN("(EOL)")); in config_tokenizer()
1959 buffer_copy_string_len(token, CONST_STR_LEN("(COMMA)")); in config_tokenizer()
1967 buffer_copy_string_len(token, CONST_STR_LEN("")); in config_tokenizer()
1972 buffer_append_string_len(token, start, s + i - start); in config_tokenizer()
1983 buffer_append_string_len(token, start, s + i - start); in config_tokenizer()
1989 buffer_copy_string_len(token, s, 1); /* "(" */ in config_tokenizer()
1997 buffer_copy_string_len(token, s, 1); /* ")" */ in config_tokenizer()
2003 buffer_copy_string_len(token, s, 1); /* "$" */ in config_tokenizer()
2008 buffer_copy_string_len(token, s, 2); /* "+=" */ in config_tokenizer()
2013 buffer_copy_string_len(token, s, 1); /* "+" */ in config_tokenizer()
2021 buffer_copy_string_len(token, s, 2); /* ":=" */ in config_tokenizer()
2025 buffer_copy_string_len(token, s, 1); /* "{" */ in config_tokenizer()
2042 buffer_copy_string_len(token, s, 1); /* "}" */ in config_tokenizer()
2046 buffer_copy_string_len(token, s, 1); /* "[" */ in config_tokenizer()
2050 buffer_copy_string_len(token, s, 1); /* "]" */ in config_tokenizer()
2064 buffer_copy_string_len(token, s, i); in config_tokenizer()
2076 buffer_copy_string_len(token, s, i); in config_tokenizer()
2089 buffer_copy_string_len(token, s, i); in config_tokenizer()
2090 if (0 == strcmp(token->ptr, "include")) in config_tokenizer()
2092 else if (0 == strcmp(token->ptr, "include_shell")) in config_tokenizer()
2094 else if (0 == strcmp(token->ptr, "global")) in config_tokenizer()
2096 else if (0 == strcmp(token->ptr, "else")) in config_tokenizer()
2142 buffer * const token = buffer_init(); in config_parse() local
2143 buffer_copy_buffer(token, lasttoken); in config_parse()
2144 configparser(pParser, ret, token, context); in config_parse()
2150 buffer * const token = buffer_init(); in config_parse() local
2151 buffer_copy_string(token, "(EOL)"); in config_parse()
2152 configparser(pParser, TK_EOL, token, context); in config_parse()