Home
last modified time | relevance | path

Searched refs:token_name (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/google_apis/
Dgoogle_api_keys.py22 def _GetTokenFromOfficialFile(token_name): argument
29 line_regexp = '^#define\s*%s\s*"([^"]+)"' % token_name
57 def _GetToken(token_name): argument
59 if token_name in os.environ:
60 return os.environ[token_name]
61 token = _GetTokenFromOfficialFile(token_name)
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
Dtest-scheme.rb38 @ts.token_name(5).should == 'B'
39 @ts.token_name(6).should == "'+'"
40 @ts.token_name(-1).should == '<EOF>'
41 @ts.token_name(7).should == '<UNKNOWN: 7>'
/external/chromium_org/chrome/browser/extensions/token_cache/
Dtoken_cache_service_unittest.cc26 bool HasMatch(const std::string& token_name) { in HasMatch() argument
27 return cache_.RetrieveToken(token_name) != std::string(); in HasMatch()
30 void InsertExpiredToken(const std::string& token_name, in InsertExpiredToken() argument
32 EXPECT_TRUE(!HasMatch(token_name)); in InsertExpiredToken()
43 cache_.token_cache_[token_name] = token_data; in InsertExpiredToken()
Dtoken_cache_service.cc23 void TokenCacheService::StoreToken(const std::string& token_name, in StoreToken() argument
44 token_cache_[token_name] = token_data; in StoreToken()
49 std::string TokenCacheService::RetrieveToken(const std::string& token_name) { in RetrieveToken() argument
51 token_cache_.find(token_name); in RetrieveToken()
Dtoken_cache_service.h34 void StoreToken(const std::string& token_name, const std::string& token_value,
39 std::string RetrieveToken(const std::string& token_name);
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
Drecognizers.rb436 token_name = token_name( e.expecting )
437 "extraneous input #{ token_error_display( e.unexpected_token ) } expecting #{ token_name }"
439 token_name = token_name( e.expecting )
440 "missing #{ token_name } at #{ token_error_display( e.symbol ) }"
442 token_name = token_name( e.expecting )
443 "mismatched input #{ token_error_display( e.symbol ) } expecting #{ token_name }"
445 token_name = token_name( e.expecting )
446 "mismatched tree node: #{ e.symbol } expecting #{ token_name }"
479 when name = token_name( token.type ) rescue nil then "<#{ name }>"
Dtoken.rb155 token_name( type )
208 def token_name( type ) method
252 def self.token_name( type ) singletonMethod in ANTLR3.CommonToken
519 ::ANTLR3::CommonToken.token_name( type )
557 for token_name, token_value in token_map
558 define_token( token_name, token_value )
Dtree.rb124 name = token_name( expected_token_type ).to_s
/external/chromium_org/components/signin/core/browser/
Dsignin_internals_util.h73 virtual void NotifyTokenReceivedSuccess(const std::string& token_name, in NotifyTokenReceivedSuccess() argument
76 virtual void NotifyTokenReceivedFailure(const std::string& token_name, in NotifyTokenReceivedFailure() argument
78 virtual void NotifyClearStoredToken(const std::string& token_name) {}}; in NotifyClearStoredToken() argument
Dsignin_internals_util.cc51 std::string TokenPrefPath(const std::string& token_name) { in TokenPrefPath() argument
52 return std::string(kTokenPrefPrefix) + token_name; in TokenPrefPath()
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
DBaseRecognizer.pm177 my $token_name;
179 $token_name = 'EOF';
181 $token_name = $token_names->[$e->get_expecting];
185 . ' expecting ' . $token_name;
187 my $token_name;
189 $token_name = 'EOF';
191 $token_name = $token_names->[$e->get_expecting];
195 . ' expecting ' . $token_name;
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
Dwizard.rb252 token_name = @tokenizer.text
254 token_name == 'nil' and return @adaptor.create_flat_list
256 text = token_name
264 node_type = @token_scheme[ token_name ] || INVALID_TOKEN_TYPE
/external/chromium_org/net/cert/
Dx509_util_nss.cc612 std::string token_name; in GetUniqueNicknameForSlot() local
618 token_name.assign(PK11_GetTokenName(slot)); in GetUniqueNicknameForSlot()
619 token_name.append(":"); in GetUniqueNicknameForSlot()
621 temp_nickname = token_name + new_name; in GetUniqueNicknameForSlot()
628 temp_nickname = token_name + new_name; in GetUniqueNicknameForSlot()
/external/bison/src/
Dreader.h41 char const *token_name (int type);
Dparse-gram.y777 token_name (int type) in token_name() function
Dparse-gram.c3242 token_name (int type) in token_name() function
/external/chromium_org/chromeos/
Dtpm_token_loader.cc259 const std::string& token_name, in OnPkcs11GetTpmTokenInfo() argument
262 VLOG(1) << "OnPkcs11GetTpmTokenInfo: " << token_name; in OnPkcs11GetTpmTokenInfo()
Dtpm_token_loader.h91 const std::string& token_name,
/external/chromium_org/base/
Dsequence_checker_unittest.cc79 const std::string& token_name) { in PostDoStuffToWorkerPool() argument
81 token_name, in PostDoStuffToWorkerPool()
/external/chromium_org/chrome/browser/chromeos/options/
Dcert_library.cc228 std::string token_name = in OnCertificatesLoaded() local
230 if (token_name != kRootCertificateTokenName) in OnCertificatesLoaded()
/external/chromium_org/base/threading/
Dsequenced_worker_pool.h265 bool PostNamedSequencedWorkerTask(const std::string& token_name,
Dsequenced_worker_pool.cc1244 const std::string& token_name, in PostNamedSequencedWorkerTask() argument
1247 DCHECK(!token_name.empty()); in PostNamedSequencedWorkerTask()
1248 return inner_->PostTask(&token_name, SequenceToken(), BLOCK_SHUTDOWN, in PostNamedSequencedWorkerTask()
/external/bison/
DChangeLog-20128539 * src/reader.h (token_name): Likewise.
10263 * src/parse-gram.y (token_name): Translate type before using
13843 (token_name): New function.
13846 (token_name): New decl.