Home
last modified time | relevance | path

Searched refs:op_ (Results 1 – 25 of 39) sorted by relevance

12

/external/grpc-grpc/src/cpp/common/
Dchannel_filter.h111 explicit TransportOp(grpc_transport_op* op) : op_(op) {} in TransportOp()
113 grpc_transport_op* op() const { return op_; } in op()
117 return op_->disconnect_with_error; in disconnect_with_error()
119 bool send_goaway() const { return op_->goaway_error != GRPC_ERROR_NONE; } in send_goaway()
124 grpc_transport_op* op_; // Not owned.
134 : op_(op), in TransportStreamOpBatch()
152 grpc_transport_stream_op_batch* op() const { return op_; } in op()
154 grpc_closure* on_complete() const { return op_->on_complete; } in on_complete()
155 void set_on_complete(grpc_closure* closure) { op_->on_complete = closure; } in set_on_complete()
158 return op_->send_initial_metadata ? &send_initial_metadata_ : nullptr; in send_initial_metadata()
[all …]
/external/python/pybind11/include/pybind11/
Doperators.h53 template <op_id id, op_type ot, typename L, typename R> struct op_ { struct
81 template <typename B, typename L, typename R> struct op_impl<op_##id, op_l, B, L, R> { \ argument
86 template <typename B, typename L, typename R> struct op_impl<op_##id, op_r, B, L, R> { \
91 inline op_<op_##id, op_l, self_t, self_t> op(const self_t &, const self_t &) { \
92 return op_<op_##id, op_l, self_t, self_t>(); \
94 template <typename T> op_<op_##id, op_l, self_t, T> op(const self_t &, const T &) { \
95 return op_<op_##id, op_l, self_t, T>(); \
97 template <typename T> op_<op_##id, op_r, T, self_t> op(const T &, const self_t &) { \
98 return op_<op_##id, op_r, T, self_t>(); \
102 template <typename B, typename L, typename R> struct op_impl<op_##id, op_l, B, L, R> { \
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dragged_tensor_to_tensor_op_test.cc510 std::unique_ptr<ShapeInferenceTestOp> op_; member in tensorflow::__anon2b17778c0111::RaggedTensorToTensorOpUnknownShapeTest
513 op_ = absl::make_unique<ShapeInferenceTestOp>("RaggedTensorToTensor"); in SetAttributes()
515 &((*op_->node_def.mutable_attr())["row_partition_types"])); in SetAttributes()
516 (*op_->node_def.mutable_attr())["num_row_partition_tensors"].set_i( in SetAttributes()
524 INFER_OK(*op_, "?;?;?;?;?", "?"); in TEST_F()
525 INFER_OK(*op_, "?;[6];[];[];[6]", "[?,?]"); in TEST_F()
526 INFER_OK(*op_, "?;[6];?;[];[6]", "[?,?]"); in TEST_F()
527 INFER_OK(*op_, "?;?;[];[];[6]", "?"); in TEST_F()
528 INFER_OK(*op_, "?;[6];?;[];[6]", "[?,?]"); in TEST_F()
529 INFER_OK(*op_, "?;[6,2];?;[];[6]", "[?,?,2]"); in TEST_F()
[all …]
Dscan_ops_gpu.h104 Op op_; member
107 : running_total_(running_total), op_(op) {} in BlockPrefixCallbackOp()
113 running_total_ = op_(old_prefix, block_aggregate); in operator()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dresource_util.h40 std::string op_; variable
48 op_(std::move(op)) {} in NodeInfo()
51 return absl::StrJoin({function_name_.value_or(""), node_name_, op_}, ":"); in DebugString()
56 op_ == o.op_;
61 return H::combine(std::move(h), o.function_name_, o.node_name_, o.op_); in AbslHashValue()
Dxla_expression_test.cc41 op_ = xla::ConstantR0<int32>(builder_.get(), 7); in SetUp()
46 DT_INT32, TensorShape({17, 3}), op_, /*tensor_array_size=*/-1, in SetUp()
54 xla::XlaOp op_; member in tensorflow::__anonbc43d2110111::XlaExpressionTest
65 XlaExpression::XlaOp(op_, DT_INT32).kind()); in TEST_F()
74 EXPECT_EQ("xla_op", XlaExpression::XlaOp(op_, DT_INT32).HumanString()); in TEST_F()
80 XlaExpression::XlaOp(op_, DT_INT32).AsXlaOp(builder_.get()); in TEST_F()
81 EXPECT_TRUE(op_.IsIdenticalTo(op_as_op)); in TEST_F()
102 XlaExpression::XlaOp(op_, DT_INT32).GetShape()); in TEST_F()
118 XlaExpression::XlaOp(op_, DT_INT32).ResolveConstant(client_)); in TEST_F()
Dresource_util.cc149 if (src_node_info.op_ == kArgOp) { in UpdateResourceUsageFromFunctionBodyAnalysis()
164 if (dst_node_info.op_ == kRetvalOp) { in UpdateResourceUsageFromFunctionBodyAnalysis()
/external/tensorflow/tensorflow/lite/delegates/flex/
Dkernel.cc181 if (op_) ClearEagerInputs(); in ~OpNode()
201 tensorflow::EagerOperation* op() { return op_.get(); } in op()
236 op_.reset(new tensorflow::EagerOperation(eager_context)); in BuildEagerOp()
237 TF_RETURN_IF_ERROR(op_->Reset(name_.c_str(), nullptr, false, nullptr)); in BuildEagerOp()
238 if (op_->is_function()) { in BuildEagerOp()
239 op_.reset(); in BuildEagerOp()
246 op_->MutableAttrs()->NumInputs(inputs_.Size()); in BuildEagerOp()
248 op_->MutableAttrs()->Set(attr.first, attr.second); in BuildEagerOp()
253 op_->MutableAttrs()->CacheKey(op_->GetDeviceName()); in BuildEagerOp()
259 for (tensorflow::TensorHandle* h : *op_->MutableInputs()) { in ClearEagerInputs()
[all …]
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/
Dgen_node.cc28 GenNode::GenNode(const NodeDef* node) : node_(node), op_(nullptr) {} in GenNode()
52 Status st = OpRegistry::Global()->LookUpOpDef(opcode(), &op_); in ParseInputs()
62 int n_named_inputs = op_->input_arg_size(); in ParseInputs()
65 for (const auto& inarg : op_->input_arg()) { in ParseInputs()
113 name(), other_name, this_position, op_->name(), n_named_inputs)); in ParseInputs()
Dgen_node.h154 const OpDef* op_; variable
/external/tensorflow/tensorflow/cc/framework/
Dops.h68 explicit Output(Node* n) : op_(n) {} in Output()
69 Output(Node* n, int32 index) : op_(n), index_(index) {} in Output()
70 Output(const Operation& op, int32 index) : op_(op), index_(index) {} in Output()
72 Operation op() const { return op_; } in op()
75 DataType type() const { return op_.output_type(index_); } in type()
78 return op_ == other.op_ && index_ == other.index_;
81 uint64 hash() const { return op_.hash(index_); } in hash()
84 Operation op_ = Operation(nullptr);
/external/tensorflow/tensorflow/compiler/jit/
Dnode_matchers.h90 const absl::optional<string>& op() const { return op_; } in op()
112 op_ = std::move(op); in set_op()
123 op_ = "Const"; in set_constant_value()
148 absl::optional<string> op_; variable
/external/tensorflow/tensorflow/core/common_runtime/
Dshape_refiner.h38 : inference_context_(std::move(ic)), op_(node->name()) { in ExtendedInferenceContext()
56 std::string op() const { return op_; } in op()
60 std::string op_; variable
/external/vixl/src/aarch32/
Dlocation-aarch32.h110 ForwardRef() : ForwardReference<int32_t>(0, 0, 0, 0, 1), op_(NULL) {} in ForwardRef()
123 op_(op) {}
125 const Location::EmitOperator* op() const { return op_; } in op()
142 const Location::EmitOperator* op_;
/external/v8/src/compiler/
Dnode.h51 const Operator* op() const { return op_; } in op()
54 DCHECK_GE(IrOpcode::kLast, op_->opcode()); in opcode()
55 return static_cast<IrOpcode::Value>(op_->opcode()); in opcode()
274 void set_op(const Operator* op) { op_ = op; } in set_op()
296 const Operator* op_; variable
Djs-type-hint-lowering.cc75 op_(op), in JSSpeculativeBinopBuilder()
120 switch (op_->opcode()) { in SpeculativeNumberOp()
160 switch (op_->opcode()) { in SpeculativeBigIntOp()
172 switch (op_->opcode()) { in SpeculativeCompareOp()
249 Operator const* const op_; member in v8::internal::compiler::JSSpeculativeBinopBuilder
Dmachine-operator.h28 : supported_(supported), op_(op) {} in OptionalOperator()
34 return op_; in op()
38 const Operator* placeholder() const { return op_; } in placeholder()
42 const Operator* const op_; variable
/external/protobuf/src/google/protobuf/compiler/objectivec/
Dobjectivec_helpers.cc1310 uint8 op = (op_ | segment_len_); in Push()
1320 op_ = kOpAsIs; in AddFirst()
1322 op_ = kOpFirstUpper; in AddFirst()
1324 op_ = kOpFirstLower; in AddFirst()
1335 op_ = 0; in Reset()
1342 uint8 op_; member in google::protobuf::compiler::objectivec::__anon07fe887a0311::DecodeDataBuilder
1361 if ((op_ != kOpAllUpper) || ascii_isupper(desired)) { in AddCharacter()
1374 op_ = kOpAllUpper; in AddCharacter()
/external/grpc-grpc/test/cpp/microbenchmarks/
Dbm_call_create.cc471 memset(&op_, 0, sizeof(op_)); in SendEmptyMetadata()
472 op_.on_complete = GRPC_CLOSURE_INIT(&closure_, DoNothing, nullptr, in SendEmptyMetadata()
474 op_.send_initial_metadata = true; in SendEmptyMetadata()
475 op_.payload = &op_payload_; in SendEmptyMetadata()
494 grpc_transport_stream_op_batch op_; member in SendEmptyMetadata
/external/perfetto/src/trace_processor/sqlite/
Dsqlite_utils.h162 NumericPredicate(int op, T constant) : op_(op), constant_(constant) {} in NumericPredicate()
165 switch (op_) { in operator()
190 int op_;
/external/OpenCL-CTS/test_conformance/spirv_new/
Dtest_op_branch.cpp66 TEST_SPIRV_FUNC(op_##NAME##_simple) \
Dtest_op_lifetime.cpp84 TEST_SPIRV_FUNC(op_##name) \
/external/python/cpython2/Modules/
Doperator.c232 #define spam2(OP,ALTOP,DOC) {#OP, op_##OP, METH_VARARGS, PyDoc_STR(DOC)}, \
233 {#ALTOP, op_##OP, METH_VARARGS, PyDoc_STR(DOC)},
235 #define spam2o(OP,ALTOP,DOC) {#OP, op_##OP, METH_O, PyDoc_STR(DOC)}, \
236 {#ALTOP, op_##OP, METH_O, PyDoc_STR(DOC)},
/external/bcc/src/cc/frontends/b/
Dnode.h297 int op_; variable
300 : lhs_(move(lhs)), op_(op), rhs_(move(rhs)) in BinopExprNode()
309 int op_; variable
310 UnopExprNode(int op, ExprNode::Ptr expr) : expr_(move(expr)), op_(op) {} in UnopExprNode()
Dprinter.cc123 fprintf(out_, "%d", n->op_); in visit_binop_expr_node()
130 switch (n->op_) { in visit_unop_expr_node()

12