Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/asmjs/
Dasm-scanner.h33 using token_t = int32_t;
38 token_t Token() const { return token_; } in Token()
64 std::string Name(token_t token) const;
81 static bool IsLocal(token_t token) { return token <= kLocalsStart; } in IsLocal()
82 static bool IsGlobal(token_t token) { return token >= kGlobalsStart; } in IsGlobal()
85 static size_t LocalIndex(token_t token) { in LocalIndex()
89 static size_t GlobalIndex(token_t token) { in GlobalIndex()
144 token_t token_;
145 token_t preceding_token_;
146 token_t next_token_; // Only set when in {rewind} state.
[all …]
Dasm-parser.h125 AsmJsScanner::token_t label;
179 CachedVectors<AsmJsScanner::token_t> cached_token_t_vectors_{zone_};
192 AsmJsScanner::token_t stdlib_name_ = kTokenNone;
193 AsmJsScanner::token_t foreign_name_ = kTokenNone;
194 AsmJsScanner::token_t heap_name_ = kTokenNone;
196 static const AsmJsScanner::token_t kTokenNone = 0;
241 AsmJsScanner::token_t pending_label_ = kTokenNone;
249 inline bool Peek(AsmJsScanner::token_t token) { in Peek()
257 inline bool Check(AsmJsScanner::token_t token) { in Check()
305 inline AsmJsScanner::token_t Consume() { in Consume()
[all …]
Dasm-scanner.cc177 std::string AsmJsScanner::Name(token_t token) const { in Name()
265 token_ = kLocalsStart - static_cast<token_t>(local_names_.size()); in ConsumeIdentifier()
Dasm-parser.cc200 AsmJsScanner::token_t token) { in GetVarInfo()
276 void AsmJsParser::Begin(AsmJsScanner::token_t label) { in Begin()
281 void AsmJsParser::Loop(AsmJsScanner::token_t label) { in Loop()
293 void AsmJsParser::BareBegin(BlockKind kind, AsmJsScanner::token_t label) { in BareBegin()
305 int AsmJsParser::FindContinueLabelDepth(AsmJsScanner::token_t label) { in FindContinueLabelDepth()
320 int AsmJsParser::FindBreakLabelDepth(AsmJsScanner::token_t label) { in FindBreakLabelDepth()
737 AsmJsScanner::token_t function_name = Consume(); in ValidateFunction()
848 CachedVector<AsmJsScanner::token_t> function_parameters( in ValidateFunctionParams()
1268 AsmJsScanner::token_t label_name = kTokenNone; in BreakStatement()
1285 AsmJsScanner::token_t label_name = kTokenNone; in ContinueStatement()
[all …]
/third_party/skia/third_party/externals/libwebp/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()
/third_party/mesa3d/src/compiler/glsl/glcpp/
Dglcpp-parse.y93 static token_t *
96 static token_t *
103 _token_list_append(glcpp_parser_t *parser, token_list_t *list, token_t *token);
1052 token_t *
1055 token_t *token; in _token_create_str()
1057 token = linear_alloc_child(parser->linalloc, sizeof(token_t)); in _token_create_str()
1065 token_t *
1068 token_t *token; in _token_create_ival()
1070 token = linear_alloc_child(parser->linalloc, sizeof(token_t)); in _token_create_ival()
1092 _token_list_append(glcpp_parser_t *parser, token_list_t *list, token_t *token) in _token_list_append()
[all …]
Dglcpp.h60 typedef struct token token_t; typedef
69 token_t *token;
113 token_t *token;