Home
last modified time | relevance | path

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

1234

/external/webkit/Source/WebCore/platform/text/gtk/
DTextCodecGtk.cpp83 static bool registerEncodingNameIfAvailable(EncodingNameRegistrar registrar, const char* canonicalN… in registerEncodingNameIfAvailable() argument
86 registrar(canonicalName, canonicalName); in registerEncodingNameIfAvailable()
93 static void registerEncodingAliasIfAvailable(EncodingNameRegistrar registrar, const char* canonical… in registerEncodingAliasIfAvailable() argument
96 registrar(aliasName, canonicalName); in registerEncodingAliasIfAvailable()
99 static void registerCodecIfAvailable(TextCodecRegistrar registrar, const char* codecName) in registerCodecIfAvailable() argument
102 registrar(codecName, newTextCodecGtk, 0); in registerCodecIfAvailable()
105 void TextCodecGtk::registerBaseEncodingNames(EncodingNameRegistrar registrar) in registerBaseEncodingNames() argument
108 registerEncodingNameIfAvailable(registrar, "UTF-8"); in registerBaseEncodingNames()
109 registerEncodingNameIfAvailable(registrar, "UTF-32"); in registerBaseEncodingNames()
110 registerEncodingNameIfAvailable(registrar, "UTF-32BE"); in registerBaseEncodingNames()
[all …]
/external/webkit/Source/WebCore/platform/text/
DTextCodecLatin1.cpp72 void TextCodecLatin1::registerEncodingNames(EncodingNameRegistrar registrar) in registerEncodingNames() argument
74 registrar("windows-1252", "windows-1252"); in registerEncodingNames()
75 registrar("ISO-8859-1", "ISO-8859-1"); in registerEncodingNames()
76 registrar("US-ASCII", "US-ASCII"); in registerEncodingNames()
78 registrar("WinLatin1", "windows-1252"); in registerEncodingNames()
79 registrar("ibm-1252", "windows-1252"); in registerEncodingNames()
80 registrar("ibm-1252_P100-2000", "windows-1252"); in registerEncodingNames()
82 registrar("CP819", "ISO-8859-1"); in registerEncodingNames()
83 registrar("IBM819", "ISO-8859-1"); in registerEncodingNames()
84 registrar("csISOLatin1", "ISO-8859-1"); in registerEncodingNames()
[all …]
DTextCodecICU.cpp61 void TextCodecICU::registerEncodingNames(EncodingNameRegistrar registrar) in registerEncodingNames() argument
67 registrar("ISO-8859-8-I", "ISO-8859-8-I"); in registerEncodingNames()
100 registrar(standardName, standardName); in registerEncodingNames()
110 registrar(alias, standardName); in registerEncodingNames()
116 registrar("macroman", "macintosh"); in registerEncodingNames()
117 registrar("maccyrillic", "x-mac-cyrillic"); in registerEncodingNames()
123 registrar("x-mac-roman", "macintosh"); in registerEncodingNames()
124 registrar("x-mac-ukrainian", "x-mac-cyrillic"); in registerEncodingNames()
125 registrar("cn-big5", "Big5"); in registerEncodingNames()
126 registrar("x-x-big5", "Big5"); 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.cpp46 void TextCodecUTF8::registerEncodingNames(EncodingNameRegistrar registrar) in registerEncodingNames() argument
48 registrar("UTF-8", "UTF-8"); in registerEncodingNames()
54 registrar("unicode11utf8", "UTF-8"); in registerEncodingNames()
55 registrar("unicode20utf8", "UTF-8"); in registerEncodingNames()
56 registrar("utf8", "UTF-8"); in registerEncodingNames()
57 registrar("x-unicode20utf8", "UTF-8"); in registerEncodingNames()
60 void TextCodecUTF8::registerCodecs(TextCodecRegistrar registrar) in registerCodecs() argument
62 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/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/wpa_supplicant_6/wpa_supplicant/src/wps/
Dwps.c39 data->registrar = cfg->registrar; in wps_init()
40 if (cfg->registrar) { in wps_init()
71 data->state = data->registrar ? RECV_M1 : SEND_M1; in wps_init()
104 if (data->registrar) in wps_deinit()
105 wps_registrar_invalidate_pin(data->wps->registrar, in wps_deinit()
107 } else if (data->registrar) in wps_deinit()
108 wps_registrar_unlock_pin(data->wps->registrar, data->uuid_e); in wps_deinit()
137 if (wps->registrar) in wps_process_msg()
155 if (wps->registrar) in wps_get_msg()
/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_6/wpa_supplicant/src/eap_peer/
Deap_wsc.c27 int registrar; member
73 int registrar; in eap_wsc_init() local
89 registrar = 1; /* Supplicant is Registrar */ in eap_wsc_init()
92 registrar = 0; /* Supplicant is Enrollee */ in eap_wsc_init()
102 data->state = registrar ? MESG : WAIT_START; in eap_wsc_init()
103 data->registrar = registrar; in eap_wsc_init()
108 cfg.registrar = registrar; in eap_wsc_init()
145 if (registrar && cfg.pin) { in eap_wsc_init()
146 wps_registrar_add_pin(data->wps_ctx->registrar, NULL, in eap_wsc_init()
/external/wpa_supplicant_8/src/wps/
Dwps.c40 data->registrar = cfg->registrar; in wps_init()
41 if (cfg->registrar) { in wps_init()
60 if (cfg->wps->ap && !cfg->registrar && cfg->wps->ap_nfc_dev_pw_id) { in wps_init()
89 data->state = data->registrar ? RECV_M1 : SEND_M1; in wps_init()
139 if (data->registrar && data->nfc_pw_token) in wps_deinit()
140 wps_registrar_remove_nfc_pw_token(data->wps->registrar, in wps_deinit()
147 if (data->registrar) in wps_deinit()
148 wps_registrar_invalidate_pin(data->wps->registrar, in wps_deinit()
150 } else if (data->registrar) in wps_deinit()
151 wps_registrar_unlock_pin(data->wps->registrar, data->uuid_e); in wps_deinit()
[all …]
Dwps_ufd.c76 static int get_file_name(struct wps_context *wps, int registrar, in get_file_name() argument
84 if (registrar) { in get_file_name()
120 struct oob_device_data *oob_dev, int registrar) in init_ufd() argument
133 !registrar : registrar; in init_ufd()
135 if (get_file_name(wps, registrar, path, filename) < 0) { in init_ufd()
Dwps_registrar.c1011 void wps_registrar_complete(struct wps_registrar *registrar, const u8 *uuid_e, in wps_registrar_complete() argument
1014 if (registrar->pbc) { in wps_registrar_complete()
1015 wps_registrar_remove_pbc_session(registrar, in wps_registrar_complete()
1017 wps_registrar_pbc_completed(registrar); in wps_registrar_complete()
1019 wps_registrar_pin_completed(registrar); in wps_registrar_complete()
1023 wps_registrar_invalidate_wildcard_pin(registrar, dev_pw, in wps_registrar_complete()
1321 pin = wps_registrar_get_pin(wps->wps->registrar, wps->uuid_e, in wps_get_dev_password()
1327 wps_cb_pin_needed(wps->wps->registrar, wps->uuid_e, in wps_get_dev_password()
1532 if (wps->wps->registrar->skip_cred_build) in wps_build_cred()
1590 !wps->wps->registrar->disable_auto_conf) { in wps_build_cred()
[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_6/wpa_supplicant/src/eap_server/
Deap_wsc.c26 int registrar; member
85 int registrar; in eap_wsc_init() local
91 registrar = 0; /* Supplicant is Registrar */ in eap_wsc_init()
95 registrar = 1; /* Supplicant is Enrollee */ in eap_wsc_init()
105 data->state = registrar ? START : MSG; in eap_wsc_init()
106 data->registrar = registrar; in eap_wsc_init()
110 cfg.registrar = registrar; in eap_wsc_init()
111 if (registrar) { in eap_wsc_init()
112 if (sm->wps == NULL || sm->wps->registrar == NULL) { in eap_wsc_init()
/external/webkit/Source/WebCore/platform/text/qt/
DTextCodecQt.cpp46 void TextCodecQt::registerEncodingNames(EncodingNameRegistrar registrar) in registerEncodingNames() argument
54 registrar(name, name); in registerEncodingNames()
60 registrar(a, name); in registerEncodingNames()
70 void TextCodecQt::registerCodecs(TextCodecRegistrar registrar) in registerCodecs() argument
79 registrar(name, newTextCodecQt, 0); in registerCodecs()
/external/wpa_supplicant_8/src/eap_peer/
Deap_wsc.c21 int registrar; member
133 int registrar; in eap_wsc_init() local
153 registrar = 1; /* Supplicant is Registrar */ in eap_wsc_init()
156 registrar = 0; /* Supplicant is Enrollee */ in eap_wsc_init()
166 data->state = registrar ? MESG : WAIT_START; in eap_wsc_init()
167 data->registrar = registrar; in eap_wsc_init()
172 cfg.registrar = registrar; in eap_wsc_init()
243 if (registrar && cfg.pin) { in eap_wsc_init()
244 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()
Dconvert_web_app_browsertest.cc53 NotificationRegistrar registrar; in IN_PROC_BROWSER_TEST_F() local
54 registrar.Add(this, NotificationType::EXTENSION_INSTALLED, in IN_PROC_BROWSER_TEST_F()
/external/webkit/Source/WebKit/chromium/src/
DMediaPlayerPrivateChromium.cpp40 void MediaPlayerPrivate::registerMediaEngine(MediaEngineRegistrar registrar) in registerMediaEngine() argument
42 WebKit::WebMediaPlayerClientImpl::registerSelf(registrar); in registerMediaEngine()
/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/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/webkit/Source/WebCore/platform/text/wince/
DTextCodecWinCE.cpp145 void TextCodecWinCE::registerExtendedEncodingNames(EncodingNameRegistrar registrar) in registerExtendedEncodingNames() argument
151 registrar(j->second.m_name.data(), j->second.m_name.data()); in registerExtendedEncodingNames()
153 registrar(alias->data(), j->second.m_name.data()); in registerExtendedEncodingNames()
158 void TextCodecWinCE::registerExtendedCodecs(TextCodecRegistrar registrar) in registerExtendedCodecs() argument
164 registrar(j->second.m_name.data(), newTextCodecWinCE, 0); in registerExtendedCodecs()
/external/webkit/Source/WebCore/platform/text/mac/
DTextCodecMac.cpp54 void TextCodecMac::registerEncodingNames(EncodingNameRegistrar registrar) in registerEncodingNames() argument
64 registrar(CharsetTable[i].name, lastName); in registerEncodingNames()
73 void TextCodecMac::registerCodecs(TextCodecRegistrar registrar) in registerCodecs() argument
79 registrar(CharsetTable[i].name, newTextCodecMac, &CharsetTable[i].encoding); in registerCodecs()

1234