Home
last modified time | relevance | path

Searched refs:global (Results 1 – 25 of 458) sorted by relevance

12345678910>>...19

/external/wpa_supplicant/
Dtls_schannel.c54 static int schannel_load_lib(struct tls_global *global) in schannel_load_lib() argument
58 global->hsecurity = LoadLibrary(TEXT("Secur32.dll")); in schannel_load_lib()
59 if (global->hsecurity == NULL) { in schannel_load_lib()
66 global->hsecurity, "InitSecurityInterfaceA"); in schannel_load_lib()
71 FreeLibrary(global->hsecurity); in schannel_load_lib()
72 global->hsecurity = NULL; in schannel_load_lib()
76 global->sspi = pInitSecurityInterface(); in schannel_load_lib()
77 if (global->sspi == NULL) { in schannel_load_lib()
81 FreeLibrary(global->hsecurity); in schannel_load_lib()
82 global->hsecurity = NULL; in schannel_load_lib()
[all …]
Dtls_gnutls.c164 struct tls_global *global; in tls_init() local
178 global = os_zalloc(sizeof(*global)); in tls_init()
179 if (global == NULL) in tls_init()
183 os_free(global); in tls_init()
191 tls_deinit(global); in tls_init()
202 tls_deinit(global); in tls_init()
210 return global; in tls_init()
216 struct tls_global *global = ssl_ctx; in tls_deinit() local
217 if (global) { in tls_deinit()
218 if (global->params_set) in tls_deinit()
[all …]
Dmain_none.c25 struct wpa_global *global; in main() local
30 global = wpa_supplicant_init(&params); in main()
31 if (global == NULL) in main()
37 if (wpa_supplicant_add_iface(global, &iface) == NULL) in main()
41 exitcode = wpa_supplicant_run(global); in main()
43 wpa_supplicant_deinit(global); in main()
Dwpa_supplicant.c882 struct wpa_global *global = eloop_ctx; in wpa_supplicant_terminate() local
884 for (wpa_s = global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpa_supplicant_terminate()
973 struct wpa_global *global = eloop_ctx; in wpa_supplicant_reconfig() local
976 for (wpa_s = global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpa_supplicant_reconfig()
2425 struct wpa_supplicant * wpa_supplicant_add_iface(struct wpa_global *global, in wpa_supplicant_add_iface() argument
2430 if (global == NULL || iface == NULL) in wpa_supplicant_add_iface()
2439 global->params.wait_for_interface)) { in wpa_supplicant_add_iface()
2447 wpa_s->global = global; in wpa_supplicant_add_iface()
2466 wpa_s->next = global->ifaces; in wpa_supplicant_add_iface()
2467 global->ifaces = wpa_s; in wpa_supplicant_add_iface()
[all …]
Dmain_winmain.c34 struct wpa_global *global; in WinMain() local
54 global = wpa_supplicant_init(&params); in WinMain()
55 if (global == NULL) { in WinMain()
70 if (wpa_supplicant_add_iface(global, &ifaces[i]) == NULL) in WinMain()
75 exitcode = wpa_supplicant_run(global); in WinMain()
77 wpa_supplicant_deinit(global); in WinMain()
Dctrl_iface_unix.c578 struct wpa_global *global; member
586 struct wpa_global *global = eloop_ctx; in wpa_supplicant_global_ctrl_iface_receive() local
602 reply = wpa_supplicant_global_ctrl_iface_process(global, buf, in wpa_supplicant_global_ctrl_iface_receive()
617 wpa_supplicant_global_ctrl_iface_init(struct wpa_global *global) in wpa_supplicant_global_ctrl_iface_init() argument
625 priv->global = global; in wpa_supplicant_global_ctrl_iface_init()
628 if (global->params.ctrl_interface == NULL) in wpa_supplicant_global_ctrl_iface_init()
632 priv->sock = android_get_control_socket(global->params.ctrl_interface); in wpa_supplicant_global_ctrl_iface_init()
637 global->params.ctrl_interface); in wpa_supplicant_global_ctrl_iface_init()
647 os_strncpy(addr.sun_path, global->params.ctrl_interface, in wpa_supplicant_global_ctrl_iface_init()
656 if (unlink(global->params.ctrl_interface) < 0) { in wpa_supplicant_global_ctrl_iface_init()
[all …]
Dctrl_iface_dbus.c44 struct wpa_global *global; member
510 if (wpa_supplicant_get_iface_by_dbus_path(wpa_s->global, in wpas_iface_message_handler()
602 message, ctrl_iface->global); in wpas_message_handler()
605 message, ctrl_iface->global); in wpas_message_handler()
608 message, ctrl_iface->global); in wpas_message_handler()
632 struct ctrl_iface_dbus_priv *iface = wpa_s->global->dbus_ctrl_iface; in wpa_supplicant_dbus_notify_scan_results()
683 if (wpa_s->global == NULL) in wpa_supplicant_dbus_notify_state_change()
685 iface = wpa_s->global->dbus_ctrl_iface; in wpa_supplicant_dbus_notify_state_change()
812 wpa_supplicant_dbus_ctrl_iface_init(struct wpa_global *global) in wpa_supplicant_dbus_ctrl_iface_init() argument
825 iface->global = global; in wpa_supplicant_dbus_ctrl_iface_init()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
Dtls_schannel.c54 static int schannel_load_lib(struct tls_global *global) in schannel_load_lib() argument
58 global->hsecurity = LoadLibrary(TEXT("Secur32.dll")); in schannel_load_lib()
59 if (global->hsecurity == NULL) { in schannel_load_lib()
66 global->hsecurity, "InitSecurityInterfaceA"); in schannel_load_lib()
71 FreeLibrary(global->hsecurity); in schannel_load_lib()
72 global->hsecurity = NULL; in schannel_load_lib()
76 global->sspi = pInitSecurityInterface(); in schannel_load_lib()
77 if (global->sspi == NULL) { in schannel_load_lib()
81 FreeLibrary(global->hsecurity); in schannel_load_lib()
82 global->hsecurity = NULL; in schannel_load_lib()
[all …]
Dtls_gnutls.c168 struct tls_global *global; in tls_init() local
182 global = os_zalloc(sizeof(*global)); in tls_init()
183 if (global == NULL) in tls_init()
187 os_free(global); in tls_init()
195 tls_deinit(global); in tls_init()
206 tls_deinit(global); in tls_init()
214 return global; in tls_init()
220 struct tls_global *global = ssl_ctx; in tls_deinit() local
221 if (global) { in tls_deinit()
222 if (global->params_set) in tls_deinit()
[all …]
Dtls_internal.c42 struct tls_global *global; in tls_init() local
56 global = os_zalloc(sizeof(*global)); in tls_init()
57 if (global == NULL) in tls_init()
60 return global; in tls_init()
65 struct tls_global *global = ssl_ctx; in tls_deinit() local
72 tlsv1_cred_free(global->server_cred); in tls_deinit()
76 os_free(global); in tls_deinit()
89 struct tls_global *global = tls_ctx; in tls_connection_init() local
96 if (!global->server) { in tls_connection_init()
105 if (global->server) { in tls_connection_init()
[all …]
/external/v8/test/mjsunit/regress/
Dregress-485.js33 var global = this;
35 assertEquals(global, global2, "direct call to local function returns global");
39 assertEquals(global, builtin(), "Direct call to builtin");
41 assertEquals(global, builtin.call(), "call() to builtin");
42 assertEquals(global, builtin.call(null), "call(null) to builtin");
43 assertEquals(global, builtin.call(undefined), "call(undefined) to builtin");
45 assertEquals(global, builtin.apply(), "apply() to builtin");
46 assertEquals(global, builtin.apply(null), "apply(null) to builtin");
47 assertEquals(global, builtin.apply(undefined), "apply(undefined) to builtin");
49 assertEquals(global, builtin.call.call(builtin), "call.call() to builtin");
[all …]
/external/v8/test/cctest/
Dtest-compiler.cc103 return Top::context()->global()->GetProperty(*symbol); in GetGlobalProperty()
110 Handle<JSObject> global(Top::context()->global()); in SetGlobalProperty() local
111 SetProperty(global, symbol, object, NONE); in SetGlobalProperty()
139 Handle<JSObject> global(Top::context()->global()); in Inc() local
140 Execution::Call(fun, global, 0, NULL, &has_pending_exception); in Inc()
160 Handle<JSObject> global(Top::context()->global()); in Add() local
161 Execution::Call(fun, global, 0, NULL, &has_pending_exception); in Add()
180 Handle<JSObject> global(Top::context()->global()); in Abs() local
181 Execution::Call(fun, global, 0, NULL, &has_pending_exception); in Abs()
201 Handle<JSObject> global(Top::context()->global()); in Sum() local
[all …]
Dtest-thread-termination.cc103 v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New(); in CreateGlobalTemplate() local
104 global->Set(v8::String::New("terminate"), in CreateGlobalTemplate()
106 global->Set(v8::String::New("fail"), v8::FunctionTemplate::New(Fail)); in CreateGlobalTemplate()
107 global->Set(v8::String::New("loop"), v8::FunctionTemplate::New(Loop)); in CreateGlobalTemplate()
108 global->Set(v8::String::New("doloop"), v8::FunctionTemplate::New(doloop)); in CreateGlobalTemplate()
109 return global; in CreateGlobalTemplate()
117 v8::Handle<v8::ObjectTemplate> global = in TEST() local
119 v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); in TEST()
135 v8::Handle<v8::ObjectTemplate> global = in TEST() local
137 v8::Persistent<v8::Context> context = v8::Context::New(NULL, global); in TEST()
[all …]
/external/webkit/WebKit/qt/Api/
Dqwebsettings.cpp106 QWebSettingsPrivate* global = QWebSettings::globalSettings()->d; in apply() local
109 global->fontFamilies.value(QWebSettings::StandardFont)); in apply()
113 global->fontFamilies.value(QWebSettings::FixedFont)); in apply()
117 global->fontFamilies.value(QWebSettings::SerifFont)); in apply()
121 global->fontFamilies.value(QWebSettings::SansSerifFont)); in apply()
125 global->fontFamilies.value(QWebSettings::CursiveFont)); in apply()
129 global->fontFamilies.value(QWebSettings::FantasyFont)); in apply()
133 global->fontSizes.value(QWebSettings::MinimumFontSize)); in apply()
137 global->fontSizes.value(QWebSettings::MinimumLogicalFontSize)); in apply()
141 global->fontSizes.value(QWebSettings::DefaultFontSize)); in apply()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/
Dwpa_supplicant.c533 struct wpa_global *global = eloop_ctx; in wpa_supplicant_terminate() local
535 for (wpa_s = global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpa_supplicant_terminate()
624 struct wpa_global *global = eloop_ctx; in wpa_supplicant_reconfig() local
627 for (wpa_s = global->ifaces; wpa_s; wpa_s = wpa_s->next) { in wpa_supplicant_reconfig()
1529 wpa_s->global_drv_priv = wpa_s->global->drv_priv[0]; in wpa_supplicant_set_driver()
1536 wpa_s->global_drv_priv = wpa_s->global->drv_priv[i]; in wpa_supplicant_set_driver()
1984 struct wpa_supplicant * wpa_supplicant_add_iface(struct wpa_global *global, in wpa_supplicant_add_iface() argument
1989 if (global == NULL || iface == NULL) in wpa_supplicant_add_iface()
1996 wpa_s->global = global; in wpa_supplicant_add_iface()
2024 wpa_s->next = global->ifaces; in wpa_supplicant_add_iface()
[all …]
Dmain_symbian.cpp27 struct wpa_global *global; in E32Main() local
32 global = wpa_supplicant_init(&params); in E32Main()
33 if (global == NULL) in E32Main()
39 if (wpa_supplicant_add_iface(global, &iface) == NULL) in E32Main()
43 exitcode = wpa_supplicant_run(global); in E32Main()
45 wpa_supplicant_deinit(global); in E32Main()
Dmain_none.c25 struct wpa_global *global; in main() local
30 global = wpa_supplicant_init(&params); in main()
31 if (global == NULL) in main()
37 if (wpa_supplicant_add_iface(global, &iface) == NULL) in main()
41 exitcode = wpa_supplicant_run(global); in main()
43 wpa_supplicant_deinit(global); in main()
Dmain_winmain.c34 struct wpa_global *global; in WinMain() local
54 global = wpa_supplicant_init(&params); in WinMain()
55 if (global == NULL) { in WinMain()
70 if (wpa_supplicant_add_iface(global, &ifaces[i]) == NULL) in WinMain()
75 exitcode = wpa_supplicant_run(global); in WinMain()
77 wpa_supplicant_deinit(global); in WinMain()
Dctrl_iface_dbus.c36 struct wpa_global *global; member
503 if (wpa_supplicant_get_iface_by_dbus_path(wpa_s->global, in wpas_iface_message_handler()
601 message, ctrl_iface->global); in wpas_message_handler()
604 message, ctrl_iface->global); in wpas_message_handler()
607 message, ctrl_iface->global); in wpas_message_handler()
610 message, ctrl_iface->global); in wpas_message_handler()
635 struct ctrl_iface_dbus_priv *iface = wpa_s->global->dbus_ctrl_iface; in wpa_supplicant_dbus_notify_scan_results()
686 if (wpa_s->global == NULL) in wpa_supplicant_dbus_notify_state_change()
688 iface = wpa_s->global->dbus_ctrl_iface; in wpa_supplicant_dbus_notify_state_change()
758 struct ctrl_iface_dbus_priv *iface = wpa_s->global->dbus_ctrl_iface; in wpa_supplicant_dbus_notify_scanning()
[all …]
Dctrl_iface_unix.c608 struct wpa_global *global; member
616 struct wpa_global *global = eloop_ctx; in wpa_supplicant_global_ctrl_iface_receive() local
632 reply = wpa_supplicant_global_ctrl_iface_process(global, buf, in wpa_supplicant_global_ctrl_iface_receive()
647 wpa_supplicant_global_ctrl_iface_init(struct wpa_global *global) in wpa_supplicant_global_ctrl_iface_init() argument
655 priv->global = global; in wpa_supplicant_global_ctrl_iface_init()
658 if (global->params.ctrl_interface == NULL) in wpa_supplicant_global_ctrl_iface_init()
662 priv->sock = android_get_control_socket(global->params.ctrl_interface); in wpa_supplicant_global_ctrl_iface_init()
668 global->params.ctrl_interface); in wpa_supplicant_global_ctrl_iface_init()
681 os_strlcpy(addr.sun_path, global->params.ctrl_interface, in wpa_supplicant_global_ctrl_iface_init()
690 if (unlink(global->params.ctrl_interface) < 0) { in wpa_supplicant_global_ctrl_iface_init()
[all …]
Dmain.c120 struct wpa_global *global; in main() local
230 global = wpa_supplicant_init(&params); in main()
231 if (global == NULL) { in main()
248 if (wpa_supplicant_add_iface(global, &ifaces[i]) == NULL) in main()
253 exitcode = wpa_supplicant_run(global); in main()
255 wpa_supplicant_deinit(global); in main()
/external/qemu/android/
Dconsole.c102 ControlGlobal global; member
127 control_global_add_redir( ControlGlobal global, in control_global_add_redir() argument
135 if (global->num_redirs >= global->max_redirs) in control_global_add_redir()
137 int old_max = global->max_redirs; in control_global_add_redir()
140 Redir new_redirs = realloc( global->redirs, new_max*sizeof(global->redirs[0]) ); in control_global_add_redir()
144 global->redirs = new_redirs; in control_global_add_redir()
145 global->max_redirs = new_max; in control_global_add_redir()
148 redir = &global->redirs[ global->num_redirs++ ]; in control_global_add_redir()
159 control_global_del_redir( ControlGlobal global, in control_global_del_redir() argument
165 for (nn = 0; nn < global->num_redirs; nn++) in control_global_del_redir()
[all …]
/external/v8/test/mjsunit/
Dglobal-ic.js32 function LoadFromGlobal(global) { return global.x; } argument
33 function StoreToGlobal(global, value) { global.x = value; } argument
34 function CallOnGlobal(global) { return global.f(); } argument
/external/clearsilver/java-jni/
DCS.java23 public CS(HDF ho, HDF global) { in CS() argument
26 this.globalHDF = global; in CS()
27 if (global != null) { in CS()
28 _setGlobalHdf(csptr,global.hdfptr); in CS()
33 public void setGlobalHDF(HDF global) { in setGlobalHDF() argument
34 _setGlobalHdf(csptr,global.hdfptr); in setGlobalHDF()
35 this.globalHDF = global; in setGlobalHDF()
/external/v8/src/
Dregexp.js31 const $RegExp = global.RegExp;
41 flags = (pattern.global ? 'g' : '')
50 var global = false;
59 global = true;
80 %SetProperty(object, 'global', global, DONT_DELETE | READ_ONLY | DONT_ENUM);
94 %IgnoreAttributesAndSetProperty(object, 'global', global);
158 var i = this.global ? TO_INTEGER(lastIndex) : 0;
170 if (this.global) this.lastIndex = 0;
188 if (this.global)
215 var i = this.global ? TO_INTEGER(lastIndex) : 0;
[all …]

12345678910>>...19