Searched refs:tokens (Results 126 - 150 of 796) sorted by relevance

1234567891011>>

/external/snakeyaml/src/main/java/org/yaml/snakeyaml/tokens/
H A DFlowMappingStartToken.java16 package org.yaml.snakeyaml.tokens;
H A DFlowSequenceEndToken.java16 package org.yaml.snakeyaml.tokens;
H A DFlowSequenceStartToken.java16 package org.yaml.snakeyaml.tokens;
H A DKeyToken.java16 package org.yaml.snakeyaml.tokens;
H A DStreamEndToken.java16 package org.yaml.snakeyaml.tokens;
H A DStreamStartToken.java16 package org.yaml.snakeyaml.tokens;
H A DTagTuple.java16 package org.yaml.snakeyaml.tokens;
H A DValueToken.java16 package org.yaml.snakeyaml.tokens;
H A DWhitespaceToken.java16 package org.yaml.snakeyaml.tokens;
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/
H A Drhino-python.prog58 var tokens = new ANTLR.runtime.CommonTokenStream(lexer);
59 tokens.discardOffChannelTokens=true;
60 var indentedSource = new PythonTokenSource(tokens);
61 tokens = new ANTLR.runtime.CommonTokenStream(indentedSource);
62 var parser = new PythonParser(tokens);
/external/antlr/antlr-3.4/runtime/Python/unittests/
H A Dteststreams.py358 self.tokens = []
365 return self.tokens.pop(0)
400 self.source.tokens.append(
411 """CommonTokenStream.LT(1): with hidden tokens"""
413 self.source.tokens.append(
417 self.source.tokens.append(
430 self.source.tokens.append(
434 self.source.tokens.append(
448 self.source.tokens.append(
452 self.source.tokens
[all...]
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_vs.c50 static struct tgsi_token tokens[300];
82 tokens,
83 ARRAY_SIZE(tokens)))
89 return tokens;
111 vs->base.tokens = tgsi_dup_tokens(substitute_vs(svga->debug.shader_id,
112 templ->tokens));
116 tgsi_scan_shader(vs->base.tokens, &vs->base.info);
123 tmp2.tokens = vs->base.tokens;
210 FREE((void *)vs->base.tokens);
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_nir_lower_builtin.c103 int tokens[STATE_LENGTH]; local
105 memcpy(tokens, element->tokens, sizeof(tokens));
113 switch (tokens[0]) {
124 tokens[1] = darr->base_offset;
129 char *name = _mesa_program_state_string((gl_state_index *)tokens);
144 memcpy(var->state_slots[0].tokens, tokens,
145 sizeof(var->state_slots[0].tokens));
[all...]
/external/turbine/java/com/google/turbine/parse/
H A DVariableInitializerParser.java58 /** Indices into {@code LT} tokens used for backtracking. */
64 /** The saved tokens. */
65 List<SavedToken> tokens = new ArrayList<>(); field in class:VariableInitializerParser
68 * Indices of boundaries between variable initializers in {@code tokens} (which are indicated by
88 /** Returns lists of tokens for individual initializers in a (mutli-)variable initializer. */
102 ltIndices.addLast(tokens.size());
113 ltIndices.addLast(tokens.size());
161 commas.add(tokens.size());
208 .addAll(tokens.subList(start, idx - 1))
215 .addAll(tokens
[all...]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
H A DParseResult.java39 private final List<JavaToken> tokens; field in class:ParseResult
47 * @param tokens the complete list of tokens that were parsed, or empty if parsing failed completely.
49 public ParseResult(T result, List<Problem> problems, List<JavaToken> tokens, CommentsCollection commentsCollection) { argument
53 this.tokens = tokens;
87 * @return the complete list of tokens that were parsed, or empty if parsing failed completely.
88 * @deprecated lists of tokens are now kept in every node.
93 return Optional.ofNullable(tokens);
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/
H A DParseResult.java19 private final Optional<List<Token>> tokens; field in class:ParseResult
26 * @param tokens the complete list of tokens that were parsed, or empty if parsing failed completely.
28 ParseResult(Optional<T> result, List<Problem> problems, Optional<List<Token>> tokens, Optional<CommentsCollection> commentsCollection) { argument
32 this.tokens = assertNotNull(tokens);
57 * @return the complete list of tokens that were parsed, or empty if parsing failed completely.
60 return tokens;
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_vs_llvm.c78 FREE((void*) dvs->state.tokens);
92 /* we make a private copy of the tokens */
93 vs->base.state.tokens = tgsi_dup_tokens(state->tokens);
94 if (!vs->base.state.tokens) {
99 tgsi_scan_shader(state->tokens, &vs->base.info);
/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_parse.c36 const struct tgsi_token *tokens )
38 ctx->FullHeader.Header = *(struct tgsi_header *) &tokens[0];
40 ctx->FullHeader.Processor = *(struct tgsi_processor *) &tokens[1];
46 ctx->Tokens = tokens;
279 tgsi_dup_tokens(const struct tgsi_token *tokens) argument
281 unsigned n = tgsi_num_tokens(tokens);
285 memcpy(new_tokens, tokens, bytes);
291 * Allocate memory for num_tokens tokens.
302 * Free tokens allocated by tgsi_alloc_tokens() or tgsi_dup_tokens()
305 tgsi_free_tokens(const struct tgsi_token *tokens) argument
312 tgsi_dump_tokens(const struct tgsi_token *tokens) argument
327 tgsi_get_processor_type(const struct tgsi_token *tokens) argument
[all...]
/external/jsmn/
H A Djsmn_test.c86 jsmntok_t tokens[10]; local
91 r = jsmn_parse(&p, js, strlen(js), tokens, 10);
93 check(TOKEN_EQ(tokens[0], 0, 8, JSMN_OBJECT));
94 check(TOKEN_EQ(tokens[1], 2, 3, JSMN_STRING));
95 check(TOKEN_EQ(tokens[2], 6, 7, JSMN_PRIMITIVE));
97 check(TOKEN_STRING(js, tokens[0], js));
98 check(TOKEN_STRING(js, tokens[1], "a"));
99 check(TOKEN_STRING(js, tokens[2], "0"));
103 r = jsmn_parse(&p, js, strlen(js), tokens, 10);
108 r = jsmn_parse(&p, js, strlen(js), tokens, 1
326 jsmntok_t tokens[10]; local
356 jsmntok_t tokens[128]; local
388 jsmntok_t tokens[10]; local
434 jsmntok_t tokens[10]; local
452 jsmntok_t* tokens; local
586 jsmntok_t tokens[10]; local
[all...]
/external/vogar/src/vogar/commands/
H A DVmCommandBuilder.java153 builder.tokens(vmCommand);
155 builder.tokens("-Djava.class.path=" + classpath);
157 builder.tokens("-classpath", classpath.toString());
162 builder.tokens("-Xbootclasspath/a:" + bootClasspath);
165 builder.tokens("-Duser.dir=" + userDir);
169 builder.tokens("-Djava.io.tmpdir=" + temp);
172 builder.tokens(vmArgs);
173 builder.tokens(mainClass);
174 builder.tokens(args);
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestTreeWizard.java43 protected static final String[] tokens = field in class:TestTreeWizard
48 TreeWizard wiz = new TreeWizard(adaptor, tokens);
56 TreeWizard wiz = new TreeWizard(adaptor, tokens);
64 TreeWizard wiz = new TreeWizard(adaptor, tokens);
72 TreeWizard wiz = new TreeWizard(adaptor, tokens);
80 TreeWizard wiz = new TreeWizard(adaptor, tokens);
88 TreeWizard wiz = new TreeWizard(adaptor, tokens);
94 TreeWizard wiz = new TreeWizard(adaptor, tokens);
102 TreeWizard wiz = new TreeWizard(adaptor, tokens);
111 TreeWizard wiz = new TreeWizard(adaptor, tokens);
[all...]
/external/llvm/tools/llvm-c-test/
H A Dcalc.c41 static LLVMValueRef build_from_tokens(char **tokens, int ntokens, argument
49 char tok = tokens[i][0];
85 long val = strtol(tokens[i], &end, 0);
112 static void handle_line(char **tokens, int ntokens) { argument
113 char *name = tokens[0];
130 res = build_from_tokens(tokens + 1, ntokens - 1, builder, param);
/external/libtextclassifier/
H A Dfeature-processor.h47 // Splits tokens that contain the selection boundary inside them.
50 std::vector<Token>* tokens);
53 int CenterTokenFromClick(CodepointSpan span, const std::vector<Token>& tokens);
60 // Strips the tokens from the tokens vector that are not used for feature
62 // enough tokens in the required context_size for all inferences with a click
65 std::vector<Token>* tokens, int* click_pos);
74 // Converts a codepoint span to a token span in the given list of tokens.
82 // Converts a token span to a codepoint span in the given list of tokens.
89 // A cache mapping codepoint spans to embedded tokens feature
[all...]
/external/googletest/googlemock/scripts/generator/cpp/
H A Dast.py341 # TODO(nnorwitz): bases are tokens, do name comparision.
384 # TODO(nnorwitz): parameters are tokens, do name comparision.
463 def _GetTemplateEnd(self, tokens, start):
467 token = tokens[end]
475 return tokens[start:end-1], end
477 def ToType(self, tokens):
490 # Partition tokens into name and modifier tokens.
506 end = len(tokens)
508 token = tokens[
[all...]
/external/v8/testing/gmock/scripts/generator/cpp/
H A Dast.py341 # TODO(nnorwitz): bases are tokens, do name comparision.
384 # TODO(nnorwitz): parameters are tokens, do name comparision.
463 def _GetTemplateEnd(self, tokens, start):
467 token = tokens[end]
475 return tokens[start:end-1], end
477 def ToType(self, tokens):
490 # Partition tokens into name and modifier tokens.
506 end = len(tokens)
508 token = tokens[
[all...]

Completed in 562 milliseconds

1234567891011>>