/system/core/adb/ |
adb_auth.cpp | 39 ret = adb_auth_generate_token(t->token, sizeof(t->token)); 40 if (ret != sizeof(t->token)) { 41 D("Error generating token ret=%d", ret); 46 memcpy(p->data, t->token, ret); 53 void send_auth_response(uint8_t *token, size_t token_size, atransport *t) 59 ret = adb_auth_sign(t->key, token, token_size, p->data); 61 D("Error signing the token");
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
MissingTokenException.js | 18 org.antlr.lang.isValue(this.token)) 20 return "MissingTokenException(inserted "+this.inserted+" at "+this.token.getText()+")"; 22 if ( org.antlr.lang.isValue(this.token) ) { 23 return "MissingTokenException(at "+this.token.getText()+")";
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t019lexer.py | 17 token = lexer.nextToken() 18 if token.type == antlr3.EOF:
|
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treewalkers/ |
genshistream.py | 18 for token in self.tokens(previous, event): 19 yield token 24 for token in self.tokens(previous, None): 25 yield token 41 for token in self.emptyTag(namespace, name, converted_attribs, 44 yield token 58 for token in self.text(data): 59 yield token
|
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/simple_api/ |
tokenizer_proxy.js | 26 var token = this.tokenizer.getNextToken(); 28 if (token.type === Tokenizer.START_TAG_TOKEN) 29 this._handleStartTagToken(token); 31 else if (token.type === Tokenizer.END_TAG_TOKEN) 32 this._handleEndTagToken(token); 34 else if (token.type === Tokenizer.NULL_CHARACTER_TOKEN && this.inForeignContent) { 35 token.type = Tokenizer.CHARACTER_TOKEN; 36 token.chars = UNICODE.REPLACEMENT_CHARACTER; 39 return token; 61 //Token handler [all...] |
/external/chromium-trace/catapult/third_party/webapp2/tests/ |
extras_security_test.py | 16 token = security.generate_random_string(16) 17 self.assertTrue(re.match(r'^\w{16}$', token) is not None) 19 token = security.generate_random_string(32) 20 self.assertTrue(re.match(r'^\w{32}$', token) is not None) 22 token = security.generate_random_string(64) 23 self.assertTrue(re.match(r'^\w{64}$', token) is not None) 25 token = security.generate_random_string(128) 26 self.assertTrue(re.match(r'^\w{128}$', token) is not None)
|
extras_appengine_auth_models_test.py | 34 # user.key.id() is required to retrieve the auth token 37 token = m.create_auth_token(user_id) 42 u, ts = m.get_by_auth_token(user_id, token) 44 u, ts = m.get_by_auth_token('fake_user_id', token) 108 token_1 = m.create(auth_id, subject, token=None) 109 token = token_1.token 111 token_2 = m.get(user=auth_id, subject=subject, token=token) 114 token_3 = m.get(subject=subject, token=token [all...] |
/external/e2fsprogs/lib/blkid/ |
resolve.c | 56 * Locate a device name from a token (NAME=value string), or (name, value) 57 * pair. In the case of a token, value is ignored. If the "token" is not 61 char *blkid_get_devname(blkid_cache cache, const char *token, 69 if (!token) 78 printf("looking for %s%s%s %s\n", token, value ? "=" : "", 82 if (!strchr(token, '=')) { 83 ret = blkid_strdup(token); 86 blkid_parse_tag_string(token, &t, &v); 89 token = t [all...] |
/external/fonttools/Lib/fontTools/misc/ |
psLib.py | 63 token = char 67 token = buf[pos:nextpos] 74 token = buf[pos:nextpos] 81 token = buf[pos:nextpos] 83 raise PSTokenError('bad token at character %d' % pos) 92 raise PSTokenError('bad token at character %d' % pos) 94 token = buf[pos:nextpos] 95 self.pos = pos + len(token) 96 return tokentype, token 159 tokentype, token = getnexttoken( [all...] |
/external/jetty/src/java/org/eclipse/jetty/security/ |
IdentityService.java | 58 * Associate a runas Token with the current user and thread. 60 * @param token The runAsToken to associate. 63 Object setRunAs(UserIdentity user, RunAsToken token); 68 * and reassociate the previous token. 69 * @param token RUNAS returned from previous associateRunAs call 71 void unsetRunAs(Object token);
|
/external/llvm/test/MC/X86/AlignedBundling/ |
align-mode-argument-error.s | 4 # CHECK: error: unknown token
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
StylingPolicy.java | 74 private void emitToken(String token) { 77 sanitizedCss.append(token); 88 public void url(String token) { 106 public void startFunction(String token) { 110 token = Strings.toLowerCase(token); 111 String key = cssProperty.fnKeys.get(token); 116 emitToken(token); 120 public void quotedString(String token) { 132 && token.length() > [all...] |
/frameworks/base/core/java/android/service/trust/ |
ITrustAgentServiceCallback.aidl | 30 void onConfigureCompleted(boolean result, IBinder token);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
vp9_tokenize.h | 28 int16_t token; member in struct:__anon30276 35 uint8_t token; member in struct:__anon30277 51 /* TODO: The Token field should be broken out into a separate char array to
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
StringUtils.java | 12 * Additionally, each token is first passed through {@link BidiFormatter#unicodeWrap(String)} 21 * Additionally, each token is first passed through {@link BidiFormatter#unicodeWrap(String)} 28 for (String token : tokens) { 34 sb.append(bidiFormatter.unicodeWrap(token));
|
/system/vold/ |
KeyStorage.h | 26 // If "token" is nonempty, it is passed in as a required Gatekeeper auth token. 31 KeyAuthentication(std::string t, std::string s) : token{t}, secret{s} {}; 32 const std::string token; member in class:android::vold::KeyAuthentication
|
/toolchain/binutils/binutils-2.25/gold/ |
workqueue.cc | 149 // waiting for a Token. 156 Task_token* token = t->is_runnable(); local 157 if (token != NULL) 160 token->add_waiting_front(t); 162 token->add_waiting(t); 211 // If we find a Task waiting for a Token, add it to the list for that 212 // Token. The workqueue lock must be held when this is called. 220 Task_token* token = t->is_runnable(); local 222 if (token == NULL) 225 token->add_waiting(t) 399 Task_token* token = t->is_runnable(); local 452 Task_token* token = *p; local [all...] |
/external/icu/icu4c/source/tools/genrb/ |
read.c | 42 struct UString *token, 45 static UChar32 getNextChar (UCHARBUF *buf, UBool skipwhite, struct UString *token, UErrorCode *status); 46 static void seekUntilNewline (UCHARBUF *buf, struct UString *token, UErrorCode *status); 47 static void seekUntilEndOfComment (UCHARBUF *buf, struct UString *token, UErrorCode *status); 55 /* Read and return the next token from the stream. If the token is of 56 type eString, fill in the token parameter with the token. If the 57 token is eError, then the status parameter will contain the 65 struct UString *token, [all...] |
/external/selinux/checkpolicy/ |
policy_parse.y | 85 %token PATH 86 %token QPATH 87 %token FILENAME 88 %token CLONE 89 %token COMMON 90 %token CLASS 91 %token CONSTRAIN 92 %token VALIDATETRANS 93 %token INHERITS 94 %token SI [all...] |
/external/ImageMagick/MagickCore/ |
token.c | 13 % MagickCore Token Methods % 51 #include "MagickCore/token.h" 52 #include "MagickCore/token-private.h" 155 % GetNextToken() gets a token from the token stream. A token is defined as 164 % const size_t extent,char *token) 168 % o start: the start of the token sequence. 170 % o end: point to the end of the token sequence. 172 % o extent: maximum extent of the token [all...] |
/external/ImageMagick/MagickWand/ |
script-token.c | 42 % and only one token at a time. The other functions provide support to this 51 % For example: This\ is' a 'single" token" 53 % A token is returned immediatally the end of token is found. That is as soon 58 % The function will return 'MagickTrue' if a valid token was found, while 59 % the token status will be set accordingally to 'OK' or 'EOF', according to 60 % the cause of the end of token. The token may be an empty string if the 62 % MagickFalse, indicating any token found but was incomplete due to some 74 % of a token returned. However a backslash at the end of a line (and outsid [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
RecognizerSharedState.as | 11 /** Track the set of token types that can follow any rule invocation. 19 * matched a token. Prevents generation of more than one error message 26 * but no token is consumed during recovery...another error is found, 28 * one token/tree node is consumed for two errors. 32 /** In lieu of a return value, this indicates that a rule or token 33 * has failed to match. Reset to false upon valid token match. 46 * the stop token index for each rule. ruleMemo[ruleIndex] is 48 * get back the stop token for associated rule or MEMO_RULE_FAILED. 59 /** The goal of all lexer rules/methods is to create a token object. 61 * create a single token. nextToken will return this object afte 67 public var token:Token; variable [all...] |
/external/apache-http/android/src/android/net/http/ |
HttpAuthHeader.java | 340 String token = parameter.substring(0, i).trim(); local 346 " token: " + token + 350 if (token.equalsIgnoreCase(REALM_TOKEN)) { 354 parseParameter(token, value); 362 * If the token is a known parameter name, parses and initializes 363 * the token value. 365 private void parseParameter(String token, String value) { 366 if (token != null && value != null) { 367 if (token.equalsIgnoreCase(NONCE_TOKEN)) [all...] |
/external/chromium-trace/catapult/tracing/tracing_build/ |
update_gypi.py | 27 self._tokens = [token for token in self._Tokenize(text)] 36 # So, lump the entire `rest' into a token 49 for token in self._tokens: 50 if token.token_id in files_by_group: 51 token.data = self._GetReplacementListAsString( 52 token.data, 53 files_by_group[token.token_id]) 56 for token in self._tokens: 57 f.write(token.data [all...] |
/frameworks/base/core/java/com/android/internal/alsa/ |
AlsaDevicesParser.java | 92 String token = line.substring(tokenOffset, delimOffset); local 101 mCardNum = Integer.parseInt(token); 103 tokenIndex++; // no device # in the token stream 108 mDeviceNum = Integer.parseInt(token); 112 if (token.equals("digital")) { 114 } else if (token.equals("control")) { 116 } else if (token.equals("raw")) { 122 if (token.equals("audio")) { 124 } else if (token.equals("midi")) { 131 if (token.equals("capture")) [all...] |