Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 25 of 3601) sorted by relevance

12345678910>>...145

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/pae/
Dieee802_1x_secy_ops.c30 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_protect_frames() local
37 ops = kay->ctx; in secy_cp_control_protect_frames()
38 if (!ops || !ops->enable_protect_frames) { in secy_cp_control_protect_frames()
44 return ops->enable_protect_frames(ops->ctx, enabled); in secy_cp_control_protect_frames()
50 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_encrypt() local
57 ops = kay->ctx; in secy_cp_control_encrypt()
58 if (!ops || !ops->enable_encrypt) { in secy_cp_control_encrypt()
64 return ops->enable_encrypt(ops->ctx, enabled); in secy_cp_control_encrypt()
70 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_replay() local
77 ops = kay->ctx; in secy_cp_control_replay()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/pae/
Dieee802_1x_secy_ops.c30 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_protect_frames() local
37 ops = kay->ctx; in secy_cp_control_protect_frames()
38 if (!ops || !ops->enable_protect_frames) { in secy_cp_control_protect_frames()
44 return ops->enable_protect_frames(ops->ctx, enabled); in secy_cp_control_protect_frames()
50 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_encrypt() local
57 ops = kay->ctx; in secy_cp_control_encrypt()
58 if (!ops || !ops->enable_encrypt) { in secy_cp_control_encrypt()
64 return ops->enable_encrypt(ops->ctx, enabled); in secy_cp_control_encrypt()
70 struct ieee802_1x_kay_ctx *ops; in secy_cp_control_replay() local
77 ops = kay->ctx; in secy_cp_control_replay()
[all …]
/third_party/libnl/lib/
Dcache_mngt.c44 struct nl_cache_ops *ops; in __nl_cache_ops_lookup() local
46 for (ops = cache_ops; ops; ops = ops->co_next) in __nl_cache_ops_lookup()
47 if (!strcmp(ops->co_name, name)) in __nl_cache_ops_lookup()
48 return ops; in __nl_cache_ops_lookup()
57 void nl_cache_ops_get(struct nl_cache_ops *ops) in nl_cache_ops_get() argument
59 ops->co_refcnt++; in nl_cache_ops_get()
66 void nl_cache_ops_put(struct nl_cache_ops *ops) in nl_cache_ops_put() argument
68 ops->co_refcnt--; in nl_cache_ops_put()
82 struct nl_cache_ops *ops; in nl_cache_ops_lookup() local
85 ops = __nl_cache_ops_lookup(name); in nl_cache_ops_lookup()
[all …]
Dobject.c55 struct nl_object *nl_object_alloc(struct nl_object_ops *ops) in nl_object_alloc() argument
59 if (ops->oo_size < sizeof(*new)) in nl_object_alloc()
62 new = calloc(1, ops->oo_size); in nl_object_alloc()
69 new->ce_ops = ops; in nl_object_alloc()
70 if (ops->oo_constructor) in nl_object_alloc()
71 ops->oo_constructor(new); in nl_object_alloc()
87 struct nl_cache_ops *ops; in nl_object_alloc_name() local
89 ops = nl_cache_ops_lookup_safe(kind); in nl_object_alloc_name()
90 if (!ops) in nl_object_alloc_name()
93 *result = nl_object_alloc(ops->co_obj_ops); in nl_object_alloc_name()
[all …]
/third_party/libnl/lib/genl/
Dmngt.c36 static struct genl_cmd *lookup_cmd(struct genl_ops *ops, int cmd_id) in lookup_cmd() argument
41 for (i = 0; i < ops->o_ncmds; i++) { in lookup_cmd()
42 cmd = &ops->o_cmds[i]; in lookup_cmd()
51 struct genl_ops *ops, struct nl_cache_ops *cache_ops, void *arg) in cmd_msg_parser() argument
61 if (!(cmd = lookup_cmd(ops, ghdr->cmd))) in cmd_msg_parser()
72 GENL_HDRSIZE(ops->o_hdrsize), in cmd_msg_parser()
92 static int genl_msg_parser(struct nl_cache_ops *ops, struct sockaddr_nl *who, in genl_msg_parser() argument
95 if (ops->co_genl == NULL) in genl_msg_parser()
98 return cmd_msg_parser(who, nlh, ops->co_genl, ops, pp); in genl_msg_parser()
103 struct genl_ops *ops; in lookup_family() local
[all …]
/third_party/libnl/lib/route/link/
Dapi.c55 struct rtnl_link_info_ops *ops; in __rtnl_link_info_ops_lookup() local
57 nl_list_for_each_entry(ops, &info_ops, io_list) in __rtnl_link_info_ops_lookup()
58 if (!strcmp(ops->io_name, name)) in __rtnl_link_info_ops_lookup()
59 return ops; in __rtnl_link_info_ops_lookup()
79 struct rtnl_link_info_ops *ops; in rtnl_link_info_ops_lookup() local
82 if ((ops = __rtnl_link_info_ops_lookup(name))) in rtnl_link_info_ops_lookup()
83 ops->io_refcnt++; in rtnl_link_info_ops_lookup()
86 return ops; in rtnl_link_info_ops_lookup()
93 void rtnl_link_info_ops_put(struct rtnl_link_info_ops *ops) in rtnl_link_info_ops_put() argument
95 if (ops) in rtnl_link_info_ops_put()
[all …]
/third_party/mindspore/mindspore/lite/tools/optimizer/common/
Dformat_utils.cc74 {ops::kNameAdam, {10}},
75 {ops::kNameApplyMomentum, {4}},
76 {ops::kNameAvgPoolFusion, {1}},
77 {ops::kNameAvgPoolGrad, {}},
78 {ops::kNameBatchNorm, {1}},
79 {ops::kNameBatchNormGrad, {1, 2}},
80 {ops::kNameBatchToSpace, {1}},
81 {ops::kNameBiasAdd, {1}},
82 {ops::kNameBiasAddGrad, {1}},
83 {ops::kNameConv2DBackpropInputFusion, {1}},
[all …]
/third_party/spirv-tools/test/reduce/
Dstructured_loop_to_selection_test.cpp67 const auto ops = StructuredLoopToSelectionReductionOpportunityFinder() in TEST() local
69 ASSERT_EQ(1, ops.size()); in TEST()
71 ASSERT_TRUE(ops[0]->PreconditionHolds()); in TEST()
72 ops[0]->TryToApply(); in TEST()
213 const auto ops = StructuredLoopToSelectionReductionOpportunityFinder() in TEST() local
215 ASSERT_EQ(4, ops.size()); in TEST()
217 ASSERT_TRUE(ops[0]->PreconditionHolds()); in TEST()
218 ops[0]->TryToApply(); in TEST()
315 ASSERT_TRUE(ops[1]->PreconditionHolds()); in TEST()
316 ops[1]->TryToApply(); in TEST()
[all …]
Dconditional_branch_to_simple_conditional_branch_test.cpp82 auto ops = ConditionalBranchToSimpleConditionalBranchOpportunityFinder() in TEST() local
85 ASSERT_EQ(2, ops.size()); in TEST()
87 ASSERT_TRUE(ops[0]->PreconditionHolds()); in TEST()
88 ASSERT_TRUE(ops[1]->PreconditionHolds()); in TEST()
89 ops[0]->TryToApply(); in TEST()
91 ASSERT_FALSE(ops[1]->PreconditionHolds()); in TEST()
127 ops = ConditionalBranchToSimpleConditionalBranchOpportunityFinder() in TEST()
129 ASSERT_EQ(0, ops.size()); in TEST()
136 ops = ConditionalBranchToSimpleConditionalBranchOpportunityFinder() in TEST()
138 ASSERT_EQ(2, ops.size()); in TEST()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/reduce/
Dstructured_loop_to_selection_test.cpp67 const auto ops = StructuredLoopToSelectionReductionOpportunityFinder() in TEST() local
69 ASSERT_EQ(1, ops.size()); in TEST()
71 ASSERT_TRUE(ops[0]->PreconditionHolds()); in TEST()
72 ops[0]->TryToApply(); in TEST()
213 const auto ops = StructuredLoopToSelectionReductionOpportunityFinder() in TEST() local
215 ASSERT_EQ(4, ops.size()); in TEST()
217 ASSERT_TRUE(ops[0]->PreconditionHolds()); in TEST()
218 ops[0]->TryToApply(); in TEST()
315 ASSERT_TRUE(ops[1]->PreconditionHolds()); in TEST()
316 ops[1]->TryToApply(); in TEST()
[all …]
Dconditional_branch_to_simple_conditional_branch_test.cpp82 auto ops = ConditionalBranchToSimpleConditionalBranchOpportunityFinder() in TEST() local
85 ASSERT_EQ(2, ops.size()); in TEST()
87 ASSERT_TRUE(ops[0]->PreconditionHolds()); in TEST()
88 ASSERT_TRUE(ops[1]->PreconditionHolds()); in TEST()
89 ops[0]->TryToApply(); in TEST()
91 ASSERT_FALSE(ops[1]->PreconditionHolds()); in TEST()
127 ops = ConditionalBranchToSimpleConditionalBranchOpportunityFinder() in TEST()
129 ASSERT_EQ(0, ops.size()); in TEST()
136 ops = ConditionalBranchToSimpleConditionalBranchOpportunityFinder() in TEST()
138 ASSERT_EQ(2, ops.size()); in TEST()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/reduce/
Dstructured_loop_to_selection_test.cpp67 const auto ops = StructuredLoopToSelectionReductionOpportunityFinder() in TEST() local
69 ASSERT_EQ(1, ops.size()); in TEST()
71 ASSERT_TRUE(ops[0]->PreconditionHolds()); in TEST()
72 ops[0]->TryToApply(); in TEST()
213 const auto ops = StructuredLoopToSelectionReductionOpportunityFinder() in TEST() local
215 ASSERT_EQ(4, ops.size()); in TEST()
217 ASSERT_TRUE(ops[0]->PreconditionHolds()); in TEST()
218 ops[0]->TryToApply(); in TEST()
315 ASSERT_TRUE(ops[1]->PreconditionHolds()); in TEST()
316 ops[1]->TryToApply(); in TEST()
[all …]
Dconditional_branch_to_simple_conditional_branch_test.cpp82 auto ops = ConditionalBranchToSimpleConditionalBranchOpportunityFinder() in TEST() local
85 ASSERT_EQ(2, ops.size()); in TEST()
87 ASSERT_TRUE(ops[0]->PreconditionHolds()); in TEST()
88 ASSERT_TRUE(ops[1]->PreconditionHolds()); in TEST()
89 ops[0]->TryToApply(); in TEST()
91 ASSERT_FALSE(ops[1]->PreconditionHolds()); in TEST()
127 ops = ConditionalBranchToSimpleConditionalBranchOpportunityFinder() in TEST()
129 ASSERT_EQ(0, ops.size()); in TEST()
136 ops = ConditionalBranchToSimpleConditionalBranchOpportunityFinder() in TEST()
138 ASSERT_EQ(2, ops.size()); in TEST()
[all …]
/third_party/ltp/tools/sparse/sparse-src/validation/backend/
Dfunction-ptr.c96 struct ops { struct
109 void ops(int a, int *p, struct ops *ops); argument
110 void ops(int a, int *p, struct ops *ops) in ops() function
112 ops->fv(); in ops()
114 ops->fb(a); in ops()
115 ops->fi(a); in ops()
116 ops->fl(a); in ops()
117 ops->fb(123); in ops()
118 ops->fi(123); in ops()
119 ops->fl(123); in ops()
[all …]
/third_party/mindspore/mindspore/lite/src/ops/
Dops_utils.cc49 auto ms_primc = GetValueNode<std::shared_ptr<mindspore::ops::Abs>>(node); in AbsPrimitiveCreator()
50 return ms_primc != nullptr ? ops::MSOp2SchemaOp(ms_primc.get()) : nullptr; in AbsPrimitiveCreator()
53 auto ms_primc = GetValueNode<std::shared_ptr<mindspore::ops::AbsGrad>>(node); in AbsGradPrimitiveCreator()
54 return ms_primc != nullptr ? ops::MSOp2SchemaOp(ms_primc.get()) : nullptr; in AbsGradPrimitiveCreator()
57 auto ms_primc = GetValueNode<std::shared_ptr<mindspore::ops::Activation>>(node); in ActivationPrimitiveCreator()
58 return ms_primc != nullptr ? ops::MSOp2SchemaOp(ms_primc.get()) : nullptr; in ActivationPrimitiveCreator()
61 auto ms_primc = GetValueNode<std::shared_ptr<mindspore::ops::ActivationGrad>>(node); in ActivationGradPrimitiveCreator()
62 return ms_primc != nullptr ? ops::MSOp2SchemaOp(ms_primc.get()) : nullptr; in ActivationGradPrimitiveCreator()
65 auto ms_primc = GetValueNode<std::shared_ptr<mindspore::ops::Adam>>(node); in AdamPrimitiveCreator()
66 return ms_primc != nullptr ? ops::MSOp2SchemaOp(ms_primc.get()) : nullptr; in AdamPrimitiveCreator()
[all …]
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_parser.cpp181 auto *ops = stream(instruction); in parse() local
195 set<SPIRString>(ops[0], extract_string(ir.spirv, instruction.offset + 1)); in parse()
200 ir.addressing_model = static_cast<AddressingModel>(ops[0]); in parse()
201 ir.memory_model = static_cast<MemoryModel>(ops[1]); in parse()
206 auto lang = static_cast<SourceLanguage>(ops[0]); in parse()
211 ir.source.version = ops[1]; in parse()
218 ir.source.version = ops[1]; in parse()
240 uint32_t result_type = ops[0]; in parse()
241 uint32_t id = ops[1]; in parse()
244 current_block->ops.push_back(instruction); in parse()
[all …]
/third_party/grpc/src/csharp/ext/
Dgrpc_csharp_ext.c566 const grpc_op* ops,
573 const grpc_op* ops, in grpcsharp_call_start_batch_nop() argument
577 (void)ops; in grpcsharp_call_start_batch_nop()
585 const grpc_op* ops, in grpcsharp_call_start_batch_default() argument
589 return grpc_call_start_batch(call, ops, nops, tag, reserved); in grpcsharp_call_start_batch_default()
596 const grpc_op* ops, in grpcsharp_call_start_batch() argument
599 return g_call_start_batch_func(call, ops, nops, tag, reserved); in grpcsharp_call_start_batch()
607 grpc_op ops[6]; in grpcsharp_call_start_unary() local
608 memset(ops, 0, sizeof(ops)); in grpcsharp_call_start_unary()
609 ops[0].op = GRPC_OP_SEND_INITIAL_METADATA; in grpcsharp_call_start_unary()
[all …]
/third_party/mindspore/mindspore/lite/
DBUILD.gn70 "src/ops/compat/attr_transfer_common.cc",
71 "src/ops/compat/v0/broadcast_to_compat_v0.cc",
72 "src/ops/compat/v0/cast_compat_v0.cc",
73 "src/ops/compat/v0/expand_dims_compat_v0.cc",
74 "src/ops/compat/v0/fill_compat_v0.cc",
75 "src/ops/compat/v0/gather_compat_v0.cc",
76 "src/ops/compat/v0/nchw2nhwc_compat_v0.cc",
77 "src/ops/compat/v0/nhwc2nchw_compat_v0.cc",
78 "src/ops/compat/v0/pad_compat_v0.cc",
79 "src/ops/compat/v0/permute_compat_v0.cc",
[all …]
/third_party/mindspore/mindspore/lite/tools/converter/import/
Dprimitive_adjust.cc79 using mindspore::ops::kNameAdd;
80 using mindspore::ops::kNameAdder;
81 using mindspore::ops::kNameArgMax;
82 using mindspore::ops::kNameArgMin;
83 using mindspore::ops::kNameAvgPool;
84 using mindspore::ops::kNameAvgPoolGrad;
85 using mindspore::ops::kNameBatchNorm;
86 using mindspore::ops::kNameConv2D;
87 using mindspore::ops::kNameConv2DBackpropFilter;
88 using mindspore::ops::kNameConv2DBackpropInput;
[all …]
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_fence.c89 vmw_fence_ops(struct pb_fence_ops *ops) in vmw_fence_ops() argument
91 assert(ops); in vmw_fence_ops()
92 return (struct vmw_fence_ops *)ops; in vmw_fence_ops()
104 vmw_fences_release(struct vmw_fence_ops *ops) in vmw_fences_release() argument
108 mtx_lock(&ops->mutex); in vmw_fences_release()
109 LIST_FOR_EACH_ENTRY_SAFE(fence, n, &ops->not_signaled, ops_list) in vmw_fences_release()
111 mtx_unlock(&ops->mutex); in vmw_fences_release()
130 struct vmw_fence_ops *ops = NULL; in vmw_fences_signal() local
136 ops = vmw_fence_ops(fence_ops); in vmw_fences_signal()
137 mtx_lock(&ops->mutex); in vmw_fences_signal()
[all …]
/third_party/mindspore/mindspore/lite/tools/converter/parser/onnx/
Donnx_arithmetic_operation_parser.cc51 ops::PrimitiveC *OnnxAddParser::Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &on… in Parse()
52 auto prim = std::make_unique<ops::AddFusion>(); in Parse()
57 ops::PrimitiveC *OnnxSubParser::Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &on… in Parse()
58 auto prim = std::make_unique<ops::SubFusion>(); in Parse()
63 ops::PrimitiveC *OnnxDivParser::Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &on… in Parse()
64 auto prim = std::make_unique<ops::DivFusion>(); in Parse()
69 ops::PrimitiveC *OnnxMulParser::Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &on… in Parse()
70 auto prim = std::make_unique<ops::MulFusion>(); in Parse()
75 ops::PrimitiveC *OnnxEqualParser::Parse(const onnx::GraphProto &onnx_graph, const onnx::NodeProto &… in Parse()
76 auto prim = std::make_unique<ops::Equal>(); in Parse()
[all …]
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/auto_parallel/rec_core/
Drec_generate_strategy.cc32 …trategy(const std::shared_ptr<Graph> &graph, const std::vector<std::shared_ptr<OperatorInfo>> &ops, in GenerateStrategy() argument
39 GeneratePartitionedOperatorStrategy(graph, ops, index_list); in GenerateStrategy()
45 …GenerateEliminatedOperatorStrategyForward(graph, ops, input_tensor_names, index_list, no_stra_op_l… in GenerateStrategy()
46 GenerateEliminatedOperatorStrategyBackward(ops, input_tensor_names, no_stra_op_list); in GenerateStrategy()
47 GenerateRemainingOperatorStrategy(graph, ops, input_tensor_names, index_list, no_stra_op_list); in GenerateStrategy()
49 for (auto &op : ops) { in GenerateStrategy()
65 …eMatMul(const std::shared_ptr<Graph> &graph, const std::vector<std::shared_ptr<OperatorInfo>> &ops, in PrepareMatMul() argument
68 auto attrs = ops[iter_ops]->attrs(); in PrepareMatMul()
85 auto shape_1 = ops[iter_ops]->inputs_tensor_info()[0].shape()[0]; in PrepareMatMul()
87 shape_1 = ops[iter_ops]->inputs_tensor_info()[0].shape()[1]; in PrepareMatMul()
[all …]
/third_party/mindspore/tests/ut/python/dataset/
Dtest_mask_op.py23 import mindspore.dataset.transforms.c_transforms as ops namespace
45 data = data.map(operations=ops.Mask(op, constant, dtype))
47 if op == ops.Relational.EQ:
49 elif op == ops.Relational.NE:
51 elif op == ops.Relational.GT:
53 elif op == ops.Relational.GE:
55 elif op == ops.Relational.LT:
57 elif op == ops.Relational.LE:
69 mask_compare([1, 2, 3, 4, 5], ops.Relational.EQ, 3, k)
70 mask_compare([1, 2, 3, 4, 5], ops.Relational.NE, 3, k)
[all …]
/third_party/grpc/test/core/end2end/tests/
Dwrite_buffering_at_end.cc97 grpc_op ops[6]; in test_invoke_request_with_payload() local
121 memset(ops, 0, sizeof(ops)); in test_invoke_request_with_payload()
122 op = ops; in test_invoke_request_with_payload()
126 error = grpc_call_start_batch(c, ops, static_cast<size_t>(op - ops), tag(1), in test_invoke_request_with_payload()
130 memset(ops, 0, sizeof(ops)); in test_invoke_request_with_payload()
131 op = ops; in test_invoke_request_with_payload()
137 error = grpc_call_start_batch(c, ops, static_cast<size_t>(op - ops), tag(2), in test_invoke_request_with_payload()
148 memset(ops, 0, sizeof(ops)); in test_invoke_request_with_payload()
149 op = ops; in test_invoke_request_with_payload()
154 error = grpc_call_start_batch(c, ops, static_cast<size_t>(op - ops), tag(3), in test_invoke_request_with_payload()
[all …]
Dwrite_buffering.cc100 grpc_op ops[6]; in test_invoke_request_with_payload() local
124 memset(ops, 0, sizeof(ops)); in test_invoke_request_with_payload()
125 op = ops; in test_invoke_request_with_payload()
129 error = grpc_call_start_batch(c, ops, static_cast<size_t>(op - ops), tag(1), in test_invoke_request_with_payload()
133 memset(ops, 0, sizeof(ops)); in test_invoke_request_with_payload()
134 op = ops; in test_invoke_request_with_payload()
140 error = grpc_call_start_batch(c, ops, static_cast<size_t>(op - ops), tag(2), in test_invoke_request_with_payload()
151 memset(ops, 0, sizeof(ops)); in test_invoke_request_with_payload()
152 op = ops; in test_invoke_request_with_payload()
157 error = grpc_call_start_batch(c, ops, static_cast<size_t>(op - ops), tag(3), in test_invoke_request_with_payload()
[all …]

12345678910>>...145