Home
last modified time | relevance | path

Searched refs:lex (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/lib/utils/
Djson.c26 static bool lexer_consume(struct json_lexer *lex, struct json_token *tok, in lexer_consume() argument
29 if (lex->tok.type == empty_token) { in lexer_consume()
33 *tok = lex->tok; in lexer_consume()
34 lex->tok.type = empty_token; in lexer_consume()
39 static bool lexer_next(struct json_lexer *lex, struct json_token *tok) in lexer_next() argument
41 while (lex->state) { in lexer_next()
42 if (lexer_consume(lex, tok, JSON_TOK_NONE)) { in lexer_next()
46 lex->state = lex->state(lex); in lexer_next()
49 return lexer_consume(lex, tok, JSON_TOK_EOF); in lexer_next()
52 static void *lexer_json(struct json_lexer *lex);
[all …]
/Zephyr-Core-3.7.0/scripts/pylib/twister/
Dexpr_parser.py15 import ply.lex as lex namespace
100 lex.lex()
332 lex.input(line)
333 for tok in iter(lex.token, None):
/Zephyr-Core-3.7.0/scripts/
Drequirements-build-test.txt9 # python lex/yex used by twister
/Zephyr-Core-3.7.0/include/zephyr/data/
Djson.h59 void *(*state)(struct json_lexer *lex);
67 struct json_lexer lex; member