/external/owasp/sanitizer/src/main/org/owasp/html/ |
CssGrammar.java | 63 // dropping spaces and comments to identify property names and token runs 79 if (!(it.hasTokenAfterSpace() && ":".equals(it.token()))) { 96 String token = it.token(); local 103 handler.startFunction(token); 105 handler.endFunction(token); 106 continue; // Skip the advance over token. 108 handler.identifier(token); 111 if (token.length() == 4 || token.length() == 7) [all...] |
/external/smali/smali/src/main/java/org/jf/smali/ |
SemanticException.java | 34 import org.antlr.runtime.Token; 54 this.token = tree.getToken(); 56 this.line = token.getLine(); 57 this.charPositionInLine = token.getCharPositionInLine(); 61 SemanticException(IntStream input, Token token, String errorMessage, Object... messageArguments) { 64 this.token = token; 65 this.index = ((CommonToken)token).getStartIndex(); 66 this.line = token.getLine() [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/tokens/ |
AnchorTokenTest.java | 21 import org.yaml.snakeyaml.tokens.Token.ID; 27 AnchorToken token = new AnchorToken("&id123", mark, mark); local 28 assertEquals("value=&id123", token.getArguments()); 33 AnchorToken token = new AnchorToken("&id123", mark, mark); local 34 assertEquals(ID.Anchor, token.getTokenId());
|
BlockEndTokenTest.java | 21 import org.yaml.snakeyaml.tokens.Token.ID; 27 BlockEndToken token = new BlockEndToken(mark, mark); local 28 assertEquals("", token.getArguments()); 33 BlockEndToken token = new BlockEndToken(mark, mark); local 34 assertEquals(ID.BlockEnd, token.getTokenId());
|
/libcore/dalvik/src/main/java/dalvik/system/ |
ZygoteHooks.java | 28 private long token; field in class:ZygoteHooks 52 token = nativePreFork(); 61 nativePostForkChild(token, debugFlags, isSystemServer, instructionSet); 76 private static native void nativePostForkChild(long token, int debugFlags,
|
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/fixtures/ |
formatting_element_list_test.js | 34 assert.strictEqual(list.entries[0].token, element1Token); 40 assert.strictEqual(list.entries[1].token, element2Token); 45 token = 'token1', 51 list.pushElement(element1, token); 54 list.pushElement(element2, token); 55 list.pushElement(element3, token); 57 list.insertElementAfterBookmark(element4, token); 86 assert.strictEqual(list.entries[0].token, token1); 87 assert.strictEqual(list.entries[1].token, token2); 88 assert.strictEqual(list.entries[2].token, token3) [all...] |
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/ |
sanitizer.py | 180 def sanitize_token(self, token): 183 token_type = token["type"] 189 if token["name"] in self.allowed_elements: 190 return self.allowed_token(token, token_type) 192 return self.disallowed_token(token, token_type) 196 return token 198 def allowed_token(self, token, token_type): 199 if "data" in token: 201 token["data"][::-1] 226 if (token["name"] in self.svg_allow_local_href an [all...] |
html5parser.py | 166 for token in self.normalizedTokens(): 167 new_token = token 183 token["name"] not in frozenset(["mglyph", "malignmark"])) or 187 token["name"] == "svg") or 207 if (type == StartTagToken and token["selfClosing"] 208 and not token["selfClosingAcknowledged"]): 210 {"name": token["name"]}) 222 for token in self.tokenizer: 223 yield self.normalizeToken(token) 262 def normalizeToken(self, token) [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/sts/ |
test_session_token.py | 39 print('--- running Session Token tests ---') 42 # Create a session token 43 token = c.get_session_token() 45 # Save session token to a file 46 token.save('token.json') 48 # Now load up a copy of that token 49 token_copy = Credentials.load('token.json') 50 assert token_copy.access_key == token.access_key 51 assert token_copy.secret_key == token.secret_ke [all...] |
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/filters/ |
optionaltags.py | 9 for token in self.source: 11 yield previous2, previous1, token 13 previous1 = token 17 for previous, token, next in self.slider(): 18 type = token["type"] 20 if (token["data"] or 21 not self.is_optional_start(token["name"], previous, next)): 22 yield token 24 if not self.is_optional_end(token["name"], next): 25 yield token [all...] |
/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/ |
closurizednamespacesinfo.py | 44 def __init__(self, namespace, identifier, token, alias_definition): 50 token: the token that uses the namespace 56 self.token = token 60 return self.token.line_number 70 Processes token streams for dependency creation or usage and provides logic 154 def IsExtraProvide(self, token): 155 """Returns whether the given goog.provide token is unnecessary. 158 token: A goog.provide token [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
MissingTokenException.as | 17 if ( inserted!=null && token!=null ) { 18 return "MissingTokenException(inserted "+inserted+" at "+token.text+")"; 20 if ( token!=null ) { 21 return "MissingTokenException(at "+token.text+")";
|
/external/deqp/framework/randomshaders/ |
rsgPrettyPrinter.hpp | 44 void processToken (const Token& token); 46 static const char* getSimpleTokenStr (Token::Type token);
|
/external/javassist/src/main/javassist/compiler/ast/ |
Keyword.java | 26 public Keyword(int token) { 27 tokenId = token;
|
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/lexer/ |
Lexer.java | 11 protected Token token; field in class:Lexer 32 public Token peek() throws LexerException, IOException 34 while(this.token == null) 36 this.token = getToken(); 40 return this.token; 43 public Token next() throws LexerException, IOException 45 while(this.token == null) 47 this.token = getToken(); 51 Token result = this.token 160 @SuppressWarnings("hiding") Token token = new0( local 175 @SuppressWarnings("hiding") Token token = new1( local 190 @SuppressWarnings("hiding") Token token = new2( local 204 @SuppressWarnings("hiding") Token token = new3( local 218 @SuppressWarnings("hiding") Token token = new4( local 232 @SuppressWarnings("hiding") Token token = new5( local 246 @SuppressWarnings("hiding") Token token = new6( local 260 @SuppressWarnings("hiding") Token token = new7( local 274 @SuppressWarnings("hiding") Token token = new8( local 289 @SuppressWarnings("hiding") Token token = new9( local 303 @SuppressWarnings("hiding") Token token = new10( local 317 @SuppressWarnings("hiding") Token token = new11( local 331 @SuppressWarnings("hiding") Token token = new12( local 345 @SuppressWarnings("hiding") Token token = new13( local 359 @SuppressWarnings("hiding") Token token = new14( local 373 @SuppressWarnings("hiding") Token token = new15( local 387 @SuppressWarnings("hiding") Token token = new16( local 401 @SuppressWarnings("hiding") Token token = new17( local 415 @SuppressWarnings("hiding") Token token = new18( local 429 @SuppressWarnings("hiding") Token token = new19( local 443 @SuppressWarnings("hiding") Token token = new20( local 457 @SuppressWarnings("hiding") Token token = new21( local 471 @SuppressWarnings("hiding") Token token = new22( local 485 @SuppressWarnings("hiding") Token token = new23( local 499 @SuppressWarnings("hiding") Token token = new24( local 513 @SuppressWarnings("hiding") Token token = new25( local 527 @SuppressWarnings("hiding") Token token = new26( local 541 @SuppressWarnings("hiding") Token token = new27( local 555 @SuppressWarnings("hiding") Token token = new28( local 569 @SuppressWarnings("hiding") Token token = new29( local 583 @SuppressWarnings("hiding") Token token = new30( local 597 @SuppressWarnings("hiding") Token token = new31( local 611 @SuppressWarnings("hiding") Token token = new32( local 625 @SuppressWarnings("hiding") Token token = new33( local 639 @SuppressWarnings("hiding") Token token = new34( local 654 @SuppressWarnings("hiding") Token token = new35( local 668 @SuppressWarnings("hiding") Token token = new36( local 682 @SuppressWarnings("hiding") Token token = new37( local 696 @SuppressWarnings("hiding") Token token = new38( local 710 @SuppressWarnings("hiding") Token token = new39( local 724 @SuppressWarnings("hiding") Token token = new40( local 738 @SuppressWarnings("hiding") Token token = new41( local 752 @SuppressWarnings("hiding") Token token = new42( local 766 @SuppressWarnings("hiding") Token token = new43( local 780 @SuppressWarnings("hiding") Token token = new44( local 794 @SuppressWarnings("hiding") Token token = new45( local 808 @SuppressWarnings("hiding") Token token = new46( local 822 @SuppressWarnings("hiding") Token token = new47( local 837 @SuppressWarnings("hiding") Token token = new48( local 852 @SuppressWarnings("hiding") Token token = new49( local 867 @SuppressWarnings("hiding") Token token = new50( local 882 @SuppressWarnings("hiding") Token token = new51( local 897 @SuppressWarnings("hiding") Token token = new52( local 912 @SuppressWarnings("hiding") Token token = new53( local 926 @SuppressWarnings("hiding") Token token = new54( local 941 @SuppressWarnings("hiding") Token token = new55( local 956 @SuppressWarnings("hiding") Token token = new56( local 982 @SuppressWarnings("hiding") EOF token = new EOF( local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
AcceptParser.java | 79 Token token = lexer.getNextToken(); local 80 accept.setContentType(token.getTokenValue()); 83 token = lexer.getNextToken(); 84 accept.setContentSubType(token.getTokenValue()); 97 token = lexer.getNextToken(); 98 accept.setContentType(token.getTokenValue()); 101 token = lexer.getNextToken(); 102 accept.setContentSubType(token.getTokenValue());
|
/external/selinux/libsepol/cil/src/ |
cil_lexer.h | 43 struct token { struct 51 int cil_lexer_next(struct token *tok);
|
/frameworks/base/core/java/android/view/ |
IGraphicsStats.aidl | 25 ParcelFileDescriptor requestBufferForProcess(String packageName, IBinder token);
|
/frameworks/base/media/java/android/media/ |
IRingtonePlayer.aidl | 29 void play(IBinder token, in Uri uri, in AudioAttributes aa, float volume, boolean looping); 30 void stop(IBinder token); 31 boolean isPlaying(IBinder token); 32 void setPlaybackProperties(IBinder token, float volume, boolean looping);
|
/frameworks/base/media/java/android/media/midi/ |
IMidiDeviceOpenCallback.aidl | 24 void onDeviceOpened(in IMidiDeviceServer server, IBinder token);
|
/frameworks/base/media/java/android/media/tv/ |
ITvRemoteProvider.aidl | 26 void onInputBridgeConnected(IBinder token);
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
IFingerprintService.aidl | 30 void authenticate(IBinder token, long sessionId, int userId, 34 void cancelAuthentication(IBinder token, String opPackageName); 37 void enroll(IBinder token, in byte [] cryptoToken, int groupId, IFingerprintServiceReceiver receiver, 41 void cancelEnrollment(IBinder token); 44 void remove(IBinder token, int fingerId, int groupId, int userId, 56 // Get a pre-enrollment authentication token 57 long preEnroll(IBinder token); 59 // Finish an enrollment sequence and invalidate the authentication token 60 int postEnroll(IBinder token);
|
/frameworks/base/core/java/android/util/ |
JsonReader.java | 33 * Within JSON objects, name/value pairs are represented by a single token. 193 * long as the longest token that can be reported as a number. 211 * The type of the next token to be returned by {@link #peek} and {@link 214 private JsonToken token; field in class:JsonReader 273 * Consumes the next token from the JSON stream and asserts that it is the 281 * Consumes the next token from the JSON stream and asserts that it is the 289 * Consumes the next token from the JSON stream and asserts that it is the 297 * Consumes the next token from the JSON stream and asserts that it is the 309 if (token != expected) { 320 return token != JsonToken.END_OBJECT && token != JsonToken.END_ARRAY 352 JsonToken token = nextValue(); local 554 JsonToken token = advance(); local [all...] |
/frameworks/native/opengl/libagl/ |
TokenManager.cpp | 27 // token 0 is always reserved 47 const GLuint token = *tokens++; local 48 if (token) { 49 mTokenizer.release(token); 54 bool TokenManager::isTokenValid(GLuint token) const 57 return mTokenizer.isAcquired(token);
|
Tokenizer.h | 37 status_t reserve(uint32_t token); 38 status_t release(uint32_t token); 39 bool isAcquired(uint32_t token) const; 50 ssize_t _indexOrderOf(uint32_t token, size_t* order=0) const; 51 ssize_t _insertTokenAt(uint32_t token, size_t index);
|