| /external/wpa_supplicant_8/src/pae/ |
| D | ieee802_1x_secy_ops.c | 30 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/ |
| D | standard_ops.py | 17 """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/ |
| D | risc_grad.py | 17 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/ |
| D | cache_mngt.c | 37 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() 48 * @arg ops Cache operations 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() 57 * @arg ops Cache operations 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() [all …]
|
| /external/rust/crates/grpcio-sys/ |
| D | grpc_wrap.cc | 475 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/golang-protobuf/encoding/protowire/ |
| D | wire_test.go | 102 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__.py | 97 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/ |
| D | mngt.c | 29 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/grpc-grpc/src/csharp/ext/ |
| D | grpc_csharp_ext.c | 531 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/llvm/lib/Target/NVPTX/ |
| D | NVPTXISelDAGToDAG.cpp | 764 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/ |
| D | functionalize_control_flow_test.cc | 20 #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/tensorflow/tensorflow/core/grappler/optimizers/ |
| D | model_pruner_test.cc | 18 #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/ |
| D | modular_filesystem_registration.cc | 52 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/ |
| D | api.c | 49 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() 85 * @arg ops Link info operations. 87 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/ |
| D | ops.rs | 38 // `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/tensorflow/tensorflow/compiler/jit/ |
| D | deadness_analysis_test.cc | 18 #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 …]
|
| D | encapsulate_xla_computations_pass_test.cc | 18 #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 …]
|
| D | partially_decluster_pass_test.cc | 19 #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/ |
| D | xla_client_test.py | 47 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/rust/crates/gdbstub/src/stub/core_impl/ |
| D | extended_mode.rs | 11 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/libtextclassifier/native/utils/ |
| D | tflite-model-executor.cc | 23 // 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/grpc-grpc/test/core/end2end/tests/ |
| D | write_buffering_at_end.cc | 97 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 …]
|
| /external/clang/lib/CodeGen/ |
| D | CGBuiltin.cpp | 2572 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 …]
|
| /external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
| D | BUILD | 15 "//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/tensorflow/tensorflow/python/saved_model/ |
| D | saved_model_test.py | 26 from tensorflow.python.framework import ops 30 from tensorflow.python.ops import control_flow_ops 31 from tensorflow.python.ops import math_ops 32 from tensorflow.python.ops import state_ops 33 from tensorflow.python.ops import variable_scope 34 from tensorflow.python.ops import variables 35 from tensorflow.python.ops.ragged import ragged_factory_ops 76 ops.add_to_collection(ops.GraphKeys.ASSET_FILEPATHS, asset_file_tensor) 77 asset_collection = ops.get_collection(ops.GraphKeys.ASSET_FILEPATHS) 123 with self.session(graph=ops.Graph()) as sess: [all …]
|