Home
last modified time | relevance | path

Searched refs:ctrl (Results 1 – 25 of 184) sorted by relevance

12345678

/external/wpa_supplicant_8/src/common/
Dwpa_ctrl.c87 struct wpa_ctrl *ctrl; in wpa_ctrl_open() local
97 ctrl = os_malloc(sizeof(*ctrl)); in wpa_ctrl_open()
98 if (ctrl == NULL) in wpa_ctrl_open()
100 os_memset(ctrl, 0, sizeof(*ctrl)); in wpa_ctrl_open()
102 ctrl->s = socket(PF_UNIX, SOCK_DGRAM, 0); in wpa_ctrl_open()
103 if (ctrl->s < 0) { in wpa_ctrl_open()
104 os_free(ctrl); in wpa_ctrl_open()
108 ctrl->local.sun_family = AF_UNIX; in wpa_ctrl_open()
111 ret = os_snprintf(ctrl->local.sun_path, sizeof(ctrl->local.sun_path), in wpa_ctrl_open()
115 if (ret < 0 || (size_t) ret >= sizeof(ctrl->local.sun_path)) { in wpa_ctrl_open()
[all …]
Dwpa_helpers.c25 struct wpa_ctrl *ctrl; in wpa_open_ctrl() local
28 ctrl = wpa_ctrl_open(buf); in wpa_open_ctrl()
29 if (ctrl == NULL) in wpa_open_ctrl()
31 return ctrl; in wpa_open_ctrl()
37 struct wpa_ctrl *ctrl; in wpa_command() local
42 ctrl = wpa_open_ctrl(ifname); in wpa_command()
43 if (ctrl == NULL) in wpa_command()
46 if (wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, NULL) < 0) { in wpa_command()
48 wpa_ctrl_close(ctrl); in wpa_command()
51 wpa_ctrl_close(ctrl); in wpa_command()
[all …]
Dwpa_ctrl.h282 void wpa_ctrl_close(struct wpa_ctrl *ctrl);
311 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len,
326 int wpa_ctrl_attach(struct wpa_ctrl *ctrl);
338 int wpa_ctrl_detach(struct wpa_ctrl *ctrl);
355 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len);
368 int wpa_ctrl_pending(struct wpa_ctrl *ctrl);
384 int wpa_ctrl_get_fd(struct wpa_ctrl *ctrl);
386 char * wpa_ctrl_get_remote_ifname(struct wpa_ctrl *ctrl);
/external/svox/pico/lib/
Dpicoctrl.c94 register ctrl_subobj_t * ctrl; in ctrlInitialize() local
101 ctrl = (ctrl_subobj_t *) this->subObj; in ctrlInitialize()
102 ctrl->curPU = 0; in ctrlInitialize()
103 ctrl->lastItemTypeProduced=0; /*no item produced by default*/ in ctrlInitialize()
105 for (i = 0; i < ctrl->numProcUnits; i++) { in ctrlInitialize()
107 status = ctrl->procUnit[i]->initialize(ctrl->procUnit[i], resetMode); in ctrlInitialize()
111 status = picodata_cbReset(ctrl->procCbOut[i]); in ctrlInitialize()
140 register ctrl_subobj_t * ctrl = (ctrl_subobj_t *) this->subObj; in ctrlStep() local
148 ctrl->lastItemTypeProduced=0; /*no item produced by default*/ in ctrlStep()
153 status = ctrl->procStatus[ctrl->curPU] = ctrl->procUnit[ctrl->curPU]->step( in ctrlStep()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_cli.c399 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd, int print) in _wpa_ctrl_command() argument
416 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len, in _wpa_ctrl_command()
435 static int wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd) in wpa_ctrl_command() argument
437 return _wpa_ctrl_command(ctrl, cmd, 1); in wpa_ctrl_command()
471 static int wpa_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, int min_args, in wpa_cli_cmd() argument
483 return wpa_ctrl_command(ctrl, buf); in wpa_cli_cmd()
487 static int wpa_cli_cmd_ifname(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_cli_cmd_ifname() argument
489 return wpa_ctrl_command(ctrl, "IFNAME"); in wpa_cli_cmd_ifname()
493 static int wpa_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_cli_cmd_status() argument
496 return wpa_ctrl_command(ctrl, "STATUS-VERBOSE"); in wpa_cli_cmd_status()
[all …]
Dctrl_iface_unix.c858 const char *ctrl = global->params.ctrl_interface; in wpas_global_ctrl_iface_open_sock() local
861 wpa_printf(MSG_DEBUG, "Global control interface '%s'", ctrl); in wpas_global_ctrl_iface_open_sock()
864 if (os_strncmp(ctrl, "@android:", 9) == 0) { in wpas_global_ctrl_iface_open_sock()
865 priv->sock = android_get_control_socket(ctrl + 9); in wpas_global_ctrl_iface_open_sock()
868 "socket '%s'", ctrl + 9); in wpas_global_ctrl_iface_open_sock()
872 ctrl + 9); in wpas_global_ctrl_iface_open_sock()
876 if (os_strncmp(ctrl, "@abstract:", 10) != 0) { in wpas_global_ctrl_iface_open_sock()
882 priv->sock = android_get_control_socket(ctrl); in wpas_global_ctrl_iface_open_sock()
886 ctrl); in wpas_global_ctrl_iface_open_sock()
904 if (os_strncmp(ctrl, "@abstract:", 10) == 0) { in wpas_global_ctrl_iface_open_sock()
[all …]
/external/wpa_supplicant_8/hostapd/
Dhostapd_cli.c173 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd, int print) in _wpa_ctrl_command() argument
184 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, in _wpa_ctrl_command()
201 static inline int wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd) in wpa_ctrl_command() argument
203 return _wpa_ctrl_command(ctrl, cmd, 1); in wpa_ctrl_command()
207 static int hostapd_cli_cmd_ping(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_ping() argument
209 return wpa_ctrl_command(ctrl, "PING"); in hostapd_cli_cmd_ping()
213 static int hostapd_cli_cmd_relog(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_relog() argument
215 return wpa_ctrl_command(ctrl, "RELOG"); in hostapd_cli_cmd_relog()
219 static int hostapd_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_status() argument
222 return wpa_ctrl_command(ctrl, "STATUS-DRIVER"); in hostapd_cli_cmd_status()
[all …]
/external/lldb/utils/vim-lldb/plugin/
Dlldb.vim44 …command -complete=custom,s:CompleteWindow -nargs=1 Lhide python ctrl.doHide('<args>')
45 …command -complete=custom,s:CompleteWindow -nargs=0 Lshow python ctrl.doShow('<args>')
48 …command -nargs=* Lstart python ctrl.doLaunch(True, …
49 …command -nargs=* Lrun python ctrl.doLaunch(False,…
50 …command -nargs=1 Lattach python ctrl.doAttach('<args…
51 command -nargs=0 Ldetach python ctrl.doDetach()
56 …command -complete=custom,s:CompleteCommand -nargs=* Lregexpattach python ctrl.doCommand('_reg…
57 …command -complete=custom,s:CompleteCommand -nargs=* Lregexpbreak python ctrl.doCommand('_reg…
58 …command -complete=custom,s:CompleteCommand -nargs=* Lregexpbt python ctrl.doCommand('_reg…
59 …command -complete=custom,s:CompleteCommand -nargs=* Lregexpdown python ctrl.doCommand('_reg…
[all …]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/
Dnv04_state_raster.c128 nv04->ctrl[0] = NV04_TEXTURED_TRIANGLE_CONTROL_Z_FORMAT_FIXED | in nv04_emit_control()
130 nv04->ctrl[1] = 0; in nv04_emit_control()
131 nv04->ctrl[2] = 0; in nv04_emit_control()
135 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_DITHER_ENABLE; in nv04_emit_control()
139 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_CULL_MODE_NONE; in nv04_emit_control()
141 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_CULL_MODE_BOTH; in nv04_emit_control()
143 nv04->ctrl[0] |= (cull == GL_FRONT) ^ (front == GL_CCW) ? in nv04_emit_control()
149 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_Z_ENABLE; in nv04_emit_control()
151 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_Z_WRITE; in nv04_emit_control()
153 nv04->ctrl[0] |= get_comparison_op(ctx->Depth.Func) << 16; in nv04_emit_control()
[all …]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnv04_state_raster.c128 nv04->ctrl[0] = NV04_TEXTURED_TRIANGLE_CONTROL_Z_FORMAT_FIXED | in nv04_emit_control()
130 nv04->ctrl[1] = 0; in nv04_emit_control()
131 nv04->ctrl[2] = 0; in nv04_emit_control()
135 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_DITHER_ENABLE; in nv04_emit_control()
139 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_CULL_MODE_NONE; in nv04_emit_control()
141 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_CULL_MODE_BOTH; in nv04_emit_control()
143 nv04->ctrl[0] |= (cull == GL_FRONT) ^ (front == GL_CCW) ? in nv04_emit_control()
149 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_Z_ENABLE; in nv04_emit_control()
151 nv04->ctrl[0] |= NV04_TEXTURED_TRIANGLE_CONTROL_Z_WRITE; in nv04_emit_control()
153 nv04->ctrl[0] |= get_comparison_op(ctx->Depth.Func) << 16; in nv04_emit_control()
[all …]
/external/bsdiff/
Dbspatch.c69 off_t ctrl[3]; in main() local
152 ctrl[i]=offtin(buf); in main()
156 if (ctrl[0]<0||ctrl[1]<0) in main()
161 if(newpos+ctrl[0]>newsize) in main()
165 lenread = BZ2_bzRead(&dbz2err, dpfbz2, new + newpos, ctrl[0]); in main()
166 if ((lenread < ctrl[0]) || in main()
171 for(i=0;i<ctrl[0];i++) in main()
176 newpos+=ctrl[0]; in main()
177 oldpos+=ctrl[0]; in main()
180 if(newpos+ctrl[1]>newsize) in main()
[all …]
/external/easymock/src/org/easymock/
DEasyMockSupport.java143 IMocksControl ctrl = EasyMock.createStrictControl(); in createStrictControl() local
144 controls.add(ctrl); in createStrictControl()
145 return ctrl; in createStrictControl()
154 IMocksControl ctrl = EasyMock.createControl(); in createControl() local
155 controls.add(ctrl); in createControl()
156 return ctrl; in createControl()
167 IMocksControl ctrl = EasyMock.createNiceControl(); in createNiceControl() local
168 controls.add(ctrl); in createNiceControl()
169 return ctrl; in createNiceControl()
DMockControl.java40 private final MocksControl ctrl; field in MockControl
42 protected MockControl(MocksControl ctrl, Class<T> toMock) { in MockControl() argument
43 this.ctrl = ctrl; in MockControl()
44 this.mock = ctrl.createMock(toMock); in MockControl()
109 ctrl.reset(); in reset()
120 ctrl.replay(); in replay()
133 ctrl.verify(); in verify()
299 ctrl.setLegacyDefaultThrowable(throwable); in setDefaultThrowable()
315 ctrl.setLegacyDefaultReturnValue(value); in setDefaultReturnValue()
328 ctrl.setLegacyMatcher(matcher); in setMatcher()
[all …]
/external/qemu/pc-bios/keymaps/
Dhu88 F25 0x3b ctrl
89 F26 0x3c ctrl
90 F27 0x3d ctrl
91 F28 0x3e ctrl
92 F29 0x3f ctrl
93 F30 0x40 ctrl
94 F31 0x41 ctrl
95 F32 0x42 ctrl
96 F33 0x43 ctrl
97 F34 0x44 ctrl
[all …]
/external/liblzf/
Dlzf_d.c66 unsigned int ctrl = *ip++; in lzf_decompress() local
68 if (ctrl < (1 << 5)) /* literal run */ in lzf_decompress()
70 ctrl++; in lzf_decompress()
72 if (op + ctrl > out_end) in lzf_decompress()
79 if (ip + ctrl > in_end) in lzf_decompress()
87 lzf_movsb (op, ip, ctrl); in lzf_decompress()
89 switch (ctrl) in lzf_decompress()
104 unsigned int len = ctrl >> 5; in lzf_decompress()
106 u8 *ref = op - ((ctrl & 0x1f) << 8) - 1; in lzf_decompress()
/external/libnl/lib/genl/
Dmngt.c222 static int __genl_ops_resolve(struct nl_cache *ctrl, struct genl_ops *ops) in __genl_ops_resolve() argument
226 family = genl_ctrl_search_by_name(ctrl, ops->o_name); in __genl_ops_resolve()
239 struct nl_cache *ctrl; in genl_ops_resolve() local
242 if ((err = genl_ctrl_alloc_cache(sk, &ctrl)) < 0) in genl_ops_resolve()
245 err = __genl_ops_resolve(ctrl, ops); in genl_ops_resolve()
247 nl_cache_free(ctrl); in genl_ops_resolve()
254 struct nl_cache *ctrl; in genl_mngt_resolve() local
258 if ((err = genl_ctrl_alloc_cache(sk, &ctrl)) < 0) in genl_mngt_resolve()
262 err = __genl_ops_resolve(ctrl, ops); in genl_mngt_resolve()
265 nl_cache_free(ctrl); in genl_mngt_resolve()
/external/chromium_org/content/test/data/
Dgtk_key_bindings_test_gtkrc9 bind "<ctrl>1" {
29 bind "<ctrl>2" {
47 bind "<ctrl>3" {
52 bind "<ctrl>4" {
57 bind "<ctrl>5" {
62 bind "<ctrl>6" {
67 bind "<ctrl>7" {
72 bind "<ctrl>8" {
78 bind "<ctrl>9" {
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Daddinterface.cpp59 struct wpa_ctrl *ctrl; in addInterfaces() local
64 ctrl = wpa_ctrl_open(NULL); in addInterfaces()
65 if (ctrl == NULL) in addInterfaces()
69 ret = wpa_ctrl_request(ctrl, "INTERFACE_LIST", 14, buf, &len, NULL); in addInterfaces()
71 wpa_ctrl_close(ctrl); in addInterfaces()
76 wpa_ctrl_close(ctrl); in addInterfaces()
188 struct wpa_ctrl *ctrl; in interfaceSelected() local
205 ctrl = wpa_ctrl_open(NULL); in interfaceSelected()
206 if (ctrl == NULL) in interfaceSelected()
210 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, NULL); in interfaceSelected()
[all …]
/external/openssl/crypto/evp/
Devp_locl.h135 set_asn1, get_asn1, ctrl) \ argument
144 ctrl, \
151 get_asn1, ctrl) \ argument
153 iv_len, flags, init_key, cleanup, set_asn1, get_asn1, ctrl)
157 set_asn1, get_asn1, ctrl) \ argument
160 get_asn1, ctrl)
164 set_asn1, get_asn1, ctrl) \ argument
167 get_asn1, ctrl)
171 get_asn1, ctrl) \ argument
173 0, flags, init_key, cleanup, set_asn1, get_asn1, ctrl)
[all …]
/external/chromium_org/chrome/common/extensions/
Dcommand_unittest.cc95 int ctrl = ui::EF_COMMAND_DOWN; in TEST() local
97 int ctrl = ui::EF_CONTROL_DOWN; in TEST() local
100 const ui::Accelerator ctrl_f = ui::Accelerator(ui::VKEY_F, ctrl); in TEST()
103 ui::Accelerator(ui::VKEY_F, ctrl | ui::EF_SHIFT_DOWN); in TEST()
106 const ui::Accelerator ctrl_1 = ui::Accelerator(ui::VKEY_1, ctrl); in TEST()
107 const ui::Accelerator ctrl_comma = ui::Accelerator(ui::VKEY_OEM_COMMA, ctrl); in TEST()
108 const ui::Accelerator ctrl_dot = ui::Accelerator(ui::VKEY_OEM_PERIOD, ctrl); in TEST()
109 const ui::Accelerator ctrl_left = ui::Accelerator(ui::VKEY_LEFT, ctrl); in TEST()
110 const ui::Accelerator ctrl_right = ui::Accelerator(ui::VKEY_RIGHT, ctrl); in TEST()
111 const ui::Accelerator ctrl_up = ui::Accelerator(ui::VKEY_UP, ctrl); in TEST()
[all …]
/external/chromium_org/chrome/browser/resources/chromeos/
Dkeyboard_overlay.css84 .keyboard-overlay-key.is-shortcut.modifier-ctrl {
96 .keyboard-overlay-key.is-shortcut.modifier-shift.modifier-ctrl {
104 .keyboard-overlay-key.is-shortcut.modifier-ctrl.modifier-alt {
108 .keyboard-overlay-key.is-shortcut.modifier-shift.modifier-ctrl.modifier-alt {
121 .keyboard-overlay-key.pressed.is-shift.modifier-ctrl {
129 .keyboard-overlay-key.pressed.is-shift.modifier-ctrl.modifier-alt {
133 .keyboard-overlay-key.pressed.is-ctrl {
137 .keyboard-overlay-key.pressed.is-ctrl.modifier-shift {
141 .keyboard-overlay-key.pressed.is-ctrl.modifier-alt {
145 .keyboard-overlay-key.pressed.is-ctrl.modifier-shift.modifier-alt {
[all …]
/external/liblzf/src/org/liblzf/
DCLZF.java284 int ctrl = in_data[iidx++] & 0xff; in lzf_decompress() local
286 if (ctrl < (1 << 5)) /* literal run */ in lzf_decompress()
288 ctrl++; in lzf_decompress()
290 if (oidx + ctrl > out_len) in lzf_decompress()
298 while ((--ctrl)!=0); in lzf_decompress()
302 int len = ctrl >> 5; in lzf_decompress()
304 int reference = (int)(oidx - ((ctrl & 0x1f) << 8) - 1); in lzf_decompress()
/external/liblzf/cs/
DCLZF.cs284 UInt32 ctrl = in_data[iidx++]; in lzf_decompress()
286 if (ctrl < (1 << 5)) /* literal run */ in lzf_decompress()
288 ctrl++; in lzf_decompress()
290 if (oidx + ctrl > out_len) in lzf_decompress()
298 while ((--ctrl)!=0); in lzf_decompress()
302 UInt32 len = ctrl >> 5; in lzf_decompress()
304 int reference = (int)(oidx - ((ctrl & 0x1f) << 8) - 1); in lzf_decompress()
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/
Dgoobspatch.c376 off_t ctrl[3]; in main() local
469 ctrl[i]=offtin(buf); in main()
473 if((ctrl[0]<0) || (ctrl[1]<0)) in main()
477 if(newpos+ctrl[0]>newsize) in main()
481 cfread(&df, new + newpos, ctrl[0]); in main()
484 for(i=0;i<ctrl[0];i++) in main()
489 newpos+=ctrl[0]; in main()
490 oldpos+=ctrl[0]; in main()
493 if(newpos+ctrl[1]>newsize) in main()
497 cfread(&ef, new + newpos, ctrl[1]); in main()
[all …]
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/host/chrome/
Dtts_background_test.extjs46 assertEquals('control', preprocess('ctrl'));
49 assertEquals('control', preprocess(' ctrl'));
50 assertEquals('control', preprocess('ctrl '));
51 assertEquals('control plus x', preprocess('ctrl+x'));
54 preprocess('Press ctrl+f while in ChromeVox.'));

12345678