/external/rust/crates/crossbeam-channel/tests/ |
D | select.rs | 25 let oper = sel.select(); in smoke1() localVariable 26 match oper.index() { in smoke1() 27 i if i == oper1 => assert_eq!(oper.recv(&r1), Ok(1)), in smoke1() 37 let oper = sel.select(); in smoke1() localVariable 38 match oper.index() { in smoke1() 40 i if i == oper2 => assert_eq!(oper.recv(&r2), Ok(2)), in smoke1() 61 let oper = sel.select(); in smoke2() localVariable 62 match oper.index() { in smoke2() 67 i if i == oper5 => assert_eq!(oper.recv(&r5), Ok(5)), in smoke2() 87 let oper = sel.select_timeout(ms(1000)); in disconnected() localVariable [all …]
|
/external/autotest/client/tests/aiostress/ |
D | aio-stress.c | 310 static void oper_list_add(struct io_oper *oper, struct io_oper **list) in oper_list_add() argument 313 *list = oper; in oper_list_add() 314 oper->prev = oper->next = oper; in oper_list_add() 317 oper->prev = (*list)->prev; in oper_list_add() 318 oper->next = *list; in oper_list_add() 319 (*list)->prev->next = oper; in oper_list_add() 320 (*list)->prev = oper; in oper_list_add() 324 static void oper_list_del(struct io_oper *oper, struct io_oper **list) in oper_list_del() argument 330 oper->prev->next = oper->next; in oper_list_del() 331 oper->next->prev = oper->prev; in oper_list_del() [all …]
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
D | aio-stress.c | 312 static void oper_list_add(struct io_oper *oper, struct io_oper **list) in oper_list_add() argument 315 *list = oper; in oper_list_add() 316 oper->prev = oper->next = oper; in oper_list_add() 319 oper->prev = (*list)->prev; in oper_list_add() 320 oper->next = *list; in oper_list_add() 321 (*list)->prev->next = oper; in oper_list_add() 322 (*list)->prev = oper; in oper_list_add() 326 static void oper_list_del(struct io_oper *oper, struct io_oper **list) in oper_list_del() argument 332 oper->prev->next = oper->next; in oper_list_del() 333 oper->next->prev = oper->prev; in oper_list_del() [all …]
|
/external/rust/crates/crossbeam-channel/src/ |
D | waker.rs | 13 pub oper: Operation, field 46 pub fn register(&mut self, oper: Operation, cx: &Context) { in register() 47 self.register_with_packet(oper, 0, cx); in register() 52 pub fn register_with_packet(&mut self, oper: Operation, packet: usize, cx: &Context) { in register_with_packet() 54 oper, in register_with_packet() 62 pub fn unregister(&mut self, oper: Operation) -> Option<Entry> { in unregister() 67 .find(|&(_, entry)| entry.oper == oper) in unregister() 88 let sel = Selected::Operation(self.selectors[i].oper); in try_select() 125 pub fn watch(&mut self, oper: Operation, cx: &Context) { in watch() 127 oper, in watch() [all …]
|
D | channel.rs | 1348 fn register(&self, oper: Operation, cx: &Context) -> bool { in register() 1350 SenderFlavor::Array(chan) => chan.sender().register(oper, cx), in register() 1351 SenderFlavor::List(chan) => chan.sender().register(oper, cx), in register() 1352 SenderFlavor::Zero(chan) => chan.sender().register(oper, cx), in register() 1356 fn unregister(&self, oper: Operation) { in unregister() 1358 SenderFlavor::Array(chan) => chan.sender().unregister(oper), in unregister() 1359 SenderFlavor::List(chan) => chan.sender().unregister(oper), in unregister() 1360 SenderFlavor::Zero(chan) => chan.sender().unregister(oper), in unregister() 1380 fn watch(&self, oper: Operation, cx: &Context) -> bool { in watch() 1382 SenderFlavor::Array(chan) => chan.sender().watch(oper, cx), in watch() [all …]
|
D | select.rs | 75 oper => Selected::Operation(Operation(oper)), in from() 104 fn register(&self, oper: Operation, cx: &Context) -> bool; in register() 107 fn unregister(&self, oper: Operation); in unregister() 116 fn watch(&self, oper: Operation, cx: &Context) -> bool; in watch() 119 fn unwatch(&self, oper: Operation); in unwatch() 131 fn register(&self, oper: Operation, cx: &Context) -> bool { in register() 132 (**self).register(oper, cx) in register() 135 fn unregister(&self, oper: Operation) { in unregister() 136 (**self).unregister(oper); in unregister() 147 fn watch(&self, oper: Operation, cx: &Context) -> bool { in watch() [all …]
|
/external/ltp/testcases/kernel/io/disktest/ |
D | childmain.c | 80 switch (target.oper) { in action_in_use() 84 if (env->action_list[i].oper == WRITER) { in action_in_use() 147 if (target.oper == WRITER) { in decrement_io_count() 239 target.oper = env->lastAction.oper; in get_next_action() 241 target.oper = TST_OPER(args->test_state); in get_next_action() 246 target.oper = READER; in get_next_action() 248 target.oper = WRITER; in get_next_action() 260 target.oper = in get_next_action() 261 (env->lastAction.oper == WRITER) ? READER : WRITER; in get_next_action() 263 } else if (target.oper == NONE) { in get_next_action() [all …]
|
/external/rust/crates/crossbeam-channel/src/flavors/ |
D | zero.rs | 226 let oper = Operation::hook(token); in send() localVariable 230 .register_with_packet(oper, &packet as *const Packet<T> as usize, cx); in send() 240 self.inner.lock().senders.unregister(oper).unwrap(); in send() 245 self.inner.lock().senders.unregister(oper).unwrap(); in send() 295 let oper = Operation::hook(token); in recv() localVariable 299 .register_with_packet(oper, &packet as *const Packet<T> as usize, cx); in recv() 309 self.inner.lock().receivers.unregister(oper).unwrap(); in recv() 313 self.inner.lock().receivers.unregister(oper).unwrap(); in recv() 377 fn register(&self, oper: Operation, cx: &Context) -> bool { in register() 383 .register_with_packet(oper, packet as usize, cx); in register() [all …]
|
D | array.rs | 371 let oper = Operation::hook(token); in send() localVariable 372 self.senders.register(oper, cx); in send() 385 self.senders.unregister(oper).unwrap(); in send() 431 let oper = Operation::hook(token); in recv() localVariable 432 self.receivers.register(oper, cx); in recv() 445 self.receivers.unregister(oper).unwrap(); in recv() 580 fn register(&self, oper: Operation, cx: &Context) -> bool { in register() 581 self.0.receivers.register(oper, cx); in register() 585 fn unregister(&self, oper: Operation) { in unregister() 586 self.0.receivers.unregister(oper); in unregister() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | ieee802_11_vht.c | 76 struct ieee80211_vht_operation *oper; in hostapd_eid_vht_operation() local 83 *pos++ = sizeof(*oper); in hostapd_eid_vht_operation() 85 oper = (struct ieee80211_vht_operation *) pos; in hostapd_eid_vht_operation() 86 os_memset(oper, 0, sizeof(*oper)); in hostapd_eid_vht_operation() 93 oper->vht_op_info_chan_center_freq_seg0_idx = in hostapd_eid_vht_operation() 95 oper->vht_op_info_chan_center_freq_seg1_idx = in hostapd_eid_vht_operation() 98 oper->vht_op_info_chwidth = hapd->iconf->vht_oper_chwidth; in hostapd_eid_vht_operation() 104 oper->vht_op_info_chwidth = 1; in hostapd_eid_vht_operation() 105 oper->vht_op_info_chan_center_freq_seg1_idx = in hostapd_eid_vht_operation() 106 oper->vht_op_info_chan_center_freq_seg0_idx; in hostapd_eid_vht_operation() [all …]
|
D | ieee802_11_ht.c | 84 struct ieee80211_ht_operation *oper; in hostapd_eid_ht_operation() local 92 *pos++ = sizeof(*oper); in hostapd_eid_ht_operation() 94 oper = (struct ieee80211_ht_operation *) pos; in hostapd_eid_ht_operation() 95 os_memset(oper, 0, sizeof(*oper)); in hostapd_eid_ht_operation() 97 oper->primary_chan = hapd->iconf->channel; in hostapd_eid_ht_operation() 98 oper->operation_mode = host_to_le16(hapd->iface->ht_op_mode); in hostapd_eid_ht_operation() 100 oper->ht_param |= HT_INFO_HT_PARAM_SECONDARY_CHNL_ABOVE | in hostapd_eid_ht_operation() 103 oper->ht_param |= HT_INFO_HT_PARAM_SECONDARY_CHNL_BELOW | in hostapd_eid_ht_operation() 106 pos += sizeof(*oper); in hostapd_eid_ht_operation()
|
/external/tensorflow/tensorflow/c/ |
D | c_api.h | 190 TF_Operation* oper; member 196 TF_Operation* oper; member 425 TF_CAPI_EXPORT extern const char* TF_OperationName(TF_Operation* oper); 426 TF_CAPI_EXPORT extern const char* TF_OperationOpType(TF_Operation* oper); 427 TF_CAPI_EXPORT extern const char* TF_OperationDevice(TF_Operation* oper); 429 TF_CAPI_EXPORT extern int TF_OperationNumOutputs(TF_Operation* oper); 431 TF_CAPI_EXPORT extern int TF_OperationOutputListLength(TF_Operation* oper, 435 TF_CAPI_EXPORT extern int TF_OperationNumInputs(TF_Operation* oper); 437 TF_CAPI_EXPORT extern int TF_OperationInputListLength(TF_Operation* oper, 452 TF_CAPI_EXPORT extern void TF_OperationAllInputs(TF_Operation* oper, [all …]
|
D | c_api.cc | 284 Node* node = &output.oper->node; in TF_GraphSetOutputHandleShapesAndTypes() 646 return StrCat(output.oper->node.name(), ":", output.index); in OutputName() 649 const tensorflow::AttrValue* GetAttrValue(TF_Operation* oper, in GetAttrValue() argument 652 const tensorflow::AttrValue* attr = oper->node.attrs().Find(attr_name); in GetAttrValue() 654 status->status = InvalidArgument("Operation '", oper->node.name(), in GetAttrValue() 661 return TensorId(output.oper->node.name(), output.index); in ToTensorId() 670 tensorflow::Output(&tf_outputs[i].oper->node, tf_outputs[i].index); in OutputsFromTFOutputs() 678 tf_outputs[i].oper = ToOperation(outputs[i].node()); in TFOutputsFromOutputs() 691 Node* node = &output.oper->node; in TF_GraphSetTensorShape() 708 Node* node = &output.oper->node; in TF_GraphGetTensorNumDims() [all …]
|
D | c_api_test.cc | 514 EXPECT_EQ(feed, add_in_0.oper); in TEST() 517 EXPECT_EQ(three, add_in_1.oper); in TEST() 532 EXPECT_EQ(add, feed_port.oper); in TEST() 540 EXPECT_EQ(add, three_port.oper); in TEST() 608 TF_Operation* oper; in TEST() local 609 while ((oper = TF_GraphNextOperation(graph, &pos)) != nullptr) { in TEST() 610 if (oper == feed) { in TEST() 613 } else if (oper == three) { in TEST() 616 } else if (oper == add) { in TEST() 619 } else if (oper == neg) { in TEST() [all …]
|
D | while_loop_test.cc | 84 inputs[i] = {inputs_[i].oper, Int32Tensor(v)}; in Run() 147 ASSERT_TRUE(params_->cond_inputs[0].oper != nullptr); in TEST_F() 148 EXPECT_TRUE(params_->cond_inputs[1].oper != nullptr); in TEST_F() 151 EXPECT_TRUE(params_->body_inputs[0].oper != nullptr); in TEST_F() 152 EXPECT_TRUE(params_->body_inputs[1].oper != nullptr); in TEST_F() 177 EXPECT_TRUE(outputs_[0].oper != nullptr); in TEST_F() 179 EXPECT_TRUE(outputs_[1].oper != nullptr); in TEST_F() 256 Add(inner_params.body_inputs[1].oper, one, inner_params.body_graph, s_); in TEST_F() 260 TF_Operation* inner_input1_add = Add(inner_params.body_inputs[0].oper, two, in TEST_F()
|
/external/mesa3d/src/compiler/glsl/ |
D | ast_expr.cpp | 81 ast_expression_bin::ast_expression_bin(int oper, ast_expression *ex0, in ast_expression_bin() argument 83 ast_expression(oper, ex0, ex1, NULL) in ast_expression_bin() 85 assert((oper >= ast_plus) && (oper <= ast_logic_not)); in ast_expression_bin() 93 printf("%s ", operator_string(oper)); in print()
|
/external/llvm-project/lldb/examples/synthetic/bitfield/ |
D | program.cpp | 16 MaskingOperator oper; member in MaskedData 21 : value(V), mask(M), oper(P) {} in MaskedData() 24 switch (oper) { in apply() 45 void setOperator(MaskingOperator P) { oper = P; } in setOperator()
|
/external/wpa_supplicant_8/hs20/server/www/ |
D | est.php | 54 $oper = $row['operation']; variable 55 if ($oper != '5') { 56 error_log("EST: Unexpected operation $oper for user=$user realm=$realm"); 91 $oper = $row['operation']; variable 92 if ($oper != '10') { 93 error_log("EST: Unexpected operation $oper for user=$user realm=$realm");
|
/external/dtc/ |
D | fdtput.c | 26 enum oper_type oper; /* operation to perform */ member 326 switch (disp->oper) { in do_fdtput() 409 disp.oper = OPER_WRITE_PROP; in main() 421 disp.oper = OPER_CREATE_NODE; in main() 424 disp.oper = OPER_REMOVE_NODE; in main() 427 disp.oper = OPER_DELETE_PROP; in main() 452 if (disp.oper == OPER_WRITE_PROP) { in main() 459 if (disp.oper == OPER_DELETE_PROP) in main()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/cfg80211/rdev_tdls_oper/ |
D | format | 13 field:enum nl80211_tdls_operation oper; offset:68; size:4; signed:0; 15 print fmt: "%s, netdev:%s(%d), %pM, oper: %d", REC->wiphy_name, REC->name, REC->ifindex, (REC->peer…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cfg80211/rdev_tdls_oper/ |
D | format | 13 field:enum nl80211_tdls_operation oper; offset:68; size:4; signed:0; 15 print fmt: "%s, netdev:%s(%d), %pM, oper: %d", REC->wiphy_name, REC->name, REC->ifindex, (REC->peer…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/cfg80211/rdev_tdls_oper/ |
D | format | 13 field:enum nl80211_tdls_operation oper; offset:68; size:4; signed:0; 15 print fmt: "%s, netdev:%s(%d), %pM, oper: %d", REC->wiphy_name, REC->name, REC->ifindex, (REC->peer…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cfg80211/cfg80211_tdls_oper_request/ |
D | format | 13 field:enum nl80211_tdls_operation oper; offset:68; size:4; signed:0; 16 …"%s, netdev:%s(%d), peer: %pM, oper: %d, reason_code %u", REC->wiphy_name, REC->name, REC->ifindex…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/cfg80211/cfg80211_tdls_oper_request/ |
D | format | 13 field:enum nl80211_tdls_operation oper; offset:68; size:4; signed:0; 16 …"%s, netdev:%s(%d), peer: %pM, oper: %d, reason_code %u", REC->wiphy_name, REC->name, REC->ifindex…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/cfg80211/cfg80211_tdls_oper_request/ |
D | format | 13 field:enum nl80211_tdls_operation oper; offset:68; size:4; signed:0; 16 …"%s, netdev:%s(%d), peer: %pM, oper: %d, reason_code %u", REC->wiphy_name, REC->name, REC->ifindex…
|