Home
last modified time | relevance | path

Searched refs:next_token (Results 1 – 18 of 18) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_parse.c87 next_token( in next_token() function
104 next_token( ctx, &token ); in tgsi_parse_token()
114 next_token( ctx, &decl->Range ); in tgsi_parse_token()
117 next_token(ctx, &decl->Dim); in tgsi_parse_token()
121 next_token( ctx, &decl->Interp ); in tgsi_parse_token()
125 next_token( ctx, &decl->Semantic ); in tgsi_parse_token()
129 next_token(ctx, &decl->Image); in tgsi_parse_token()
133 next_token(ctx, &decl->SamplerView); in tgsi_parse_token()
137 next_token(ctx, &decl->Array); in tgsi_parse_token()
157 next_token(ctx, &imm->u[i].Float); in tgsi_parse_token()
[all …]
/third_party/jerryscript/tools/vera++/scripts/rules/
Djerry_switch_case.tcl48 foreach next_token [getTokens $fileName $lineNumber $next_token_start -1 -1 {}] {
49 set next_token_type [lindex $next_token 3]
50 set next_token_value [lindex $next_token 0]
79 …report $fileName [lindex $next_token 1] "There should be single space character after 'case' keywo…
83 …report $fileName [lindex $next_token 1] "There should be single space character after 'case' keywo…
106 set line_num [lindex $next_token 1]
148 …report $fileName [lindex $next_token 1] "Missing break, continue or FALLTHRU comment before case (…
166 set line_num [lindex $next_token 1]
191 lappend switch_ends [lindex $next_token 1]
253 lappend switch_ends [lindex $next_token 1]
[all …]
/third_party/cef/tools/yapf/yapf/yapflib/
Dformat_decision_state.py69 self.next_token = line.first
85 new.next_token = self.next_token
102 return (self.next_token == other.next_token and
114 return hash((self.next_token, self.column, self.paren_level,
119 (self.column, repr(self.next_token), self.paren_level,
131 current = self.next_token
148 current = self.next_token
216 tok = current.next_token
218 tok = tok.next_token
221 tok = current.next_token
[all …]
Dreformatter.py81 while state.next_token:
160 while state.next_token:
161 previous_token = state.next_token.previous_token
171 state.next_token.lineno > previous_lineno)
173 prev_lineno = state.next_token.lineno
243 if (not tok.next_token.whitespace_prefix.startswith('\n') and
244 not tok.next_token.whitespace_prefix.startswith(' ')):
246 tok.next_token.value not in ',}])'):
319 if not node.state.next_token:
Dunwrapped_line.py58 self._tokens[index].next_token = tok
96 self.last.next_token = token
Dformat_token.py93 self.next_token = None
/third_party/rust/crates/serde/serde_test/src/
Dde.rs69 fn next_token(&mut self) -> Token { in next_token() method
132 let token = self.next_token(); in deserialize_any()
164 let variant = self.next_token(); in deserialize_any()
168 self.next_token(); in deserialize_any()
172 self.next_token(); in deserialize_any()
176 self.next_token(); in deserialize_any()
180 self.next_token(); in deserialize_any()
184 self.next_token(); in deserialize_any()
188 self.next_token(); in deserialize_any()
192 self.next_token(); in deserialize_any()
[all …]
Dser.rs20 fn next_token(&mut self) -> Option<Token> { in next_token() method
64 match $ser.next_token() {
185 self.next_token(); in serialize_unit_variant()
213 self.next_token(); in serialize_newtype_variant()
257 self.next_token(); in serialize_tuple_variant()
292 self.next_token(); in serialize_struct_variant()
/third_party/googletest/googlemock/scripts/generator/cpp/
Dast.py974 next_token = GetNextToken()
977 while (next_token.token_type == tokenize.NAME or
978 (next_token.token_type == tokenize.SYNTAX and
979 next_token.name in ('::', '<'))):
982 if last_token_was_name and next_token.token_type == tokenize.NAME:
984 last_token_was_name = next_token.token_type == tokenize.NAME
985 tokens.append(next_token)
987 if next_token.name == '<':
990 next_token = GetNextToken()
991 return tokens, next_token
[all …]
/third_party/ltp/metadata/
Dmetaparse.c215 static char *next_token(FILE *f, struct data_node *doc) in next_token() function
294 if (!(token = next_token(f, NULL))) in parse_array()
350 if (!(token = next_token(f, NULL))) in parse_get_array_len()
357 if (!(token = next_token(f, NULL))) in parse_get_array_len()
416 if (!(token = next_token(f, NULL))) in parse_array_size()
422 if (!(token = next_token(f, NULL))) in parse_array_size()
442 if (!(token = next_token(f, NULL))) in parse_array_size()
483 if (!(token = next_token(f, doc))) in parse_test_struct()
651 while ((token = next_token(inc, NULL))) { in parse_include_macros()
686 while ((token = next_token(f, doc))) { in parse_file()
[all …]
/third_party/toybox/toys/pending/
Dtftpd.c89 static char *next_token(char *at, char *end) in next_token() function
295 buf = next_token(buf, end); in tftpd_main()
303 for (buf = next_token(buf, end); buf != NULL; buf = next_token(buf, end)) { in tftpd_main()
305 buf = next_token(buf, end); in tftpd_main()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instr_fetch.cpp382 std::string next_token; in from_string_impl() local
383 is >> next_token; in from_string_impl()
385 if (next_token.empty()) in from_string_impl()
388 if (next_token.find(':') != string::npos) { in from_string_impl()
389 fetch->set_param_from_string(next_token); in from_string_impl()
391 fetch->set_flag_from_string(next_token); in from_string_impl()
Dsfn_instr_fetch.h125 void set_param_from_string(const std::string& next_token);
126 void set_flag_from_string(const std::string& next_token);
Dsfn_instr_tex.h155 void read_tex_coord_normalitazion(const std::string& next_token);
156 void set_tex_param(const std::string& next_token);
Dsfn_instr_tex.cpp278 std::string next_token; in from_string() local
279 is >> next_token; in from_string()
281 if (next_token.empty()) in from_string()
284 if (next_token[0] == 'U' || next_token[0] == 'N') { in from_string()
285 tex->read_tex_coord_normalitazion(next_token); in from_string()
287 tex->set_tex_param(next_token); in from_string()
/third_party/libcoap/src/
Dresource.c116 const uint8_t *next_token = text->s; in match() local
120 const uint8_t *token = next_token; in match()
121 next_token = (unsigned char *)memchr(token, ' ', remaining_length); in match()
123 if (next_token) { in match()
124 token_length = next_token - token; in match()
126 next_token++; in match()
/third_party/gn/src/gn/
Dparser.cc447 const Token& next_token = Consume(); in ParseExpression() local
448 InfixFunc infix = expressions_[next_token.type()].infix; in ParseExpression()
450 *err_ = Err(next_token, in ParseExpression()
451 "Unexpected token '" + std::string(next_token.value()) + "'"); in ParseExpression()
454 left = (this->*infix)(std::move(left), next_token); in ParseExpression()
/third_party/cups-filters/filter/foomatic-rip/
Dutil.c396 static const char * next_token(const char *string, const char *separators) in next_token() function
418 for (p = string; *p; p = next_token(p, separators)) in count_separators()
450 string = next_token(string, separators); in argv_split()