/external/srec/portable/src/ |
PFileSystem.c | 181 LCHAR** tokens = NULL; local 207 CHKLOG(rc, PFileSystemLinearToPathTokens(path, &tokens, &tokenLen)); 212 if (LSTRCMP(tokens[i], L("../")) == 0) 220 else if (LSTRCMP(tokens[i], L("./")) == 0) 232 LSTRCAT(path, tokens[i]); 233 FREE(tokens[i]); 234 tokens[i] = NULL; 236 FREE(tokens); 239 if (tokens != NULL) 243 FREE(tokens[i]) [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
TokenSource.pm | 10 # Where are you getting tokens from? normally the implication will simply 24 A source of tokens must provide a sequence of tokens via nextToken()
|
/external/harfbuzz/contrib/tables/ |
unicode_parse_common.py | 35 tokens = [line_split(x) for x in lines_get(input)] 36 for line in tokens:
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
Parser.java | 80 Token[] tokens = this.lexer.peekNextToken(1); local 81 Token token = (Token) tokens[0];
|
/external/smack/asmack-master/static-src/novell-openldap-jldap/com/novell/sasl/client/ |
TokenParser.java | 19 * The TokenParser class will parse individual tokens from a list of tokens that 20 * are a directive value for a DigestMD5 authentication.The tokens are separated 39 String tokens) 41 m_tokens = tokens; 48 * This function parses the next token from the tokens string and returns 49 * it as a string. If there are no more tokens a null reference is returned. 52 * tokens
|
/external/smack/src/com/novell/sasl/client/ |
TokenParser.java | 19 * The TokenParser class will parse individual tokens from a list of tokens that 20 * are a directive value for a DigestMD5 authentication.The tokens are separated 39 String tokens) 41 m_tokens = tokens; 48 * This function parses the next token from the tokens string and returns 49 * it as a string. If there are no more tokens a null reference is returned. 52 * tokens
|
/external/chromium/testing/gtest/scripts/ |
pump.py | 383 """A generator that yields the tokens in the given string.""" 475 def ParseElseNode(tokens): 477 return PopToken(tokens, token_type) 479 next = PeekToken(tokens) 485 code_node = ParseCodeNode(tokens) 492 code_node = ParseCodeNode(tokens) 494 inner_else_node = ParseElseNode(tokens) 498 return ParseElseNode(tokens) 503 def ParseAtomicCodeNode(tokens): 505 return PopToken(tokens, token_type [all...] |
/external/gtest/scripts/ |
pump.py | 383 """A generator that yields the tokens in the given string.""" 475 def ParseElseNode(tokens): 477 return PopToken(tokens, token_type) 479 next = PeekToken(tokens) 485 code_node = ParseCodeNode(tokens) 492 code_node = ParseCodeNode(tokens) 494 inner_else_node = ParseElseNode(tokens) 498 return ParseElseNode(tokens) 503 def ParseAtomicCodeNode(tokens): 505 return PopToken(tokens, token_type [all...] |
/external/libvpx/libvpx/third_party/googletest/src/scripts/ |
pump.py | 383 """A generator that yields the tokens in the given string.""" 475 def ParseElseNode(tokens): 477 return PopToken(tokens, token_type) 479 next = PeekToken(tokens) 485 code_node = ParseCodeNode(tokens) 492 code_node = ParseCodeNode(tokens) 494 inner_else_node = ParseElseNode(tokens) 498 return ParseElseNode(tokens) 503 def ParseAtomicCodeNode(tokens): 505 return PopToken(tokens, token_type [all...] |
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3tokenstream.c | 138 if (stream->tokens != NULL) 140 stream->tokens->free(stream->tokens); 141 stream->tokens = NULL; 180 // Now, if there were any existing tokens in the stream, 187 if (cts->tokens != NULL) 189 cts->tokens->clear(cts->tokens); 195 cts->tokens = antlr3VectorNew(0); 280 stream->tokens = antlr3VectorNew(0) [all...] |
/bionic/libc/kernel/tools/ |
cpp.py | 21 # the list of supported C-preprocessor tokens 22 # plus a couple of C tokens as well 140 def __init__(self,tokens): 141 self.tokens = tokens 143 self.count = len(tokens) 157 return self.tokens[self.n].id 163 return self.tokens[self.n] 171 """skip over all space tokens, this includes tokSPACE and tokLN""" 192 """return the list of remaining tokens""" [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/tree/ |
CommonTreeNodeStream.as | 76 protected var tokens:TokenStream; 242 return tokens; 245 public function set tokenStream(tokens:TokenStream):void { 246 this.tokens = tokens; 394 if ( tokens!=null ) { 405 return tokens.toStringWithRange(beginTokenIndex, endTokenIndex);
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
BufferedTreeNodeStream.java | 103 protected TokenStream tokens; field in class:BufferedTreeNodeStream 275 return tokens; 278 public void setTokenStream(TokenStream tokens) { 279 this.tokens = tokens; 436 if ( tokens!=null ) { 447 return tokens.toString(beginTokenIndex, endTokenIndex);
|
/external/smali/smali/src/main/java/org/jf/smali/ |
main.java | 278 CommonTokenStream tokens; local 289 tokens = new CommonTokenStream((TokenSource)lexer); 292 tokens.getTokens(); 294 for (int i=0; i<tokens.size(); i++) { 295 Token token = tokens.get(i); 304 smaliParser parser = new smaliParser(tokens); 318 treeStream.setTokenStream(tokens); 417 Option printTokensOption = OptionBuilder.withLongOpt("print-tokens")
|
/cts/suite/audio_quality/lib/src/task/ |
TaskProcess.cpp | 253 std::vector<android::String8>& tokens = *(paramTokens.get()); local 254 for (size_t i = 0; i < tokens.size(); i++) { 255 UniquePtr<std::vector<android::String8> > itemTokens(StringUtil::split(tokens[i], ':')); 298 std::vector<android::String8>* tokens = tokenPtr.get(); local 299 if (tokens == NULL) { 303 if (tokens->size() != 2) { 307 if (StringUtil::compare(tokens->at(0), "builtin") == 0) { 309 } else if (StringUtil::compare(tokens->at(0), "script") == 0) { 315 mName.append(tokens->at(1));
|
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
TestSuiteFactory.java | 97 final CommonTokenStream tokens = new CommonTokenStream(lexer); local 98 final ANTLRv3Parser parser = new ANTLRv3Parser(tokens); 163 final CommonTokenStream tokens = new CommonTokenStream(lexer); local 164 final StGUnitParser parser = new StGUnitParser(tokens); 168 result.setTokens(tokens);
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
AssignTokenTypesBehavior.java | 43 protected Map<String,Integer> tokens = new TreeMap<String, Integer>(); field in class:AssignTokenTypesBehavior 66 /** Track string literals (could be in tokens{} section) */ 69 // if lexer, don't allow aliasing in tokens section 89 // Don't record literals for lexers, they are things to match not tokens 94 // or in the tokens{} section 109 tokens.get(t.getText())==null ) 111 tokens.put(t.getText(), UNASSIGNED); 126 // don't add Tokens rule 136 tokens.put(t.getText(), UNASSIGNED); 168 // duplicate but identical alias; might be tokens {A='a'} an [all...] |
/external/webkit/Tools/DumpRenderTree/gtk/ |
ImageDiff.cpp | 202 gchar** tokens = g_strsplit(buffer, " ", 0); local 203 if (!tokens[1]) { 204 g_strfreev(tokens); 209 long imageSize = strtol(tokens[1], 0, 10); 210 g_strfreev(tokens);
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
CommonTreeNodeStream.cs | 49 protected ITokenStream tokens; field in class:Antlr.Runtime.Tree.CommonTreeNodeStream 90 return tokens; 93 tokens = value;
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
CommonTreeNodeStream.cs | 51 protected ITokenStream tokens; field in class:Antlr.Runtime.Tree.CommonTreeNodeStream 98 return tokens; 102 tokens = value;
|
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
TestInterpretedLexing.java | 172 CommonTokenStream tokens = new CommonTokenStream(lexEngine); local 173 tokens.LT(5); // make sure it grabs all tokens 174 String result = tokens.toString();
|
/external/smali/smali/src/test/java/ |
LexerTest.java | 130 String tokensFile = String.format("LexerTest%s%s.tokens", File.separatorChar, test); 161 List tokens = tokenStream.getTokens(); local 165 for (int i=0; i<tokens.size(); i++) { 166 token = (CommonToken)tokens.get(i); 173 Assert.fail("Too many tokens"); 202 Assert.fail(String.format("Not enough tokens. Expecting %d tokens, but got %d", expectedTokens.size(),
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
RecipientEntry.java | 112 final Rfc822Token[] tokens = Rfc822Tokenizer.tokenize(address); local 113 final String tokenizedAddress = tokens.length > 0 ? tokens[0].getAddress() : address;
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
CommonTreeNodeStream.js | 199 return this.tokens; 202 setTokenStream: function(tokens) { 203 this.tokens = tokens; 350 if ( this.tokens ) { 362 return this.tokens.toString(beginTokenIndex, endTokenIndex);
|
/external/clang/bindings/python/tests/cindex/ |
test_translation_unit.py | 228 tokens = list(tu.get_tokens(extent=r)) 230 assert tokens[0].spelling == 'int' 232 assert tokens[0].spelling == 'int' 234 del tokens[1] 236 assert tokens[0].spelling == 'int' 239 del tokens
|