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

/external/clang/unittests/Lex/
H A DPPConditionalDirectiveRecordTest.cpp108 std::vector<Token> toks; local
114 toks.push_back(tok);
118 ASSERT_EQ(10U, toks.size());
121 SourceRange(toks[0].getLocation(), toks[1].getLocation())));
123 SourceRange(toks[0].getLocation(), toks[2].getLocation())));
125 SourceRange(toks[3].getLocation(), toks[4].getLocation())));
127 SourceRange(toks[
[all...]
H A DLexerTest.cpp75 std::vector<Token> toks; local
81 toks.push_back(tok);
84 return toks;
89 auto toks = Lex(Source); local
90 EXPECT_EQ(ExpectedTokens.size(), toks.size());
92 EXPECT_EQ(ExpectedTokens[i], toks[i].getKind());
95 return toks;
126 std::vector<Token> toks = CheckLex("#define M(x) x\n" local
130 EXPECT_EQ("M(i)", getSourceText(toks[2], toks[
138 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
151 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
164 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
178 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
192 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
207 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
220 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
233 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
248 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
263 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
283 std::vector<Token> toks = CheckLex("#define M(x) [x]\\n" local
367 std::vector<Token> toks = local
[all...]
/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_compiler_cmdline.c99 struct tgsi_token toks[65536]; local
132 if (!tgsi_text_translate(ptr, toks, ARRAY_SIZE(toks)))
135 tgsi_parse_init(&parse, toks);
137 shader_obj = etna_compile_shader(&specs_gc2000, toks);
/external/clang/unittests/Basic/
H A DSourceManagerTest.cpp90 std::vector<Token> toks; local
96 toks.push_back(tok);
100 ASSERT_EQ(3U, toks.size());
101 ASSERT_EQ(tok::l_square, toks[0].getKind());
102 ASSERT_EQ(tok::identifier, toks[1].getKind());
103 ASSERT_EQ(tok::r_square, toks[2].getKind());
105 SourceLocation lsqrLoc = toks[0].getLocation();
106 SourceLocation idLoc = toks[1].getLocation();
107 SourceLocation rsqrLoc = toks[2].getLocation();
210 std::vector<Token> toks; local
314 std::vector<Token> toks; local
[all...]
/external/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_program.c79 struct tgsi_token toks[32]; local
81 .tokens = toks,
84 bool ret = tgsi_text_translate(src, toks, ARRAY_SIZE(toks));
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
H A Dir3_cmdline.c302 struct tgsi_token toks[65536]; local
313 if (!tgsi_text_translate(ptr, toks, ARRAY_SIZE(toks)))
317 tgsi_dump(toks, 0);
319 nir = ir3_tgsi_to_nir(toks);
/external/ipsec-tools/src/racoon/
H A Dgssapi.c448 vchar_t *toks; local
461 toks = vmalloc(len);
462 if (toks == 0)
464 p = (char *)toks->v;
470 *tokens = toks;
483 vchar_t *toks; local
502 toks = vmalloc(len);
503 if (toks == 0)
505 p = (char *)toks->v;
511 *tokens = toks;
[all...]
/external/iw/
H A Dwowlan.c134 char *len, *offs, *toks; local
143 toks = strchr(offs, ',');
144 if (!toks)
146 *toks = 0;
147 toks++;
149 stream = parse_hex(toks, &stream_len);
/external/libmojo/mojo/public/tools/bindings/pylib/mojom_tests/parse/
H A Dlexer_unittest.py186 toks = self._TokensForInput(input_string)
187 assert len(toks) == 1
188 return toks[0]
/external/selinux/libselinux/src/
H A Davc.c600 static unsigned long toks = 10 * 5 * HZ;
607 toks += now - last_msg;
609 if (toks > AVC_MSG_BURST)
610 toks = AVC_MSG_BURST;
611 if (toks >= AVC_MSG_COST) {
614 toks -= AVC_MSG_COST;
/external/libpcap/
H A Dgrammar.y189 str2tok(const char *str, const struct tok *toks)
193 for (i = 0; toks[i].s != NULL; i++) {
194 if (pcap_strcasecmp(toks[i].s, str) == 0)
195 return (toks[i].v);
H A Dgrammar.c235 str2tok(const char *str, const struct tok *toks) argument
239 for (i = 0; toks[i].s != NULL; i++) {
240 if (pcap_strcasecmp(toks[i].s, str) == 0)
241 return (toks[i].v);
/external/v8/benchmarks/
H A Dearley-boyer.js3972 var toks;
4509 (toks = sc_toks_36);
4602 var toks;
4607 return ((nts = (parse[(0)])), (enders = (parse[(2)])), (steps = (parse[(4)])), (names = (parse[(5)])), (toks = (parse[(6)])), (states = (parse[(7)])), (BgL_sc_derivzd2treesza2_132z70 = (parse[(9)])), (BgL_sc_derivzd2treesza2_132z70(nt, i, j, nts, enders, steps, names, toks, states)));
4612 var toks;
4616 return ((nts = (parse[(0)])), (enders = (parse[(2)])), (steps = (parse[(4)])), (toks = (parse[(6)])), (states = (parse[(7)])), (BgL_sc_nbzd2derivzd2treesza2_133za2 = (parse[(10)])), (BgL_sc_nbzd2derivzd2treesza2_133za2(nt, i, j, nts, enders, steps, toks, states)));
/external/mesa3d/src/gallium/state_trackers/nine/
H A Dnine_ff.c175 const struct tgsi_token *toks = ureg_get_tokens(ureg, &count); local
176 tgsi_dump(toks, 0);
177 ureg_free_tokens(toks);
H A Dnine_shader.c3706 const struct tgsi_token *toks = ureg_get_tokens(tx->ureg, &count); local
3707 tgsi_dump(toks, 0);
3708 ureg_free_tokens(toks);
/external/bison/build-aux/
H A Dtexinfo.tex5487 % \the<toks register> to achieve this: TeX expands \the<toks> only once,
5488 % simply yielding the contents of <toks register>. (We also do this for
7445 % In that case, the hook is \the\toks N-1, and we simply set \toks N-1 to the
7488 {\noexpand\noexpand\noexpand\the\toks\the\paramno}%
7585 % value into a new token list register \toks#N
7642 \def\texinonouternewtoks{\alloc@ 5\toks \toksdef \@cclvi}
/external/libmicrohttpd/doc/
H A Dtexinfo.tex5488 % \the<toks register> to achieve this: TeX expands \the<toks> only once,
5489 % simply yielding the contents of <toks register>. (We also do this for
7446 % In that case, the hook is \the\toks N-1, and we simply set \toks N-1 to the
7489 {\noexpand\noexpand\noexpand\the\toks\the\paramno}%
7586 % value into a new token list register \toks#N
7643 \def\texinonouternewtoks{\alloc@ 5\toks \toksdef \@cclvi}
/external/python/cpython2/Modules/_ctypes/libffi/
H A Dtexinfo.tex5488 % \the<toks register> to achieve this: TeX expands \the<toks> only once,
5489 % simply yielding the contents of <toks register>. (We also do this for
7446 % In that case, the hook is \the\toks N-1, and we simply set \toks N-1 to the
7489 {\noexpand\noexpand\noexpand\the\toks\the\paramno}%
7586 % value into a new token list register \toks#N
7643 \def\texinonouternewtoks{\alloc@ 5\toks \toksdef \@cclvi}
/external/dagger2/lib/
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...
H A Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 958 milliseconds