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

1 2

  /external/clang/unittests/Lex/
PPConditionalDirectiveRecordTest.cpp 109 std::vector<Token> toks; local
115 toks.push_back(tok);
119 ASSERT_EQ(10U, toks.size());
122 SourceRange(toks[0].getLocation(), toks[1].getLocation())));
124 SourceRange(toks[0].getLocation(), toks[2].getLocation())));
126 SourceRange(toks[3].getLocation(), toks[4].getLocation())));
128 SourceRange(toks[1].getLocation(), toks[5].getLocation())))
    [all...]
LexerTest.cpp 77 std::vector<Token> toks; local
83 toks.push_back(tok);
86 EXPECT_EQ(ExpectedTokens.size(), toks.size());
88 EXPECT_EQ(ExpectedTokens[i], toks[i].getKind());
91 return toks;
122 std::vector<Token> toks = CheckLex("#define M(x) x\n" local
126 EXPECT_EQ("M(i)", getSourceText(toks[2], toks[2]));
134 std::vector<Token> toks = CheckLex("#define M(x) x\n" local
138 EXPECT_EQ("M(i)", getSourceText(toks[0], toks[0]))
147 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
160 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
174 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
188 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
203 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
216 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
229 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
244 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
259 std::vector<Token> toks = CheckLex("#define M(x) x\\n" local
279 std::vector<Token> toks = CheckLex("#define M(x) [x]\\n" local
    [all...]
  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/
genpyx.py 74 # XX toks: use a tree of tokens: a list that can be push'ed and pop'ed XX
75 def pyxstr(self,toks=None,indent=0,**kw):
79 if toks is None:
80 toks = []
83 x.pyxstr(toks, indent, **kw)
85 toks.insert(0,str(x)+' ')
86 s = ''.join(toks)
102 def pyxstr(self,toks=None,indent=0,**kw):
103 if toks is None:
104 toks = [
    [all...]
cparse.py 139 toks = []
142 toks.append( lexer.tok )
144 child = " ".join(toks)
  /external/clang/unittests/Basic/
SourceManagerTest.cpp 91 std::vector<Token> toks; local
97 toks.push_back(tok);
101 ASSERT_EQ(3U, toks.size());
102 ASSERT_EQ(tok::l_square, toks[0].getKind());
103 ASSERT_EQ(tok::identifier, toks[1].getKind());
104 ASSERT_EQ(tok::r_square, toks[2].getKind());
106 SourceLocation lsqrLoc = toks[0].getLocation();
107 SourceLocation idLoc = toks[1].getLocation();
108 SourceLocation rsqrLoc = toks[2].getLocation();
208 std::vector<Token> toks; local
310 std::vector<Token> toks; local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/editing/
CompositionUnderlineRangeFilterTest.cpp 29 Vector<String> toks; local
30 rangeList[i].split(',', toks);
31 ASSERT_EQ(2U, toks.size());
32 int startOffset = toks[0].toInt();
33 int endOffset = toks[1].toInt();
  /external/chromium_org/ppapi/generators/
idl_propertynode.py 62 toks = prop.split('=')
63 node.SetProperty(toks[0], toks[1])
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
phystokens.py 6 def phys_tokens(toks):
19 for ttype, ttext, (slineno, scol), (elineno, ecol), ltext in toks:
templite.py 43 toks = re.split(r"(?s)({{.*?}}|{%.*?%}|{#.*?#})", text)
54 for tok in toks:
  /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...]
  /external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/parse/
lexer_unittest.py 178 toks = self._TokensForInput(input_string)
179 assert len(toks) == 1
180 return toks[0]
  /sdk/bash_completion/
adb.bash 310 local -a toks
320 toks=( ${toks[@]-} $(
339 COMPREPLY=( ${COMPREPLY[@]:-} "${toks[@]}" )
  /external/libpcap/
grammar.y 147 str2tok(const char *str, const struct tok *toks)
151 for (i = 0; toks[i].s != NULL; i++) {
152 if (pcap_strcasecmp(toks[i].s, str) == 0)
153 return (toks[i].v);
grammar.c 224 str2tok(const char *str, const struct tok *toks)
228 for (i = 0; toks[i].s != NULL; i++) {
229 if (pcap_strcasecmp(toks[i].s, str) == 0)
230 return (toks[i].v);
    [all...]
  /external/libselinux/src/
avc.c 549 static unsigned long toks = 10 * 5 * HZ;
556 toks += now - last_msg;
558 if (toks > AVC_MSG_BURST)
559 toks = AVC_MSG_BURST;
560 if (toks >= AVC_MSG_COST) {
563 toks -= AVC_MSG_COST;
  /external/qemu/distrib/libselinux/src/
avc.c 549 static unsigned long toks = 10 * 5 * HZ;
556 toks += now - last_msg;
558 if (toks > AVC_MSG_BURST)
559 toks = AVC_MSG_BURST;
560 if (toks >= AVC_MSG_COST) {
563 toks -= AVC_MSG_COST;
  /cts/suite/cts/deviceTests/browserbench/assets/octane/
earley-boyer.js     [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/
v8-earley-boyer.js     [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/
v8-earley-boyer.js     [all...]
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/
v8-earley-boyer.js     [all...]
  /external/chromium_org/v8/benchmarks/
earley-boyer.js     [all...]
  /external/bison/build-aux/
texinfo.tex     [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
WindowManagerService.java 10752 String[] toks = line.split("%"); local
    [all...]
  /ndk/sources/host-tools/sed-4.2.1/build-aux/
texinfo.tex     [all...]
  /prebuilts/devtools/tools/lib/
jython-standalone-2.5.3.jar 

Completed in 914 milliseconds

1 2