Home
last modified time | relevance | path

Searched refs:oper (Results 1 – 25 of 101) sorted by relevance

12345

/external/autotest/client/tests/aiostress/
Daio-stress.c310 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/
Daio-stress.c312 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/u-boot/tools/patman/
Dcros_subprocess.py284 def _BasicCheck(self, plist, oper): argument
286 self.assertEqual(plist[0], oper.stdout_data)
287 self.assertEqual(plist[1], oper.stderr_data)
288 self.assertEqual(plist[2], oper.combined_data)
295 oper = TestSubprocess.MyOperation()
296 plist = Popen(['ps']).CommunicateFilter(oper.Output)
297 self._BasicCheck(plist, oper)
301 oper = TestSubprocess.MyOperation()
303 plist = Popen([cmd], shell=True).CommunicateFilter(oper.Output)
304 self._BasicCheck(plist, oper)
[all …]
/external/ltp/testcases/kernel/io/disktest/
Dchildmain.c80 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/wpa_supplicant_8/src/ap/
Dieee802_11_he.c54 struct ieee80211_he_operation *oper; in hostapd_eid_he_operation() local
64 oper = (struct ieee80211_he_operation *) pos; in hostapd_eid_he_operation()
65 os_memset(oper, 0, sizeof(*oper)); in hostapd_eid_he_operation()
68 oper->he_oper_params |= hapd->iface->conf->he_op.he_bss_color; in hostapd_eid_he_operation()
71 oper->he_oper_params |= in hostapd_eid_he_operation()
76 oper->he_oper_params |= HE_OPERATION_TWT_REQUIRED; in hostapd_eid_he_operation()
79 oper->he_oper_params |= in hostapd_eid_he_operation()
85 pos += sizeof(*oper); in hostapd_eid_he_operation()
Dieee802_11_vht.c76 struct ieee80211_vht_operation *oper; in hostapd_eid_vht_operation() local
80 *pos++ = sizeof(*oper); in hostapd_eid_vht_operation()
82 oper = (struct ieee80211_vht_operation *) pos; in hostapd_eid_vht_operation()
83 os_memset(oper, 0, sizeof(*oper)); in hostapd_eid_vht_operation()
90 oper->vht_op_info_chan_center_freq_seg0_idx = in hostapd_eid_vht_operation()
92 oper->vht_op_info_chan_center_freq_seg1_idx = in hostapd_eid_vht_operation()
95 oper->vht_op_info_chwidth = hapd->iconf->vht_oper_chwidth; in hostapd_eid_vht_operation()
101 oper->vht_op_info_chwidth = 1; in hostapd_eid_vht_operation()
102 oper->vht_op_info_chan_center_freq_seg1_idx = in hostapd_eid_vht_operation()
103 oper->vht_op_info_chan_center_freq_seg0_idx; in hostapd_eid_vht_operation()
[all …]
Dieee802_11_ht.c84 struct ieee80211_ht_operation *oper; in hostapd_eid_ht_operation() local
91 *pos++ = sizeof(*oper); in hostapd_eid_ht_operation()
93 oper = (struct ieee80211_ht_operation *) pos; in hostapd_eid_ht_operation()
94 os_memset(oper, 0, sizeof(*oper)); in hostapd_eid_ht_operation()
96 oper->primary_chan = hapd->iconf->channel; in hostapd_eid_ht_operation()
97 oper->operation_mode = host_to_le16(hapd->iface->ht_op_mode); in hostapd_eid_ht_operation()
99 oper->ht_param |= HT_INFO_HT_PARAM_SECONDARY_CHNL_ABOVE | in hostapd_eid_ht_operation()
102 oper->ht_param |= HT_INFO_HT_PARAM_SECONDARY_CHNL_BELOW | in hostapd_eid_ht_operation()
105 pos += sizeof(*oper); in hostapd_eid_ht_operation()
/external/tensorflow/tensorflow/c/
Dc_api.h390 TF_Operation* oper; member
396 TF_Operation* oper; member
625 TF_CAPI_EXPORT extern const char* TF_OperationName(TF_Operation* oper);
626 TF_CAPI_EXPORT extern const char* TF_OperationOpType(TF_Operation* oper);
627 TF_CAPI_EXPORT extern const char* TF_OperationDevice(TF_Operation* oper);
629 TF_CAPI_EXPORT extern int TF_OperationNumOutputs(TF_Operation* oper);
631 TF_CAPI_EXPORT extern int TF_OperationOutputListLength(TF_Operation* oper,
635 TF_CAPI_EXPORT extern int TF_OperationNumInputs(TF_Operation* oper);
637 TF_CAPI_EXPORT extern int TF_OperationInputListLength(TF_Operation* oper,
664 TF_CAPI_EXPORT extern int TF_OperationNumControlInputs(TF_Operation* oper);
[all …]
Dc_api.cc727 Node* node = &output.oper->node; in TF_GraphSetOutputHandleShapesAndTypes()
1068 return StrCat(output.oper->node.name(), ":", output.index); in OutputName()
1071 const tensorflow::AttrValue* GetAttrValue(TF_Operation* oper, in GetAttrValue() argument
1074 const tensorflow::AttrValue* attr = oper->node.attrs().Find(attr_name); in GetAttrValue()
1076 status->status = InvalidArgument("Operation '", oper->node.name(), in GetAttrValue()
1083 return TensorId(output.oper->node.name(), output.index); in ToTensorId()
1092 tensorflow::Output(&tf_outputs[i].oper->node, tf_outputs[i].index); in OutputsFromTFOutputs()
1100 tf_outputs[i].oper = ToOperation(outputs[i].node()); in TFOutputsFromOutputs()
1113 Node* node = &output.oper->node; in TF_GraphSetTensorShape()
1130 Node* node = &output.oper->node; in TF_GraphGetTensorNumDims()
[all …]
Dpython_api.cc63 graph->refiner.GetContext(&new_src.oper->node); in UpdateEdge()
75 graph->refiner.GetContext(&dst.oper->node); in UpdateEdge()
89 status->status = graph->graph.UpdateEdge(&new_src.oper->node, new_src.index, in UpdateEdge()
90 &dst.oper->node, dst.index); in UpdateEdge()
96 RecordMutation(graph, *dst.oper, "updating input tensor"); in UpdateEdge()
123 Node* node = &output.oper->node; in GetHandleShapeAndType()
159 graph->refiner.GetContext(&output.oper->node); in SetHandleShapeAndType()
175 status->status = graph->graph.AddWhileInputHack(&new_src.oper->node, in AddWhileInputHack()
Dc_api_test.cc511 EXPECT_EQ(feed, add_in_0.oper); in TEST()
514 EXPECT_EQ(three, add_in_1.oper); in TEST()
529 EXPECT_EQ(add, feed_port.oper); in TEST()
537 EXPECT_EQ(add, three_port.oper); in TEST()
605 TF_Operation* oper; in TEST() local
606 while ((oper = TF_GraphNextOperation(graph, &pos)) != nullptr) { in TEST()
607 if (oper == feed) { in TEST()
610 } else if (oper == three) { in TEST()
613 } else if (oper == add) { in TEST()
616 } else if (oper == neg) { in TEST()
[all …]
Dwhile_loop_test.cc85 inputs[i] = {inputs_[i].oper, Int32Tensor(v)}; in Run()
148 ASSERT_TRUE(params_->cond_inputs[0].oper != nullptr); in TEST_F()
149 EXPECT_TRUE(params_->cond_inputs[1].oper != nullptr); in TEST_F()
152 EXPECT_TRUE(params_->body_inputs[0].oper != nullptr); in TEST_F()
153 EXPECT_TRUE(params_->body_inputs[1].oper != nullptr); in TEST_F()
178 EXPECT_TRUE(outputs_[0].oper != nullptr); in TEST_F()
180 EXPECT_TRUE(outputs_[1].oper != nullptr); in TEST_F()
257 Add(inner_params.body_inputs[1].oper, one, inner_params.body_graph, s_); in TEST_F()
261 TF_Operation* inner_input1_add = Add(inner_params.body_inputs[0].oper, two, in TEST_F()
/external/mesa3d/src/compiler/glsl/
Dast_expr.cpp81 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/dtc/
Dfdtput.c40 enum oper_type oper; /* operation to perform */ member
340 switch (disp->oper) { in do_fdtput()
423 disp.oper = OPER_WRITE_PROP; in main()
435 disp.oper = OPER_CREATE_NODE; in main()
438 disp.oper = OPER_REMOVE_NODE; in main()
441 disp.oper = OPER_DELETE_PROP; in main()
466 if (disp.oper == OPER_WRITE_PROP) { in main()
473 if (disp.oper == OPER_DELETE_PROP) in main()
/external/wpa_supplicant_8/hs20/server/www/
Dest.php54 $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/swiftshader/third_party/LLVM/lib/Target/MBlaze/MCTargetDesc/
DMBlazeMCCodeEmitter.cpp156 MCOperand oper = MI.getOperand(opNo); in EmitImmediate() local
158 if (oper.isImm()) { in EmitImmediate()
159 EmitIMM(oper, CurByte, OS); in EmitImmediate()
160 } else if (oper.isExpr()) { in EmitImmediate()
165 Fixups.push_back(MCFixup::Create(0,oper.getExpr(),FixupKind)); in EmitImmediate()
171 Fixups.push_back(MCFixup::Create(0,oper.getExpr(),FixupKind)); in EmitImmediate()
/external/u-boot/common/
Dbedbug.c757 struct operand *oper[MAX_OPERANDS]; in asmppc() local
801 oper[n_operands] = &operands[opc->fields[n_operands] - 1]; in asmppc()
803 if (oper[n_operands]->hint & OH_SILENT) { in asmppc()
808 oper[n_operands]->name); in asmppc()
820 oper[n_operands]->name, scratch); in asmppc()
823 if ((param = parse_operand (memaddr, opc, oper[n_operands], in asmppc()
856 struct operand *oper, char *txt, int *err) in parse_operand() argument
864 mask = (1 << oper->bits) - 1; in parse_operand()
866 if (oper->hint & OH_ADDR) { in parse_operand()
879 data |= 1 << (oper->bits - 1); in parse_operand()
[all …]
/external/u-boot/arch/arm/mach-tegra/tegra20/
Dcrypto.c100 static int encrypt_and_sign(u8 *key, enum security_op oper, u8 *src, in encrypt_and_sign() argument
113 aes_expand_key(oper & SECURITY_ENCRYPT ? key : zero_key, key_schedule); in encrypt_and_sign()
117 if (oper & SECURITY_ENCRYPT) { in encrypt_and_sign()
125 if (oper & SECURITY_SIGN) { in encrypt_and_sign()
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/cfg80211/rdev_tdls_oper/
Dformat13 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/
Dformat13 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_seed_N2F62_3.10.49/events/cfg80211/rdev_tdls_oper/
Dformat13 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/
Dformat13 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/
Dformat13 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/
Dformat13 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/wpa_supplicant_8/src/common/
Dhw_features_common.c158 struct ieee80211_ht_operation *oper; in get_pri_sec_chan() local
165 oper = (struct ieee80211_ht_operation *) elems.ht_operation; in get_pri_sec_chan()
166 *pri_chan = oper->primary_chan; in get_pri_sec_chan()
167 if (oper->ht_param & HT_INFO_HT_PARAM_STA_CHNL_WIDTH) { in get_pri_sec_chan()
168 int sec = oper->ht_param & in get_pri_sec_chan()
251 struct ieee80211_ht_operation *oper; in check_20mhz_bss() local
264 oper = (struct ieee80211_ht_operation *) elems.ht_operation; in check_20mhz_bss()
265 if (oper->ht_param & HT_INFO_HT_PARAM_SECONDARY_CHNL_OFF_MASK) in check_20mhz_bss()

12345