/external/chromium_org/third_party/skia/experimental/PdfViewer/ |
H A D | SkPdfFont.cpp | 328 #define tokenIsKeyword(token,keyword) (token.fType == kKeyword_TokenType && \ 329 token.fKeywordLength==sizeof(keyword)-1 && \ 330 strncmp(token.fKeyword, keyword, sizeof(keyword)-1) == 0) 340 PdfToken token; local 355 while (tokenizer.readToken(&token)) { 357 if (tokenIsKeyword(token, "begincodespacerange")) { 358 while (tokenizer.readToken(&token) && 359 !tokenIsKeyword(token, "endcodespacerange")) { 360 // tokenizer.PutBack(token); [all...] |
/external/skia/experimental/PdfViewer/ |
H A D | SkPdfFont.cpp | 328 #define tokenIsKeyword(token,keyword) (token.fType == kKeyword_TokenType && \ 329 token.fKeywordLength==sizeof(keyword)-1 && \ 330 strncmp(token.fKeyword, keyword, sizeof(keyword)-1) == 0) 340 PdfToken token; local 355 while (tokenizer.readToken(&token)) { 357 if (tokenIsKeyword(token, "begincodespacerange")) { 358 while (tokenizer.readToken(&token) && 359 !tokenIsKeyword(token, "endcodespacerange")) { 360 // tokenizer.PutBack(token); [all...] |
/external/chromium-trace/trace-viewer/third_party/closure_linter/closure_linter/ |
H A D | checker.py | 69 def _CheckTokens(self, token, parse_error, debug_tokens): 70 """Checks a token stream for lint warnings/errors. 76 token: The first token in the token stream. 78 debug_tokens: Whether every token should be printed as it is encountered 82 A boolean indicating whether the full token stream could be checked or if 89 result = (self._ExecutePass(token, self._DependencyPass) and 90 self._ExecutePass(token, self._LintPass, 93 result = self._ExecutePass(token, sel [all...] |
/external/chromium_org/remoting/webapp/ |
H A D | identity.js | 39 * Call a function with an access token. 41 * @param {function(string):void} onOk Function to invoke with access token if 42 * an access token was successfully retrieved. 57 * Remove the cached auth token, if any. 63 /** @param {string} token */ 64 var onToken = function(token) { 65 if (token) { 66 chrome.identity.removeCachedAuthToken({ 'token': token }, onDone); 111 * @param {?string} token Th [all...] |
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
H A D | Navigator.cpp | 145 String& token = languages[i]; local 146 token = token.stripWhiteSpace(); 147 if (token.length() >= 3 && token[2] == '_') 148 token.replace(2, 1, "-");
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
H A D | phystokens.py | 3 import keyword, re, token, tokenize namespace 9 tokenize.generate_tokens() doesn't return a token for the backslash that 24 # backslash token into the stream. Unfortunately, there's more 31 # triggers this condition, but the token text is:: 36 # string token or not. 40 # should never result in a new token. 42 elif ttype == token.STRING: 50 # Yield the token, with a fake token type. 65 Each line is a list of pairs, each pair is a token [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/builders/ |
H A D | GrGLSLPrettyPrint.cpp | 32 * For long style comments like this one, we search for the ending token. We also 89 // hasToken automatically consumes the next token, if it is a match, and then tabs 90 // if necessary, before inserting the token into the pretty string 91 bool hasToken(const char* token) { argument 93 for (size_t j = 0; token[j] && fLength > i; i++, j++) { 94 if (token[j] != fInput[i]) { 100 fPretty.append(token); 119 void parseUntil(const char* token) { argument 129 if (this->hasToken(token)) {
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
H A D | t012lexerXML.py | 34 token = lexer.nextToken() 35 if token.type == self.lexerModule.EOF: 65 token = lexer.nextToken() 66 if token.type == antlr3.EOF: 89 token = lexer.nextToken() 90 if token.type == antlr3.EOF: 113 token = lexer.nextToken() 114 if token.type == antlr3.EOF: 173 ## token = lexer.nextToken() 174 ## if token [all...] |
/external/chromium_org/chrome/browser/chromeos/settings/ |
H A D | token_encryptor.cc | 38 const std::string& token) { 39 // Don't care about token encryption while debugging. 41 return token; 49 token); 54 // Don't care about token encryption while debugging. 77 const std::string& token) { 86 if (!encryptor.Encrypt(token, &encoded_token)) { 87 LOG(WARNING) << "Failed to encrypt token."; 102 LOG(WARNING) << "Corrupt encrypted token found."; 116 std::string token; local 37 EncryptWithSystemSalt( const std::string& token) argument 74 EncryptTokenWithKey( crypto::SymmetricKey* key, const std::string& salt, const std::string& token) argument [all...] |
/external/chromium_org/components/policy/core/common/cloud/ |
H A D | mock_cloud_policy_client.cc | 24 void MockCloudPolicyClient::SetDMToken(const std::string& token) { argument 25 dm_token_ = token;
|
/external/chromium_org/google_apis/gaia/ |
H A D | oauth2_token_service_test_util.h | 13 std::string GetValidTokenResponse(std::string token, int expiration); 23 const std::string& token,
|
/external/chromium_org/remoting/client/ |
H A D | token_fetcher_proxy.cc | 30 const std::string& token, const std::string& shared_secret) { 32 token_fetched_callback_.Run(token, shared_secret); 29 OnTokenFetched( const std::string& token, const std::string& shared_secret) argument
|
/external/chromium_org/sandbox/win/src/ |
H A D | policy_target.h | 32 ACCESS_MASK desired_access, BOOLEAN open_as_self, PHANDLE token); 39 PHANDLE token);
|
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
H A D | ExpressionParser.y | 65 pp::Token* token; 81 %token TOK_CONST_INT 156 context->token->location, 169 context->token->location, 202 pp::Token *token = context->token; 203 switch (token->type) 207 if (!token->uValue(&val)) 210 token->location, token [all...] |
/external/chromium_org/third_party/closure_linter/closure_linter/ |
H A D | aliaspass_test.py | 32 for token in start_token: 33 if token.line_number == line_number and token.string == string: 34 return token 53 self.assertEquals('goog.scope', alias_error.token.string) 99 self.assertEquals(7, error.token.line_number) 103 self.assertEquals(7, error.token.line_number) 107 self.assertEquals(11, error.token.line_number)
|
H A D | statetracker.py | 37 flag_token: The flag token. 38 type_start_token: The first token specifying the flag type, 40 type_end_token: The last token specifying the flag type, 43 name_token: The token specifying the flag name. 45 description_start_token: The first token in the description. 46 description_end_token: The end token in the description. 169 """Creates the DocFlag object and attaches it to the given start token. 172 flag_token: The starting token of the flag. 193 # search for type in same line only. If no token after flag in same 205 # Handle bad case, name could be immediately after flag token [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_tokenize.h | 28 int16_t token; member in struct:__anon13208 35 uint8_t token; member in struct:__anon13209
|
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/parsers/nasm/ |
H A D | Makefile.inc | 5 nodist_libyasm_a_SOURCES += nasm-token.c 9 nasm-token.c: $(srcdir)/modules/parsers/nasm/nasm-token.re re2c$(EXEEXT) 10 $(top_builddir)/re2c$(EXEEXT) -b -o $@ $(srcdir)/modules/parsers/nasm/nasm-token.re 12 BUILT_SOURCES += nasm-token.c 14 CLEANFILES += nasm-token.c 16 EXTRA_DIST += modules/parsers/nasm/nasm-token.re
|
/external/e2fsprogs/lib/blkid/ |
H A D | 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, argument 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 [all...] |
/external/fonttools/Lib/fontTools/misc/ |
H A D | 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 [all...] |
/external/fonttools/Tools/fontTools/misc/ |
H A D | 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 [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
H A D | vp9_tokenize.h | 28 int16_t token; member in struct:__anon24979 35 uint8_t token; member in struct:__anon24980
|
/external/llvm/test/MC/X86/AlignedBundling/ |
H A D | align-mode-argument-error.s | 4 # CHECK: error: unknown token
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
H A D | 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 201 isAlphanumericOrSpace( String token, int start, int end) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/parser/ |
H A D | CSSGrammar.y | 160 %token WHITESPACE SGML_CD 161 %token TOKEN_EOF 0 163 %token INCLUDES 164 %token DASHMATCH 165 %token BEGINSWITH 166 %token ENDSWITH 167 %token CONTAINS 169 %token <string> STRING 171 %token <string> NTH 182 %token IMPORT_SY [all...] |