/prebuilts/go/darwin-x86/src/text/template/parse/ |
parse.go | 28 token [3]item // three-token lookahead for parser. 59 // next returns the next token. 64 t.token[0] = t.lex.nextItem() 66 return t.token[t.peekCount] 69 // backup backs the input stream up one token. 75 // The zeroth token is already there. 77 t.token[1] = t1 82 // The zeroth token is already there. 84 t.token[1] = t [all...] |
/prebuilts/go/linux-x86/src/text/template/parse/ |
parse.go | 28 token [3]item // three-token lookahead for parser. 59 // next returns the next token. 64 t.token[0] = t.lex.nextItem() 66 return t.token[t.peekCount] 69 // backup backs the input stream up one token. 75 // The zeroth token is already there. 77 t.token[1] = t1 82 // The zeroth token is already there. 84 t.token[1] = t [all...] |
/external/googletest/googlemock/scripts/generator/cpp/ |
ast.py | 287 for token in self.alias: 288 if token is not None and name == token.name: 342 for token in token_list: 343 if token.name == node.name: 467 token = tokens[end] 469 if token.name == '<': 471 elif token.name == '>': 478 """Convert [Token,...] to [Class(...), ] useful for base classes. 508 token = tokens[i [all...] |
/external/iptables/iptables/ |
xtables-config-parser.y | 33 int token; 38 static void *stack_push(int token, size_t size) 44 e->token = token; 87 %token T_FAMILY 88 %token T_TABLE 89 %token T_CHAIN 90 %token T_HOOK 91 %token T_PRIO 93 %token <string> T_STRIN [all...] |
/external/python/cpython3/Tools/clinic/ |
cpp.py | 50 return " && ".join(condition for token, condition in self.stack) 75 self.fail("#" + token + " without matching #if / #ifdef / #ifndef!") 141 token = fields[0].lower() 147 if token not in all_tokens: 151 if token == 'elif': 153 token = 'if' 155 if token in if_tokens: 157 self.fail("Invalid format for #" + token + " line: no argument!") 158 if token == 'if': 164 self.fail("Invalid format for #" + token + " line: should be exactly one argument!" [all...] |
/external/v8/testing/gmock/scripts/generator/cpp/ |
ast.py | 287 for token in self.alias: 288 if token is not None and name == token.name: 342 for token in token_list: 343 if token.name == node.name: 467 token = tokens[end] 469 if token.name == '<': 471 elif token.name == '>': 478 """Convert [Token,...] to [Class(...), ] useful for base classes. 508 token = tokens[i [all...] |
/frameworks/compile/mclinker/lib/Script/ |
GroupCmd.cpp | 87 InputToken* token = llvm::cast<InputToken>(*it); local 88 if (token->asNeeded()) 93 switch (token->type()) { 100 (token->name().size() > 0 && token->name()[0] == '/')) { 102 path.append(token->name()); 105 path.assign(token->name()); 109 script.directories().find(token->name(), Input::Script); 130 path = script.directories().find(token->name(), Input::Archive); 134 path = script.directories().find(token->name(), Input::DynObj) [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
RecognitionException.as | 40 * 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? */ 70 /** The current Token when an error occurred. Since not all streams 71 * can retrieve the ith Token, we have to track the Token object. 72 * For parsers. Even when it's a tree parser, token might be set. 74 public var token:Token; [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
RecognitionException.java | 39 * exceptions are built with the expected token type. 56 * state can change before the exception is reported so current token index 58 * perhaps print an entire line of input not just a single token, for example. 66 /** What is index of token/char were we looking at when the error occurred? */ 69 /** The current Token when an error occurred. Since not all streams 70 * can retrieve the ith Token, we have to track the Token object. 71 * For parsers. Even when it's a tree parser, token might be set. 73 public Token token; field in class:RecognitionException [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
RecognitionException.js | 8 * exceptions are built with the expected token type. 20 * state can change before the exception is reported so current token index 22 * perhaps print an entire line of input not just a single token, for example. 36 this.token = input.LT(1); 37 this.line = this.token.getLine(); 38 this.charPositionInLine = this.token.getCharPositionInLine(); 65 /** What is index of token/char were we looking at when the error occurred? 70 /** The current Token when an error occurred. Since not all streams 71 * can retrieve the ith Token, we have to track the Token object [all...] |
/external/javaparser/javaparser-core/src/main/javacc/ |
java.jj | 75 /* Returns the JavaParser specific token type of the last matched token */ 76 JavaToken token() { 77 return token.javaToken; 110 private Stack<Token> tokenWorkStack = new Stack<Token>(); 130 /* Get the very first token in the file */ 140 private void CommonTokenAction(Token token) { 143 tokenWorkStack.push(token); [all...] |
/external/google-breakpad/src/testing/scripts/generator/cpp/ |
ast.py | 286 for token in self.alias: 287 if token is not None and name == token.name: 341 for token in token_list: 342 if token.name == node.name: 466 token = tokens[end] 468 if token.name == '<': 470 elif token.name == '>': 477 """Convert [Token,...] to [Class(...), ] useful for base classes. 506 token = tokens[i [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/ |
fix_apply.py | 10 from ..pgen2 import token
39 if (func.type not in (token.NAME, syms.atom) and
41 func.children[-2].type == token.DOUBLESTAR)):
50 l_newargs = [pytree.Leaf(token.STAR, u"*"), args]
53 pytree.Leaf(token.DOUBLESTAR, u"**"),
55 l_newargs[-2].prefix = u" " # that's the ** token
|
fix_isinstance.py | 13 from ..fixer_util import token
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:
|
/external/dagger2/producers/src/main/java/dagger/producers/internal/ |
AbstractProducer.java | 38 @Nullable private final ProducerToken token; field in class:AbstractProducer 46 Provider<ProductionComponentMonitor> monitorProvider, @Nullable ProducerToken token) { 48 this.token = token; 62 ProducerMonitor monitor = monitorProvider.get().producerMonitorFor(token);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/ |
TestInputDataStructure.java | 41 private String token = null; field in class:TestInputDataStructure 131 * @return Returns the token. 134 return token; 137 * @param token The token to set. 139 public void setToken(String token) { 140 this.token = token;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
TestInputDataStructure.java | 38 private String token = null; field in class:TestInputDataStructure 128 * @return Returns the token. 131 return token; 134 * @param token The token to set. 136 public void setToken(String token) { 137 this.token = token;
|
/external/libmojo/base/ |
unguessable_token.h | 21 // A UnguessableToken is an 128-bit token generated from a cryptographically 32 // If there is a valid scenario for sending "no token" across processes, 33 // base::Optional should be used instead of an empty token. 42 // NOTE: If the deserialized token is empty, it means that it was never 91 const UnguessableToken& token); 95 size_t operator()(const base::UnguessableToken& token) const { 96 DCHECK(token); 97 return base::HashInts64(token.high_, token.low_);
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
fix_isinstance.py | 13 from ..fixer_util import token 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:
|
/external/python/cpython3/Lib/lib2to3/fixes/ |
fix_isinstance.py | 13 from ..fixer_util import token 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:
|
fix_itertools_imports.py | 5 from lib2to3.fixer_util import BlankLine, syms, token 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:
|
/external/strace/ |
basic_filters.c | 184 qualify_syscall(const char *token, struct number_set *set) 188 while (*token == '?') { 189 token++; 192 if (*token >= '0' && *token <= '9') 193 return qualify_syscall_number(token, set) || ignore_fail; 194 if (*token == '/') 195 return qualify_syscall_regex(token + 1, set) || ignore_fail; 196 return qualify_syscall_class(token, set) 197 || qualify_syscall_name(token, set [all...] |
/external/tensorflow/tensorflow/core/framework/ |
cancellation.cc | 61 bool CancellationManager::RegisterCallback(CancellationToken token, 64 CHECK_LT(token, next_cancellation_token_) << "Invalid cancellation token"; 67 std::swap(callbacks_[token], callback); 72 bool CancellationManager::DeregisterCallback(CancellationToken token) { 86 callbacks_.erase(token);
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
ClientTransactionTests.java | 43 IBinder token = mock(IBinder.class); local 46 token /* activityToken */); 53 verify(callback1, times(1)).preExecute(clientTransactionHandler, token); 54 verify(callback2, times(1)).preExecute(clientTransactionHandler, token); 55 verify(stateRequest, times(1)).preExecute(clientTransactionHandler, token);
|
/hardware/ril/libril/ |
ril_internal.h | 46 #define printRequest(token, req) \ 47 RLOGD("[%04d]> %s %s", token, requestToString(req), printBuf) 59 #define printRequest(token, req) 73 int32_t token; //this is not RIL_Token member in struct:android::RequestInfo 84 int(*responseFunction) (int slotId, int responseType, int token,
|