Home
last modified time | relevance | path

Searched refs:token (Results 1 - 25 of 2297) sorted by relevance

12345678910>>...92

/third_party/ltp/tools/sparse/sparse-src/
H A Dexpression.c39 #include "token.h"
63 static struct token *comma_expression(struct token *, struct expression **);
65 struct token *parens_expression(struct token *token, struct expression **expr, const char *where) in parens_expression() argument
67 struct token *p; in parens_expression()
69 token = expect(token, '(', where); in parens_expression()
70 p = token; in parens_expression()
88 string_expression(struct token *token, struct expression **expr, const char *where) string_expression() argument
103 handle_func(struct token *token) handle_func() argument
148 parse_type(struct token *token, struct expression **tree) parse_type() argument
161 builtin_types_compatible_p_expr(struct token *token, struct expression **tree) builtin_types_compatible_p_expr() argument
187 builtin_offsetof_expr(struct token *token, struct expression **tree) builtin_offsetof_expr() argument
261 get_number_value(struct expression *expr, struct token *token) get_number_value() argument
388 generic_selection(struct token *token, struct expression **tree) generic_selection() argument
422 primary_expression(struct token *token, struct expression **tree) primary_expression() argument
532 expression_list(struct token *token, struct expression_list **list) expression_list() argument
551 postfix_expression(struct token *token, struct expression **tree, struct expression *cast_init_expr) postfix_expression() argument
628 type_info_expression(struct token *token, struct expression **tree, int type) type_info_expression() argument
667 unary_expression(struct token *token, struct expression **tree) unary_expression() argument
757 cast_expression(struct token *token, struct expression **tree) cast_expression() argument
832 multiplicative_expression(struct token *token, struct expression **tree) multiplicative_expression() argument
840 additive_expression(struct token *token, struct expression **tree) additive_expression() argument
848 shift_expression(struct token *token, struct expression **tree) shift_expression() argument
856 relational_expression(struct token *token, struct expression **tree) relational_expression() argument
865 equality_expression(struct token *token, struct expression **tree) equality_expression() argument
873 bitwise_and_expression(struct token *token, struct expression **tree) bitwise_and_expression() argument
881 bitwise_xor_expression(struct token *token, struct expression **tree) bitwise_xor_expression() argument
889 bitwise_or_expression(struct token *token, struct expression **tree) bitwise_or_expression() argument
897 logical_and_expression(struct token *token, struct expression **tree) logical_and_expression() argument
905 logical_or_expression(struct token *token, struct expression **tree) logical_or_expression() argument
913 conditional_expression(struct token *token, struct expression **tree) conditional_expression() argument
928 assignment_expression(struct token *token, struct expression **tree) assignment_expression() argument
956 comma_expression(struct token *token, struct expression **tree) comma_expression() argument
964 parse_expression(struct token *token, struct expression **tree) parse_expression() argument
[all...]
H A Dparse.c40 #include "token.h"
51 static struct token *statement(struct token *token, struct statement **tree);
52 static struct token *handle_attributes(struct token *token, struct decl_state *ctx);
54 typedef struct token *declarator_t(struct token *, struct symbol *, struct decl_state *);
62 static struct token *parse_if_statemen
116 asm_modifier(struct token *token, unsigned long *mods, unsigned long mod) asm_modifier() argument
617 skip_to(struct token *token, int op) skip_to() argument
625 expect(struct token *token, int op, const char *where) expect() argument
647 unexpected(struct token *token, const char *errmsg) unexpected() argument
705 label_symbol(struct token *token, int used) label_symbol() argument
718 struct_union_enum_specifier(enum type type, struct token *token, struct decl_state *ctx, struct token *(*parse)(struct token *, struct symbol *)) struct_union_enum_specifier() argument
777 parse_struct_declaration(struct token *token, struct symbol *sym) parse_struct_declaration() argument
795 parse_union_declaration(struct token *token, struct symbol *sym) parse_union_declaration() argument
800 struct_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) struct_specifier() argument
805 union_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) union_specifier() argument
911 parse_enum_declaration(struct token *token, struct symbol *parent) parse_enum_declaration() argument
1039 enum_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) enum_specifier() argument
1050 typeof_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) typeof_specifier() argument
1076 autotype_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) autotype_specifier() argument
1083 ignore_attribute(struct token *token, struct symbol *attr, struct decl_state *ctx) ignore_attribute() argument
1091 attribute_packed(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_packed() argument
1100 attribute_aligned(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_aligned() argument
1130 attribute_modifier(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_modifier() argument
1136 attribute_function(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_function() argument
1142 attribute_bitwise(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_bitwise() argument
1159 attribute_address_space(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_address_space() argument
1253 attribute_mode(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_mode() argument
1269 attribute_context(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_context() argument
1294 attribute_designated_init(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_designated_init() argument
1303 attribute_transparent_union(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_transparent_union() argument
1315 recover_unknown_attribute(struct token *token) recover_unknown_attribute() argument
1327 attribute_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) attribute_specifier() argument
1387 attribute_force(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_force() argument
1393 alignas_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) alignas_specifier() argument
1520 declaration_specifiers(struct token *token, struct decl_state *ctx) declaration_specifiers() argument
1599 abstract_array_declarator(struct token *token, struct symbol *sym) abstract_array_declarator() argument
1627 handle_asm_name(struct token *token, struct decl_state *ctx) handle_asm_name() argument
1649 match_attribute(struct token *token) match_attribute() argument
1661 skip_attribute(struct token *token) skip_attribute() argument
1680 skip_attributes(struct token *token) skip_attributes() argument
1697 handle_attributes(struct token *token, struct decl_state *ctx) handle_attributes() argument
1704 is_nested(struct token *token, struct token **p, int prefer_abstract) is_nested() argument
1734 which_func(struct token *token, struct ident **n, int prefer_abstract) which_func() argument
1773 direct_declarator(struct token *token, struct decl_state *ctx) direct_declarator() argument
1820 pointer(struct token *token, struct decl_state *ctx) pointer() argument
1840 declarator(struct token *token, struct decl_state *ctx) declarator() argument
1846 handle_bitfield(struct token *token, struct decl_state *ctx) handle_bitfield() argument
1892 declaration_list(struct token *token, struct symbol_list **list) declaration_list() argument
1924 struct_declaration_list(struct token *token, struct symbol_list **list) struct_declaration_list() argument
1942 parameter_declaration(struct token *token, struct symbol *sym) parameter_declaration() argument
1958 typename(struct token *token, struct symbol **p, int *forced) typename() argument
1978 expression_statement(struct token *token, struct expression **tree) expression_statement() argument
1984 parse_asm_operands(struct token *token, struct statement *stmt, struct asm_operand_list **inout) parse_asm_operands() argument
2006 parse_asm_clobbers(struct token *token, struct statement *stmt, struct expression_list **clobbers) parse_asm_clobbers() argument
2019 parse_asm_labels(struct token *token, struct statement *stmt, struct symbol_list **labels) parse_asm_labels() argument
2035 parse_asm_statement(struct token *token, struct statement *stmt) parse_asm_statement() argument
2063 parse_static_assert(struct token *token, struct symbol_list **unused) parse_static_assert() argument
2218 parse_return_statement(struct token *token, struct statement *stmt) parse_return_statement() argument
2240 parse_for_statement(struct token *token, struct statement *stmt) parse_for_statement() argument
2275 parse_while_statement(struct token *token, struct statement *stmt) parse_while_statement() argument
2292 parse_do_statement(struct token *token, struct statement *stmt) parse_do_statement() argument
2315 parse_if_statement(struct token *token, struct statement *stmt) parse_if_statement() argument
2327 case_statement(struct token *token, struct statement *stmt) case_statement() argument
2335 parse_case_statement(struct token *token, struct statement *stmt) parse_case_statement() argument
2343 parse_default_statement(struct token *token, struct statement *stmt) parse_default_statement() argument
2348 parse_loop_iterator(struct token *token, struct statement *stmt) parse_loop_iterator() argument
2358 parse_switch_statement(struct token *token, struct statement *stmt) parse_switch_statement() argument
2389 parse_goto_statement(struct token *token, struct statement *stmt) parse_goto_statement() argument
2407 parse_context_statement(struct token *token, struct statement *stmt) parse_context_statement() argument
2426 parse_range_statement(struct token *token, struct statement *stmt) parse_range_statement() argument
2440 handle_label_attributes(struct token *token, struct symbol *label) handle_label_attributes() argument
2449 statement(struct token *token, struct statement **tree) statement() argument
2494 label_statement(struct token *token) label_statement() argument
2509 statement_list(struct token *token, struct statement_list **list) statement_list() argument
2541 identifier_list(struct token *token, struct symbol *fn) identifier_list() argument
2560 parameter_type_list(struct token *token, struct symbol *fn) parameter_type_list() argument
2589 compound_statement(struct token *token, struct statement *stmt) compound_statement() argument
2598 identifier_expression(struct token *token) identifier_expression() argument
2622 single_initializer(struct expression **ep, struct token *token) single_initializer() argument
2682 initializer_list(struct expression_list **list, struct token *token) initializer_list() argument
2698 initializer(struct expression **tree, struct token *token) initializer() argument
2736 parse_function_body(struct token *token, struct symbol *decl, struct symbol_list **list) parse_function_body() argument
2845 parse_k_r_arguments(struct token *token, struct symbol *decl, struct symbol_list **list) parse_k_r_arguments() argument
2871 toplevel_asm_declaration(struct token *token, struct symbol_list **list) toplevel_asm_declaration() argument
2887 external_declaration(struct token *token, struct symbol_list **list, validate_decl_t validate_decl) external_declaration() argument
[all...]
H A Dpre-process.c2 * Do C preprocessing, based on a token list gathered by
42 #include "token.h"
94 static struct token *alloc_token(struct position *pos) in alloc_token()
96 struct token *token = __alloc_token(0); in alloc_token() local
98 token->pos.stream = pos->stream; in alloc_token()
99 token->pos.line = pos->line; in alloc_token()
100 token->pos.pos = pos->pos; in alloc_token()
101 token->pos.whitespace = 1; in alloc_token()
102 return token; in alloc_token()
108 replace_with_string(struct token *token, const char *str) replace_with_string() argument
119 replace_with_integer(struct token *token, unsigned int val) replace_with_integer() argument
135 token_defined(struct token *token) token_defined() argument
150 replace_with_bool(struct token *token, bool val) replace_with_bool() argument
158 replace_with_defined(struct token *token) replace_with_defined() argument
163 expand_line(struct token *token) expand_line() argument
168 expand_file(struct token *token) expand_file() argument
173 expand_basefile(struct token *token) expand_basefile() argument
179 expand_date(struct token *token) expand_date() argument
189 expand_time(struct token *token) expand_time() argument
199 expand_counter(struct token *token) expand_counter() argument
204 expand_include_level(struct token *token) expand_include_level() argument
211 struct token *token = *list; expand_one_symbol() local
236 struct token *token = *where; scan_next() local
409 show_token_sequence(struct token *token, int quote) show_token_sequence() argument
441 struct token *token = __alloc_token(0); stringify() local
591 dup_token(struct token *token, struct position *streampos) dup_token() argument
606 struct token *token; copy() local
748 struct token *token = *list; expand() local
788 token_name_sequence(struct token *token, int endop, struct token *start) token_name_sequence() argument
923 do_include_path(const char **pptr, struct token **list, struct token *token, const char *filename, int flen) do_include_path() argument
935 free_preprocessor_line(struct token *token) free_preprocessor_line() argument
945 handle_include_path(struct stream *stream, struct token **list, struct token *token, int how) handle_include_path() argument
997 handle_include(struct stream *stream, struct token **list, struct token *token) handle_include() argument
1002 handle_include_next(struct stream *stream, struct token **list, struct token *token) handle_include_next() argument
1007 handle_argv_include(struct stream *stream, struct token **list, struct token *token) handle_argv_include() argument
1079 set_arg_count(struct token *token) set_arg_count() argument
1185 try_arg(struct token *token, enum token_type type, struct token *arglist) try_arg() argument
1227 struct token *token = *p; handle_hash() local
1246 handle_hashhash(struct token *token, struct token *arglist) handle_hashhash() argument
1301 struct token *token = expansion; parse_expansion() local
1345 do_define(struct position pos, struct token *token, struct ident *name, struct token *arglist, struct token *expansion, int attr) do_define() argument
1470 do_handle_define(struct stream *stream, struct token **line, struct token *token, int attr) do_handle_define() argument
1500 handle_define(struct stream *stream, struct token **line, struct token *token) handle_define() argument
1505 handle_weak_define(struct stream *stream, struct token **line, struct token *token) handle_weak_define() argument
1510 handle_strong_define(struct stream *stream, struct token **line, struct token *token) handle_strong_define() argument
1515 do_handle_undef(struct stream *stream, struct token **line, struct token *token, int attr) do_handle_undef() argument
1546 handle_undef(struct stream *stream, struct token **line, struct token *token) handle_undef() argument
1551 handle_strong_undef(struct stream *stream, struct token **line, struct token *token) handle_strong_undef() argument
1556 preprocessor_if(struct stream *stream, struct token *token, int cond) preprocessor_if() argument
1567 handle_ifdef(struct stream *stream, struct token **line, struct token *token) handle_ifdef() argument
1582 handle_ifndef(struct stream *stream, struct token **line, struct token *token) handle_ifndef() argument
1669 handle_if(struct stream *stream, struct token **line, struct token *token) handle_if() argument
1679 handle_elif(struct stream * stream, struct token **line, struct token *token) handle_elif() argument
1712 handle_else(struct stream *stream, struct token **line, struct token *token) handle_else() argument
1737 handle_endif(struct stream *stream, struct token **line, struct token *token) handle_endif() argument
1753 handle_warning(struct stream *stream, struct token **line, struct token *token) handle_warning() argument
1759 handle_error(struct stream *stream, struct token **line, struct token *token) handle_error() argument
1765 handle_nostdinc(struct stream *stream, struct token **line, struct token *token) handle_nostdinc() argument
1808 add_path_entry(struct token *token, const char *path, const char ***where) add_path_entry() argument
1842 handle_add_include(struct stream *stream, struct token **line, struct token *token) handle_add_include() argument
1856 handle_add_isystem(struct stream *stream, struct token **line, struct token *token) handle_add_isystem() argument
1870 handle_add_system(struct stream *stream, struct token **line, struct token *token) handle_add_system() argument
1885 add_dirafter_entry(struct token *token, const char *path) add_dirafter_entry() argument
1901 handle_add_dirafter(struct stream *stream, struct token **line, struct token *token) handle_add_dirafter() argument
1915 handle_split_include(struct stream *stream, struct token **line, struct token *token) handle_split_include() argument
1946 handle_pragma(struct stream *stream, struct token **line, struct token *token) handle_pragma() argument
1966 handle_line(struct stream *stream, struct token **line, struct token *token) handle_line() argument
1971 handle_ident(struct stream *stream, struct token **line, struct token *token) handle_ident() argument
1976 handle_nondirective(struct stream *stream, struct token **line, struct token *token) handle_nondirective() argument
1982 expand_has_attribute(struct token *token, struct arg *args) expand_has_attribute() argument
1997 expand_has_builtin(struct token *token, struct arg *args) expand_has_builtin() argument
2012 expand_has_extension(struct token *token, struct arg *args) expand_has_extension() argument
2037 expand_has_feature(struct token *token, struct arg *args) expand_has_feature() argument
2066 struct token *token; create_arglist() local
2174 struct token *token = start->next; handle_preprocessor_line() local
2277 preprocess(struct token *token) preprocess() argument
2291 is_VA_ARGS_token(struct token *token) is_VA_ARGS_token() argument
2301 struct token *token; dump_macro() local
[all...]
H A Dtoken.h62 struct token *ifndef;
63 struct token *top_if;
186 struct token { struct
188 struct token *next;
202 static inline struct token *containing_token(struct token **p) in containing_token()
204 void *addr = (char *)p - ((char *)&((struct token *)0)->next - (char *)0); in containing_token()
211 * Last token in the stream - points to itself.
213 * when following the token->next chain..
215 extern struct token eof_token_entr
235 match_op(struct token *token, unsigned int op) match_op() argument
240 match_ident(struct token *token, struct ident *id) match_ident() argument
245 match_token_zero(struct token *token) match_token_zero() argument
[all...]
H A Dexpression.h290 struct token *parse_expression(struct token *token, struct expression **tree);
291 struct token *conditional_expression(struct token *token, struct expression **tree);
292 struct token *primary_expression(struct token *token, struct expression **tree);
293 struct token *parens_expressio
322 lookup_type(struct token *token) lookup_type() argument
[all...]
H A Dtokenize.c37 #include "token.h"
53 struct token **tokenlist;
54 struct token *token; member
190 const char *show_token(const struct token *token) in show_token() argument
194 if (!token) in show_token()
195 return "<no token>"; in show_token()
196 switch (token_type(token)) { in show_token()
204 return show_ident(token in show_token()
253 quote_token(const struct token *token) quote_token() argument
345 struct token *token = __alloc_token(0); alloc_token() local
480 struct token *token = stream->token; add_token() local
547 struct token *token; get_one_number() local
589 struct token *token = stream->token; eat_string() local
746 struct token *token; get_one_special() local
906 struct token *token; built_in_token() local
917 struct token *token; get_one_identifier() local
995 struct token *token = alloc_token(stream); tokenize_stream() local
[all...]
/third_party/vk-gl-cts/external/amber/src/src/amberscript/
H A Dparser.cc207 for (auto token = tokenizer->NextToken();; token = tokenizer->NextToken()) { in ParseBufferData()
208 if (token->IsEOL()) in ParseBufferData()
210 if (token->IsEOS()) { in ParseBufferData()
217 if (token->IsIdentifier() && token->AsString() == "END") in ParseBufferData()
219 if (!token->IsInteger() && !token->IsDouble() && !token->IsHex()) in ParseBufferData()
220 return Result("invalid BUFFER data value: " + token in ParseBufferData()
445 auto token = tokenizer_->NextToken(); ValidateEndOfStatement() local
453 auto token = tokenizer_->NextToken(); ParseShaderBlock() local
559 auto token = tokenizer_->NextToken(); ParsePipelineBlock() local
585 std::unique_ptr<Token> token; ParsePipelineBody() local
645 auto token = tokenizer_->NextToken(); ParsePipelineAttach() local
727 auto token = tokenizer_->NextToken(); ParseShaderSpecialization() local
776 auto token = tokenizer_->NextToken(); ParsePipelineShaderOptimizations() local
812 auto token = tokenizer_->NextToken(); ParsePipelineShaderCompileOptions() local
850 auto token = tokenizer_->NextToken(); ParsePipelineSubgroup() local
937 auto token = tokenizer_->NextToken(); ParsePipelinePatchControlPoints() local
951 auto token = tokenizer_->NextToken(); ParsePipelineFramebufferSize() local
977 auto token = tokenizer_->NextToken(); ParsePipelineViewport() local
989 auto token = tokenizer_->NextToken(); ParsePipelineViewport() local
1074 auto token = tokenizer_->NextToken(); ParsePipelineBind() local
1427 auto token = tokenizer_->NextToken(); ParsePipelineVertexData() local
1506 auto token = tokenizer_->NextToken(); ParsePipelineIndexData() local
1528 auto token = tokenizer_->NextToken(); ParsePipelineSet() local
1593 auto token = tokenizer_->NextToken(); ParsePipelinePolygonMode() local
1613 auto token = tokenizer_->NextToken(); ParsePipelineDepth() local
1727 auto token = tokenizer_->NextToken(); ParsePipelineStencil() local
1870 auto token = tokenizer_->NextToken(); ParsePipelineBlend() local
1959 auto token = tokenizer_->NextToken(); ParseStruct() local
2077 auto token = tokenizer_->NextToken(); ParseBuffer() local
2157 auto token = tokenizer_->NextToken(); ParseImage() local
2317 auto token = tokenizer_->NextToken(); ParseBufferInitializer() local
2392 auto token = tokenizer_->NextToken(); ParseBufferInitializerSize() local
2417 auto token = tokenizer_->NextToken(); ParseBufferInitializerFill() local
2446 auto token = tokenizer_->NextToken(); ParseBufferInitializerSeries() local
2511 auto token = tokenizer_->NextToken(); ParseBufferInitializerFile() local
2565 auto token = tokenizer_->NextToken(); ParseRun() local
2889 auto token = tokenizer_->NextToken(); ParseClear() local
2913 auto token = tokenizer_->NextToken(); ParseValues() local
2956 auto token = tokenizer_->NextToken(); ParseExpect() local
3231 auto token = tokenizer_->NextToken(); ParseCopy() local
3284 auto token = tokenizer_->NextToken(); ParseClearColor() local
3347 auto token = tokenizer_->NextToken(); ParseClearDepth() local
3379 auto token = tokenizer_->NextToken(); ParseClearStencil() local
3411 auto token = tokenizer_->NextToken(); ParseDeviceFeature() local
3425 auto token = tokenizer_->NextToken(); ParseRepeat() local
3470 auto token = tokenizer_->NextToken(); ParseDerivePipelineBlock() local
3501 auto token = tokenizer_->NextToken(); ParseDeviceExtension() local
3515 auto token = tokenizer_->NextToken(); ParseInstanceExtension() local
3529 auto token = tokenizer_->NextToken(); ParseSet() local
3555 auto token = tokenizer_->NextToken(); ParseSampler() local
3716 auto token = tokenizer_->PeekNextToken(); ParseTolerances() local
3741 auto token = tokenizer_->NextToken(); ParseVirtualFile() local
[all...]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
H A DDirectiveParser.cpp49 static DirectiveType getDirective(const pp::Token *token) in getDirective() argument
65 if (token->type != pp::Token::IDENTIFIER) in getDirective()
68 if (token->text == kDirectiveDefine) in getDirective()
70 else if (token->text == kDirectiveUndef) in getDirective()
72 else if (token->text == kDirectiveIf) in getDirective()
74 else if (token->text == kDirectiveIfdef) in getDirective()
76 else if (token->text == kDirectiveIfndef) in getDirective()
78 else if (token->text == kDirectiveElse) in getDirective()
80 else if (token->text == kDirectiveElif) in getDirective()
82 else if (token in getDirective()
115 isEOD(const pp::Token *token) isEOD() argument
120 skipUntilEOD(pp::Lexer *lexer, pp::Token *token) skipUntilEOD() argument
229 lex(Token *token) lex() argument
261 parseDirective(Token *token) parseDirective() argument
341 parseDefine(Token *token) parseDefine() argument
437 parseUndef(Token *token) parseUndef() argument
478 parseIf(Token *token) parseIf() argument
484 parseIfdef(Token *token) parseIfdef() argument
490 parseIfndef(Token *token) parseIfndef() argument
496 parseElse(Token *token) parseElse() argument
537 parseElif(Token *token) parseElif() argument
577 parseEndif(Token *token) parseEndif() argument
601 parseError(Token *token) parseError() argument
609 stream << *token; parseError() local
616 parsePragma(Token *token) parsePragma() argument
676 parseExtension(Token *token) parseExtension() argument
759 parseVersion(Token *token) parseVersion() argument
846 parseLine(Token *token) parseLine() argument
917 parseConditionalIf(Token *token) parseConditionalIf() argument
958 parseExpressionIf(Token *token) parseExpressionIf() argument
985 parseExpressionIfdef(Token* token) parseExpressionIfdef() argument
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
H A DDirectiveParser.cpp45 DirectiveType getDirective(const pp::Token *token) in getDirective() argument
61 if (token->type != pp::Token::IDENTIFIER) in getDirective()
64 if (token->text == kDirectiveDefine) in getDirective()
66 if (token->text == kDirectiveUndef) in getDirective()
68 if (token->text == kDirectiveIf) in getDirective()
70 if (token->text == kDirectiveIfdef) in getDirective()
72 if (token->text == kDirectiveIfndef) in getDirective()
74 if (token->text == kDirectiveElse) in getDirective()
76 if (token->text == kDirectiveElif) in getDirective()
78 if (token in getDirective()
111 isEOD(const pp::Token *token) isEOD() argument
116 skipUntilEOD(pp::Lexer *lexer, pp::Token *token) skipUntilEOD() argument
162 lex(Token *token) lex() argument
194 parseDirective(Token *token) parseDirective() argument
273 parseDefine(Token *token) parseDefine() argument
367 parseUndef(Token *token) parseUndef() argument
407 parseIf(Token *token) parseIf() argument
413 parseIfdef(Token *token) parseIfdef() argument
419 parseIfndef(Token *token) parseIfndef() argument
425 parseElse(Token *token) parseElse() argument
466 parseElif(Token *token) parseElif() argument
506 parseEndif(Token *token) parseEndif() argument
530 parseError(Token *token) parseError() argument
538 stream << *token; parseError() local
545 parsePragma(Token *token) parsePragma() argument
605 parseExtension(Token *token) parseExtension() argument
700 parseVersion(Token *token) parseVersion() argument
815 parseLine(Token *token) parseLine() argument
886 parseConditionalIf(Token *token) parseConditionalIf() argument
927 parseExpressionIf(Token *token) parseExpressionIf() argument
953 parseExpressionIfdef(Token *token) parseExpressionIfdef() argument
[all...]
/third_party/vk-gl-cts/external/amber/src/src/vkscript/
H A Dcommand_parser.cc87 for (auto token = tokenizer_->NextToken(); !token->IsEOS(); in Parse()
88 token = tokenizer_->NextToken()) { in Parse()
89 if (token->IsEOL()) in Parse()
92 if (!token->IsIdentifier()) { in Parse()
95 token->ToOriginalString())); in Parse()
98 std::string cmd_name = token->AsString(); in Parse()
101 token = tokenizer_->NextToken(); in Parse()
102 if (!token->IsIdentifier()) in Parse()
104 token in Parse()
264 auto token = tokenizer_->NextToken(); ProcessDrawRect() local
315 auto token = tokenizer_->NextToken(); ProcessDrawArrays() local
376 auto token = tokenizer_->NextToken(); ProcessCompute() local
411 auto token = tokenizer_->NextToken(); ProcessClear() local
489 auto token = tokenizer_->NextToken(); ParseValues() local
536 auto token = tokenizer_->NextToken(); ProcessSSBO() local
670 auto token = tokenizer_->NextToken(); ProcessUniform() local
805 auto token = tokenizer_->NextToken(); ProcessTolerance() local
853 auto token = tokenizer_->NextToken(); ProcessPatch() local
882 auto token = tokenizer_->NextToken(); ProcessEntryPoint() local
904 auto token = tokenizer_->NextToken(); ProcessProbe() local
1072 auto token = tokenizer_->NextToken(); ProcessTopology() local
1118 auto token = tokenizer_->NextToken(); ProcessPolygonMode() local
1147 auto token = tokenizer_->NextToken(); ProcessLogicOp() local
1202 auto token = tokenizer_->NextToken(); ProcessCullMode() local
1242 auto token = tokenizer_->NextToken(); ProcessFrontFace() local
1270 auto token = tokenizer_->NextToken(); ProcessBooleanPipelineData() local
1393 auto token = tokenizer_->NextToken(); ProcessFloatPipelineData() local
1521 auto token = tokenizer_->NextToken(); ParseBlendFactor() local
1694 auto token = tokenizer_->NextToken(); ParseBlendOp() local
1734 auto token = tokenizer_->NextToken(); ParseCompareOp() local
1810 auto token = tokenizer_->NextToken(); ParseStencilOp() local
1932 auto token = tokenizer_->NextToken(); ProcessFrontReference() local
1950 auto token = tokenizer_->NextToken(); ProcessBackReference() local
1968 auto token = tokenizer_->NextToken(); ProcessColorWriteMask() local
2024 auto token = tokenizer_->NextToken(); ProcessProbeSSBO() local
[all...]
H A Dparser.cc155 for (auto token = tokenizer.NextToken(); !token->IsEOS(); in ProcessRequireBlock()
156 token = tokenizer.NextToken()) { in ProcessRequireBlock()
157 if (token->IsEOL()) in ProcessRequireBlock()
159 if (!token->IsIdentifier()) { in ProcessRequireBlock()
162 "Invalid token in requirements block: " + token->ToOriginalString())); in ProcessRequireBlock()
165 std::string str = token->AsString(); in ProcessRequireBlock()
169 token = tokenizer.NextToken(); in ProcessRequireBlock()
170 if (!token in ProcessRequireBlock()
325 auto token = tokenizer.NextToken(); ProcessVertexDataBlock() local
[all...]
/third_party/glslang/glslang/MachineIndependent/preprocessor/
H A DPp.cpp101 int token = scanToken(ppToken); in CPPdefine() local
102 if (token != PpAtomIdentifier) { in CPPdefine()
104 return token; in CPPdefine()
116 token = scanToken(ppToken); in CPPdefine()
117 if (token == '(' && !ppToken->space) { in CPPdefine()
120 token = scanToken(ppToken); in CPPdefine()
121 if (mac.args.size() == 0 && token == ')') in CPPdefine()
123 if (token != PpAtomIdentifier) { in CPPdefine()
126 return token; in CPPdefine()
141 token in CPPdefine()
218 int token = scanToken(ppToken); CPPundef() local
245 int token = scanToken(ppToken); CPPelse() local
319 extraTokenCheck(int contextAtom, TPpToken* ppToken, int token) extraTokenCheck() argument
382 int token, precedence, (*op)(int, int); global() member
405 int token, (*op)(int); global() member
417 eval(int token, int precedence, bool shortCircuit, int& res, bool& err, TPpToken* ppToken) eval() argument
536 evalToToken(int token, bool shortCircuit, int& res, bool& err, TPpToken* ppToken) evalToToken() argument
569 int token = scanToken(ppToken); CPPif() local
590 int token = scanToken(ppToken); CPPifdef() local
625 int token; CPPinclude() local
712 int token = scanToken(ppToken); CPPline() local
769 int token = scanToken(ppToken); CPPerror() local
803 int token = scanToken(ppToken); CPPpragma() local
837 int token = scanToken(ppToken); CPPversion() local
886 int token = scanToken(ppToken); CPPextension() local
925 int token = scanToken(ppToken); readCPPline() local
1049 int token; PrescanMacroArg() local
1086 int token; scan() local
1239 int token = scanToken(&parenToken); MacroExpand() local
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
H A Dtoken_test.cpp16 pp::Token token; in TEST() local
17 EXPECT_EQ(0, token.type); in TEST()
18 EXPECT_EQ(0u, token.flags); in TEST()
19 EXPECT_EQ(0, token.location.line); in TEST()
20 EXPECT_EQ(0, token.location.file); in TEST()
21 EXPECT_EQ("", token.text); in TEST()
26 pp::Token token; in TEST() local
27 token.type = 1; in TEST()
28 token.flags = 1; in TEST()
29 token in TEST()
43 pp::Token token; TEST() local
71 pp::Token token; TEST() local
81 pp::Token token; TEST() local
84 out1 << token; TEST() local
90 out2 << token; TEST() local
[all...]
H A Dlocation_test.cpp25 pp::Token token; in expectLocation() local
26 mPreprocessor.lex(&token); in expectLocation()
27 EXPECT_EQ(pp::Token::IDENTIFIER, token.type); in expectLocation()
28 EXPECT_EQ("foo", token.text); in expectLocation()
30 EXPECT_EQ(location.file, token.location.file); in expectLocation()
31 EXPECT_EQ(location.line, token.location.line); in expectLocation()
88 pp::Token token; in TEST_F() local
89 mPreprocessor.lex(&token); in TEST_F()
92 // The location of a token straddling two or more strings is that of the
93 // first character of the token
118 pp::Token token; TEST_F() local
136 pp::Token token; TEST_F() local
154 pp::Token token; TEST_F() local
276 pp::Token token; TEST_F() local
291 pp::Token token; TEST_F() local
306 pp::Token token; TEST_F() local
322 pp::Token token; TEST_F() local
338 pp::Token token; TEST_F() local
360 pp::Token token; TEST_P() local
[all...]
/foundation/ability/idl_tool/parser/
H A Dparser.cpp63 Token token; in ParseFile() local
64 while ((token = lexer_.PeekToken()) != Token::END_OF_FILE) { in ParseFile()
65 switch (token) { in ParseFile()
77 LogError(token, String::Format("%s is not expected.", lexer_.DumpToken().string())); in ParseFile()
90 Token token = lexer_.PeekToken(false); in ParseLicense() local
91 if (token != Token::COMMENT_BLOCK) { in ParseLicense()
107 Token token = lexer_.GetToken(); in ParseInterface() local
108 if (token == Token::BRACKETS_LEFT) { in ParseInterface()
109 token = lexer_.PeekToken(); in ParseInterface()
110 if (token ! in ParseInterface()
149 ParseInterfaceMiddle(Token& token, String& interfaceFullName) ParseInterfaceMiddle() argument
183 ParseInterfaceEnd(Token& token, String& interfaceFullName, bool hasProperties, bool oneway, bool ret) ParseInterfaceEnd() argument
233 Token token; ParseMethodProperties() local
290 ParseMethodName(Token& token, ASTType* type, ASTInterfaceType* interface) ParseMethodName() argument
334 ParseMethodBrackets(Token& token, ASTMethod* method, bool& ret) ParseMethodBrackets() argument
379 Token token = lexer_.PeekToken(); ParseMethod() local
430 ParseParameterPeek(Token& token) ParseParameterPeek() argument
444 ParseParameterInOut(Token& token, ASTParameter* parameter) ParseParameterInOut() argument
487 Token token = lexer_.PeekToken(); ParseParameter() local
538 Token token = lexer_.PeekToken(); ParseType() local
595 Token token = lexer_.PeekToken(); ParseList() local
631 Token token = lexer_.PeekToken(); ParseMap() local
683 Token token = lexer_.PeekToken(); ParseSequenceable() local
756 LogError(Token token, const String& message) LogError() argument
[all...]
/third_party/rust/crates/syn/src/
H A Dtoken.rs5 //! expands to the token type of the given token.
74 //! Every keyword and punctuation token supports the following operations.
147 /// Support writing `token.span` rather than `token.spans[0]` on tokens that in display()
209 impl_token!("group token" proc_macro2::Group);
229 impl_low_level_token!("punctuation token" Punct punct);
231 impl_low_level_token!("token" TokenTree token_tree);
248 ($($token:literal pub struct $name:ident)*) => { in display()
250 #[doc = concat!('`', $token, '`')] in display()
[all...]
/third_party/PyYAML/lib/yaml/
H A Dparser.py130 token = self.get_token()
131 event = StreamStartEvent(token.start_mark, token.end_mark,
132 encoding=token.encoding)
145 token = self.peek_token()
146 start_mark = end_mark = token.start_mark
167 token = self.peek_token()
168 start_mark = token.start_mark
175 token = self.get_token()
176 end_mark = token
[all...]
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_parser.y318 %token <num> T_INT
319 %token <unum> T_HEX
320 %token <flt> T_FLOAT
321 %token <str> T_IDENTIFIER
322 %token <num> T_REGISTER
323 %token <num> T_CONSTANT
326 %token <tok> T_A_LOCALSIZE
327 %token <tok> T_A_CONST
328 %token <tok> T_A_BUF
329 %token <to
[all...]
/foundation/ability/idl_tool/idl_tool_2/parser/
H A Dparser.cpp137 Token token = lexer_.PeekToken(false); in ParseLicense() local
138 if (token.kind == TokenType::COMMENT_BLOCK) { in ParseLicense()
140 return token.value; in ParseLicense()
149 Token token = lexer_.PeekToken(); in ParsePackage() local
150 if (token.kind != TokenType::PACKAGE) { in ParsePackage()
151 LogErrorBeforeToken(__func__, __LINE__, token, std::string("expected 'package'")); in ParsePackage()
157 token = lexer_.PeekToken(); in ParsePackage()
158 if (token.kind != TokenType::ID) { in ParsePackage()
159 LogErrorBeforeToken(__func__, __LINE__, token, std::string("expected name of package")); in ParsePackage()
163 std::string packageName = token in ParsePackage()
215 Token token = lexer_.PeekToken(); ParseInterfaceToken() local
251 Token token = lexer_.PeekToken(); ParseSupportDelegator() local
287 Token token = lexer_.PeekToken(); ParseImports() local
320 Token token = lexer_.PeekToken(); ParseImportInfo() local
353 Token token = lexer_.PeekToken(); ParseSequenceableInfo() local
381 Token token = lexer_.PeekToken(); ParseTypeDecls() local
410 Token token = lexer_.PeekToken(); ParseAttribute() local
435 Token token = lexer_.PeekToken(); ParseAttributeInfo() local
471 Token token = lexer_.PeekToken(); ParseAttrUnit() local
511 ParseAttrUnitFreezecontrol(AttrSet &attrs, Token &token) ParseAttrUnitFreezecontrol() argument
535 Token token = lexer_.PeekToken(); ParseInterface() local
603 CheckInterfaceAttr(const AutoPtr<ASTInterfaceType> &interface, Token token) CheckInterfaceAttr() argument
632 Token token = lexer_.PeekToken(); ParseInterfaceExternal() local
643 Token token = lexer_.PeekToken(); ParseInterfaceBody() local
686 Token token = lexer_.PeekToken(); ParseMethod() local
727 Token token = lexer_.PeekToken(); ParseMethodReturnType() local
824 Token token = lexer_.PeekToken(); ParseMethodParamList() local
876 Token token = lexer_.PeekToken(); ParseParam() local
903 Token token = lexer_.PeekToken(); ParseParamAttr() local
936 Token token = lexer_.PeekToken(); CheckParamAttr() local
950 SetParamAttrVal(Token token, AutoPtr<ASTParamAttr> attr) SetParamAttrVal() argument
973 Token token = lexer_.PeekToken(); ParseType() local
1009 CheckBasicType(Token token) CheckBasicType() argument
1037 Token token = lexer_.PeekToken(); ParseBasicType() local
1053 Token token = lexer_.PeekToken(); ParseUnsignedType() local
1074 Token token = lexer_.PeekToken(); ParseArrayType() local
1099 Token token = lexer_.PeekToken(); ParseListType() local
1133 Token token = lexer_.PeekToken(); ParseMapType() local
1183 Token token = lexer_.PeekToken(); ParseSmqType() local
1210 CheckUserDefType(Token token) CheckUserDefType() argument
1226 Token token = lexer_.GetToken(); ParseUserDefType() local
1249 Token token = lexer_.PeekToken(); ParseEnumDeclaration() local
1287 Token token = lexer_.PeekToken(); ParseEnumBaseType() local
1326 Token token = lexer_.GetToken(); ParserEnumMember() local
1358 Token token = lexer_.PeekToken(); ParseStructDeclaration() local
1399 Token token = lexer_.PeekToken(); ParseStructParentType() local
1422 Token token = lexer_.PeekToken(); ParseStructMember() local
1462 Token token = lexer_.PeekToken(); ParseUnionDeclaration() local
1499 Token token = lexer_.PeekToken(); ParseUnionMember() local
1593 Token token = lexer_.PeekToken(); ParseAndExpr() local
1610 Token token = lexer_.PeekToken(); ParseXorExpr() local
1627 Token token = lexer_.PeekToken(); ParseOrExpr() local
1644 Token token = lexer_.PeekToken(); ParseShiftExpr() local
1662 Token token = lexer_.PeekToken(); ParseAddExpr() local
1680 Token token = lexer_.PeekToken(); ParseMulExpr() local
1703 Token token = lexer_.PeekToken(); ParseUnaryExpr() local
1727 Token token = lexer_.PeekToken(); ParsePrimaryExpr() local
1759 Token token = lexer_.GetToken(); ParseNumExpr() local
1772 Token token = lexer_.GetToken(); ParseEnumExpr() local
1792 CheckType(const Token &token, const AutoPtr<ASTType> &type) CheckType() argument
1826 CheckTypeByMode(const Token &token, const AutoPtr<ASTType> &type) CheckTypeByMode() argument
1925 Token token = lexer_.PeekToken(); ParseInterfaceExtends() local
1942 Token token = lexer_.PeekToken(); ParseExtendsInfo() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A DcomplexNarrowingWithAny.js103 //real code uses an opaque token, using new String() to simulate.
450 injectorGetInternal(token:any,requestNodeIndex:number,notFoundResult:any):any {
451 if (((token === import46.DefaultValueAccessor) && (3 === requestNodeIndex))) { return this._DefaultValueAccessor_3_3; }
452 if (((token === import49.NG_VALUE_ACCESSOR) && (3 === requestNodeIndex))) { return this._NG_VALUE_ACCESSOR_3_4; }
453 if (((token === import47.FormControlName) && (3 === requestNodeIndex))) { return this._FormControlName_3_5; }
454 if (((token === import50.NgControl) && (3 === requestNodeIndex))) { return this._NgControl_3_6; }
455 if (((token === import45.NgControlStatus) && (3 === requestNodeIndex))) { return this._NgControlStatus_3_7; }
456 if (((token === import46.DefaultValueAccessor) && (6 === requestNodeIndex))) { return this._DefaultValueAccessor_6_3; }
457 if (((token === import49.NG_VALUE_ACCESSOR) && (6 === requestNodeIndex))) { return this._NG_VALUE_ACCESSOR_6_4; }
458 if (((token
[all...]
/foundation/ability/idl_tool/idl_tool_2/lexer/
H A Dlexer.cpp177 Token token = PeekToken(); in SkipUntilToken() local
178 while (token.kind != tokenType) { in SkipUntilToken()
180 token = PeekToken(); in SkipUntilToken()
190 bool Lexer::ReadCacheableTime(Token &token) in ReadCacheableTime() argument
215 token.value = sb.ToString(); in ReadCacheableTime()
216 if (token.value.empty()) { in ReadCacheableTime()
223 void Lexer::ReadToken(Token &token, bool skipComment) in ReadToken() argument
226 InitCurToken(token); in ReadToken()
234 token.location.row = file_->GetCharLineNumber(); in ReadToken()
235 token in ReadToken()
269 InitCurToken(Token &token) InitCurToken() argument
278 ReadId(Token &token) ReadId() argument
302 ReadNum(Token &token) ReadNum() argument
328 ReadBinaryNum(Token &token) ReadBinaryNum() argument
350 ReadOctNum(Token &token) ReadOctNum() argument
373 ReadHexNum(Token &token) ReadHexNum() argument
395 ReadDecNum(Token &token) ReadDecNum() argument
415 ReadNumSuffix(Token &token) ReadNumSuffix() argument
428 ReadShiftLeftOp(Token &token) ReadShiftLeftOp() argument
445 ReadShiftRightOp(Token &token) ReadShiftRightOp() argument
462 ReadPPlusOp(Token &token) ReadPPlusOp() argument
479 ReadMMinusOp(Token &token) ReadMMinusOp() argument
496 ReadComment(Token &token) ReadComment() argument
514 ReadLineComment(Token &token) ReadLineComment() argument
532 ReadBlockComment(Token &token) ReadBlockComment() argument
553 ReadSymbolToken(Token &token) ReadSymbolToken() argument
[all...]
/third_party/mesa3d/src/freedreno/afuc/
H A Dparser.y121 %token <num> T_INT
122 %token <num> T_HEX
123 %token <num> T_CONTROL_REG
124 %token <str> T_LABEL_DECL
125 %token <str> T_LABEL_REF
126 %token <num> T_LITERAL
127 %token <num> T_BIT
128 %token <num> T_REGISTER
130 %token <tok> T_OP_NOP
131 %token <to
[all...]
/foundation/multimedia/player_framework/services/services/screen_capture/ipc/
H A Dscreen_capture_service_proxy.cpp45 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); in DestroyStub() local
46 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in DestroyStub()
61 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); in SetListenerObject() local
62 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetListenerObject()
78 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); in Release() local
79 CHECK_AND_RETURN_LOG(token, "Failed to write descriptor!"); in Release()
91 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); in SetCaptureMode() local
92 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATION, "Failed to write descriptor!"); in SetCaptureMode()
94 token = data.WriteInt32(captureMode); in SetCaptureMode()
95 CHECK_AND_RETURN_RET_LOG(token, MSERR_INVALID_OPERATIO in SetCaptureMode()
110 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); SetDataType() local
129 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); SetRecorderInfo() local
148 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); SetOutputFile() local
166 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); InitAudioEncInfo() local
185 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); InitAudioCap() local
205 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); InitVideoEncInfo() local
225 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); InitVideoCap() local
256 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); StartScreenCapture() local
275 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); StartScreenCaptureWithSurface() local
306 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); StopScreenCapture() local
323 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); AcquireAudioBuffer() local
362 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); AcquireVideoBuffer() local
389 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); ReleaseAudioBuffer() local
407 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); ReleaseVideoBuffer() local
422 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); ExcludeContent() local
451 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); SetMicrophoneEnabled() local
469 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); SetCanvasRotation() local
487 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); ResizeCanvas() local
505 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); SkipPrivacyMode() local
525 bool token = data.WriteInterfaceToken(ScreenCaptureServiceProxy::GetDescriptor()); SetMaxVideoFrameRate() local
[all...]
/third_party/backends/backend/
H A Depsonds-cmd.c27 esci2_parse_block(char *buf, int len, void *userdata, SANE_Status (*cb)(void *userdata, char *token, int len)) in esci2_parse_block() argument
65 /* find the end of the token */ in esci2_parse_block()
132 void *userdata, SANE_Status (*cb)(void *userdata, char *token, int len)) in esci2_cmd()
156 /* pointer to the token's value */ in esci2_cmd()
234 static SANE_Status esci2_cmd_simple(epsonds_scanner* s, char *cmd, SANE_Status (*cb)(void *userdata, char *token, int len)) in esci2_cmd_simple() argument
331 static void debug_token(int level, const char *func, char *token, int len) in debug_token() argument
334 memcpy(tdata, token + 3, len); in debug_token()
337 DBG(level, "%s: %3.3s / %s / %d\n", func, token, tdata, len); in debug_token()
342 static SANE_Status info_cb(void *userdata, char *token, int len) in info_cb() argument
348 /* pointer to the token' in info_cb()
129 esci2_cmd(epsonds_scanner* s, char *cmd, size_t len, char *payload, size_t plen, void *userdata, SANE_Status (*cb)(void *userdata, char *token, int len)) esci2_cmd() argument
636 capa_cb(void *userdata, char *token, int len) capa_cb() argument
783 stat_cb(void *userdata, char *token, int len) stat_cb() argument
815 resa_cb(void *userdata, char *token, int len) resa_cb() argument
835 para_cb(void *userdata, char *token, int len) para_cb() argument
871 img_cb(void *userdata, char *token, int len) img_cb() argument
[all...]
/third_party/python/Lib/email/
H A D_header_value_parser.py55 possibly empty list all of the defects found while creating the token. Defects
56 may appear on any token in the tree, and a composite list of all defects in the
60 Each object in a parse tree is called a 'token', and each has a 'token_type'
67 XXX: provide complete list of token types.
151 for token in self:
152 comments.extend(token.comments)
169 for token in self:
170 if not hasattr(token, '_pp'):
171 yield (indent + ' !! invalid element in token '
172 'list: {!r}'.format(token))
[all...]

Completed in 22 milliseconds

12345678910>>...92