/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/ |
xsrfutil.py | 51 """Generates a URL-safe token for the given user, action, time tuple. 62 A string XSRF protection token. 73 token = base64.urlsafe_b64encode(digest + DELIMITER + when) 74 return token 78 def validate_token(key, token, user_id, action_id="", current_time=None): 79 """Validates that the given token authorizes the user for the action. 81 Tokens are invalid if the time of issue is too old or if the token 82 does not match what generateToken outputs (i.e. the token was forged). 86 token: a string of the token generated by generateToken [all...] |
/libcore/ojluni/src/main/java/sun/util/locale/ |
StringTokenIterator.java | 38 private String token; field in class:StringTokenIterator 55 return token; 59 return token; 78 token = text.substring(start, end); 81 token = null; 84 return token; 97 token = text.substring(start, end);
|
/system/tools/aidl/tests/ |
aidl_test_service.cpp | 105 void LogRepeatedStringToken(const String16& token) { 106 ALOGI("Repeating '%s' of length=%zu", android::String8(token).string(), 107 token.size()); 111 void LogRepeatedToken(const T& token) { 113 token_str << token; local 114 ALOGI("Repeating token %s", token_str.str().c_str()); 117 Status RepeatBoolean(bool token, bool* _aidl_return) override { 118 LogRepeatedToken(token ? 1 : 0); 119 *_aidl_return = token; 122 Status RepeatByte(int8_t token, int8_t* _aidl_return) override 123 LogRepeatedToken(token); variable 133 LogRepeatedToken(token); variable 138 LogRepeatedToken(token); variable 143 LogRepeatedToken(token); variable 148 LogRepeatedToken(token); variable 153 LogRepeatedStringToken(token); variable [all...] |
/toolchain/binutils/binutils-2.25/gold/ |
yyscript.y | 103 %token <string> STRING 104 %token <string> QUOTED_STRING 105 %token <integer> INTEGER 110 In most cases the keyword is recognized as the token name in upper 113 %token ABSOLUTE 114 %token ADDR 115 %token ALIGN_K /* ALIGN */ 116 %token ALIGNOF 117 %token ASSERT_K /* ASSERT */ 118 %token AS_NEEDE [all...] |
/external/rmi4utils/rmihidtool/ |
main.cpp | 113 char token[256]; local 124 memset(token, 0, 256); 128 find_token(start, token, sizeof(token), &end); 129 int mode = strtol(token, NULL, 0); 140 find_token(start, token, sizeof(token), &end); 142 unsigned int addr = strtol(token, NULL, 0); 143 find_token(start, token, sizeof(token), &end) 207 char token[256]; local [all...] |
/frameworks/base/core/java/android/content/ |
AsyncQueryHandler.java | 72 int token = msg.what; local 109 // passing the original token value back to the caller 111 Message reply = args.handler.obtainMessage(token); 146 * @param token A token passed into {@link #onQueryComplete} to identify 164 public void startQuery(int token, Object cookie, Uri uri, 167 // Use the token as what so cancelOperations works properly 168 Message msg = mWorkerThreadHandler.obtainMessage(token); 190 * @param token The token representing the operation to be canceled 338 int token = msg.what; local [all...] |
/toolchain/binutils/binutils-2.25/binutils/ |
mcparse.y | 53 %token NL 54 %token<ustr> MCIDENT MCFILENAME MCLINE MCCOMMENT 55 %token<tok> MCTOKEN 56 %token MCENDLINE 57 %token MCLANGUAGENAMES MCFACILITYNAMES MCSEVERITYNAMES MCOUTPUTBASE MCMESSAGEIDTYPEDEF 58 %token MCLANGUAGE MCMESSAGEID MCSEVERITY MCFACILITY MCSYMBOLICNAME 59 %token <ival> MCNUMBER 62 %type<ustr> alias_name token lines comments 123 token '=' MCNUMBER alias_name 127 | token '=' error { mc_fatal ("severity number missing"); 337 token: MCIDENT { $$ = $1; } label [all...] |
/frameworks/compile/mclinker/lib/Script/ |
ScriptParser.yy | 82 %token END 0 /* EOF */ 83 %token <string> STRING LNAMESPEC 84 %token <integer> INTEGER 87 %token LINKER_SCRIPT DEFSYM VERSION_SCRIPT DYNAMIC_LIST 90 %token ENTRY 92 %token INCLUDE 93 %token INPUT 94 %token GROUP 95 %token AS_NEEDED 96 %token OUTPU [all...] |
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/ImageMagick/coders/ |
svg.c | 75 #include "MagickCore/token.h" 296 token[MagickPathExtent]; 307 GetNextToken(p,&p,MagickPathExtent,token); 308 value=StringToDouble(token,&next_token); 309 if (strchr(token,'%') != (char *) NULL) 331 GetNextToken(p,&p,MagickPathExtent,token); 332 if (LocaleNCompare(token,"cm",2) == 0) 334 if (LocaleNCompare(token,"em",2) == 0) 336 if (LocaleNCompare(token,"ex",2) == 0) 338 if (LocaleNCompare(token,"in",2) == 0 292 token[MagickPathExtent]; local 790 token[MagickPathExtent], local 3630 *token, local [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; variable [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/chromium-trace/catapult/third_party/html5lib-python/html5lib/filters/ |
lint.py | 18 for token in _base.Filter.__iter__(self): 19 type = token["type"] 21 name = token["name"] 29 raise LintError("Void element reported as StartTag token: %(tag)s" % {"tag": name}) 31 raise LintError("Non-void element reported as EmptyTag token: %(tag)s" % {"tag": token["name"]}) 34 for name, value in token["data"]: 49 name = token["name"] 55 raise LintError("Void element reported as EndTag token: %(tag)s" % {"tag": name}) 66 data = token["data" [all...] |
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treewalkers/ |
pulldom.py | 20 for token in self.tokens(previous, event): 21 yield token 22 if token["type"] == "EmptyTag": 26 for token in self.tokens(previous, None): 27 yield token 41 for token in self.emptyTag(namespace, 45 yield token 59 for token in self.text(node.nodeValue): 60 yield token
|
/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...] |
/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 | 29 private String token = null; field in class:TestInputDataStructure 119 * @return Returns the token. 122 return token; 125 * @param token The token to set. 127 public void setToken(String token) { 128 this.token = token;
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
TestInputDataStructure.java | 28 private String token = null; field in class:TestInputDataStructure 118 * @return Returns the token. 121 return token; 124 * @param token The token to set. 126 public void setToken(String token) { 127 this.token = token;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/fixes/ |
fix_apply.py | 10 from ..pgen2 import token namespace 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 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:
|
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/fixes/ |
fix_apply.py | 10 from ..pgen2 import token namespace 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 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:
|