/external/wpa_supplicant_8/src/common/ |
D | wpa_ctrl.c | 95 struct wpa_ctrl *ctrl; in wpa_ctrl_open2() local 105 ctrl = os_zalloc(sizeof(*ctrl)); in wpa_ctrl_open2() 106 if (ctrl == NULL) in wpa_ctrl_open2() 109 ctrl->s = socket(PF_UNIX, SOCK_DGRAM, 0); in wpa_ctrl_open2() 110 if (ctrl->s < 0) { in wpa_ctrl_open2() 111 os_free(ctrl); in wpa_ctrl_open2() 115 ctrl->local.sun_family = AF_UNIX; in wpa_ctrl_open2() 119 ret = os_snprintf(ctrl->local.sun_path, in wpa_ctrl_open2() 120 sizeof(ctrl->local.sun_path), in wpa_ctrl_open2() 124 ret = os_snprintf(ctrl->local.sun_path, in wpa_ctrl_open2() [all …]
|
D | wpa_helpers.c | 25 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 …]
|
D | wpa_ctrl.h | 361 void wpa_ctrl_close(struct wpa_ctrl *ctrl); 390 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, 405 int wpa_ctrl_attach(struct wpa_ctrl *ctrl); 417 int wpa_ctrl_detach(struct wpa_ctrl *ctrl); 434 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len); 447 int wpa_ctrl_pending(struct wpa_ctrl *ctrl); 463 int wpa_ctrl_get_fd(struct wpa_ctrl *ctrl); 483 char * wpa_ctrl_get_remote_ifname(struct wpa_ctrl *ctrl);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_cli.c | 110 static void update_networks(struct wpa_ctrl *ctrl); 419 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd, int print) in _wpa_ctrl_command() argument 436 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len, in _wpa_ctrl_command() 455 static int wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd) in wpa_ctrl_command() argument 457 return _wpa_ctrl_command(ctrl, cmd, 1); in wpa_ctrl_command() 491 static int wpa_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, int min_args, in wpa_cli_cmd() argument 503 return wpa_ctrl_command(ctrl, buf); in wpa_cli_cmd() 507 static int wpa_cli_cmd_ifname(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_cli_cmd_ifname() argument 509 return wpa_ctrl_command(ctrl, "IFNAME"); in wpa_cli_cmd_ifname() 513 static int wpa_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_cli_cmd_status() argument [all …]
|
D | libwpa_test.c | 15 struct wpa_ctrl *ctrl; in main() local 17 ctrl = wpa_ctrl_open("foo"); in main() 18 if (!ctrl) in main() 20 if (wpa_ctrl_attach(ctrl) == 0) in main() 21 wpa_ctrl_detach(ctrl); in main() 22 if (wpa_ctrl_pending(ctrl)) { in main() 27 wpa_ctrl_recv(ctrl, buf, &len); in main() 29 wpa_ctrl_close(ctrl); in main()
|
D | ctrl_iface_unix.c | 1115 const char *ctrl = global->params.ctrl_interface; in wpas_global_ctrl_iface_open_sock() local 1118 wpa_printf(MSG_DEBUG, "Global control interface '%s'", ctrl); in wpas_global_ctrl_iface_open_sock() 1121 if (os_strncmp(ctrl, "@android:", 9) == 0) { in wpas_global_ctrl_iface_open_sock() 1122 priv->sock = android_get_control_socket(ctrl + 9); in wpas_global_ctrl_iface_open_sock() 1125 "socket '%s'", ctrl + 9); in wpas_global_ctrl_iface_open_sock() 1129 ctrl + 9); in wpas_global_ctrl_iface_open_sock() 1134 if (os_strncmp(ctrl, "@abstract:", 10) != 0) { in wpas_global_ctrl_iface_open_sock() 1140 priv->sock = android_get_control_socket(ctrl); in wpas_global_ctrl_iface_open_sock() 1144 ctrl); in wpas_global_ctrl_iface_open_sock() 1163 if (os_strncmp(ctrl, "@abstract:", 10) == 0) { in wpas_global_ctrl_iface_open_sock() [all …]
|
D | eapol_test.py | 25 self.ctrl = wpaspy.Ctrl(os.path.join(wpas_ctrl, ifname)) 26 if "PONG" not in self.ctrl.request("PING"): 56 return self.ctrl.request(cmd, timeout=timeout) 121 if args.ctrl: 123 wpas_ctrl = args.ctrl
|
/external/svox/pico/lib/ |
D | picoctrl.c | 94 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/hostapd/ |
D | hostapd_cli.c | 192 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd, int print) in _wpa_ctrl_command() argument 203 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, in _wpa_ctrl_command() 220 static inline int wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd) in wpa_ctrl_command() argument 222 return _wpa_ctrl_command(ctrl, cmd, 1); in wpa_ctrl_command() 256 static int hostapd_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, in hostapd_cli_cmd() argument 268 return wpa_ctrl_command(ctrl, buf); in hostapd_cli_cmd() 272 static int hostapd_cli_cmd_ping(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_ping() argument 274 return wpa_ctrl_command(ctrl, "PING"); in hostapd_cli_cmd_ping() 278 static int hostapd_cli_cmd_relog(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_relog() argument 280 return wpa_ctrl_command(ctrl, "RELOG"); in hostapd_cli_cmd_relog() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nv04_state_raster.c | 128 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/easymock/src/org/easymock/ |
D | EasyMockSupport.java | 143 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()
|
D | MockControl.java | 40 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/bsdiff/ |
D | bspatch.cc | 92 off_t ctrl[3]; in bspatch() local 186 ctrl[i] = ParseInt64(buf); in bspatch() 190 if (ctrl[0] < 0 || ctrl[1] < 0) in bspatch() 194 if (newpos + ctrl[0] > newsize) in bspatch() 198 lenread = BZ2_bzRead(&dbz2err, dpfbz2, new_buf + newpos, ctrl[0]); in bspatch() 199 if ((lenread < ctrl[0]) || in bspatch() 213 if ((old_file_pos = oldpos + ctrl[0]) > oldsize) in bspatch() 232 newpos += ctrl[0]; in bspatch() 233 oldpos += ctrl[0]; in bspatch() 236 if (newpos + ctrl[1] > newsize) in bspatch() [all …]
|
/external/iproute2/ip/ |
D | ipmonitor.c | 41 static void print_headers(FILE *fp, char *label, struct rtnl_ctrl_data *ctrl) in print_headers() argument 47 if (ctrl == NULL || ctrl->nsid < 0) in print_headers() 50 fprintf(fp, "[nsid %d]", ctrl->nsid); in print_headers() 58 struct rtnl_ctrl_data *ctrl, in accept_msg() argument 77 print_headers(fp, "[MROUTE]", ctrl); in accept_msg() 81 print_headers(fp, "[ROUTE]", ctrl); in accept_msg() 89 print_headers(fp, "[LINK]", ctrl); in accept_msg() 94 print_headers(fp, "[ADDR]", ctrl); in accept_msg() 99 print_headers(fp, "[ADDRLABEL]", ctrl); in accept_msg() 112 print_headers(fp, "[NEIGH]", ctrl); in accept_msg() [all …]
|
/external/libnl/lib/genl/ |
D | mngt.c | 222 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/liblzf/ |
D | lzf_d.c | 66 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/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
D | addinterface.cpp | 59 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/wpa_supplicant_8/src/fst/ |
D | fst.c | 128 struct fst_ctrl_handle * fst_global_add_ctrl(const struct fst_ctrl *ctrl) in fst_global_add_ctrl() argument 132 if (!ctrl) in fst_global_add_ctrl() 139 if (ctrl->init && ctrl->init()) { in fst_global_add_ctrl() 144 h->ctrl = *ctrl; in fst_global_add_ctrl() 154 if (h->ctrl.deinit) in fst_global_del_ctrl() 155 h->ctrl.deinit(); in fst_global_del_ctrl()
|
D | fst_internal.h | 34 struct fst_ctrl ctrl; member 45 if (__fst_ctrl_h->ctrl.clb) \ 46 __fst_ctrl_h->ctrl.clb(__VA_ARGS__);\
|
/external/opencv3/modules/calib3d/src/ |
D | rho.cpp | 276 } ctrl; member 759 for(ctrl.i=0; ctrl.i < arg.maxI || ctrl.i < 100; ctrl.i++){ in rhoHest() 791 size_t ctrl_smpl_sz = SMPL_SIZE*sizeof(*ctrl.smpl); in allocatePerObj() 822 ctrl.smpl = (unsigned*) (ptr + ctrl_smpl_of); in allocatePerObj() 888 ctrl.smpl = NULL; in deallocatePerObj() 980 ctrl.i = 0; in initRun() 981 ctrl.phNum = SMPL_SIZE; in initRun() 982 ctrl.phEndI = 1; in initRun() 983 ctrl.phEndFpI = sacInitPEndFpI(arg.rConvg, arg.N, SMPL_SIZE); in initRun() 984 ctrl.phMax = arg.N; in initRun() [all …]
|
/external/liblzf/src/org/liblzf/ |
D | CLZF.java | 284 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/skia/site/dev/tools/ |
D | debugger.md | 104 ctrl-x | shows all deleted commands 107 ctrl-b | shows all breakpoints 108 ctrl-r | rewinds the picture to the first command 109 ctrl-p | plays to the next breakpoint or last command 110 ctrl-i | Toggles the inspector and settings widgets 111 ctrl-d | Toggles the directory widget 113 ctrl-o | Opens a file dialog for loading pictures 114 ctrl-s | Saves the skp if you deleted any commands 115 ctrl-shift-s | Saves the skp under the new specified name 116 ctrl-q | Quits
|
/external/liblzf/cs/ |
D | CLZF.cs | 284 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/libvncserver/webclients/novnc/include/ |
D | ui.js | 212 var ctrl = $D('noVNC_' + name); 214 if (val !== null && ctrl.type === 'checkbox') { 236 var ctrl = $D('noVNC_' + name); 237 if (ctrl.type === 'checkbox') { 238 ctrl.checked = value; 240 } else if (typeof ctrl.options !== 'undefined') { 241 for (var i = 0; i < ctrl.options.length; i += 1) { 242 if (ctrl.options[i].value === value) { 243 ctrl.selectedIndex = i; 253 ctrl.value = value; [all …]
|
/external/libpcap/ |
D | pcap-usb-linux.c | 243 struct usbdevfs_ctrltransfer ctrl; in probe_devices() local 273 ctrl.bRequestType = USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_DEVICE; in probe_devices() 274 ctrl.bRequest = USB_REQ_GET_DESCRIPTOR; in probe_devices() 275 ctrl.wValue = USB_DT_DEVICE << 8; in probe_devices() 276 ctrl.wIndex = 0; in probe_devices() 277 ctrl.wLength = sizeof(buf); in probe_devices() 279 ctrl.requesttype = USB_DIR_IN | USB_TYPE_STANDARD | USB_RECIP_DEVICE; in probe_devices() 280 ctrl.request = USB_REQ_GET_DESCRIPTOR; in probe_devices() 281 ctrl.value = USB_DT_DEVICE << 8; in probe_devices() 282 ctrl.index = 0; in probe_devices() [all …]
|