/external/bcc/src/cc/ |
D | json_map_decl_visitor.cc | 53 std::string &result_; member in ebpf::BMapDeclVisitor 57 BMapDeclVisitor::BMapDeclVisitor(ASTContext &C, string &result) : C(C), result_(result) {} in BMapDeclVisitor() 76 result_ += ", "; in genJSONForField() 79 result_ += "["; in genJSONForField() 82 result_ += ", [" + T->getSize().toString(10, false) + "]"; in genJSONForField() 84 result_ += ", " + to_string(F->getBitWidthValue(C)); in genJSONForField() 85 result_ += "], "; in genJSONForField() 89 result_ += "\""; in VisitFieldDecl() 90 result_ += D->getName(); in VisitFieldDecl() 91 result_ += "\","; in VisitFieldDecl() [all …]
|
/external/tensorflow/tensorflow/js/ops/ |
D | ts_op_gen.cc | 73 string result_; member in tensorflow::__anonc3e3999b0111::GenTypeScriptOp 103 strings::StrAppend(&result_, "\n"); in Code() 104 return result_; in Code() 168 strings::StrAppend(&result_, "export function ", api_def_.endpoint(0).name(), in AddMethodSignature() 176 strings::StrAppend(&result_, ", "); in AddMethodSignature() 181 strings::StrAppend(&result_, op_def_arg.name(), ": "); in AddMethodSignature() 183 strings::StrAppend(&result_, "tfc.Tensor[]"); in AddMethodSignature() 185 strings::StrAppend(&result_, "tfc.Tensor"); in AddMethodSignature() 190 strings::StrAppend(&result_, "): tfc.Tensor {\n"); in AddMethodSignature() 192 strings::StrAppend(&result_, "): tfc.Tensor[] {\n"); in AddMethodSignature() [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | python_op_gen.cc | 426 return result_; in Code() 431 return result_; in Code() 434 return prelude_ + result_; in Code() 503 strings::StrAppend(&result_, type_var_name, " = TypeVar(\"", in GenerateTypeVars() 509 if (added_typevar) strings::StrAppend(&result_, "\n"); in GenerateTypeVars() 520 result_.erase(result_.length() - 2); in AddReturnTypeAnnotation() 521 strings::StrAppend(&result_, " -> ", return_type, ":\n"); in AddReturnTypeAnnotation() 528 strings::StrAppend(&result_, " # Add nodes to the TensorFlow graph.\n"); in HandleGraphMode() 529 strings::StrAppend(&result_, function_setup); in HandleGraphMode() 531 strings::StrAppend(&result_, " try:\n "); in HandleGraphMode() [all …]
|
D | python_op_gen_internal.cc | 601 strings::StrAppend(&result_, " \"\"\"\n"); in Code() 603 strings::StrAppend(&result_, "\n\n"); in Code() 605 return prelude_ + result_; in Code() 647 strings::StrAppend(&result_, "@tf_export(", names, ")\n"); in AddExport() 652 strings::StrAppend(&result_, "@deprecated(None, '", instructions, "')\n"); in AddExport() 656 strings::StrAppend(&result_, "@deprecated_endpoints(", deprecated_endpoints, in AddExport() 663 strings::StrAppend(&result_, "def ", function_name, "(", parameters, "):\n"); in AddDefLine() 680 strings::StrAppend(&result_, " r\"\"\"", comment, "\n"); in AddDocStringDescription() 684 strings::StrAppend(&result_, " Args:\n"); in AddDocStringArgs() 702 strings::StrAppend(&result_, Indent(4, 6, desc)); in AddDocStringInputs() [all …]
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/client/ |
D | chttp2_connector.cc | 60 result_ = result; in Connect() 108 self->result_->Reset(); in Connected() 165 self->result_->Reset(); in OnHandshakeDone() 168 self->result_->transport = in OnHandshakeDone() 170 self->result_->socket_node = in OnHandshakeDone() 171 grpc_chttp2_transport_get_socket_node(self->result_->transport); in OnHandshakeDone() 172 self->result_->channel_args = args->args; in OnHandshakeDone() 173 GPR_ASSERT(self->result_->transport != nullptr); in OnHandshakeDone() 179 grpc_chttp2_transport_start_reading(self->result_->transport, in OnHandshakeDone() 208 grpc_transport_destroy(self->result_->transport); in OnReceiveSettings() [all …]
|
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/ |
D | union_traits_definition.tmpl | 17 {{kind|cpp_wrapper_type(True)}} result_{{name}}; 18 if (!input.Read{{name|under_to_camel}}(&result_{{name}})) 22 std::move(result_{{name}})); 32 {{kind|cpp_wrapper_type(True)}} result_{{name}}; 33 if (!input.Read{{name|under_to_camel}}(&result_{{name}})) 36 *output = UnionType::New{{field.name|under_to_camel}}(result_{{name}});
|
/external/jsoncpp/src/test_lib_json/ |
D | jsontest.h | 125 TestResult* result_{nullptr}; 204 result_->addFailure(__FILE__, __LINE__, #expr) 212 result_->predicateId_, __FILE__, __LINE__, #expr, NULL, NULL}; \ 213 result_->predicateStackTail_->next_ = &_minitest_Context; \ 214 result_->predicateId_ += 1; \ 215 result_->predicateStackTail_ = &_minitest_Context; \ 217 result_->popPredicateContext(); \ 222 JsonTest::checkEqual(*result_, expected, actual, __FILE__, __LINE__, \ 227 JsonTest::checkStringEqual(*result_, JsonTest::ToJsonString(expected), \ 241 result_->addFailure(__FILE__, __LINE__, \
|
/external/tensorflow/tensorflow/core/util/ |
D | bcast.h | 96 const Vec& result_shape() const { return result_; } in result_shape() 116 Vec result_; variable 165 result_.push_back(elements); in BCastList() 235 result_.push_back(1); in BCastList() 262 result_.back() = mul_dims(result_.back(), output_dim); in BCastList() 272 result_.push_back(output_dim); in BCastList() 286 if (result_.empty()) { in BCastList() 287 result_.push_back(1); in BCastList() 299 Reverse(&result_); in BCastList() 378 const Vec& result_shape() const { return result_; } in result_shape()
|
/external/perfetto/include/perfetto/ext/base/ |
D | hash.h | 47 result_ ^= static_cast<uint8_t>(data[i]); in Update() 48 result_ *= kFnv1a64Prime; in Update() 52 uint64_t digest() { return result_; } in digest() 58 uint64_t result_ = kFnv1a64OffsetBasis; variable
|
/external/tensorflow/tensorflow/core/grappler/graph_analyzer/ |
D | graph_analyzer.cc | 65 result_.clear(); in FindSubgraphs() 78 result_.ExtendParent(empty_parent, node.second.get()); in FindSubgraphs() 97 SubgraphPtrSet& sg_set = will_complete ? result_ : partial_; in ExtendSubgraph() 199 (id.size() == subgraph_size_) ? result_ : partial_; in AddExtendedSubgraph() 212 auto resit = result_.begin(); in DropInvalidSubgraphs() 213 while (resit != result_.end()) { in DropInvalidSubgraphs() 217 result_.erase(delit); in DropInvalidSubgraphs() 286 for (const auto& it : result_) { in CollateResult() 306 result_.clear(); // Not needed after collation. in CollateResult() 313 for (const auto& it : result_) { in DumpRawSubgraphs()
|
/external/webrtc/modules/desktop_capture/ |
D | fake_desktop_capturer.cc | 24 result_ = result; in set_result() 50 if (result_ != DesktopCapturer::Result::SUCCESS) { in CaptureFrame() 51 callback_->OnCaptureResult(result_, nullptr); in CaptureFrame() 59 callback_->OnCaptureResult(result_, std::move(frame)); in CaptureFrame()
|
/external/google-breakpad/src/client/mac/Framework/ |
D | OnDemandServer.mm | 36 #define PRINT_MACH_RESULT(result_, message_) \ 37 printf(message_"%s (%d)\n", mach_error_string(result_), result_ ); 40 #define PRINT_BOOTSTRAP_RESULT(result_, message_) \ 41 printf(message_"%s (%d)\n", bootstrap_strerror(result_), result_ ); 43 #define PRINT_BOOTSTRAP_RESULT(result_, message_) \ 44 PRINT_MACH_RESULT(result_, message_) 47 #define PRINT_MACH_RESULT(result_, message_) 48 #define PRINT_BOOTSTRAP_RESULT(result_, message_)
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | executable.h | 151 : result_(std::move(result)) {} in ExecutionOutput() 154 : result_(std::move(result)), in ExecutionOutput() 159 : result_(std::move(on_device_shape), allocator, device_ordinal) {} in ExecutionOutput() 162 : result_(std::move(on_device_shape), allocator, device_ordinal) {} in ExecutionOutput() 171 result_.set_buffer(se::OwningDeviceMemory(), index); in ~ExecutionOutput() 190 const ScopedShapedBuffer& Result() const { return result_; } in Result() 192 ScopedShapedBuffer* MutableResult() { return &result_; } in MutableResult() 196 return std::move(result_); in ConsumeResult() 214 ScopedShapedBuffer result_;
|
D | memory_space_assignment_best_fit_repacker.cc | 61 bool success = result_.heap_size <= max_size_; in Repack() 64 auto chunk_it = result_.chunk_map.find(block); in Repack() 65 if (chunk_it != result_.chunk_map.end()) { in Repack()
|
D | heap_simulator.cc | 564 result_.chunk_map.emplace(buffer, Chunk{0, 0}); in Alloc() 579 result_.chunk_map.emplace(buffer, Chunk{0, 0}); in ShareWith() 832 VLOG(1) << "result heap_size: " << result_.heap_size; in Finish() 834 result.heap_size = result_.heap_size; in Finish() 835 result.heap_results.emplace_back(result_); in Finish() 898 ChunkCandidate chunk_candidate{Chunk{-1, INT64_MAX}, result_.heap_size}; in FindChunkCandidate() 910 } else if (free_offset + free_size == result_.heap_size && in FindChunkCandidate() 933 use_free_chunk_if_smaller(offset, result_.heap_size - offset); in FindChunkCandidate() 936 if (result_.heap_size <= preferred_offset) { in FindChunkCandidate() 959 result_.heap_size = chunk_candidate.heap_size; in CommitChunk() [all …]
|
/external/webrtc/modules/video_coding/utility/ |
D | quality_scaler.cc | 111 result_.observed_enough_frames = false; in StartDelayedTask() 117 result_.observed_enough_frames = true; in StartDelayedTask() 123 result_.observed_enough_frames = true; in StartDelayedTask() 124 result_.qp_usage_reported = true; in StartDelayedTask() 134 result_.observed_enough_frames = true; in StartDelayedTask() 135 result_.qp_usage_reported = true; in StartDelayedTask() 150 result_.clear_qp_samples = clear_qp_samples; in OnQpUsageHandled() 160 return result_; in result() 213 Result result_; member in webrtc::QualityScaler::CheckQpTask
|
/external/perfetto/include/perfetto/tracing/internal/ |
D | compile_time_hash.h | 40 constexpr inline uint64_t digest() const { return result_; } in digest() 43 constexpr inline CompileTimeHash(uint64_t result) : result_(result) {} in CompileTimeHash() 57 uint64_t result_ = kFnv1a64OffsetBasis; variable
|
/external/webrtc/pc/ |
D | rtc_stats_traversal_unittest.cc | 39 result_ = RTCStatsReport::Create(0); in RTCStatsTraversalTest() 48 result_ = webrtc::TakeReferencedStats(initial_report_, start_ids); in TakeReferencedStats() 55 EXPECT_TRUE(result_->Get(stats->id())) in EXPECT_VISITED() 64 EXPECT_FALSE(result_->Get(stats->id())) in EXPECT_UNVISITED() 71 rtc::scoped_refptr<RTCStatsReport> result_; member in webrtc::RTCStatsTraversalTest
|
/external/deqp-deps/amber/src/vulkan/ |
D | command_buffer.h | 81 bool IsRecording() const { return result_.IsSuccess(); } in IsRecording() 83 Result GetResult() { return result_; } in GetResult() 89 Result result_;
|
/external/protobuf/csharp/src/Google.Protobuf.Conformance/ |
D | Conformance.cs | 731 get { return resultCase_ == ResultOneofCase.ParseError ? (string) result_ : ""; } 733 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 747 get { return resultCase_ == ResultOneofCase.SerializeError ? (string) result_ : ""; } 749 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 763 get { return resultCase_ == ResultOneofCase.RuntimeError ? (string) result_ : ""; } 765 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 778 …get { return resultCase_ == ResultOneofCase.ProtobufPayload ? (pb::ByteString) result_ : pb::ByteS… 780 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 793 get { return resultCase_ == ResultOneofCase.JsonPayload ? (string) result_ : ""; } 795 result_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); [all …]
|
/external/webrtc/p2p/stunprober/ |
D | stun_prober_unittest.cc | 45 result_(StunProber::SUCCESS), in StunProberTest() 55 void set_expected_result(int result) { result_ = result; } in set_expected_result() 116 EXPECT_EQ(result, result_); in StopCallback() 123 int result_ = 0; member in stunprober::StunProberTest
|
/external/llvm-project/flang/lib/Evaluate/ |
D | expression.cpp | 144 return result_ == that.result_ && in operator ==() 152 : result_{spec}, values_{values} {} in StructureConstructor() 155 : result_{spec}, values_{std::move(values)} {} in StructureConstructor() 158 return result_ == that.result_ && values_ == that.values_; in operator ==() 212 DynamicType StructureConstructor::GetType() const { return result_.GetType(); } in GetType()
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/fake/ |
D | fake_resolver.cc | 176 result_(std::move(result)), in FakeResolverResponseSetter() 185 Resolver::Result result_; member in grpc_core::FakeResolverResponseSetter 193 resolver_->reresolution_result_ = std::move(result_); in SetReresolutionResponseLocked() 202 resolver_->next_result_ = std::move(result_); in SetResponseLocked() 232 result_ = std::move(result); in SetResponse() 304 new FakeResolverResponseSetter(resolver_, std::move(result_)); in SetFakeResolver()
|
/external/llvm-project/flang/include/flang/Evaluate/ |
D | constant.h | 99 ConstantBase(const A &x, Result res = Result{}) : result_{res}, values_{x} {} 101 : result_{res}, values_{std::move(x)} {} 112 constexpr Result result() const { return result_; } in result() 114 constexpr DynamicType GetType() const { return result_.GetType(); } in GetType() 122 Result result_; variable
|
/external/tpm2-tss/m4/ |
D | misc.m4 | 6 AC_CHECK_PROG(AS_TR_SH([result_$1]), [$1], [yes], [no]) 7 AS_VAR_PUSHDEF([result], [result_$1])
|