/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_vs.c | 52 const struct tgsi_token *tokens; in get_dummy_vertex_shader() local 65 tokens = ureg_get_tokens(ureg, NULL); in get_dummy_vertex_shader() 69 return tokens; in get_dummy_vertex_shader() 90 FREE((void *) vs->base.tokens); in svga_get_compiled_dummy_vertex_shader() 91 vs->base.tokens = dummy; in svga_get_compiled_dummy_vertex_shader() 265 new_vs.base.tokens = ureg_get_tokens(ureg, NULL); in compile_passthrough_vs() 275 ureg_free_tokens(new_vs.base.tokens); in compile_passthrough_vs()
|
/third_party/mesa3d/src/gallium/auxiliary/postprocess/ |
H A D | pp_run.c | 247 struct tgsi_token *tokens = NULL; in pp_tgsi_to_state() local 252 * tokens so we must free them on exit. in pp_tgsi_to_state() 254 tokens = tgsi_alloc_tokens(PP_MAX_TOKENS); in pp_tgsi_to_state() 256 if (!tokens) { in pp_tgsi_to_state() 261 if (tgsi_text_translate(text, tokens, PP_MAX_TOKENS) == FALSE) { in pp_tgsi_to_state() 266 pipe_shader_state_from_tgsi(&state, tokens); in pp_tgsi_to_state() 270 FREE(tokens); in pp_tgsi_to_state() 273 FREE(tokens); in pp_tgsi_to_state()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | PluralRules.java | 1352 String[] tokens = SimpleTokenizer.split(condition); in parseConstraint() 1362 String t = tokens[x++]; in parseConstraint() 1370 if (x < tokens.length) { in parseConstraint() 1371 t = tokens[x++]; in parseConstraint() 1373 mod = Integer.parseInt(tokens[x++]); in parseConstraint() 1374 t = nextToken(tokens, x++, condition); in parseConstraint() 1378 t = nextToken(tokens, x++, condition); in parseConstraint() 1384 t = nextToken(tokens, x++, condition); in parseConstraint() 1394 t = nextToken(tokens, x++, condition); in parseConstraint() 1397 t = nextToken(tokens, in parseConstraint() 1509 nextToken(String[] tokens, int x, String context) nextToken() argument [all...] |
/third_party/rust/crates/serde/test_suite/tests/ |
H A D | test_de.rs | 156 fn test<'de, T>(value: T, tokens: &'de [Token]) in test() 161 assert_de_tokens(&value, tokens); in test() 163 // Test that the tokens are ignorable in test() 164 assert_de_tokens_ignore(tokens); in test() 195 // Embed the tokens to be ignored in the normal token in assert_de_tokens_ignore() 522 let test = |value, tokens| test(NonZeroI8::new(value).unwrap(), tokens); in test_nonzero_i8() 547 let test = |value, tokens| test(NonZeroI16::new(value).unwrap(), tokens); in test_nonzero_i16() 572 let test = |value, tokens| tes in test_nonzero_i32() [all...] |
/third_party/glslang/glslang/HLSL/ |
H A D | hlslTokenStream.cpp | 68 // Make a new source of tokens, not from the source, but from an 74 void HlslTokenStream::pushTokenStream(const TVector<HlslToken>* tokens) in pushTokenStream() argument 84 tokenStreamStack.push_back(tokens); in pushTokenStream() 87 token = (*tokens)[0]; in pushTokenStream() 100 // Load 'token' with the next token in the stream of tokens.
|
/third_party/PyYAML/tests/lib/ |
H A D | test_tokens.py | 62 test_tokens.unittest = ['.data', '.tokens'] 66 tokens = [] 70 tokens.append(token.__class__.__name__) 73 pprint.pprint(tokens)
|
/third_party/mesa3d/bin/ |
H A D | gen_vs_module_defs.py | 44 tokens = line.split(';') 45 if not tokens: 47 def_infos = [x for x in tokens[0].split(' ') if len(x) > 0]
|
/third_party/node/deps/npm/node_modules/spdx-expression-parse/ |
H A D | parse.js | 8 module.exports = function (tokens) { 12 return index < tokens.length 16 return hasMore() ? tokens[index] : null
|
H A D | scan.js | 115 var tokens = [] 128 tokens.push(token) 130 return tokens
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_state_gs.c | 56 tgsi_dump(templ->tokens, 0); in llvmpipe_create_gs_state() 61 state->no_tokens = !templ->tokens; in llvmpipe_create_gs_state() 66 if (templ->tokens || templ->type == PIPE_SHADER_IR_NIR) { in llvmpipe_create_gs_state()
|
/third_party/vk-gl-cts/framework/randomshaders/ |
H A D | rsgPrettyPrinter.cpp | 129 void PrettyPrinter::append (const TokenStream& tokens) in append() argument 131 for (int ndx = 0; ndx < tokens.getSize(); ndx++) in append() 132 processToken(tokens[ndx]); in append()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_aapoint.c | 58 /** Approx number of new tokens for instructions in aa_transform_inst() */ 365 const uint newLen = tgsi_num_tokens(orig_fs->tokens) + NUM_NEW_TOKENS; in generate_aapoint_fs() 383 aapoint_fs.tokens = tgsi_transform_shader(orig_fs->tokens, newLen, &transform.base); in generate_aapoint_fs() 384 if (!aapoint_fs.tokens) in generate_aapoint_fs() 389 tgsi_dump(orig_fs->tokens, 0); in generate_aapoint_fs() 391 tgsi_dump(aapoint_fs.tokens, 0); in generate_aapoint_fs() 400 FREE((void *)aapoint_fs.tokens); in generate_aapoint_fs() 404 FREE((void *)aapoint_fs.tokens); in generate_aapoint_fs() 745 aafs->state.tokens in aapoint_create_fs_state() [all...] |
H A D | draw_pipe_aaline.c | 54 /** Approx number of new tokens for instructions in aa_transform_inst() */ 281 const uint newLen = tgsi_num_tokens(orig_fs->tokens) + NUM_NEW_TOKENS; in generate_aaline_fs() 296 aaline_fs.tokens = tgsi_transform_shader(orig_fs->tokens, newLen, &transform.base); in generate_aaline_fs() 297 if (!aaline_fs.tokens) in generate_aaline_fs() 302 tgsi_dump(orig_fs->tokens, 0); in generate_aaline_fs() 304 tgsi_dump(aaline_fs.tokens, 0); in generate_aaline_fs() 311 FREE((void *)aaline_fs.tokens); in generate_aaline_fs() 639 aafs->state.tokens = tgsi_dup_tokens(fs->tokens); in aaline_create_fs_state() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/AsmParser/ |
H A D | AVRAsmParser.cpp | 405 // separate tokens. in tryParseExpression() 426 AsmToken tokens[2]; in tryParseRelocExpression() local 427 size_t ReadCount = Parser.getLexer().peekTokens(tokens); in tryParseRelocExpression() 430 if ((tokens[0].getKind() == AsmToken::Identifier && in tryParseRelocExpression() 431 tokens[1].getKind() == AsmToken::LParen) || in tryParseRelocExpression() 432 (tokens[0].getKind() == AsmToken::LParen && in tryParseRelocExpression() 433 tokens[1].getKind() == AsmToken::Minus)) { in tryParseRelocExpression() 437 tokens[1].getKind() == AsmToken::Minus) { in tryParseRelocExpression() 473 if (tokens[1].getKind() == AsmToken::Minus || in tryParseRelocExpression() 474 tokens[ in tryParseRelocExpression() [all...] |
/third_party/rust/crates/syn/codegen/src/ |
H A D | parse.rs | 24 tokens: BTreeMap<String, String>, 31 let tokens = load_token_file(TOKEN_SRC)?; in parse() 35 tokens, in parse() 49 let tokens = lookup in parse() 50 .tokens in parse() 58 tokens, in parse() 187 let content = mac.tokens.to_string(); in introspect_type() 188 let ty = lookup.tokens.get(&content).unwrap().to_string(); in introspect_type() 413 let mut tokens = BTreeMap::new(); in parse_token_macro() variables 425 tokens in parse_token_macro() [all...] |
/kernel/linux/linux-5.10/include/linux/wimax/ |
H A D | debug.h | 459 unsigned level, tokens; in d_parse_params() local 477 tokens = sscanf(token, "%s\n%u", submodule, &level); in d_parse_params() 480 if (tokens == 2) in d_parse_params() 485 "SUBMODULE:LEVEL (%d tokens)\n", in d_parse_params() 486 tag, token, tokens); in d_parse_params()
|
/third_party/PyYAML/examples/yaml-highlight/ |
H A D | yaml_hl.py | 8 tokens=None, events=None, replaces=None): 13 for domain, Class in [(tokens, 'Token'), (events, 'Event')]: 60 tokens = yaml.scan(input) 64 for token in tokens:
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_compute.c | 64 struct tgsi_token tokens[1024]; in blit_compute_shader() local 67 if (!tgsi_text_translate(text, tokens, ARRAY_SIZE(tokens))) { in blit_compute_shader() 73 state.prog = tokens; in blit_compute_shader()
|
H A D | u_pstipple.c | 57 /** Approx number of new tokens for instructions in pstip_transform_inst() */ 375 util_pstipple_create_fragment_shader(const struct tgsi_token *tokens, in util_pstipple_create_fragment_shader() argument 381 const uint newLen = tgsi_num_tokens(tokens) + NUM_NEW_TOKENS; in util_pstipple_create_fragment_shader() 397 tgsi_scan_shader(tokens, &transform.info); in util_pstipple_create_fragment_shader() 402 new_tokens = tgsi_transform_shader(tokens, newLen, &transform.base); in util_pstipple_create_fragment_shader() 407 tgsi_dump(fs->tokens, 0); in util_pstipple_create_fragment_shader() 408 tgsi_dump(new_fs->tokens, 0); in util_pstipple_create_fragment_shader()
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_second_test/mock/include/ |
H A D | mock_ability_debug_response_stub.h | 30 MOCK_METHOD1(OnAbilitysDebugStarted, void(const std::vector<sptr<IRemoteObject>> &tokens)); 31 MOCK_METHOD1(OnAbilitysDebugStoped, void(const std::vector<sptr<IRemoteObject>> &tokens));
|
/foundation/ability/ability_runtime/test/unittest/ability_debug_response_stub_test/ |
H A D | mock_ability_debug_response_stub.h | 30 MOCK_METHOD1(OnAbilitysDebugStarted, void(const std::vector<sptr<IRemoteObject>> &tokens)); 31 MOCK_METHOD1(OnAbilitysDebugStoped, void(const std::vector<sptr<IRemoteObject>> &tokens));
|
/third_party/python/Lib/ |
H A D | tokenize.py | 4 Python tokens. It decodes the bytes according to PEP-0263 for 18 that it produces COMMENT tokens for comments and gives type OP for all 169 self.tokens = [] 181 self.tokens.append("\\\n" * row_offset) 185 self.tokens.append(" " * col_offset) 213 self.tokens.append(indent) 217 self.tokens.append(token) 222 return "".join(self.tokens) 226 toks_append = self.tokens.append 262 """Transform tokens bac [all...] |
/third_party/rust/crates/syn/src/ |
H A D | lit.rs | 228 let mut tokens = TokenStream::from_str(&self.value())?; in parse_with() variables 229 tokens = respan_token_stream(tokens, self.span()); in parse_with() 231 let result = parser.parse2(tokens)?; in parse_with() 972 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 973 self.repr.token.to_tokens(tokens); in to_tokens() 979 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 980 self.repr.token.to_tokens(tokens); in to_tokens() 986 fn to_tokens(&self, tokens: &mut TokenStream) { in to_tokens() 987 self.repr.token.to_tokens(tokens); in to_tokens() [all...] |
/third_party/mesa3d/src/gallium/tools/trace/ |
H A D | parse.py | 85 self.tokens = [] 102 self.tokens.append(token) 108 self.tokens.append(token) 121 self.tokens.append(token) 126 while self.index >= len(self.tokens) and not self.final: 127 self.tokens = [] 140 if self.index >= len(self.tokens): 144 token = self.tokens[self.index]
|
/third_party/python/Tools/peg_generator/pegen/ |
H A D | parser_generator.py | 75 def __init__(self, rules: Dict[str, Rule], tokens: Set[str]): 77 self.tokens = tokens 80 if node.value not in self.rules and node.value not in self.tokens: 93 def __init__(self, grammar: Grammar, tokens: Set[str], file: Optional[IO[Text]]): 95 self.tokens = tokens 102 checker = RuleCheckingVisitor(self.rules, self.tokens)
|