Home
last modified time | relevance | path

Searched refs:token_t (Results 1 – 8 of 8) sorted by relevance

/external/v8/src/asmjs/
Dasm-scanner.h32 typedef int32_t token_t; typedef
37 token_t Token() const { return token_; } in Token()
63 std::string Name(token_t token) const;
80 static bool IsLocal(token_t token) { return token <= kLocalsStart; } in IsLocal()
81 static bool IsGlobal(token_t token) { return token >= kGlobalsStart; } in IsGlobal()
84 static size_t LocalIndex(token_t token) { in LocalIndex()
88 static size_t GlobalIndex(token_t token) { in GlobalIndex()
140 token_t token_;
141 token_t preceding_token_;
142 token_t next_token_; // Only set when in {rewind} state.
[all …]
Dasm-parser.h112 AsmJsScanner::token_t label;
165 CachedVectors<AsmJsScanner::token_t> cached_token_t_vectors_{zone_};
178 AsmJsScanner::token_t stdlib_name_;
179 AsmJsScanner::token_t foreign_name_;
180 AsmJsScanner::token_t heap_name_;
182 static const AsmJsScanner::token_t kTokenNone = 0;
227 AsmJsScanner::token_t pending_label_;
235 inline bool Peek(AsmJsScanner::token_t token) { in Peek()
239 inline bool Check(AsmJsScanner::token_t token) { in Check()
287 inline AsmJsScanner::token_t Consume() { in Consume()
[all …]
Dasm-scanner.cc176 std::string AsmJsScanner::Name(token_t token) const { in Name()
264 token_ = kLocalsStart - static_cast<token_t>(local_names_.size()); in ConsumeIdentifier()
Dasm-parser.cc211 AsmJsScanner::token_t token) { in GetVarInfo()
288 void AsmJsParser::Begin(AsmJsScanner::token_t label) { in Begin()
293 void AsmJsParser::Loop(AsmJsScanner::token_t label) { in Loop()
305 void AsmJsParser::BareBegin(BlockKind kind, AsmJsScanner::token_t label) { in BareBegin()
317 int AsmJsParser::FindContinueLabelDepth(AsmJsScanner::token_t label) { in FindContinueLabelDepth()
329 int AsmJsParser::FindBreakLabelDepth(AsmJsScanner::token_t label) { in FindBreakLabelDepth()
725 AsmJsScanner::token_t function_name = Consume(); in ValidateFunction()
825 CachedVector<AsmJsScanner::token_t> function_parameters( in ValidateFunctionParams()
1244 AsmJsScanner::token_t label_name = kTokenNone; in BreakStatement()
1261 AsmJsScanner::token_t label_name = kTokenNone; in ContinueStatement()
[all …]
/external/webp/src/enc/
Dtoken_enc.c33 typedef uint16_t token_t; // bit #15: bit value typedef
41 #define TOKEN_DATA(p) ((const token_t*)&(p)[1])
69 const size_t size = sizeof(*page) + b->page_size_ * sizeof(token_t); in TBufferNewPage()
81 b->tokens_ = (token_t*)TOKEN_DATA(page); in TBufferNewPage()
208 const token_t* const tokens = TOKEN_DATA(p); in VP8EmitTokens()
210 const token_t token = tokens[n]; in VP8EmitTokens()
234 const token_t* const tokens = TOKEN_DATA(p); in VP8EstimateTokenSize()
236 const token_t token = tokens[n]; in VP8EstimateTokenSize()
/external/mesa3d/src/compiler/glsl/glcpp/
Dglcpp-parse.y83 static token_t *
86 static token_t *
93 _token_list_append(glcpp_parser_t *parser, token_list_t *list, token_t *token);
951 token_t *
954 token_t *token; in _token_create_str()
956 token = linear_alloc_child(parser->linalloc, sizeof(token_t)); in _token_create_str()
963 token_t *
966 token_t *token; in _token_create_ival()
968 token = linear_alloc_child(parser->linalloc, sizeof(token_t)); in _token_create_ival()
989 _token_list_append(glcpp_parser_t *parser, token_list_t *list, token_t *token) in _token_list_append()
[all …]
Dglcpp.h58 typedef struct token token_t; typedef
67 token_t *token;
110 token_t *token;
/external/jemalloc_new/test/unit/
Dstats_print.c30 } token_t; typedef
39 token_t token;
43 token_init(token_t *token, parser_t *parser, token_type_t token_type, in token_init()
54 token_error(token_t *token) { in token_error()