Home
last modified time | relevance | path

Searched full:ops (Results 1 – 25 of 8012) sorted by relevance

12345678910>>...321

/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/tensorflow/tensorflow/python/ops/
Dstandard_ops.py17 """Import names of Tensor Flow standard Ops."""
26 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
[all …]
/external/tensorflow/tensorflow/python/ops/risc/
Drisc_grad.py17 from tensorflow.python.framework import ops
20 @ops.RegisterGradient("RiscAbs")
23 # TODO(b/178234771): Implement gradient of RISC with RISC ops.
27 @ops.RegisterGradient("RiscAdd")
30 # TODO(b/178234771): Implement gradient of RISC with RISC ops.
34 @ops.RegisterGradient("RiscBinaryArithmetic")
37 # TODO(b/178234771): Implement gradient of RISC with RISC ops.
41 @ops.RegisterGradient("RiscBinaryComparison")
44 # TODO(b/178234771): Implement gradient of RISC with RISC ops.
48 @ops.RegisterGradient("RiscBitcast")
[all …]
/external/libnl/lib/
Dcache_mngt.c43 struct nl_cache_ops *ops; in __nl_cache_ops_lookup() local
45 for (ops = cache_ops; ops; ops = ops->co_next) in __nl_cache_ops_lookup()
46 if (!strcmp(ops->co_name, name)) in __nl_cache_ops_lookup()
47 return ops; in __nl_cache_ops_lookup()
54 * @arg ops Cache operations
56 void nl_cache_ops_get(struct nl_cache_ops *ops) in nl_cache_ops_get() argument
58 ops->co_refcnt++; in nl_cache_ops_get()
63 * @arg ops Cache operations
65 void nl_cache_ops_put(struct nl_cache_ops *ops) in nl_cache_ops_put() argument
67 ops->co_refcnt--; in nl_cache_ops_put()
[all …]
/external/rust/crates/grpcio-sys/
Dgrpc_wrap.cc491 grpc_op ops[6]; in grpcwrap_call_start_unary() local
492 memset(ops, 0, sizeof(ops)); in grpcwrap_call_start_unary()
493 ops[0].op = GRPC_OP_SEND_INITIAL_METADATA; in grpcwrap_call_start_unary()
495 ops[0].data.send_initial_metadata.count = ctx->send_initial_metadata.count; in grpcwrap_call_start_unary()
496 ops[0].data.send_initial_metadata.metadata = in grpcwrap_call_start_unary()
498 ops[0].flags = initial_metadata_flags; in grpcwrap_call_start_unary()
499 ops[0].reserved = nullptr; in grpcwrap_call_start_unary()
501 ops[1].op = GRPC_OP_SEND_MESSAGE; in grpcwrap_call_start_unary()
503 ops[1].data.send_message.send_message = ctx->send_message; in grpcwrap_call_start_unary()
504 ops[1].flags = write_flags; in grpcwrap_call_start_unary()
[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/genl/
Dmngt.c30 static struct genl_cmd *lookup_cmd(struct genl_ops *ops, int cmd_id) in lookup_cmd() argument
35 for (i = 0; i < ops->o_ncmds; i++) { in lookup_cmd()
36 cmd = &ops->o_cmds[i]; in lookup_cmd()
45 struct genl_ops *ops, struct nl_cache_ops *cache_ops, void *arg) in cmd_msg_parser() argument
55 if (!(cmd = lookup_cmd(ops, ghdr->cmd))) in cmd_msg_parser()
66 GENL_HDRSIZE(ops->o_hdrsize), in cmd_msg_parser()
86 static int genl_msg_parser(struct nl_cache_ops *ops, struct sockaddr_nl *who, in genl_msg_parser() argument
89 if (ops->co_genl == NULL) in genl_msg_parser()
92 return cmd_msg_parser(who, nlh, ops->co_genl, ops, pp); in genl_msg_parser()
97 struct genl_ops *ops; in lookup_family() local
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp764 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(codeAddrSpace, dl), in tryLoad() local
767 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops); in tryLoad()
792 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(codeAddrSpace, dl), in tryLoad() local
795 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops); in tryLoad()
845 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(codeAddrSpace, dl), in tryLoad() local
848 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops); in tryLoad()
897 SDValue Ops[] = { getI32Imm(isVolatile, dl), getI32Imm(codeAddrSpace, dl), in tryLoad() local
900 NVPTXLD = CurDAG->getMachineNode(Opcode, dl, TargetVT, MVT::Other, Ops); in tryLoad()
1029 SDValue Ops[] = { getI32Imm(IsVolatile, DL), getI32Imm(CodeAddrSpace, DL), in tryLoadVector() local
1032 LD = CurDAG->getMachineNode(Opcode, DL, N->getVTList(), Ops); in tryLoadVector()
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_control_flow_test.cc20 #include "tensorflow/cc/framework/ops.h"
21 #include "tensorflow/cc/ops/control_flow_ops_internal.h"
22 #include "tensorflow/cc/ops/function_ops.h"
23 #include "tensorflow/cc/ops/functional_ops.h"
24 #include "tensorflow/cc/ops/resource_variable_ops.h"
25 #include "tensorflow/cc/ops/standard_ops.h"
26 #include "tensorflow/compiler/tf2xla/cc/ops/xla_ops.h"
110 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()
[all …]
/external/avb/rust/tests/
Dverify_tests.rs37 let mut ops = build_test_ops_one_image_one_vbmeta(); in build_test_ops_two_images_one_vbmeta() localVariable
40 ops.add_partition(TEST_PARTITION_2_NAME, fs::read(TEST_IMAGE_PATH).unwrap()); in build_test_ops_two_images_one_vbmeta()
41 ops.add_partition("vbmeta", fs::read(TEST_VBMETA_2_PARTITIONS_PATH).unwrap()); in build_test_ops_two_images_one_vbmeta()
42 ops in build_test_ops_two_images_one_vbmeta()
46 fn verify_two_images<'a>(ops: &mut TestOps<'a>) -> SlotVerifyResult<'a, SlotVerifyData<'a>> { in verify_two_images()
48 ops, in verify_two_images()
62 let mut ops = build_test_ops_one_image_one_vbmeta(); in build_test_ops_boot_partition() localVariable
63 ops.partitions.clear(); in build_test_ops_boot_partition()
64 ops.add_partition( in build_test_ops_boot_partition()
68 ops in build_test_ops_boot_partition()
[all …]
Dcert_tests.rs39 let mut ops = build_test_ops_one_image_one_vbmeta(); in build_test_cert_ops_one_image_one_vbmeta() localVariable
42 ops.add_partition("vbmeta", fs::read(TEST_CERT_VBMETA_PATH).unwrap()); in build_test_cert_ops_one_image_one_vbmeta()
44 // Tell `ops` to use cert APIs and to route the default key through cert validation. in build_test_cert_ops_one_image_one_vbmeta()
45 ops.use_cert = true; in build_test_cert_ops_one_image_one_vbmeta()
46 ops.default_vbmeta_key = Some(FakeVbmetaKey::Cert); in build_test_cert_ops_one_image_one_vbmeta()
50 ops.cert_permanent_attributes = in build_test_cert_ops_one_image_one_vbmeta()
52 ops.cert_permanent_attributes_hash = Some( in build_test_cert_ops_one_image_one_vbmeta()
60 ops.rollbacks in build_test_cert_ops_one_image_one_vbmeta()
62 ops.rollbacks in build_test_cert_ops_one_image_one_vbmeta()
67 ops.cert_fake_rng = fs::read(TEST_CERT_UNLOCK_CHALLENGE_RNG_PATH).unwrap(); in build_test_cert_ops_one_image_one_vbmeta()
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmodel_pruner_test.cc18 #include "tensorflow/cc/ops/array_ops.h"
19 #include "tensorflow/cc/ops/no_op.h"
20 #include "tensorflow/cc/ops/standard_ops.h"
54 // Build a simple graph with a few trivially prunable ops. in TEST_F()
59 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()
[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/libnl/lib/route/link/
Dapi.c52 struct rtnl_link_info_ops *ops; in __rtnl_link_info_ops_lookup() local
54 nl_list_for_each_entry(ops, &info_ops, io_list) in __rtnl_link_info_ops_lookup()
55 if (!strcmp(ops->io_name, name)) in __rtnl_link_info_ops_lookup()
56 return ops; in __rtnl_link_info_ops_lookup()
76 struct rtnl_link_info_ops *ops; in rtnl_link_info_ops_lookup() local
79 if ((ops = __rtnl_link_info_ops_lookup(name))) in rtnl_link_info_ops_lookup()
80 ops->io_refcnt++; in rtnl_link_info_ops_lookup()
83 return ops; in rtnl_link_info_ops_lookup()
88 * @arg ops Link info operations.
90 void rtnl_link_info_ops_get(struct rtnl_link_info_ops *ops) in rtnl_link_info_ops_get() argument
[all …]
/external/rust/crates/ring/src/ec/suite_b/
Dops.rs38 // `ops.num_limbs` elements are the X coordinate, the next
39 // `ops.num_limbs` elements are the Y coordinate, and the next
40 // `ops.num_limbs` elements are the Z coordinate. This layout is dictated
313 pub fn elem_reduced_to_scalar(ops: &CommonOps, elem: &Elem<Unencoded>) -> Scalar<Unencoded> { in elem_reduced_to_scalar()
314 let num_limbs = ops.num_limbs; in elem_reduced_to_scalar()
316 limbs_reduce_once_constant_time(&mut r_limbs[..num_limbs], &ops.n.limbs[..num_limbs]); in elem_reduced_to_scalar()
324 pub fn scalar_sum(ops: &CommonOps, a: &Scalar, b: &Scalar) -> Scalar { in scalar_sum()
331 ops.n.limbs.as_ptr(), in scalar_sum()
332 ops.num_limbs, in scalar_sum()
339 fn elem_sqr_mul(ops: &CommonOps, a: &Elem<R>, squarings: usize, b: &Elem<R>) -> Elem<R> { in elem_sqr_mul()
[all …]
/external/rust/crates/gdbstub/src/stub/core_impl/
Dextended_mode.rs15 let ops = match target.support_extended_mode() { in handle_extended_mode() localVariable
16 Some(ops) => ops, in handle_extended_mode()
24 ops.on_start().map_err(Error::TargetError)?; in handle_extended_mode()
28 ops.restart().map_err(Error::TargetError)?; in handle_extended_mode()
32 if ops.support_current_active_pid().is_none() { in handle_extended_mode()
36 ops.attach(cmd.pid).handle_error()?; in handle_extended_mode()
39 ExtendedMode::qC(_cmd) if ops.support_current_active_pid().is_some() => { in handle_extended_mode()
40 let ops = ops.support_current_active_pid().unwrap(); in handle_extended_mode() localVariable
43 let pid = ops.current_active_pid().map_err(Error::TargetError)?; in handle_extended_mode()
46 BaseOps::MultiThread(ops) => { in handle_extended_mode()
[all …]
Dhost_io.rs14 let ops = match target.support_host_io() { in handle_host_io() localVariable
15 Some(ops) => ops, in handle_host_io()
35 HostIo::vFileOpen(cmd) if ops.support_open().is_some() => { in handle_host_io()
36 let ops = ops.support_open().unwrap(); in handle_host_io() localVariable
38 if let Ok(fd) = ops.open(cmd.filename, cmd.flags, cmd.mode) => { in handle_host_io()
45 HostIo::vFileClose(cmd) if ops.support_close().is_some() => { in handle_host_io()
46 let ops = ops.support_close().unwrap(); in handle_host_io() localVariable
48 if let Ok(()) = ops.close(cmd.fd) => { in handle_host_io()
54 HostIo::vFilePread(cmd) if ops.support_pread().is_some() => { in handle_host_io()
55 let ops = ops.support_pread().unwrap(); in handle_host_io() localVariable
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Ddeadness_analysis_test.cc18 #include "tensorflow/cc/framework/ops.h"
19 #include "tensorflow/cc/ops/array_ops.h"
20 #include "tensorflow/cc/ops/control_flow_ops_internal.h"
21 #include "tensorflow/cc/ops/function_ops.h"
22 #include "tensorflow/cc/ops/sendrecv_ops.h"
23 #include "tensorflow/cc/ops/standard_ops.h"
64 ops::Switch CreateSwitch(const Scope& root, const string& prefix) { in CreateSwitch()
65 Output value = ops::Placeholder(root.WithOpName(prefix + "/value"), DT_FLOAT); in CreateSwitch()
67 ops::Placeholder(root.WithOpName(prefix + "/pred"), DT_BOOL); in CreateSwitch()
68 return ops::Switch(root.WithOpName(prefix + "/switch"), value, predicate); in CreateSwitch()
[all …]
Dencapsulate_xla_computations_pass_test.cc18 #include "tensorflow/cc/ops/function_ops.h"
19 #include "tensorflow/cc/ops/resource_variable_ops.h"
20 #include "tensorflow/cc/ops/standard_ops.h"
24 #include "tensorflow/compiler/tf2xla/cc/ops/xla_jit_ops.h"
42 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()
[all …]
Dpartially_decluster_pass_test.cc19 #include "tensorflow/cc/framework/ops.h"
20 #include "tensorflow/cc/ops/array_ops.h"
21 #include "tensorflow/cc/ops/const_op.h"
22 #include "tensorflow/cc/ops/control_flow_ops_internal.h"
23 #include "tensorflow/cc/ops/function_ops.h"
24 #include "tensorflow/cc/ops/sendrecv_ops.h"
25 #include "tensorflow/cc/ops/standard_ops.h"
29 #include "tensorflow/compiler/tf2xla/cc/ops/xla_ops.h"
130 ops::SourceOp("FakeNullary", builder.opts().WithName("Input")); in TEST()
132 ops::BinaryOp("FakeBinary", input, input, in TEST()
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client_test.py47 ops = xla_client.ops variable
141 p0 = ops.Parameter(builder, 0, xla_client.shape_from_pyval(np.float32(0)))
142 p1 = ops.Parameter(
144 x = ops.Mul(p0, p1)
145 ops.Add(x, x)
199 """Tests focusing on Constant ops."""
209 ops.Add(ops.Constant(c, dtype(1.11)), ops.Constant(c, dtype(3.14)))
218 ops.Mul(
219 ops.Constant(c, np.array([2.5, 3.3, -1.2, 0.7], dtype)),
220 ops.Constant(c, np.array([-1.2, 2, -2, -3], dtype)))
[all …]
/external/libtextclassifier/native/utils/
Dtflite-model-executor.cc23 // Forward declaration of custom TensorFlow Lite ops for registration.
25 namespace ops { namespace
87 } // namespace ops
99 namespace ops { namespace
106 } // namespace ops
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()
[all …]
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
DBUILD15 "//tensorflow/python/data/experimental/ops:cardinality",
18 "//tensorflow/python/data/ops:dataset_ops",
30 "//tensorflow/python/data/experimental/ops:testing",
32 "//tensorflow/python/data/ops:dataset_ops",
43 "//tensorflow/python/data/experimental/ops:testing",
45 "//tensorflow/python/data/ops:dataset_ops",
56 "//tensorflow/python/data/experimental/ops:distribute",
57 "//tensorflow/python/data/experimental/ops:readers",
58 "//tensorflow/python/data/experimental/ops:testing",
62 "//tensorflow/python/data/ops:dataset_ops",
[all …]
/external/clang/lib/CodeGen/
DCGBuiltin.cpp2572 Value *CodeGenFunction::EmitNeonCall(Function *F, SmallVectorImpl<Value*> &Ops, in EmitNeonCall() argument
2579 Ops[j] = EmitNeonShiftVector(Ops[j], ai->getType(), rightshift); in EmitNeonCall()
2581 Ops[j] = Builder.CreateBitCast(Ops[j], ai->getType(), name); in EmitNeonCall()
2583 return Builder.CreateCall(F, Ops, name); in EmitNeonCall()
3273 SmallVectorImpl<Value *> &Ops, in EmitCommonNeonSISDBuiltinExpr() argument
3296 std::swap(Ops[0], Ops[1]); in EmitCommonNeonSISDBuiltinExpr()
3312 if (Ops[j]->getType()->getPrimitiveSizeInBits() == in EmitCommonNeonSISDBuiltinExpr()
3316 assert(ArgTy->isVectorTy() && !Ops[j]->getType()->isVectorTy()); in EmitCommonNeonSISDBuiltinExpr()
3319 Ops[j] = in EmitCommonNeonSISDBuiltinExpr()
3320 CGF.Builder.CreateTruncOrBitCast(Ops[j], ArgTy->getVectorElementType()); in EmitCommonNeonSISDBuiltinExpr()
[all …]

12345678910>>...321