Home
last modified time | relevance | path

Searched refs:registrar (Results 1 – 25 of 107) sorted by relevance

12345

/external/chromium_org/third_party/WebKit/Source/wtf/text/
DTextCodecICU.cpp62 void TextCodecICU::registerEncodingNames(EncodingNameRegistrar registrar) in registerEncodingNames() argument
68 registrar("ISO-8859-8-I", "ISO-8859-8-I"); in registerEncodingNames()
105 registrar(standardName, standardName); in registerEncodingNames()
115 registrar(alias, standardName); in registerEncodingNames()
121 registrar("macroman", "macintosh"); in registerEncodingNames()
122 registrar("maccyrillic", "x-mac-cyrillic"); in registerEncodingNames()
128 registrar("x-mac-roman", "macintosh"); in registerEncodingNames()
129 registrar("x-mac-ukrainian", "x-mac-cyrillic"); in registerEncodingNames()
130 registrar("cn-big5", "Big5"); in registerEncodingNames()
131 registrar("x-x-big5", "Big5"); in registerEncodingNames()
[all …]
DTextCodecLatin1.cpp74 void TextCodecLatin1::registerEncodingNames(EncodingNameRegistrar registrar) in registerEncodingNames() argument
76 registrar("windows-1252", "windows-1252"); in registerEncodingNames()
77 registrar("ISO-8859-1", "ISO-8859-1"); in registerEncodingNames()
78 registrar("US-ASCII", "US-ASCII"); in registerEncodingNames()
80 registrar("WinLatin1", "windows-1252"); in registerEncodingNames()
81 registrar("ibm-1252", "windows-1252"); in registerEncodingNames()
82 registrar("ibm-1252_P100-2000", "windows-1252"); in registerEncodingNames()
84 registrar("CP819", "ISO-8859-1"); in registerEncodingNames()
85 registrar("IBM819", "ISO-8859-1"); in registerEncodingNames()
86 registrar("csISOLatin1", "ISO-8859-1"); in registerEncodingNames()
[all …]
DTextCodecUTF16.cpp38 void TextCodecUTF16::registerEncodingNames(EncodingNameRegistrar registrar) in registerEncodingNames() argument
40 registrar("UTF-16LE", "UTF-16LE"); in registerEncodingNames()
41 registrar("UTF-16BE", "UTF-16BE"); in registerEncodingNames()
43 registrar("ISO-10646-UCS-2", "UTF-16LE"); in registerEncodingNames()
44 registrar("UCS-2", "UTF-16LE"); in registerEncodingNames()
45 registrar("UTF-16", "UTF-16LE"); in registerEncodingNames()
46 registrar("Unicode", "UTF-16LE"); in registerEncodingNames()
47 registrar("csUnicode", "UTF-16LE"); in registerEncodingNames()
48 registrar("unicodeFEFF", "UTF-16LE"); in registerEncodingNames()
50 registrar("unicodeFFFE", "UTF-16BE"); in registerEncodingNames()
[all …]
DTextCodecUTF8.cpp47 void TextCodecUTF8::registerEncodingNames(EncodingNameRegistrar registrar) in registerEncodingNames() argument
49 registrar("UTF-8", "UTF-8"); in registerEncodingNames()
55 registrar("unicode11utf8", "UTF-8"); in registerEncodingNames()
56 registrar("unicode20utf8", "UTF-8"); in registerEncodingNames()
57 registrar("utf8", "UTF-8"); in registerEncodingNames()
58 registrar("x-unicode20utf8", "UTF-8"); in registerEncodingNames()
62 registrar("unicode-1-1-utf-8", "UTF-8"); in registerEncodingNames()
65 void TextCodecUTF8::registerCodecs(TextCodecRegistrar registrar) in registerCodecs() argument
67 registrar("UTF-8", create, 0); in registerCodecs()
DTextCodecUserDefined.cpp37 void TextCodecUserDefined::registerEncodingNames(EncodingNameRegistrar registrar) in registerEncodingNames() argument
39 registrar("x-user-defined", "x-user-defined"); in registerEncodingNames()
47 void TextCodecUserDefined::registerCodecs(TextCodecRegistrar registrar) in registerCodecs() argument
49 registrar("x-user-defined", newStreamingTextDecoderUserDefined, 0); in registerCodecs()
/external/chromium_org/base/prefs/
Dpref_change_registrar_unittest.cc61 PrefChangeRegistrar registrar; in TEST_F() local
62 registrar.Init(service()); in TEST_F()
66 AddPrefObserver(Eq(std::string("test.pref.1")), &registrar)); in TEST_F()
68 AddPrefObserver(Eq(std::string("test.pref.2")), &registrar)); in TEST_F()
69 registrar.Add("test.pref.1", observer()); in TEST_F()
70 registrar.Add("test.pref.2", observer()); in TEST_F()
71 EXPECT_FALSE(registrar.IsEmpty()); in TEST_F()
76 RemovePrefObserver(Eq(std::string("test.pref.1")), &registrar)); in TEST_F()
78 RemovePrefObserver(Eq(std::string("test.pref.2")), &registrar)); in TEST_F()
79 registrar.Remove("test.pref.1"); in TEST_F()
[all …]
Dpref_service_unittest.cc31 PrefChangeRegistrar registrar; in TEST() local
32 registrar.Init(&prefs); in TEST()
33 registrar.Add(pref_name, obs.GetCallback()); in TEST()
88 PrefChangeRegistrar registrar; in TEST() local
89 registrar.Init(&prefs); in TEST()
90 registrar.Add(pref_name, obs.GetCallback()); in TEST()
123 registrar.Remove(pref_name); in TEST()
249 PrefChangeRegistrar registrar; in TEST_F() local
250 registrar.Init(&prefs_); in TEST_F()
251 registrar.Add(kName, observer_.GetCallback()); in TEST_F()
[all …]
/external/chromium/chrome/browser/prefs/
Dpref_change_registrar_unittest.cc53 PrefChangeRegistrar registrar; in TEST_F() local
54 registrar.Init(service()); in TEST_F()
61 registrar.Add("test.pref.1", observer()); in TEST_F()
62 registrar.Add("test.pref.2", observer()); in TEST_F()
63 EXPECT_FALSE(registrar.IsEmpty()); in TEST_F()
71 registrar.Remove("test.pref.1", observer()); in TEST_F()
72 registrar.Remove("test.pref.2", observer()); in TEST_F()
73 EXPECT_TRUE(registrar.IsEmpty()); in TEST_F()
81 PrefChangeRegistrar registrar; in TEST_F() local
82 registrar.Init(service()); in TEST_F()
[all …]
Dpref_service_unittest.cc64 PrefChangeRegistrar registrar; in TEST() local
65 registrar.Init(&prefs); in TEST()
66 registrar.Add(pref_name, &obs); in TEST()
120 PrefChangeRegistrar registrar; in TEST() local
121 registrar.Init(&prefs); in TEST()
122 registrar.Add(pref_name, &obs); in TEST()
135 registrar.Add(pref_name, &obs2); in TEST()
142 registrar.Remove(pref_name, &obs); in TEST()
369 PrefChangeRegistrar registrar; in TEST_F() local
370 registrar.Init(&prefs_); in TEST_F()
[all …]
/external/chromium_org/sync/notifier/
Dinvalidator_registrar_unittest.cc118 scoped_ptr<InvalidatorRegistrar> registrar(new InvalidatorRegistrar()); in TEST_F() local
121 registrar->RegisterHandler(&handler); in TEST_F()
123 EXPECT_DEATH({ registrar.reset(); }, ""); in TEST_F()
125 ASSERT_TRUE(registrar.get()); in TEST_F()
126 registrar->UnregisterHandler(&handler); in TEST_F()
135 InvalidatorRegistrar registrar; in TEST_F() local
138 registrar.RegisterHandler(&handler1); in TEST_F()
141 registrar.RegisterHandler(&handler2); in TEST_F()
146 registrar.UpdateRegisteredIds(&handler1, ids); in TEST_F()
148 registrar.DetachFromThreadForTest(); in TEST_F()
[all …]
/external/chromium_org/win8/test/
Dtest_registrar.cc75 virtual HRESULT AddCommonRGSReplacements(IRegistrarBase* registrar) throw() { in AddCommonRGSReplacements() argument
77 HRESULT hr = ParentClass::AddCommonRGSReplacements(registrar); in AddCommonRGSReplacements()
81 registrar->AddReplacement(L"DELEGATE_EXECUTE_CLSID", kDelegateExecuteCLSID); in AddCommonRGSReplacements()
85 registrar->AddReplacement(L"APP_USER_MODEL_ID", in AddCommonRGSReplacements()
88 registrar->AddReplacement(L"EXE_NAME", in AddCommonRGSReplacements()
91 registrar->AddReplacement(L"PROG_ID", in AddCommonRGSReplacements()
100 registrar->AddReplacement(L"EXE_OPEN_COMMAND", exe_open_command.c_str()); in AddCommonRGSReplacements()
103 registrar->AddReplacement(L"EXE_ICON", exe_icon.c_str()); in AddCommonRGSReplacements()
107 registrar->AddReplacement(L"PROG_ID_OPEN_COMMAND", in AddCommonRGSReplacements()
Dmetro_registration_helper.cc45 base::FilePath registrar(dir.Append(kRegistrar)); in RegisterTestDefaultBrowser() local
47 if (!base::PathExists(chrome_exe) || !base::PathExists(registrar)) { in RegisterTestDefaultBrowser()
53 CommandLine register_command(registrar); in RegisterTestDefaultBrowser()
/external/chromium/chrome/browser/chromeos/
Dnetwork_state_notifier_browsertest.cc65 NotificationRegistrar registrar; in IN_PROC_BROWSER_TEST_F() local
66 registrar.Add(this, NotificationType::NETWORK_STATE_CHANGED, in IN_PROC_BROWSER_TEST_F()
79 NotificationRegistrar registrar; in IN_PROC_BROWSER_TEST_F() local
80 registrar.Add(this, NotificationType::NETWORK_STATE_CHANGED, in IN_PROC_BROWSER_TEST_F()
97 NotificationRegistrar registrar; in IN_PROC_BROWSER_TEST_F() local
98 registrar.Add(this, NotificationType::NETWORK_STATE_CHANGED, in IN_PROC_BROWSER_TEST_F()
/external/wpa_supplicant_8/src/wps/
Dwps.c40 data->registrar = cfg->registrar; in wps_init()
41 if (cfg->registrar) { in wps_init()
61 if (cfg->wps->ap && !cfg->registrar && cfg->wps->ap_nfc_dev_pw_id) { in wps_init()
96 data->state = data->registrar ? RECV_M1 : SEND_M1; in wps_init()
147 if (data->registrar && data->nfc_pw_token) in wps_deinit()
148 wps_registrar_remove_nfc_pw_token(data->wps->registrar, in wps_deinit()
155 if (data->registrar) in wps_deinit()
156 wps_registrar_invalidate_pin(data->wps->registrar, in wps_deinit()
158 } else if (data->registrar) in wps_deinit()
159 wps_registrar_unlock_pin(data->wps->registrar, data->uuid_e); in wps_deinit()
[all …]
Dwps_registrar.c1038 void wps_registrar_complete(struct wps_registrar *registrar, const u8 *uuid_e, in wps_registrar_complete() argument
1041 if (registrar->pbc) { in wps_registrar_complete()
1042 wps_registrar_remove_pbc_session(registrar, in wps_registrar_complete()
1044 wps_registrar_pbc_completed(registrar); in wps_registrar_complete()
1045 os_get_time(&registrar->pbc_ignore_start); in wps_registrar_complete()
1046 os_memcpy(registrar->pbc_ignore_uuid, uuid_e, WPS_UUID_LEN); in wps_registrar_complete()
1048 wps_registrar_pin_completed(registrar); in wps_registrar_complete()
1052 wps_registrar_invalidate_wildcard_pin(registrar, dev_pw, in wps_registrar_complete()
1369 pin = wps_registrar_get_pin(wps->wps->registrar, wps->uuid_e, in wps_get_dev_password()
1383 wps_cb_pin_needed(wps->wps->registrar, wps->uuid_e, in wps_get_dev_password()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_wsc.c21 int registrar; member
82 int registrar; in eap_wsc_init() local
88 registrar = 0; /* Supplicant is Registrar */ in eap_wsc_init()
92 registrar = 1; /* Supplicant is Enrollee */ in eap_wsc_init()
102 data->state = registrar ? START : MESG; in eap_wsc_init()
103 data->registrar = registrar; in eap_wsc_init()
107 cfg.registrar = registrar; in eap_wsc_init()
108 if (registrar) { in eap_wsc_init()
109 if (sm->wps == NULL || sm->wps->registrar == NULL) { in eap_wsc_init()
/external/wpa_supplicant_8/src/eap_peer/
Deap_wsc.c21 int registrar; member
145 int registrar; in eap_wsc_init() local
164 registrar = 1; /* Supplicant is Registrar */ in eap_wsc_init()
167 registrar = 0; /* Supplicant is Enrollee */ in eap_wsc_init()
177 data->state = registrar ? MESG : WAIT_START; in eap_wsc_init()
178 data->registrar = registrar; in eap_wsc_init()
183 cfg.registrar = registrar; in eap_wsc_init()
250 if (registrar && cfg.pin) { in eap_wsc_init()
251 wps_registrar_add_pin(data->wps_ctx->registrar, NULL, NULL, in eap_wsc_init()
/external/chromium/chrome/browser/extensions/
Dextension_browsertest.cc66 NotificationRegistrar registrar; in LoadExtensionImpl() local
67 registrar.Add(this, NotificationType::EXTENSION_LOADED, in LoadExtensionImpl()
213 NotificationRegistrar registrar; in InstallOrUpdateExtension() local
214 registrar.Add(this, NotificationType::EXTENSION_LOADED, in InstallOrUpdateExtension()
216 registrar.Add(this, NotificationType::EXTENSION_UPDATE_DISABLED, in InstallOrUpdateExtension()
218 registrar.Add(this, NotificationType::EXTENSION_INSTALL_ERROR, in InstallOrUpdateExtension()
322 NotificationRegistrar registrar; in WaitForExtensionHostsToLoad() local
323 registrar.Add(this, NotificationType::EXTENSION_HOST_DID_STOP_LOADING, in WaitForExtensionHostsToLoad()
/external/chromium_org/chrome/browser/chromeos/login/
Dmulti_profile_user_controller.cc141 scoped_ptr<PrefChangeRegistrar> registrar(new PrefChangeRegistrar); in StartObserving() local
142 registrar->Init(user_profile->GetPrefs()); in StartObserving()
143 registrar->Add( in StartObserving()
148 pref_watchers_.push_back(registrar.release()); in StartObserving()
/external/chromium_org/chrome/browser/sync/glue/
Dsync_backend_registrar_unittest.cc37 void TriggerChanges(SyncBackendRegistrar* registrar, ModelType type) { in TriggerChanges() argument
38 registrar->OnChangesApplied(type, 0, NULL, in TriggerChanges()
40 registrar->OnChangesComplete(type); in TriggerChanges()
93 SyncBackendRegistrar* registrar, in ExpectRoutingInfo() argument
96 registrar->GetModelSafeRoutingInfo(&routing_info); in ExpectRoutingInfo()
100 void ExpectHasProcessorsForTypes(const SyncBackendRegistrar& registrar, in ExpectHasProcessorsForTypes() argument
/external/chromium/chrome/browser/debugger/
Ddevtools_sanity_unittest.cc187 NotificationRegistrar registrar; in LoadExtensionFromPath() local
188 registrar.Add(this, NotificationType::EXTENSION_LOADED, in LoadExtensionFromPath()
210 NotificationRegistrar registrar; in WaitForExtensionHostsToLoad() local
211 registrar.Add(this, NotificationType::EXTENSION_HOST_DID_STOP_LOADING, in WaitForExtensionHostsToLoad()
/external/chromium_org/chrome_frame/
Dchrome_tab.cc121 virtual HRESULT AddCommonRGSReplacements(IRegistrarBase* registrar) throw() { in AddCommonRGSReplacements() argument
122 HRESULT hr = ParentClass::AddCommonRGSReplacements(registrar); in AddCommonRGSReplacements()
129 hr = registrar->AddReplacement(L"SYSTIME", in AddCommonRGSReplacements()
137 hr = registrar->AddReplacement(L"CHROME_APPPATH", in AddCommonRGSReplacements()
143 hr = registrar->AddReplacement(L"CHROME_APPNAME", in AddCommonRGSReplacements()
152 hr = registrar->AddReplacement(L"VERSION", file_version.c_str()); in AddCommonRGSReplacements()
166 hr = registrar->AddReplacement(L"CHROME_LAUNCHER_APPPATH", in AddCommonRGSReplacements()
173 hr = registrar->AddReplacement(L"CHROME_LAUNCHER_APPNAME", in AddCommonRGSReplacements()
186 hr = registrar->AddReplacement(L"HIVE", L"HKLM"); in AddCommonRGSReplacements()
188 hr = registrar->AddReplacement(L"HIVE", L"HKCU"); in AddCommonRGSReplacements()
[all …]
/external/chromium/chrome/browser/metrics/
Dmetrics_service.cc545 void MetricsService::SetUpNotifications(NotificationRegistrar* registrar, in SetUpNotifications() argument
547 registrar->Add(observer, NotificationType::BROWSER_OPENED, in SetUpNotifications()
549 registrar->Add(observer, NotificationType::BROWSER_CLOSED, in SetUpNotifications()
551 registrar->Add(observer, NotificationType::USER_ACTION, in SetUpNotifications()
553 registrar->Add(observer, NotificationType::TAB_PARENTED, in SetUpNotifications()
555 registrar->Add(observer, NotificationType::TAB_CLOSING, in SetUpNotifications()
557 registrar->Add(observer, NotificationType::LOAD_START, in SetUpNotifications()
559 registrar->Add(observer, NotificationType::LOAD_STOP, in SetUpNotifications()
561 registrar->Add(observer, NotificationType::RENDERER_PROCESS_CLOSED, in SetUpNotifications()
563 registrar->Add(observer, NotificationType::RENDERER_PROCESS_HANG, in SetUpNotifications()
[all …]
/external/chromium_org/chrome/browser/prefs/
Dsynced_pref_change_registrar_browsertest.cc97 SyncedPrefChangeRegistrar* registrar() const { in registrar() function in __anona00602a40111::SyncedPrefChangeRegistrarTest
156 registrar()->Add(prefs::kShowHomeButton, in IN_PROC_BROWSER_TEST_F()
193 registrar()->Add(prefs::kShowHomeButton, in IN_PROC_BROWSER_TEST_F()
214 registrar()->Add(prefs::kShowHomeButton, in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/extensions/
Dconvert_web_app_browsertest.cc67 content::NotificationRegistrar registrar; in IN_PROC_BROWSER_TEST_F() local
68 registrar.Add(this, chrome::NOTIFICATION_EXTENSION_INSTALLED, in IN_PROC_BROWSER_TEST_F()

12345