Home
last modified time | relevance | path

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

12

/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.cc28 bool HasMatch(const std::string& token_name) { in HasMatch() argument
29 return cache_.RetrieveToken(token_name) != std::string(); in HasMatch()
32 void InsertExpiredToken(const std::string& token_name, in InsertExpiredToken() argument
34 EXPECT_TRUE(!HasMatch(token_name)); in InsertExpiredToken()
45 cache_.token_cache_[token_name] = token_data; in InsertExpiredToken()
Dtoken_cache_service.cc25 void TokenCacheService::StoreToken(const std::string& token_name, in StoreToken() argument
46 token_cache_[token_name] = token_data; in StoreToken()
51 std::string TokenCacheService::RetrieveToken(const std::string& token_name) { in RetrieveToken() argument
53 token_cache_.find(token_name); in RetrieveToken()
Dtoken_cache_service.h39 void StoreToken(const std::string& token_name, const std::string& token_value,
44 std::string RetrieveToken(const std::string& token_name);
/external/chromium/crypto/
Dnss_util.cc108 std::string token_name; in PKCS11PasswordFunc() local
110 crypto::GetTPMTokenInfo(&token_name, &user_pin); in PKCS11PasswordFunc()
111 if (PK11_GetTokenName(slot) == token_name) in PKCS11PasswordFunc()
176 PK11SlotInfo* FindSlotWithTokenName(const std::string& token_name) { in FindSlotWithTokenName() argument
183 if (PK11_GetTokenName(slot) == token_name) in FindSlotWithTokenName()
247 void GetTPMTokenInfo(std::string* token_name, std::string* user_pin) { in GetTPMTokenInfo() argument
248 tpm_token_info_delegate_->GetTokenInfo(token_name, user_pin); in GetTPMTokenInfo()
256 std::string token_name; in GetTPMSlot() local
257 GetTPMTokenInfo(&token_name, NULL); in GetTPMSlot()
258 return FindSlotWithTokenName(token_name); in GetTPMSlot()
[all …]
Dnss_util.h96 virtual void GetTokenInfo(std::string* token_name,
110 void GetTPMTokenInfo(std::string* token_name, std::string* user_pin);
/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 )
/external/chromium_org/chrome/browser/signin/
Dsignin_internals_util.h130 virtual void NotifyTokenReceivedSuccess(const std::string& token_name, in NotifyTokenReceivedSuccess() argument
133 virtual void NotifyTokenReceivedFailure(const std::string& token_name, in NotifyTokenReceivedFailure() argument
135 virtual void NotifyClearStoredToken(const std::string& token_name) {}}; in NotifyClearStoredToken() argument
Dabout_signin_internals.cc136 const std::string& token_name) const { in GetTokenTime()
138 signin_status_.token_info_map.find(token_name); in GetTokenTime()
Dabout_signin_internals.h79 base::Time GetTokenTime(const std::string& token_name) const;
Dsignin_internals_util.cc94 std::string TokenPrefPath(const std::string& token_name) { in TokenPrefPath() argument
95 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/chromium/chrome/browser/ui/
Dcrypto_module_password_dialog_nss.cc70 std::string token_name; in Start() local
72 crypto::GetTPMTokenInfo(&token_name, &user_pin); in Start()
73 if (modules_[current_]->GetTokenName() == token_name) { in Start()
/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/chromium_org/chromeos/
Dcert_loader.cc299 const std::string& token_name, in OnPkcs11GetTpmTokenInfo() argument
302 VLOG(1) << "OnPkcs11GetTpmTokenInfo: " << token_name; in OnPkcs11GetTpmTokenInfo()
309 tpm_token_name_ = token_name; in OnPkcs11GetTpmTokenInfo()
Dcert_loader.h125 const std::string& token_name,
/external/chromium/chrome/browser/chromeos/options/
Dwifi_config_model.cc80 std::string token_name = in UpdateCertificates() local
82 if (token_name != kRootCertificateTokenName) in UpdateCertificates()
/external/bison/src/
Dreader.h41 char const *token_name (int type);
/external/chromium_org/base/
Dsequence_checker_unittest.cc79 const std::string& token_name) { in PostDoStuffToWorkerPool() argument
81 token_name, in PostDoStuffToWorkerPool()
/external/chromium/chrome/browser/chromeos/login/
Duser_manager.cc556 virtual void GetTokenInfo(std::string* token_name,
567 void RealTPMTokenInfoDelegate::GetTokenInfo(std::string* token_name, in GetTokenInfo() argument
573 if (token_name) in GetTokenInfo()
574 *token_name = local_token_name; in GetTokenInfo()
/external/chromium_org/chrome/browser/chromeos/options/
Dcert_library.cc232 std::string token_name = in OnCertificatesLoaded() local
234 if (token_name != kRootCertificateTokenName) in OnCertificatesLoaded()
/external/chromium_org/base/threading/
Dsequenced_worker_pool.h265 bool PostNamedSequencedWorkerTask(const std::string& token_name,

12