Home
last modified time | relevance | path

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

12345678910>>...188

/external/wpa_supplicant_8/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 …]
/external/libnl/lib/
Dcache_mngt.c37 struct nl_cache_ops *ops; in __nl_cache_ops_lookup() local
39 for (ops = cache_ops; ops; ops = ops->co_next) in __nl_cache_ops_lookup()
40 if (!strcmp(ops->co_name, name)) in __nl_cache_ops_lookup()
41 return ops; in __nl_cache_ops_lookup()
50 void nl_cache_ops_get(struct nl_cache_ops *ops) in nl_cache_ops_get() argument
52 ops->co_refcnt++; in nl_cache_ops_get()
59 void nl_cache_ops_put(struct nl_cache_ops *ops) in nl_cache_ops_put() argument
61 ops->co_refcnt--; in nl_cache_ops_put()
75 struct nl_cache_ops *ops; in nl_cache_ops_lookup() local
78 ops = __nl_cache_ops_lookup(name); in nl_cache_ops_lookup()
[all …]
Dobject.c48 struct nl_object *nl_object_alloc(struct nl_object_ops *ops) in nl_object_alloc() argument
52 if (ops->oo_size < sizeof(*new)) in nl_object_alloc()
55 new = calloc(1, ops->oo_size); in nl_object_alloc()
62 new->ce_ops = ops; in nl_object_alloc()
63 if (ops->oo_constructor) in nl_object_alloc()
64 ops->oo_constructor(new); in nl_object_alloc()
80 struct nl_cache_ops *ops; in nl_object_alloc_name() local
82 ops = nl_cache_ops_lookup_safe(kind); in nl_object_alloc_name()
83 if (!ops) in nl_object_alloc_name()
86 *result = nl_object_alloc(ops->co_obj_ops); in nl_object_alloc_name()
[all …]
/external/tensorflow/tensorflow/python/ops/
Dstandard_ops.py26 from tensorflow.python.ops import array_grad
27 from tensorflow.python.ops import cudnn_rnn_grad
28 from tensorflow.python.ops import data_flow_grad
29 from tensorflow.python.ops import manip_grad
30 from tensorflow.python.ops import math_grad
31 from tensorflow.python.ops import random_grad
32 from tensorflow.python.ops import rnn_grad
33 from tensorflow.python.ops import sparse_grad
34 from tensorflow.python.ops import state_grad
35 from tensorflow.python.ops import tensor_array_grad
[all …]
Dtensor_array_grad.py16 from tensorflow.python.framework import ops
17 from tensorflow.python.ops import array_ops
18 from tensorflow.python.ops import tensor_array_ops
22 ops.NotDifferentiable("TensorArray")
23 ops.NotDifferentiable("TensorArrayGrad")
24 ops.NotDifferentiable("TensorArraySize")
25 ops.NotDifferentiable("TensorArrayClose")
27 ops.NotDifferentiable("TensorArrayV2")
28 ops.NotDifferentiable("TensorArrayGradV2")
29 ops.NotDifferentiable("TensorArraySizeV2")
[all …]
/external/libnl/lib/genl/
Dmngt.c29 static struct genl_cmd *lookup_cmd(struct genl_ops *ops, int cmd_id) in lookup_cmd() argument
34 for (i = 0; i < ops->o_ncmds; i++) { in lookup_cmd()
35 cmd = &ops->o_cmds[i]; in lookup_cmd()
44 struct genl_ops *ops, struct nl_cache_ops *cache_ops, void *arg) in cmd_msg_parser() argument
54 if (!(cmd = lookup_cmd(ops, ghdr->cmd))) in cmd_msg_parser()
65 GENL_HDRSIZE(ops->o_hdrsize), in cmd_msg_parser()
85 static int genl_msg_parser(struct nl_cache_ops *ops, struct sockaddr_nl *who, in genl_msg_parser() argument
88 if (ops->co_genl == NULL) in genl_msg_parser()
91 return cmd_msg_parser(who, nlh, ops->co_genl, ops, pp); in genl_msg_parser()
96 struct genl_ops *ops; in lookup_family() local
[all …]
/external/tensorflow/tensorflow/python/ops/risc/
Drisc_grad.py17 from tensorflow.python.framework import ops
20 @ops.RegisterGradient("RiscAbs")
27 @ops.RegisterGradient("RiscAdd")
34 @ops.RegisterGradient("RiscBinaryArithmetic")
41 @ops.RegisterGradient("RiscBinaryComparison")
48 @ops.RegisterGradient("RiscBitcast")
55 @ops.RegisterGradient("RiscBroadcast")
62 @ops.RegisterGradient("RiscCast")
69 @ops.RegisterGradient("RiscCholesky")
76 @ops.RegisterGradient("RiscCeil")
[all …]
/external/rust/crates/grpcio-sys/
Dgrpc_wrap.cc475 grpc_op ops[6]; in grpcwrap_call_start_unary() local
476 memset(ops, 0, sizeof(ops)); in grpcwrap_call_start_unary()
477 ops[0].op = GRPC_OP_SEND_INITIAL_METADATA; in grpcwrap_call_start_unary()
479 ops[0].data.send_initial_metadata.count = ctx->send_initial_metadata.count; in grpcwrap_call_start_unary()
480 ops[0].data.send_initial_metadata.metadata = in grpcwrap_call_start_unary()
482 ops[0].flags = initial_metadata_flags; in grpcwrap_call_start_unary()
483 ops[0].reserved = nullptr; in grpcwrap_call_start_unary()
485 ops[1].op = GRPC_OP_SEND_MESSAGE; in grpcwrap_call_start_unary()
487 ops[1].data.send_message.send_message = ctx->send_message; in grpcwrap_call_start_unary()
488 ops[1].flags = write_flags; in grpcwrap_call_start_unary()
[all …]
/external/tensorflow/tensorflow/c/experimental/filesystem/
Dmodular_filesystem_registration.cc52 static Status ValidateABI(const TF_FilesystemPluginOps* ops) { in ValidateABI() argument
54 CheckABI(ops->filesystem_ops_abi, TF_FILESYSTEM_OPS_ABI, "filesystem")); in ValidateABI()
56 if (ops->random_access_file_ops != nullptr) in ValidateABI()
57 TF_RETURN_IF_ERROR(CheckABI(ops->random_access_file_ops_abi, in ValidateABI()
61 if (ops->writable_file_ops != nullptr) in ValidateABI()
62 TF_RETURN_IF_ERROR(CheckABI(ops->writable_file_ops_abi, in ValidateABI()
65 if (ops->read_only_memory_region_ops != nullptr) in ValidateABI()
66 TF_RETURN_IF_ERROR(CheckABI(ops->read_only_memory_region_ops_abi, in ValidateABI()
85 static void ValidateAPI(const TF_FilesystemPluginOps* ops) { in ValidateAPI() argument
86 CheckAPI(ops->filesystem_ops_api, TF_FILESYSTEM_OPS_API, "filesystem"); in ValidateAPI()
[all …]
/external/golang-protobuf/encoding/protowire/
Dwire_test.go102 ops []interface{} talias
116 appendOps: ops{appendRaw(dhex(""))},
117 consumeOps: ops{consumeTag{wantErr: io.ErrUnexpectedEOF}},
119 appendOps: ops{appendTag{inNum: 0, inType: Fixed32Type}},
121 consumeOps: ops{consumeTag{wantErr: errFieldNumber}},
123 appendOps: ops{appendTag{inNum: 1, inType: Fixed32Type}},
125 consumeOps: ops{consumeTag{wantNum: 1, wantType: Fixed32Type, wantCnt: 1}},
127 appendOps: ops{appendTag{inNum: FirstReservedNumber, inType: BytesType}},
129 consumeOps: ops{consumeTag{wantNum: FirstReservedNumber, wantType: BytesType, wantCnt: 3}},
131 appendOps: ops{appendTag{inNum: LastReservedNumber, inType: StartGroupType}},
[all …]
/external/tensorflow/tensorflow/python/data/experimental/
D__init__.py97 from tensorflow.python.data.experimental.ops.batching import dense_to_ragged_batch
98 from tensorflow.python.data.experimental.ops.batching import dense_to_sparse_batch
99 from tensorflow.python.data.experimental.ops.batching import map_and_batch
100 from tensorflow.python.data.experimental.ops.batching import map_and_batch_with_legacy_function
101 from tensorflow.python.data.experimental.ops.batching import unbatch
102 from tensorflow.python.data.experimental.ops.cardinality import assert_cardinality
103 from tensorflow.python.data.experimental.ops.cardinality import cardinality
104 from tensorflow.python.data.experimental.ops.cardinality import INFINITE as INFINITE_CARDINALITY
105 from tensorflow.python.data.experimental.ops.cardinality import UNKNOWN as UNKNOWN_CARDINALITY
106 from tensorflow.python.data.experimental.ops.counter import Counter
[all …]
/external/libnl/lib/route/link/
Dapi.c49 struct rtnl_link_info_ops *ops; in __rtnl_link_info_ops_lookup() local
51 nl_list_for_each_entry(ops, &info_ops, io_list) in __rtnl_link_info_ops_lookup()
52 if (!strcmp(ops->io_name, name)) in __rtnl_link_info_ops_lookup()
53 return ops; in __rtnl_link_info_ops_lookup()
73 struct rtnl_link_info_ops *ops; in rtnl_link_info_ops_lookup() local
76 if ((ops = __rtnl_link_info_ops_lookup(name))) in rtnl_link_info_ops_lookup()
77 ops->io_refcnt++; in rtnl_link_info_ops_lookup()
80 return ops; in rtnl_link_info_ops_lookup()
87 void rtnl_link_info_ops_get(struct rtnl_link_info_ops *ops) in rtnl_link_info_ops_get() argument
89 if (!ops) in rtnl_link_info_ops_get()
[all …]
/external/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 …]
/external/deqp-deps/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 …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/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 …]
/external/grpc-grpc/src/csharp/ext/
Dgrpc_csharp_ext.c531 const grpc_op* ops,
538 const grpc_op* ops, in grpcsharp_call_start_batch_nop() argument
545 const grpc_op* ops, in grpcsharp_call_start_batch_default() argument
549 return grpc_call_start_batch(call, ops, nops, tag, reserved); in grpcsharp_call_start_batch_default()
556 const grpc_op* ops, in grpcsharp_call_start_batch() argument
559 return g_call_start_batch_func(call, ops, nops, tag, reserved); in grpcsharp_call_start_batch()
567 grpc_op ops[6]; in grpcsharp_call_start_unary() local
568 memset(ops, 0, sizeof(ops)); in grpcsharp_call_start_unary()
569 ops[0].op = GRPC_OP_SEND_INITIAL_METADATA; in grpcsharp_call_start_unary()
572 ops[0].data.send_initial_metadata.count = ctx->send_initial_metadata.count; in grpcsharp_call_start_unary()
[all …]
/external/rust/crates/gdbstub/src/stub/core_impl/
Dextended_mode.rs11 let ops = match target.support_extended_mode() { in handle_extended_mode() localVariable
12 Some(ops) => ops, in handle_extended_mode()
20 ops.on_start().map_err(Error::TargetError)?; in handle_extended_mode()
24 ops.restart().map_err(Error::TargetError)?; in handle_extended_mode()
28 ops.attach(cmd.pid).handle_error()?; in handle_extended_mode()
36 let _pid = ops in handle_extended_mode()
46 ExtendedMode::QDisableRandomization(cmd) if ops.support_configure_aslr().is_some() => { in handle_extended_mode()
47 let ops = ops.support_configure_aslr().unwrap(); in handle_extended_mode() localVariable
48 ops.cfg_aslr(cmd.value).handle_error()?; in handle_extended_mode()
52 ExtendedMode::QEnvironmentHexEncoded(cmd) if ops.support_configure_env().is_some() => { in handle_extended_mode()
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_control_flow_test.cc110 auto x = ops::Placeholder(scope.WithOpName("x"), DT_INT32); in BuildCondGraph()
111 auto y = ops::Placeholder(scope.WithOpName("y"), DT_INT32); in BuildCondGraph()
112 auto less = ops::Less(scope.WithOpName("cond/Less"), y, x); in BuildCondGraph()
113 auto switch_1 = ops::Switch(scope.WithOpName("cond/Switch"), less, less); in BuildCondGraph()
116 ops::Identity(scope.WithOpName("cond/Identity"), switch_1.output_true); in BuildCondGraph()
117 auto seventeen = ops::Const<int32>( in BuildCondGraph()
119 auto switch_2 = ops::Switch(scope.WithOpName("cond/Switch"), y, less); in BuildCondGraph()
120 auto mul = ops::Multiply(scope.WithOpName("cond/Mul"), switch_2.output_true, in BuildCondGraph()
124 ops::Identity(scope.WithOpName("cond/Identity"), switch_1.output_false); in BuildCondGraph()
125 auto twenty_three = ops::Const<int32>( in BuildCondGraph()
[all …]
/external/rust/crates/ring/src/ec/suite_b/
Dprivate_key.rs18 use super::{ops::*, verify_affine_point_is_on_the_curve};
28 ops: &PrivateKeyOps, in random_scalar()
31 let num_limbs = ops.common.num_limbs; in random_scalar()
34 generate_private_scalar_bytes(ops, rng, bytes)?; in random_scalar()
35 scalar_from_big_endian_bytes(ops, bytes) in random_scalar()
39 ops: &PrivateKeyOps, in generate_private_scalar_bytes()
75 if check_scalar_big_endian_bytes(ops, candidate).is_err() { in generate_private_scalar_bytes()
93 pub fn private_key_as_scalar(ops: &PrivateKeyOps, private_key: &ec::Seed) -> Scalar { in private_key_as_scalar()
95 scalar_from_big_endian_bytes(ops, private_key.bytes_less_safe()).unwrap() in private_key_as_scalar()
99 ops: &PrivateKeyOps, in check_scalar_big_endian_bytes()
[all …]
/external/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 …]
/external/libtextclassifier/native/utils/
Dtflite-model-executor.cc25 namespace ops { namespace
99 namespace ops { namespace
111 tflite::ops::builtin::Register_ADD(), in RegisterSelectedOps()
115 tflite::ops::builtin::Register_CONCATENATION(), in RegisterSelectedOps()
119 tflite::ops::builtin::Register_CONV_2D(), in RegisterSelectedOps()
123 tflite::ops::builtin::Register_DEPTHWISE_CONV_2D(), in RegisterSelectedOps()
127 tflite::ops::builtin::Register_AVERAGE_POOL_2D(), in RegisterSelectedOps()
131 ::tflite::ops::builtin::Register_EQUAL()); in RegisterSelectedOps()
134 tflite::ops::builtin::Register_FULLY_CONNECTED(), in RegisterSelectedOps()
138 ::tflite::ops::builtin::Register_GREATER_EQUAL()); in RegisterSelectedOps()
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Dencapsulate_xla_computations_pass_test.cc42 auto a = ops::Placeholder(scope.WithOpName("A"), DT_INT32); in MakeOuterGraph()
43 auto b = ops::Placeholder(scope.WithOpName("B"), DT_FLOAT); in MakeOuterGraph()
44 auto c = ops::Placeholder(scope.WithOpName("C"), DT_INT32); in MakeOuterGraph()
45 auto d = ops::Placeholder(scope.WithOpName("D"), DT_FLOAT); in MakeOuterGraph()
46 auto u = ops::Placeholder(scope.WithOpName("U"), DT_RESOURCE); in MakeOuterGraph()
47 auto v = ops::Placeholder(scope.WithOpName("V"), DT_RESOURCE); in MakeOuterGraph()
48 auto w = ops::Placeholder(scope.WithOpName("W"), DT_RESOURCE); in MakeOuterGraph()
77 ops::XlaClusterOutput(scope.WithOpName("Out0"), Output(launch, 0)); in MakeOuterGraph()
79 ops::XlaClusterOutput(scope.WithOpName("Out1"), Output(launch, 1)); in MakeOuterGraph()
81 ops::XlaClusterOutput(scope.WithOpName("Out2"), Output(launch, 2)); in MakeOuterGraph()
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmodel_pruner_test.cc59 Output a = ops::Const(s.WithOpName("a"), 0.0f, {10, 10}); in TEST_F()
60 Output b = ops::Sqrt(s.WithOpName("b"), {a}); in TEST_F()
61 Output c = ops::StopGradient(s.WithOpName("c"), b); in TEST_F()
62 Output d = ops::StopGradient(s.WithOpName("d"), c); in TEST_F()
63 Output e = ops::Sqrt(s.WithOpName("e"), {d}); in TEST_F()
76 Output a = ops::Const(s.WithOpName("a"), 0.0f, {10, 10}); in TEST_F()
77 Output b = ops::Sqrt(s.WithOpName("b"), {a}); in TEST_F()
78 Output c = ops::StopGradient(s.WithOpName("c"), b); in TEST_F()
79 Output d = ops::StopGradient(s.WithOpName("d"), b); in TEST_F()
80 Output e = ops::Sqrt(s.WithOpName("e"), {b}); in TEST_F()
[all …]
/external/tensorflow/tensorflow/python/ops/signal/
Dsignal.py38 from tensorflow.python.ops.signal.dct_ops import dct
39 from tensorflow.python.ops.signal.fft_ops import fft
40 from tensorflow.python.ops.signal.fft_ops import fft2d
41 from tensorflow.python.ops.signal.fft_ops import fft3d
42 from tensorflow.python.ops.signal.fft_ops import fftshift
43 from tensorflow.python.ops.signal.fft_ops import rfft
44 from tensorflow.python.ops.signal.fft_ops import rfft2d
45 from tensorflow.python.ops.signal.fft_ops import rfft3d
46 from tensorflow.python.ops.signal.dct_ops import idct
47 from tensorflow.python.ops.signal.fft_ops import ifft
[all …]
/external/tensorflow/tensorflow/python/profiler/internal/
Dflops_registry.py18 from tensorflow.python.framework import ops
45 return ops.OpStats("flops", 0)
64 return ops.OpStats("flops", in_shape.num_elements() * ops_per_element)
67 @ops.RegisterStatistics("Reciprocal", "flops")
73 @ops.RegisterStatistics("Square", "flops")
79 @ops.RegisterStatistics("Rsqrt", "flops")
86 @ops.RegisterStatistics("Log", "flops")
92 @ops.RegisterStatistics("Neg", "flops")
98 @ops.RegisterStatistics("AssignSub", "flops")
104 @ops.RegisterStatistics("AssignAdd", "flops")
[all …]

12345678910>>...188