/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | wpa_ctrl.c | 103 struct wpa_ctrl *ctrl; in wpa_ctrl_open2() local 113 ctrl = os_zalloc(sizeof(*ctrl)); in wpa_ctrl_open2() 114 if (ctrl == NULL) in wpa_ctrl_open2() 117 ctrl->s = socket(PF_UNIX, SOCK_DGRAM, 0); in wpa_ctrl_open2() 118 if (ctrl->s < 0) { in wpa_ctrl_open2() 119 os_free(ctrl); in wpa_ctrl_open2() 123 ctrl->local.sun_family = AF_UNIX; in wpa_ctrl_open2() 127 ret = os_snprintf(ctrl->local.sun_path, in wpa_ctrl_open2() 128 sizeof(ctrl->local.sun_path), in wpa_ctrl_open2() 132 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 | dpp_tcp.c | 24 struct dpp_controller *ctrl; member 120 struct dpp_relay_controller *ctrl; in dpp_relay_add_controller() local 125 ctrl = os_zalloc(sizeof(*ctrl)); in dpp_relay_add_controller() 126 if (!ctrl) in dpp_relay_add_controller() 128 dl_list_init(&ctrl->conn); in dpp_relay_add_controller() 129 ctrl->global = dpp; in dpp_relay_add_controller() 130 os_memcpy(&ctrl->ipaddr, config->ipaddr, sizeof(*config->ipaddr)); in dpp_relay_add_controller() 131 os_memcpy(ctrl->pkhash, config->pkhash, SHA256_MAC_LEN); in dpp_relay_add_controller() 132 ctrl->msg_ctx = config->msg_ctx; in dpp_relay_add_controller() 133 ctrl->cb_ctx = config->cb_ctx; in dpp_relay_add_controller() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | wpa_ctrl.c | 97 struct wpa_ctrl *ctrl; in wpa_ctrl_open2() local 107 ctrl = os_zalloc(sizeof(*ctrl)); in wpa_ctrl_open2() 108 if (ctrl == NULL) in wpa_ctrl_open2() 111 ctrl->s = socket(PF_UNIX, SOCK_DGRAM, 0); in wpa_ctrl_open2() 112 if (ctrl->s < 0) { in wpa_ctrl_open2() 113 os_free(ctrl); in wpa_ctrl_open2() 117 ctrl->local.sun_family = AF_UNIX; in wpa_ctrl_open2() 121 ret = os_snprintf(ctrl->local.sun_path, in wpa_ctrl_open2() 122 sizeof(ctrl->local.sun_path), in wpa_ctrl_open2() 126 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 …]
|
/third_party/alsa-lib/src/control/ |
D | control_shm.c | 46 volatile snd_ctl_shm_ctrl_t *ctrl; member 55 volatile snd_ctl_shm_ctrl_t *ctrl = shm->ctrl; in snd_ctl_shm_action() local 62 if (ctrl->cmd) { in snd_ctl_shm_action() 66 return ctrl->result; in snd_ctl_shm_action() 74 volatile snd_ctl_shm_ctrl_t *ctrl = shm->ctrl; in snd_ctl_shm_action_fd() local 81 if (ctrl->cmd) { in snd_ctl_shm_action_fd() 85 return ctrl->result; in snd_ctl_shm_action_fd() 91 volatile snd_ctl_shm_ctrl_t *ctrl = shm->ctrl; in snd_ctl_shm_close() local 93 ctrl->cmd = SND_CTL_IOCTL_CLOSE; in snd_ctl_shm_close() 95 shmdt((void *)ctrl); in snd_ctl_shm_close() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
D | wpa_cli.c | 75 static void update_creds(struct wpa_ctrl *ctrl); 76 static void update_networks(struct wpa_ctrl *ctrl); 77 static void update_stations(struct wpa_ctrl *ctrl); 78 static void update_ifnames(struct wpa_ctrl *ctrl); 225 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, int print) in _wpa_ctrl_command() argument 242 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len, in _wpa_ctrl_command() 261 static int wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd) in wpa_ctrl_command() argument 263 return _wpa_ctrl_command(ctrl, cmd, 1); in wpa_ctrl_command() 267 static int wpa_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, int min_args, in wpa_cli_cmd() argument 279 return wpa_ctrl_command(ctrl, buf); in wpa_cli_cmd() [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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
D | wpa_cli.c | 76 static void update_creds(struct wpa_ctrl *ctrl); 77 static void update_networks(struct wpa_ctrl *ctrl); 78 static void update_stations(struct wpa_ctrl *ctrl); 79 static void update_ifnames(struct wpa_ctrl *ctrl); 228 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, int print) in _wpa_ctrl_command() argument 245 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len, in _wpa_ctrl_command() 264 static int wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd) in wpa_ctrl_command() argument 266 return _wpa_ctrl_command(ctrl, cmd, 1); in wpa_ctrl_command() 270 static int wpa_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, int min_args, in wpa_cli_cmd() argument 282 return wpa_ctrl_command(ctrl, buf); in wpa_cli_cmd() [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()
|
/third_party/alsa-lib/src/pcm/ |
D | pcm_shm.c | 56 volatile snd_pcm_shm_ctrl_t *ctrl; member 65 volatile snd_pcm_shm_ctrl_t *ctrl = shm->ctrl; in snd_pcm_shm_action_fd0() local 73 if (ctrl->cmd) { in snd_pcm_shm_action_fd0() 77 return ctrl->result; in snd_pcm_shm_action_fd0() 94 shm->ctrl->cmd = &pcm->hw == rbptr ? SND_PCM_IOCTL_HW_PTR_FD : SND_PCM_IOCTL_APPL_PTR_FD; in snd_pcm_shm_new_rbptr() 117 volatile snd_pcm_shm_ctrl_t *ctrl = shm->ctrl; in snd_pcm_shm_action() local 119 if (ctrl->hw.changed || ctrl->appl.changed) in snd_pcm_shm_action() 127 if (ctrl->cmd) { in snd_pcm_shm_action() 131 result = ctrl->result; in snd_pcm_shm_action() 132 if (ctrl->hw.changed) { in snd_pcm_shm_action() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
D | hostapd_cli.c | 48 static void update_stations(struct wpa_ctrl *ctrl); 82 static void register_event_handler(struct wpa_ctrl *ctrl) in register_event_handler() argument 88 !eloop_register_read_sock(wpa_ctrl_get_fd(ctrl), in register_event_handler() 95 static void unregister_event_handler(struct wpa_ctrl *ctrl) in unregister_event_handler() argument 100 eloop_unregister_read_sock(wpa_ctrl_get_fd(ctrl)); in unregister_event_handler() 193 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, int print) in _wpa_ctrl_command() argument 204 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, in _wpa_ctrl_command() 221 static inline int wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd) in wpa_ctrl_command() argument 223 return _wpa_ctrl_command(ctrl, cmd, 1); in wpa_ctrl_command() 227 static int hostapd_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, in hostapd_cli_cmd() argument [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/ |
D | hostapd_cli.c | 48 static void update_stations(struct wpa_ctrl *ctrl); 79 static void register_event_handler(struct wpa_ctrl *ctrl) in register_event_handler() argument 85 !eloop_register_read_sock(wpa_ctrl_get_fd(ctrl), in register_event_handler() 92 static void unregister_event_handler(struct wpa_ctrl *ctrl) in unregister_event_handler() argument 97 eloop_unregister_read_sock(wpa_ctrl_get_fd(ctrl)); in unregister_event_handler() 190 static int _wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, int print) in _wpa_ctrl_command() argument 201 ret = wpa_ctrl_request(ctrl, cmd, strlen(cmd), buf, &len, in _wpa_ctrl_command() 218 static inline int wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd) in wpa_ctrl_command() argument 220 return _wpa_ctrl_command(ctrl, cmd, 1); in wpa_ctrl_command() 224 static int hostapd_cli_cmd(struct wpa_ctrl *ctrl, const char *cmd, in hostapd_cli_cmd() argument [all …]
|
/third_party/alsa-lib/aserver/ |
D | aserver.c | 205 void *ctrl; member 247 volatile snd_pcm_shm_ctrl_t *ctrl = client->transport.shm.ctrl; in pcm_shm_hw_ptr_changed() local 250 ctrl->hw.changed = 1; in pcm_shm_hw_ptr_changed() 252 ctrl->hw.use_mmap = 1; in pcm_shm_hw_ptr_changed() 253 ctrl->hw.offset = pcm->hw.offset; in pcm_shm_hw_ptr_changed() 256 ctrl->hw.use_mmap = 0; in pcm_shm_hw_ptr_changed() 257 ctrl->hw.ptr = pcm->hw.ptr ? *pcm->hw.ptr : 0; in pcm_shm_hw_ptr_changed() 259 loop->hw.ptr = &ctrl->hw.ptr; in pcm_shm_hw_ptr_changed() 260 pcm->hw.ptr = &ctrl->hw.ptr; in pcm_shm_hw_ptr_changed() 266 volatile snd_pcm_shm_ctrl_t *ctrl = client->transport.shm.ctrl; in pcm_shm_appl_ptr_changed() local [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | tsxReactEmitNesting.types | 5 declare var ctrl: any; 6 >ctrl : any 12 let render = (ctrl, model) => 13 >render : (ctrl: any, model: any) => any 14 …ctrl, model) => <section class="todoapp"> <header class="header"> <h1>todos &… 15 >ctrl : any 19 …ctrl.addTodo.bind(ctrl, model)} /> </header> <section class="main" style={{display:(… 24 …ceholder="What needs to be done?" value={model.newTodo} onKeyup={ctrl.addTodo.bind(ctrl, model)} /… 33 …ceholder="What needs to be done?" value={model.newTodo} onKeyup={ctrl.addTodo.bind(ctrl, model)} /> 34 …ceholder="What needs to be done?" value={model.newTodo} onKeyup={ctrl.addTodo.bind(ctrl, model)} /… [all …]
|
D | tsxReactEmitNesting.symbols | 5 declare var ctrl: any; 6 >ctrl : Symbol(ctrl, Decl(file.tsx, 1, 11)) 12 let render = (ctrl, model) => 14 >ctrl : Symbol(ctrl, Decl(file.tsx, 5, 14)) 24 …ceholder="What needs to be done?" value={model.newTodo} onKeyup={ctrl.addTodo.bind(ctrl, model)} /> 32 >ctrl : Symbol(ctrl, Decl(file.tsx, 5, 14)) 33 >ctrl : Symbol(ctrl, Decl(file.tsx, 5, 14)) 44 <input class="toggle-all" type="checkbox" onChange={ctrl.toggleAll.bind(ctrl)}/> 48 >ctrl : Symbol(ctrl, Decl(file.tsx, 5, 14)) 49 >ctrl : Symbol(ctrl, Decl(file.tsx, 5, 14)) [all …]
|
D | tsxReactEmitNesting.js | 3 declare var ctrl: any; 7 let render = (ctrl, model) => argument 11 …ceholder="What needs to be done?" value={model.newTodo} onKeyup={ctrl.addTodo.bind(ctrl, model)} /> 14 <input class="toggle-all" type="checkbox" onChange={ctrl.toggleAll.bind(ctrl)}/> 23 <label onDoubleClick={()=>{ctrl.editTodo(todo)}}>{todo.title}</label> 24 … <button class="destroy" onClick={ctrl.removeTodo.bind(ctrl,todo)}></button> field 39 var render = function (ctrl, model) { 43 …holder: "What needs to be done?", value: model.newTodo, onKeyup: ctrl.addTodo.bind(ctrl, model) })… 45 …Element("input", { "class": "toggle-all", type: "checkbox", onChange: ctrl.toggleAll.bind(ctrl) }), 52 … vdom.createElement("label", { onDoubleClick: function () { ctrl.editTodo(todo); } }, todo.title), [all …]
|
/third_party/ltp/lib/ |
D | tst_cgroup.c | 216 #define for_each_ctrl(ctrl) \ argument 217 for ((ctrl) = controllers + 1; (ctrl)->ctrl_name; (ctrl)++) 226 #define for_each_dir(cg, ctrl, t) \ argument 227 for ((t) = (ctrl) ? (cg)->dirs_by_ctrl + (ctrl) : (cg)->dirs; \ 229 (t) = (ctrl) ? (cg)->dirs + ROOTS_MAX : (t) + 1) 233 const struct cgroup_ctrl *const ctrl) in has_ctrl() argument 235 return !!(ctrl_field & (1 << ctrl->ctrl_indx)); in has_ctrl() 240 const struct cgroup_ctrl *const ctrl) in add_ctrl() argument 242 *ctrl_field |= 1 << ctrl->ctrl_indx; in add_ctrl() 261 static int cgroup_ctrl_on_v2(const struct cgroup_ctrl *const ctrl) in cgroup_ctrl_on_v2() argument [all …]
|
/third_party/ltp/scripts/coccinelle/ |
D | cgroup-ver.cocci | 4 expression cg, ctrl; 7 - TST_CGROUP_VER(cg, ctrl) == TST_CGROUP_V1 8 + TST_CGROUP_VER_IS_V1(cg, ctrl) 11 expression cg, ctrl; 14 - TST_CGROUP_VER(cg, ctrl) != TST_CGROUP_V1 15 + !TST_CGROUP_VER_IS_V1(cg, ctrl) 18 expression cg, ctrl; 21 - TST_CGROUP_VER(cg, ctrl) == TST_CGROUP_V2 22 + !TST_CGROUP_VER_IS_V1(cg, ctrl) 25 expression cg, ctrl; [all …]
|
/third_party/node/test/parallel/ |
D | test-readline-keys.js | 10 return Object.assign({ ctrl: false, meta: false, shift: false }, k); property 125 { name: 'a', sequence: '\x01', ctrl: true }, property 126 { name: 'k', sequence: '\x0b', ctrl: true }, property 127 { name: 'p', sequence: '\x10', ctrl: true }, property 141 { name: 'f1', sequence: '\x1b[2P', code: '[P', shift: true, meta: false, ctrl: false }, property 142 { name: 'f1', sequence: '\x1b[3P', code: '[P', shift: false, meta: true, ctrl: false }, property 143 { name: 'f1', sequence: '\x1b[4P', code: '[P', shift: true, meta: true, ctrl: false }, property 144 { name: 'f1', sequence: '\x1b[5P', code: '[P', shift: false, meta: false, ctrl: true }, property 145 { name: 'f1', sequence: '\x1b[6P', code: '[P', shift: true, meta: false, ctrl: true }, property 146 { name: 'f1', sequence: '\x1b[7P', code: '[P', shift: false, meta: true, ctrl: true }, property [all …]
|
/third_party/NuttX/drivers/usbdev/gadget/ |
D | f_dfu.c | 573 static int dfu_dnload(const struct usb_device_request *ctrl, struct usbdev_req_s *ctrlreq) in dfu_dnload() argument 576 int len = UGETW(ctrl->wLength); in dfu_dnload() 577 uint16_t value = UGETW(ctrl->wValue); in dfu_dnload() 600 static int dfu_upload(const struct usb_device_request *ctrl, struct usbdev_req_s *ctrlreq) in dfu_upload() argument 603 uint16_t value = UGETW(ctrl->wValue); in dfu_upload() 619 static int dfu_app_idle_request(const struct usb_device_request *ctrl, struct usbdev_req_s *ctrlreq) in dfu_app_idle_request() argument 623 switch (ctrl->bRequest) in dfu_app_idle_request() 651 static int dfu_app_detach_request(const struct usb_device_request *ctrl, struct usbdev_req_s *ctrlr… in dfu_app_detach_request() argument 655 switch (ctrl->bRequest) in dfu_app_detach_request() 676 static int dfu_idle_request(const struct usb_device_request *ctrl, struct usbdev_req_s *ctrlreq) in dfu_idle_request() argument [all …]
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | disassemble.c | 58 if (regs.ctrl == 0) in get_reg0() 139 unsigned ctrl; in DecodeRegCtrl() local 140 if (regs.ctrl == 0) { in DecodeRegCtrl() 141 ctrl = regs.reg1 >> 2; in DecodeRegCtrl() 145 ctrl = regs.ctrl; in DecodeRegCtrl() 151 ctrl = (ctrl & 0x7) | ((ctrl & 0x8) << 1); in DecodeRegCtrl() 153 ctrl += 16; in DecodeRegCtrl() 155 decoded.slot23 = bifrost_reg_ctrl_lut[ctrl]; in DecodeRegCtrl() 164 struct bifrost_reg_ctrl ctrl = DecodeRegCtrl(fp, srcs, first); in dump_regs() local 166 if (ctrl.read_reg0) in dump_regs() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | raw_hash_set.cc | 46 bool ShouldInsertBackwards(size_t hash, const ctrl_t* ctrl) { in ShouldInsertBackwards() argument 49 return (H1(hash, ctrl) ^ RandomSeed()) % 13 > 6; in ShouldInsertBackwards() 52 void ConvertDeletedToEmptyAndFullToDeleted(ctrl_t* ctrl, size_t capacity) { in ConvertDeletedToEmptyAndFullToDeleted() argument 53 assert(ctrl[capacity] == ctrl_t::kSentinel); in ConvertDeletedToEmptyAndFullToDeleted() 55 for (ctrl_t* pos = ctrl; pos < ctrl + capacity; pos += Group::kWidth) { in ConvertDeletedToEmptyAndFullToDeleted() 59 std::memcpy(ctrl + capacity + 1, ctrl, NumClonedBytes()); in ConvertDeletedToEmptyAndFullToDeleted() 60 ctrl[capacity] = ctrl_t::kSentinel; in ConvertDeletedToEmptyAndFullToDeleted()
|
/third_party/typescript/tests/cases/conformance/jsx/ |
D | tsxReactEmitNesting.tsx | 6 declare var ctrl: any; 10 let render = (ctrl, model) => 14 …ceholder="What needs to be done?" value={model.newTodo} onKeyup={ctrl.addTodo.bind(ctrl, model)} /> 17 <input class="toggle-all" type="checkbox" onChange={ctrl.toggleAll.bind(ctrl)}/> 26 <label onDoubleClick={()=>{ctrl.editTodo(todo)}}>{todo.title}</label> 27 … <button class="destroy" onClick={ctrl.removeTodo.bind(ctrl,todo)}></button>
|
/third_party/mbedtls/library/ |
D | padlock.c | 82 uint32_t *ctrl; in mbedtls_padlock_xcryptecb() local 89 ctrl = blk + 4; in mbedtls_padlock_xcryptecb() 90 *ctrl = 0x80 | ctx->nr | ( ( ctx->nr + ( mode^1 ) - 10 ) << 9 ); in mbedtls_padlock_xcryptecb() 103 : "m" (ebx), "m" (ctrl), "m" (rk), "m" (blk) in mbedtls_padlock_xcryptecb() 125 uint32_t *ctrl; in mbedtls_padlock_xcryptcbc() local 136 ctrl = iw + 4; in mbedtls_padlock_xcryptcbc() 137 *ctrl = 0x80 | ctx->nr | ( ( ctx->nr + ( mode ^ 1 ) - 10 ) << 9 ); in mbedtls_padlock_xcryptcbc() 153 : "m" (ebx), "m" (count), "m" (ctrl), in mbedtls_padlock_xcryptcbc()
|