Searched refs:tokens (Results 1 - 25 of 758) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/tests/
H A D000-content-with-spaces.c1 this is four tokens
/external/mesa3d/src/glsl/glcpp/tests/
H A D000-content-with-spaces.c1 this is four tokens
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt048rewrite.py25 tokens = self._parse("abc")
26 tokens.insertBefore(0, "0")
28 result = tokens.toString()
34 tokens = self._parse("abc")
35 tokens.insertAfter(2, "x")
37 result = tokens.toString()
43 tokens = self._parse("abc")
44 tokens.insertBefore(1, "x")
45 tokens.insertAfter(1, "x")
47 result = tokens
[all...]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/
H A Dkeycodes.js64 var tokens = [];
66 tokens.push('Control');
69 tokens.push(isMac ? 'Option' : 'Alt');
72 tokens.push(isMac ? 'Command' : 'Meta');
75 tokens.push('Shift');
78 tokens.push(String.fromCharCode(evt.keyCode));
80 tokens.push(KEY_MAP[evt.keyCode]);
84 return tokens.join('+');
/external/chromium_org/ui/app_list/search/
H A Dtokenized_string_unittest.cc16 const TokenizedString::Tokens& tokens = tokenized.tokens(); local
20 for (size_t i = 0; i < tokens.size(); ++i) {
23 str += tokens[i];
33 TokenizedString tokens(empty);
34 EXPECT_EQ(base::string16(), GetContent(tokens));
40 TokenizedString tokens(text);
42 GetContent(tokens));
46 TokenizedString tokens(text);
48 GetContent(tokens));
[all...]
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A D__init__.py152 from tokens import *
/external/chromium_org/third_party/mesa/src/src/gallium/targets/graw-null/
H A Dgraw_util.c18 struct tgsi_token tokens[1024]; local
21 if (!tgsi_text_translate(text, tokens, Elements(tokens)))
24 state.tokens = tokens;
32 struct tgsi_token tokens[1024]; local
35 if (!tgsi_text_translate(text, tokens, Elements(tokens)))
38 state.tokens = tokens;
46 struct tgsi_token tokens[1024]; local
[all...]
/external/mesa3d/src/gallium/targets/graw-null/
H A Dgraw_util.c18 struct tgsi_token tokens[1024]; local
21 if (!tgsi_text_translate(text, tokens, Elements(tokens)))
24 state.tokens = tokens;
32 struct tgsi_token tokens[1024]; local
35 if (!tgsi_text_translate(text, tokens, Elements(tokens)))
38 state.tokens = tokens;
46 struct tgsi_token tokens[1024]; local
[all...]
/external/clang/bindings/python/tests/cindex/
H A Dtest_tokens.py15 tokens = list(tu.get_tokens(extent=r))
17 assert len(tokens) == 5
18 assert tokens[1].spelling == 'i'
19 assert tokens[1].kind == TokenKind.IDENTIFIER
21 cursor = tokens[1].cursor
23 assert tokens[1].cursor == tokens[2].cursor
31 tokens = list(tu.get_tokens(extent=r))
32 eq_(len(tokens), 4)
34 loc = tokens[
[all...]
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestCommonTokenStream.java52 BufferedTokenStream tokens = new BufferedTokenStream(lexEngine);
54 String result = tokens.LT(1).getText();
73 BufferedTokenStream tokens = new BufferedTokenStream(lexEngine);
75 String result = tokens.LT(2).getText();
94 BufferedTokenStream tokens = new BufferedTokenStream(lexEngine);
97 Token t = tokens.LT(i);
100 t = tokens.LT(i);
102 tokens.LT(i++); // push it past end
103 tokens.LT(i++);
105 String result = tokens
[all...]
H A DTestTokenRewriteStream.java51 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine);
52 tokens.insertBefore(0, "0");
53 String result = tokens.toString();
66 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine);
67 tokens.insertAfter(2, "x");
68 String result = tokens.toString();
81 TokenRewriteStream tokens = new TokenRewriteStream(lexEngine);
82 tokens.fill();
83 tokens.insertBefore(1, "x");
84 tokens
[all...]
/external/qemu/include/qapi/qmp/
H A Djson-parser.h21 QObject *json_parser_parse(QList *tokens, va_list *ap);
22 QObject *json_parser_parse_err(QList *tokens, va_list *ap, Error **errp);
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/
H A Dtgsi_sanity.h46 const struct tgsi_token *tokens );
H A Dtgsi_build.h62 struct tgsi_token *tokens,
76 struct tgsi_token *tokens,
90 struct tgsi_token *tokens,
107 struct tgsi_token *tokens,
H A Dtgsi_text.h42 struct tgsi_token *tokens,
/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_sanity.h46 const struct tgsi_token *tokens );
H A Dtgsi_build.h62 struct tgsi_token *tokens,
76 struct tgsi_token *tokens,
90 struct tgsi_token *tokens,
107 struct tgsi_token *tokens,
H A Dtgsi_text.h42 struct tgsi_token *tokens,
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c95 struct src_tokens tokens; local
106 tokens.Negate.String = src_str + matches[1].rm_so;
107 tokens.Negate.Length = match_length(matches, 1);
108 tokens.Abs.String = src_str + matches[2].rm_so;
109 tokens.Abs.Length = match_length(matches, 2);
110 tokens.File.String = src_str + matches[3].rm_so;
111 tokens.File.Length = match_length(matches, 3);
112 tokens.Index.String = src_str + matches[4].rm_so;
113 tokens.Index.Length = match_length(matches, 4);
114 tokens
222 struct dst_tokens tokens; local
321 struct inst_tokens tokens; local
[all...]
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c95 struct src_tokens tokens; local
106 tokens.Negate.String = src_str + matches[1].rm_so;
107 tokens.Negate.Length = match_length(matches, 1);
108 tokens.Abs.String = src_str + matches[2].rm_so;
109 tokens.Abs.Length = match_length(matches, 2);
110 tokens.File.String = src_str + matches[3].rm_so;
111 tokens.File.Length = match_length(matches, 3);
112 tokens.Index.String = src_str + matches[4].rm_so;
113 tokens.Index.Length = match_length(matches, 4);
114 tokens
222 struct dst_tokens tokens; local
321 struct inst_tokens tokens; local
[all...]
/external/chromium_org/net/tools/balsa/
H A Dbalsa_headers_token_utils.cc13 BalsaHeaders::HeaderTokenList* tokens) {
14 CHECK(tokens);
24 ParseTokenList(value_begin, line_end, tokens);
46 BalsaHeaders::HeaderTokenList tokens; local
47 TokenizeHeaderLine(*headers, *header_line, &tokens);
49 if (tokens.empty()) {
53 } else if (tokens.size() == 1) {
57 const base::StringPiece& new_last_token = tokens[tokens.size() - 2];
84 BalsaHeaders::HeaderTokenList tokens; local
10 TokenizeHeaderLine( const BalsaHeaders& headers, const BalsaHeaders::HeaderLineDescription& header_line, BalsaHeaders::HeaderTokenList* tokens) argument
92 TokenizeHeaderValue( const BalsaHeaders& headers, const base::StringPiece& key, BalsaHeaders::HeaderTokenList* tokens) argument
109 ParseTokenList( const char* start, const char* end, BalsaHeaders::HeaderTokenList* tokens) argument
[all...]
/external/clang/test/Preprocessor/
H A Dmacro_paste_msextensions.c12 #define comment /##/ dead tokens live here
19 #define nested(x) int x comment cute little dead tokens...
21 nested(baz) rise of the dead tokens
/external/chromium_org/chrome/browser/extensions/api/push_messaging/
H A Dsync_setup_helper.cc61 std::vector<std::string> tokens;
63 Tokenize(file_contents, delimiters, &tokens);
64 EXPECT_EQ(5U, tokens.size()) << "Password file \""
67 if (5U != tokens.size())
69 username_ = tokens[0];
70 password_ = tokens[1];
71 client_id_ = tokens[2];
72 client_secret_ = tokens[3];
73 refresh_token_ = tokens[4];
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDOMSettableTokenList.cpp54 void DOMSettableTokenList::add(const Vector<String>& tokens, ExceptionState& exceptionState) argument
56 DOMTokenList::add(tokens, exceptionState);
58 for (size_t i = 0; i < tokens.size(); ++i) {
60 m_tokens.set(AtomicString(tokens[i]), false);
62 m_tokens.add(AtomicString(tokens[i]));
75 void DOMSettableTokenList::remove(const Vector<String>& tokens, ExceptionState& exceptionState) argument
77 DOMTokenList::remove(tokens, exceptionState);
78 for (size_t i = 0; i < tokens.size(); ++i)
79 m_tokens.remove(AtomicString(tokens[i]));
/external/llvm/tools/llvm-c-test/
H A Dllvm-c-test.h17 void tokenize_stdin(void (*cb)(char **tokens, int ntokens));

Completed in 1504 milliseconds

1234567891011>>