HomeSort by relevance Sort by last modified time
    Searched refs:toks (Results 1 - 25 of 40) sorted by null

1 2

  /external/clang/unittests/Lex/
PPConditionalDirectiveRecordTest.cpp 108 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[1].getLocation(), toks[5].getLocation())))
    [all...]
LexerTest.cpp 75 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[2]))
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...]
  /build/kati/
strutil_bench.cc 39 vector<StringPiece> toks; local
40 WordScanner(s).Split(&toks);
shellutil.go 211 func (p *shellParser) expect(toks ...string) error {
216 for _, t := range toks {
221 return fmt.Errorf("shell: token=%q; want=%q", tok, toks)
224 func (p *shellParser) expectSeq(toks ...string) error {
225 for _, tok := range toks {
strutil.cc 491 vector<string> toks;
493 toks.push_back(tok.as_string());
495 sort(toks.begin(), toks.end());
496 return JoinStrings(toks, " ");
func.go 361 var toks []string
363 toks = append(toks, string(tok))
366 sort.Strings(toks)
370 for _, tok := range toks {
    [all...]
  /tools/tradefederation/core/src/com/android/tradefed/testtype/
PythonUnitTestResultParser.java 201 String[] toks = mCurrentLine.split(" "); local
203 String testName = toks[0];
205 String testClass = toks[1].substring(1, toks[1].length() - 1);
208 if (toks.length == 4) {
210 String status = toks[3];
216 } else if (toks.length == 5) {
218 String status1 = toks[3];
219 String status2 = toks[4];
240 String[] toks = mCurrentLine.split(" ") local
274 String[] toks = mCurrentLine.split(" "); local
    [all...]
  /test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/
VtsMultiDeviceTestResultParser.java 115 String[] toks = mCurrentLine.split(" "); local
116 if (toks.length < 3 || !toks[toks.length - 1].equals(END_PATTERN) || !toks[toks.length - 3].
124 mTestClass = toks[toks.length - 2];
224 String[] toks = mCurrentLine.split(" "); local
226 String lastToken = toks[toks.length - 1]
248 String[] toks = mCurrentLine.split(" "); local
288 String[] toks = lines[index].split(" "); local
    [all...]
  /external/clang/unittests/Basic/
SourceManagerTest.cpp 90 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/ipsec-tools/src/racoon/
gssapi.c 448 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...]
  /sdk/bash_completion/
adb.bash 397 local -a toks
408 toks=( ${toks[@]-} $(
422 toks=( ${toks[@]-} $(
432 COMPREPLY=( ${COMPREPLY[@]:-} "${toks[@]}" )
  /external/iw/
wowlan.c 134 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/
lexer_unittest.py 186 toks = self._TokensForInput(input_string)
187 assert len(toks) == 1
188 return toks[0]
  /test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/
VtsMultiDeviceTestResultParserTest.java 217 String[] toks = lines[index].split(" "); local
221 if (toks.length < 3) {
224 String time = toks[2];
  /prebuilts/go/darwin-x86/src/encoding/xml/
marshal_test.go     [all...]
  /prebuilts/go/linux-x86/src/encoding/xml/
marshal_test.go     [all...]
  /toolchain/binutils/binutils-2.25/opcodes/
z8kgen.c 654 static struct tok_struct toks[] = variable in typeref:struct:tok_struct
    [all...]
  /external/selinux/libselinux/src/
avc.c 600 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/
grammar.y 161 str2tok(const char *str, const struct tok *toks)
165 for (i = 0; toks[i].s != NULL; i++) {
166 if (pcap_strcasecmp(toks[i].s, str) == 0)
167 return (toks[i].v);
grammar.c 234 str2tok(const char *str, const struct tok *toks)
238 for (i = 0; toks[i].s != NULL; i++) {
239 if (pcap_strcasecmp(toks[i].s, str) == 0)
240 return (toks[i].v);
    [all...]
  /build/soong/androidmk/parser/
parser.go 100 func (p *parser) accept(toks ...rune) bool {
101 for _, tok := range toks {
  /build/blueprint/parser/
parser.go 142 func (p *parser) accept(toks ...rune) bool {
143 for _, tok := range toks {
  /external/v8/benchmarks/
earley-boyer.js     [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
WindowManagerService.java 6141 String[] toks = line.split("%"); local
    [all...]
  /external/bison/build-aux/
texinfo.tex     [all...]

Completed in 776 milliseconds

1 2