Searched defs:token (Results 1 - 25 of 673) sorted by relevance

1234567891011>>

/external/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_symbolizer_test.cc21 char *token; local
24 rest = ExtractToken("a;b;c", ";", &token);
25 EXPECT_STREQ("a", token);
27 InternalFree(token);
29 rest = ExtractToken("aaa-bbb.ccc", ";.-*", &token);
30 EXPECT_STREQ("aaa", token);
32 InternalFree(token);
36 int token; local
37 const char *rest = ExtractInt("123,456;789", ";,", &token);
38 EXPECT_EQ(123, token);
43 uptr token; local
50 char *token; local
[all...]
/external/pdfium/xfa/fxfa/fm2js/
H A Dcxfa_fmlexer_unittest.cpp15 std::unique_ptr<CXFA_FMToken> token = lexer.NextToken(); local
16 EXPECT_EQ(TOKeof, token->m_type);
21 std::unique_ptr<CXFA_FMToken> token = lexer->NextToken(); local
23 EXPECT_EQ(TOKminus, token->m_type);
24 token = lexer->NextToken();
25 EXPECT_EQ(L"12", token->m_string);
26 token = lexer->NextToken();
27 EXPECT_EQ(TOKeof, token->m_type);
30 token = lexer->NextToken();
31 EXPECT_EQ(TOKnumber, token
69 std::unique_ptr<CXFA_FMToken> token = lexer->NextToken(); local
101 XFA_FM_TOKEN token; member in struct:__anon18242
164 std::unique_ptr<CXFA_FMToken> token = lexer->NextToken(); local
171 std::unique_ptr<CXFA_FMToken> token = lexer->NextToken(); local
216 std::unique_ptr<CXFA_FMToken> token = lexer->NextToken(); local
241 std::unique_ptr<CXFA_FMToken> token = lexer->NextToken(); local
[all...]
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
H A DANTLRCommonTree.h32 ANTLRCommonToken *token; variable
39 @property (retain, getter=getANTLRCommonToken, setter=setANTLRCommonToken) ANTLRCommonToken *token; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
H A DANTLRCommonTree.h32 ANTLRCommonToken *token; variable
39 @property (retain, getter=getANTLRCommonToken, setter=setANTLRCommonToken) ANTLRCommonToken *token; variable
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
H A DANTLRCommonTree.h32 ANTLRCommonToken *token; variable
39 @property (retain, getter=getANTLRCommonToken, setter=setANTLRCommonToken) ANTLRCommonToken *token; variable
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
H A DANTLRCommonTree.h32 __strong ANTLRCommonToken *token; variable
79 @property (retain, getter=getANTLRCommonToken, setter=setANTLRCommonToken:) ANTLRCommonToken *token;
86 @property (retain) ANTLRCommonToken *token; variable
/external/javaparser/javaparser-core/src/main/javacc-support/com/github/javaparser/
H A DGeneratedJavaParserTokenManagerBase.java16 * Create a TokenRange that spans exactly one token
18 private static TokenRange tokenRange(Token token) { argument
19 JavaToken javaToken = token.javaToken;
24 * Since comments are completely captured in a single token, including their delimiters, deconstruct them here so we
27 static Comment createCommentFromToken(Token token) { argument
28 String commentText = token.image;
29 if (token.kind == JAVADOC_COMMENT) {
30 return new JavadocComment(tokenRange(token), commentText.substring(3, commentText.length() - 2));
31 } else if (token.kind == MULTI_LINE_COMMENT) {
32 return new BlockComment(tokenRange(token), commentTex
[all...]
/external/libcxx/test/std/numerics/rand/rand.device/
H A Dctor.pass.cpp22 // explicit random_device(const string& token = implementation-defined);
25 // value of the token parameter are implementation-defined". Implementations
40 bool is_valid_random_device(const std::string &token) { argument
43 return token == "/dev/urandom" || token == "/dev/random";
45 return token == "/dev/urandom";
49 void check_random_device_valid(const std::string &token) { argument
50 std::random_device r(token);
53 void check_random_device_invalid(const std::string &token) { argument
56 std::random_device r(token);
71 std::string token = "wrong file"; local
75 std::string token = "/dev/urandom"; local
82 std::string token = "/dev/random"; local
[all...]
/external/libpng/contrib/powerpc-vsx/
H A Dlinux.c37 char *token = NULL; local
47 token = strstr(input,string);
48 if(token != NULL)
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
H A Dtoken.ml7 type token = type
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
H A Dtoken.ml7 type token = type
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
H A Dtoken.ml7 type token = type
/external/python/cpython2/Lib/lib2to3/fixes/
H A Dfix_isinstance.py13 from ..fixer_util import token namespace
36 if arg.type == token.NAME and arg.value in names_inserted:
37 if idx < len(args) - 1 and args[idx + 1].type == token.COMMA:
42 if arg.type == token.NAME:
44 if new_args and new_args[-1].type == token.COMMA:
H A Dfix_itertools_imports.py5 from lib2to3.fixer_util import BlankLine, syms, token namespace
21 if child.type == token.NAME:
24 elif child.type == token.STAR:
43 if remove_comma and child.type == token.COMMA:
48 while children and children[-1].type == token.COMMA:
H A Dfix_ne.py8 from ..pgen2 import token namespace
15 _accept_type = token.NOTEQUAL
22 new = pytree.Leaf(token.NOTEQUAL, u"!=", prefix=node.prefix)
H A Dfix_numliterals.py7 from ..pgen2 import token namespace
15 _accept_type = token.NUMBER
/external/python/cpython3/Lib/lib2to3/fixes/
H A Dfix_isinstance.py13 from ..fixer_util import token namespace
36 if arg.type == token.NAME and arg.value in names_inserted:
37 if idx < len(args) - 1 and args[idx + 1].type == token.COMMA:
42 if arg.type == token.NAME:
44 if new_args and new_args[-1].type == token.COMMA:
H A Dfix_itertools_imports.py5 from lib2to3.fixer_util import BlankLine, syms, token namespace
21 if child.type == token.NAME:
24 elif child.type == token.STAR:
43 if remove_comma and child.type == token.COMMA:
48 while children and children[-1].type == token.COMMA:
H A Dfix_ne.py8 from ..pgen2 import token namespace
15 _accept_type = token.NOTEQUAL
22 new = pytree.Leaf(token.NOTEQUAL, "!=", prefix=node.prefix)
H A Dfix_numliterals.py7 from ..pgen2 import token namespace
15 _accept_type = token.NUMBER
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter2/
H A Dtoken.ml7 type token = type
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter3/
H A Dtoken.ml7 type token = type
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter4/
H A Dtoken.ml7 type token = type
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
H A DOutputTest.java36 private final Token token; field in class:OutputTest
38 public OutputTest(Token token) { argument
39 this.token = token;
44 return token.getText();
49 return token.getType();
65 return token.getText();
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DRecognitionException.as40 * exceptions are built with the expected token type.
57 * state can change before the exception is reported so current token index
59 * perhaps print an entire line of input not just a single token, for example.
67 /** What is index of token/char were we looking at when the error occurred? */
72 * For parsers. Even when it's a tree parser, token might be set.
74 public var token:Token; variable
94 * for most recent token with line/col info, but notify getErrorHeader()
106 this.token = TokenStream(input).LT(1);
107 this.line = token.line;
108 this.charPositionInLine = token
[all...]

Completed in 494 milliseconds

1234567891011>>