/external/wpa_supplicant_8/src/common/ |
D | wpa_ctrl.c | 76 struct wpa_ctrl *ctrl; in wpa_ctrl_open() local 82 ctrl = os_malloc(sizeof(*ctrl)); in wpa_ctrl_open() 83 if (ctrl == NULL) in wpa_ctrl_open() 85 os_memset(ctrl, 0, sizeof(*ctrl)); in wpa_ctrl_open() 87 ctrl->s = socket(PF_UNIX, SOCK_DGRAM, 0); in wpa_ctrl_open() 88 if (ctrl->s < 0) { in wpa_ctrl_open() 89 os_free(ctrl); in wpa_ctrl_open() 93 ctrl->local.sun_family = AF_UNIX; in wpa_ctrl_open() 96 ret = os_snprintf(ctrl->local.sun_path, sizeof(ctrl->local.sun_path), in wpa_ctrl_open() 100 if (ret < 0 || (size_t) ret >= sizeof(ctrl->local.sun_path)) { in wpa_ctrl_open() [all …]
|
D | wpa_ctrl.h | 167 void wpa_ctrl_close(struct wpa_ctrl *ctrl); 196 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, 211 int wpa_ctrl_attach(struct wpa_ctrl *ctrl); 223 int wpa_ctrl_detach(struct wpa_ctrl *ctrl); 239 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len); 252 int wpa_ctrl_pending(struct wpa_ctrl *ctrl); 268 int wpa_ctrl_get_fd(struct wpa_ctrl *ctrl);
|
/external/wpa_supplicant/ |
D | wpa_ctrl.c | 73 struct wpa_ctrl *ctrl; in wpa_ctrl_open() local 76 ctrl = os_malloc(sizeof(*ctrl)); in wpa_ctrl_open() 77 if (ctrl == NULL) in wpa_ctrl_open() 79 os_memset(ctrl, 0, sizeof(*ctrl)); in wpa_ctrl_open() 81 ctrl->s = socket(PF_UNIX, SOCK_DGRAM, 0); in wpa_ctrl_open() 82 if (ctrl->s < 0) { in wpa_ctrl_open() 83 os_free(ctrl); in wpa_ctrl_open() 87 ctrl->local.sun_family = AF_UNIX; in wpa_ctrl_open() 88 os_snprintf(ctrl->local.sun_path, sizeof(ctrl->local.sun_path), in wpa_ctrl_open() 95 if (bind(ctrl->s, (struct sockaddr *) &ctrl->local, in wpa_ctrl_open() [all …]
|
D | wpa_cli.c | 242 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd, int print) in _wpa_ctrl_command() argument 253 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len, in _wpa_ctrl_command() 270 static int wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd) in wpa_ctrl_command() argument 272 return _wpa_ctrl_command(ctrl, cmd, 1); in wpa_ctrl_command() 276 static int wpa_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_cli_cmd_status() argument 279 return wpa_ctrl_command(ctrl, verbose ? "STATUS-VERBOSE" : "STATUS"); in wpa_cli_cmd_status() 283 static int wpa_cli_cmd_ping(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_cli_cmd_ping() argument 285 return wpa_ctrl_command(ctrl, "PING"); in wpa_cli_cmd_ping() 289 static int wpa_cli_cmd_mib(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_cli_cmd_mib() argument 291 return wpa_ctrl_command(ctrl, "MIB"); in wpa_cli_cmd_mib() [all …]
|
D | wpa_ctrl.h | 79 void wpa_ctrl_close(struct wpa_ctrl *ctrl); 108 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, 123 int wpa_ctrl_attach(struct wpa_ctrl *ctrl); 135 int wpa_ctrl_detach(struct wpa_ctrl *ctrl); 151 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len); 164 int wpa_ctrl_pending(struct wpa_ctrl *ctrl); 180 int wpa_ctrl_get_fd(struct wpa_ctrl *ctrl);
|
/external/wpa_supplicant_6/wpa_supplicant/src/common/ |
D | wpa_ctrl.c | 75 struct wpa_ctrl *ctrl; in wpa_ctrl_open() local 81 ctrl = os_malloc(sizeof(*ctrl)); in wpa_ctrl_open() 82 if (ctrl == NULL) in wpa_ctrl_open() 84 os_memset(ctrl, 0, sizeof(*ctrl)); in wpa_ctrl_open() 86 ctrl->s = socket(PF_UNIX, SOCK_DGRAM, 0); in wpa_ctrl_open() 87 if (ctrl->s < 0) { in wpa_ctrl_open() 88 os_free(ctrl); in wpa_ctrl_open() 92 ctrl->local.sun_family = AF_UNIX; in wpa_ctrl_open() 95 ret = os_snprintf(ctrl->local.sun_path, sizeof(ctrl->local.sun_path), in wpa_ctrl_open() 102 if (ret < 0 || (size_t) ret >= sizeof(ctrl->local.sun_path)) { in wpa_ctrl_open() [all …]
|
D | wpa_ctrl.h | 106 void wpa_ctrl_close(struct wpa_ctrl *ctrl); 135 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, 150 int wpa_ctrl_attach(struct wpa_ctrl *ctrl); 162 int wpa_ctrl_detach(struct wpa_ctrl *ctrl); 178 int wpa_ctrl_recv(struct wpa_ctrl *ctrl, char *reply, size_t *reply_len); 191 int wpa_ctrl_pending(struct wpa_ctrl *ctrl); 207 int wpa_ctrl_get_fd(struct wpa_ctrl *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/wpa_supplicant/ |
D | wpa_cli.c | 251 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd, int print) in _wpa_ctrl_command() argument 262 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len, in _wpa_ctrl_command() 281 static int wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd) in wpa_ctrl_command() argument 283 return _wpa_ctrl_command(ctrl, cmd, 1); in wpa_ctrl_command() 287 static int wpa_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_cli_cmd_status() argument 290 return wpa_ctrl_command(ctrl, verbose ? "STATUS-VERBOSE" : "STATUS"); in wpa_cli_cmd_status() 294 static int wpa_cli_cmd_ping(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_cli_cmd_ping() argument 296 return wpa_ctrl_command(ctrl, "PING"); in wpa_cli_cmd_ping() 300 static int wpa_cli_cmd_relog(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_cli_cmd_relog() argument 302 return wpa_ctrl_command(ctrl, "RELOG"); in wpa_cli_cmd_relog() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/ |
D | wpa_cli.c | 201 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd, int print) in _wpa_ctrl_command() argument 212 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len, in _wpa_ctrl_command() 229 static int wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd) in wpa_ctrl_command() argument 231 return _wpa_ctrl_command(ctrl, cmd, 1); in wpa_ctrl_command() 235 static int wpa_cli_cmd_status(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_cli_cmd_status() argument 238 return wpa_ctrl_command(ctrl, verbose ? "STATUS-VERBOSE" : "STATUS"); in wpa_cli_cmd_status() 242 static int wpa_cli_cmd_ping(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_cli_cmd_ping() argument 244 return wpa_ctrl_command(ctrl, "PING"); in wpa_cli_cmd_ping() 248 static int wpa_cli_cmd_mib(struct wpa_ctrl *ctrl, int argc, char *argv[]) in wpa_cli_cmd_mib() argument 250 return wpa_ctrl_command(ctrl, "MIB"); in wpa_cli_cmd_mib() [all …]
|
/external/wpa_supplicant_8/hostapd/ |
D | hostapd_cli.c | 184 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd, int print) in _wpa_ctrl_command() argument 195 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, in _wpa_ctrl_command() 212 static inline int wpa_ctrl_command(struct wpa_ctrl *ctrl, char *cmd) in wpa_ctrl_command() argument 214 return _wpa_ctrl_command(ctrl, cmd, 1); in wpa_ctrl_command() 218 static int hostapd_cli_cmd_ping(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_ping() argument 220 return wpa_ctrl_command(ctrl, "PING"); in hostapd_cli_cmd_ping() 224 static int hostapd_cli_cmd_relog(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_relog() argument 226 return wpa_ctrl_command(ctrl, "RELOG"); in hostapd_cli_cmd_relog() 230 static int hostapd_cli_cmd_mib(struct wpa_ctrl *ctrl, int argc, char *argv[]) in hostapd_cli_cmd_mib() argument 232 return wpa_ctrl_command(ctrl, "MIB"); in hostapd_cli_cmd_mib() [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.c | 69 off_t ctrl[3]; in main() local 152 ctrl[i]=offtin(buf); in main() 156 if(newpos+ctrl[0]>newsize) in main() 160 lenread = BZ2_bzRead(&dbz2err, dpfbz2, new + newpos, ctrl[0]); in main() 161 if ((lenread < ctrl[0]) || in main() 166 for(i=0;i<ctrl[0];i++) in main() 171 newpos+=ctrl[0]; in main() 172 oldpos+=ctrl[0]; in main() 175 if(newpos+ctrl[1]>newsize) in main() 179 lenread = BZ2_bzRead(&ebz2err, epfbz2, new + newpos, ctrl[1]); in main() [all …]
|
/external/qemu/pc-bios/keymaps/ |
D | hu | 88 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/qemu/ |
D | usb-linux.c | 131 struct ctrl_struct ctrl; member 222 switch(s->ctrl.state) { in async_complete_ctrl() 224 if (p->len < s->ctrl.len) in async_complete_ctrl() 225 s->ctrl.len = p->len; in async_complete_ctrl() 226 s->ctrl.state = CTRL_STATE_DATA; in async_complete_ctrl() 231 s->ctrl.state = CTRL_STATE_IDLE; in async_complete_ctrl() 354 struct usbdevfs_ioctl ctrl; in usb_host_claim_interfaces() local 356 ctrl.ioctl_code = USBDEVFS_DISCONNECT; in usb_host_claim_interfaces() 357 ctrl.ifno = interface; in usb_host_claim_interfaces() 358 ret = ioctl(dev->fd, USBDEVFS_IOCTL, &ctrl); in usb_host_claim_interfaces() [all …]
|
/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_6/wpa_supplicant/wpa_gui-qt4/ |
D | addinterface.cpp | 65 struct wpa_ctrl *ctrl; in addInterfaces() local 70 ctrl = wpa_ctrl_open(NULL); in addInterfaces() 71 if (ctrl == NULL) in addInterfaces() 75 ret = wpa_ctrl_request(ctrl, "INTERFACE_LIST", 14, buf, &len, NULL); in addInterfaces() 77 wpa_ctrl_close(ctrl); in addInterfaces() 82 wpa_ctrl_close(ctrl); in addInterfaces() 194 struct wpa_ctrl *ctrl; in interfaceSelected() local 211 ctrl = wpa_ctrl_open(NULL); in interfaceSelected() 212 if (ctrl == NULL) in interfaceSelected() 216 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, NULL); in interfaceSelected() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
D | addinterface.cpp | 65 struct wpa_ctrl *ctrl; in addInterfaces() local 70 ctrl = wpa_ctrl_open(NULL); in addInterfaces() 71 if (ctrl == NULL) in addInterfaces() 75 ret = wpa_ctrl_request(ctrl, "INTERFACE_LIST", 14, buf, &len, NULL); in addInterfaces() 77 wpa_ctrl_close(ctrl); in addInterfaces() 82 wpa_ctrl_close(ctrl); in addInterfaces() 194 struct wpa_ctrl *ctrl; in interfaceSelected() local 211 ctrl = wpa_ctrl_open(NULL); in interfaceSelected() 212 if (ctrl == NULL) in interfaceSelected() 216 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, NULL); in interfaceSelected() [all …]
|
/external/openssl/crypto/evp/ |
D | evp_locl.h | 135 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/chrome/browser/resources/ |
D | keyboard_overlay.css | 64 .keyboard-overlay-key.is-shortcut.modifier-ctrl { 72 .keyboard-overlay-key.is-shortcut.modifier-shift.modifier-ctrl { 80 .keyboard-overlay-key.is-shortcut.modifier-ctrl.modifier-alt { 84 .keyboard-overlay-key.is-shortcut.modifier-shift.modifier-ctrl.modifier-alt { 98 .keyboard-overlay-key.pressed.is-shift.modifier-ctrl { 106 .keyboard-overlay-key.pressed.is-shift.modifier-ctrl.modifier-alt { 110 .keyboard-overlay-key.pressed.is-ctrl { 114 .keyboard-overlay-key.pressed.is-ctrl.modifier-shift { 118 .keyboard-overlay-key.pressed.is-ctrl.modifier-alt { 122 .keyboard-overlay-key.pressed.is-ctrl.modifier-shift.modifier-alt { [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/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/bluetooth/bluez/input/ |
D | server.c | 48 GIOChannel *ctrl; member 187 server->ctrl = bt_io_listen(BT_IO_L2CAP, connect_event_cb, NULL, in server_start() 194 if (!server->ctrl) { in server_start() 210 g_io_channel_unref(server->ctrl); in server_start() 235 g_io_channel_shutdown(server->ctrl, TRUE, NULL); in server_stop() 236 g_io_channel_unref(server->ctrl); in server_stop()
|
/external/bluetooth/bluez/serial/ |
D | proxy.c | 649 static int set_parity(const char *str, tcflag_t *ctrl) in set_parity() argument 652 *ctrl |= PARENB; in set_parity() 653 *ctrl &= ~PARODD; in set_parity() 655 *ctrl |= PARENB; in set_parity() 656 *ctrl |= PARODD; in set_parity() 658 *ctrl |= PARENB; in set_parity() 661 *ctrl &= ~PARENB; in set_parity() 668 static int set_databits(uint8_t databits, tcflag_t *ctrl) in set_databits() argument 673 *ctrl &= ~CSIZE; in set_databits() 676 *ctrl |= CS5; in set_databits() [all …]
|