/external/tensorflow/tensorflow/tools/proto_text/ |
D | gen_proto_text_functions_lib_test.cc | 38 // Macro that takes <proto> and verifies the proto text string output 39 // matches DebugString calls on the proto, and verifies parsing the 43 EXPECT_EQ(proto.DebugString(), ProtoDebugString(proto)); \ 44 EXPECT_EQ(proto.ShortDebugString(), ProtoShortDebugString(proto)); \ 45 EXPECT_EQ(proto.DebugString(), \ 46 RoundtripParseProtoOrDie(proto, true).DebugString()); \ 47 EXPECT_EQ(proto.DebugString(), \ 48 RoundtripParseProtoOrDie(proto, false).DebugString()); 53 EXPECT_FALSE(ProtoParseFromString(str, &proto)); \ 54 EXPECT_FALSE(protobuf::TextFormat::ParseFromString(str, &proto)) [all …]
|
/external/perfetto/src/tracing/core/ |
D | trace_config.cc | 21 * perfetto/config/trace_config.proto 24 * If you need to make changes here, change the .proto file and then run 71 void TraceConfig::FromProto(const perfetto::protos::TraceConfig& proto) { in FromProto() argument 73 for (const auto& field : proto.buffers()) { in FromProto() 79 for (const auto& field : proto.data_sources()) { in FromProto() 84 builtin_data_sources_.FromProto(proto.builtin_data_sources()); in FromProto() 86 static_assert(sizeof(duration_ms_) == sizeof(proto.duration_ms()), in FromProto() 88 duration_ms_ = static_cast<decltype(duration_ms_)>(proto.duration_ms()); in FromProto() 91 sizeof(proto.enable_extra_guardrails()), in FromProto() 94 proto.enable_extra_guardrails()); in FromProto() [all …]
|
D | trace_stats.cc | 21 * perfetto/common/trace_stats.proto 24 * If you need to make changes here, change the .proto file and then run 56 void TraceStats::FromProto(const perfetto::protos::TraceStats& proto) { in FromProto() argument 58 for (const auto& field : proto.buffer_stats()) { in FromProto() 64 sizeof(producers_connected_) == sizeof(proto.producers_connected()), in FromProto() 67 static_cast<decltype(producers_connected_)>(proto.producers_connected()); in FromProto() 69 static_assert(sizeof(producers_seen_) == sizeof(proto.producers_seen()), in FromProto() 72 static_cast<decltype(producers_seen_)>(proto.producers_seen()); in FromProto() 75 sizeof(proto.data_sources_registered()), in FromProto() 78 proto.data_sources_registered()); in FromProto() [all …]
|
D | test_config.cc | 21 * perfetto/config/test_config.proto 24 * If you need to make changes here, change the .proto file and then run 52 void TestConfig::FromProto(const perfetto::protos::TestConfig& proto) { in FromProto() argument 53 static_assert(sizeof(message_count_) == sizeof(proto.message_count()), in FromProto() 55 message_count_ = static_cast<decltype(message_count_)>(proto.message_count()); in FromProto() 58 sizeof(proto.max_messages_per_second()), in FromProto() 61 proto.max_messages_per_second()); in FromProto() 63 static_assert(sizeof(seed_) == sizeof(proto.seed()), "size mismatch"); in FromProto() 64 seed_ = static_cast<decltype(seed_)>(proto.seed()); in FromProto() 66 static_assert(sizeof(message_size_) == sizeof(proto.message_size()), in FromProto() [all …]
|
D | commit_data_request.cc | 21 * perfetto/common/commit_data_request.proto 24 * If you need to make changes here, change the .proto file and then run 52 const perfetto::protos::CommitDataRequest& proto) { in FromProto() argument 54 for (const auto& field : proto.chunks_to_move()) { in FromProto() 60 for (const auto& field : proto.chunks_to_patch()) { in FromProto() 65 static_assert(sizeof(flush_request_id_) == sizeof(proto.flush_request_id()), in FromProto() 68 static_cast<decltype(flush_request_id_)>(proto.flush_request_id()); in FromProto() 69 unknown_fields_ = proto.unknown_fields(); in FromProto() 73 perfetto::protos::CommitDataRequest* proto) const { in ToProto() 74 proto->Clear(); in ToProto() [all …]
|
D | data_source_config.cc | 21 * perfetto/config/data_source_config.proto 24 * If you need to make changes here, change the .proto file and then run 74 const perfetto::protos::DataSourceConfig& proto) { in FromProto() argument 75 static_assert(sizeof(name_) == sizeof(proto.name()), "size mismatch"); in FromProto() 76 name_ = static_cast<decltype(name_)>(proto.name()); in FromProto() 78 static_assert(sizeof(target_buffer_) == sizeof(proto.target_buffer()), in FromProto() 80 target_buffer_ = static_cast<decltype(target_buffer_)>(proto.target_buffer()); in FromProto() 82 static_assert(sizeof(trace_duration_ms_) == sizeof(proto.trace_duration_ms()), in FromProto() 85 static_cast<decltype(trace_duration_ms_)>(proto.trace_duration_ms()); in FromProto() 88 sizeof(proto.enable_extra_guardrails()), in FromProto() [all …]
|
D | heapprofd_config.cc | 21 * perfetto/config/profiling/heapprofd_config.proto 24 * If you need to make changes here, change the .proto file and then run 55 const perfetto::protos::HeapprofdConfig& proto) { in FromProto() argument 57 sizeof(proto.sampling_interval_bytes()), in FromProto() 60 proto.sampling_interval_bytes()); in FromProto() 63 for (const auto& field : proto.process_cmdline()) { in FromProto() 66 sizeof(process_cmdline_.back()) == sizeof(proto.process_cmdline(0)), in FromProto() 73 for (const auto& field : proto.pid()) { in FromProto() 75 static_assert(sizeof(pid_.back()) == sizeof(proto.pid(0)), "size mismatch"); in FromProto() 79 static_assert(sizeof(all_) == sizeof(proto.all()), "size mismatch"); in FromProto() [all …]
|
/external/tensorflow/tensorflow/contrib/makefile/ |
D | tf_proto_files.txt | 1 tensorflow/contrib/boosted_trees/proto/learner.proto 2 tensorflow/contrib/boosted_trees/proto/quantiles.proto 3 tensorflow/contrib/boosted_trees/proto/split_info.proto 4 tensorflow/contrib/boosted_trees/proto/tree_config.proto 5 tensorflow/core/example/example.proto 6 tensorflow/core/example/feature.proto 7 tensorflow/core/framework/allocation_description.proto 8 tensorflow/core/framework/api_def.proto 9 tensorflow/core/framework/attr_value.proto 10 tensorflow/core/framework/cost_graph.proto [all …]
|
/external/protobuf/python/google/protobuf/internal/ |
D | reflection_test.py | 120 proto = unittest_pb2.TestAllTypes( 126 self.assertEqual(24, proto.optional_int32) 127 self.assertEqual(54.321, proto.optional_double) 128 self.assertEqual('optional_string', proto.optional_string) 129 self.assertFalse(proto.HasField("optional_float")) 133 proto = unittest_pb2.TestAllTypes( 140 self.assertEqual([1, 2, 3, 4], list(proto.repeated_int32)) 141 self.assertEqual([1.23, 54.321], list(proto.repeated_double)) 142 self.assertEqual([True, False, False], list(proto.repeated_bool)) 143 self.assertEqual(["optional_string"], list(proto.repeated_string)) [all …]
|
/external/protobuf/js/binary/ |
D | proto_test.js | 37 // CommonJS-LoadFromFile: ../testbinary_pb proto.jspb.test 38 goog.require('proto.jspb.test.ExtendsWithMessage'); 39 goog.require('proto.jspb.test.ForeignEnum'); 40 goog.require('proto.jspb.test.ForeignMessage'); 41 goog.require('proto.jspb.test.TestAllTypes'); 42 goog.require('proto.jspb.test.TestExtendable'); 43 goog.require('proto.jspb.test.extendOptionalBool'); 44 goog.require('proto.jspb.test.extendOptionalBytes'); 45 goog.require('proto.jspb.test.extendOptionalDouble'); 46 goog.require('proto.jspb.test.extendOptionalFixed32'); [all …]
|
/external/protobuf/java/lite/ |
D | generate-test-sources-build.xml | 6 <arg value="--proto_path=${test.proto.dir}"/> 7 <arg value="${protobuf.source.dir}/google/protobuf/unittest.proto"/> 8 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import.proto"/> 9 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import_public.proto"/> 10 <arg value="${protobuf.source.dir}/google/protobuf/unittest_mset.proto"/> 11 <arg value="${protobuf.source.dir}/google/protobuf/unittest_mset_wire_format.proto"/> 12 <arg value="${protobuf.source.dir}/google/protobuf/unittest_optimize_for.proto"/> 13 <arg value="${protobuf.source.dir}/google/protobuf/unittest_custom_options.proto"/> 14 <arg value="${protobuf.source.dir}/google/protobuf/unittest_lite.proto"/> 15 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import_lite.proto"/> [all …]
|
/external/protobuf/java/core/ |
D | generate-test-sources-build.xml | 6 <arg value="--proto_path=${test.proto.dir}"/> 7 <arg value="${protobuf.source.dir}/google/protobuf/unittest.proto"/> 8 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import.proto"/> 9 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import_public.proto"/> 10 <arg value="${protobuf.source.dir}/google/protobuf/unittest_mset.proto"/> 11 <arg value="${protobuf.source.dir}/google/protobuf/unittest_mset_wire_format.proto"/> 12 <arg value="${protobuf.source.dir}/google/protobuf/unittest_optimize_for.proto"/> 13 <arg value="${protobuf.source.dir}/google/protobuf/unittest_custom_options.proto"/> 14 <arg value="${protobuf.source.dir}/google/protobuf/unittest_lite.proto"/> 15 <arg value="${protobuf.source.dir}/google/protobuf/unittest_import_lite.proto"/> [all …]
|
/external/perfetto/protos/ |
D | BUILD | 17 load("//tools/build_defs/proto/cpp:cc_proto_library.bzl", "cc_proto_library") 30 "perfetto/common/android_log_constants.proto", 31 "perfetto/common/commit_data_request.proto", 32 "perfetto/common/descriptor.proto", 33 "perfetto/common/observable_events.proto", 34 "perfetto/common/sys_stats_counters.proto", 35 "perfetto/common/trace_stats.proto", 60 "perfetto/common/android_log_constants.proto", 61 "perfetto/common/commit_data_request.proto", 62 "perfetto/common/descriptor.proto", [all …]
|
/external/grpc-grpc/examples/node/static_codegen/route_guide/ |
D | route_guide_pb.js | 12 goog.exportSymbol('proto.routeguide.Feature', null, global); 13 goog.exportSymbol('proto.routeguide.Point', null, global); 14 goog.exportSymbol('proto.routeguide.Rectangle', null, global); 15 goog.exportSymbol('proto.routeguide.RouteNote', null, global); 16 goog.exportSymbol('proto.routeguide.RouteSummary', null, global); 28 proto.routeguide.Point = function(opt_data) { 31 goog.inherits(proto.routeguide.Point, jspb.Message); 33 proto.routeguide.Point.displayName = 'proto.routeguide.Point'; 39 * Creates an object representation of this proto suitable for use in Soy templates. 45 * for transitional soy proto support: http://goto/soy-param-migration [all …]
|
/external/perfetto/tools/ |
D | gen_merged_protos | 24 'protos/perfetto/common/android_log_constants.proto', 25 'protos/perfetto/common/sys_stats_counters.proto', 29 'protos/perfetto/config/android/android_log_config.proto', 30 'protos/perfetto/config/chrome/chrome_config.proto', 31 'protos/perfetto/config/data_source_config.proto', 32 'protos/perfetto/config/ftrace/ftrace_config.proto', 33 'protos/perfetto/config/inode_file/inode_file_config.proto', 34 'protos/perfetto/config/power/android_power_config.proto', 35 'protos/perfetto/config/process_stats/process_stats_config.proto', 36 'protos/perfetto/config/sys_stats/sys_stats_config.proto', [all …]
|
/external/golang-protobuf/ |
D | Android.bp | 18 deps: ["golang-protobuf-proto"], 26 "golang-protobuf-proto", 43 "golang-protobuf-proto", 65 "golang-protobuf-proto", 76 name: "golang-protobuf-proto", 77 pkgPath: "github.com/golang/protobuf/proto", 79 "proto/clone.go", 80 "proto/decode.go", 81 "proto/discard.go", 82 "proto/encode.go", [all …]
|
/external/perfetto/protos/perfetto/trace/ftrace/ |
D | all_protos.gni | 18 "ftrace_event.proto", 19 "ftrace_event_bundle.proto", 20 "ftrace_stats.proto", 21 "test_bundle_wrapper.proto", 22 "generic.proto", 23 "binder.proto", 24 "block.proto", 25 "cgroup.proto", 26 "clk.proto", 27 "compaction.proto", [all …]
|
/external/protobuf/js/ |
D | message_test.js | 41 // CommonJS-LoadFromFile: test5_pb proto.jspb.exttest.beta 42 goog.require('proto.jspb.exttest.beta.floatingStrField'); 44 // CommonJS-LoadFromFile: test3_pb proto.jspb.exttest 45 goog.require('proto.jspb.exttest.floatingMsgField'); 47 // CommonJS-LoadFromFile: test4_pb proto.jspb.exttest 48 goog.require('proto.jspb.exttest.floatingMsgFieldTwo'); 50 // CommonJS-LoadFromFile: test_pb proto.jspb.test 51 goog.require('proto.jspb.test.CloneExtension'); 52 goog.require('proto.jspb.test.Complex'); 53 goog.require('proto.jspb.test.DefaultValues'); [all …]
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/ |
D | BUILD | 21 "//tensorflow/contrib/decision_trees/proto:generic_tree_model_cc", 22 "//tensorflow/contrib/tensor_forest/proto:fertile_stats_proto_cc", 25 "//tensorflow/contrib/decision_trees/proto:generic_tree_model_cc_headers_only", 26 "//tensorflow/contrib/tensor_forest/proto:fertile_stats_proto_cc_headers_only", 56 "//tensorflow/contrib/decision_trees/proto:generic_tree_model_cc", 57 "//tensorflow/contrib/tensor_forest/proto:fertile_stats_proto_cc", 58 "//tensorflow/contrib/tensor_forest/proto:tensor_forest_params_proto_cc", 61 "//tensorflow/contrib/decision_trees/proto:generic_tree_model_cc_headers_only", 62 "//tensorflow/contrib/tensor_forest/proto:fertile_stats_proto_cc_headers_only", 63 "//tensorflow/contrib/tensor_forest/proto:tensor_forest_params_proto_cc_headers_only", [all …]
|
/external/tcpdump/tests/ |
D | isakmp-no-none-np.out | 1 …x0800), length 2228: (tos 0x0, ttl 128, id 28793, offset 0, flags [none], proto UDP (17), length 2… 3 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 4 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 5 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 6 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 7 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 8 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 9 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 10 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… 11 …(n: doi=ipsec proto=isakmp type=INVALID-MAJOR-VERSION spi=000000000b1005005f724dc600000054 data=(0… [all …]
|
/external/protobuf/src/google/protobuf/compiler/ |
D | command_line_interface_unittest.cc | 164 // was called with the given parameter and proto file and produced the 168 // message that appeared in the proto file; this is just to make extra 503 CreateTempFile("foo.proto", in Run() 508 "--proto_path=$tmpdir foo.proto"); in Run() 511 ExpectGenerated("test_generator", "", "foo.proto", "Foo"); in Run() 517 CreateTempFile("foo.proto", in Run() 522 "--proto_path=$tmpdir foo.proto"); in Run() 525 ExpectGenerated("test_plugin", "", "foo.proto", "Foo"); in Run() 531 CreateTempFile("foo.proto", in Run() 536 "--proto_path=$tmpdir foo.proto"); in Run() [all …]
|
/external/autotest/client/common_lib/cros/ |
D | smbprovider.py | 13 def _proto_to_blob(proto): argument 14 return dbus.ByteArray(proto.SerializeToString()) 107 proto = MountOptionsProto() 108 proto.path = mount_path 109 proto.workgroup = workgroup 110 proto.username = username 111 proto.mount_config.enable_ntlm = True 114 return self._smbproviderd.Mount(_proto_to_blob(proto), 133 proto = UnmountOptionsProto() 134 proto.mount_id = mount_id [all …]
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_node_show.cc | 57 const GraphNodeProto& ShowNode::proto() const { return proto_; } in proto() function in tensorflow::tfprof::ShowNode 61 mutable_proto()->set_total_run_count(proto().total_run_count() + in AggregateTotalStats() 64 proto().total_definition_count() + node_pb->total_definition_count()); in AggregateTotalStats() 65 mutable_proto()->set_total_exec_micros(proto().total_exec_micros() + in AggregateTotalStats() 68 proto().total_accelerator_exec_micros() + in AggregateTotalStats() 70 mutable_proto()->set_total_cpu_exec_micros(proto().total_cpu_exec_micros() + in AggregateTotalStats() 73 mutable_proto()->set_total_requested_bytes(proto().total_requested_bytes() + in AggregateTotalStats() 75 mutable_proto()->set_total_peak_bytes(proto().total_peak_bytes() + in AggregateTotalStats() 77 mutable_proto()->set_total_residual_bytes(proto().total_residual_bytes() + in AggregateTotalStats() 79 mutable_proto()->set_total_output_bytes(proto().total_output_bytes() + in AggregateTotalStats() [all …]
|
/external/grpc-grpc-java/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/ |
D | BenchmarkServiceGrpc.java | 1 package io.grpc.benchmarks.proto; 21 value = "by gRPC proto compiler", 22 comments = "Source: grpc/testing/services.proto") 29 // Static method descriptors that strictly reflect the proto. 30 private static volatile io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest, 31 io.grpc.benchmarks.proto.Messages.SimpleResponse> getUnaryCallMethod; 35 requestType = io.grpc.benchmarks.proto.Messages.SimpleRequest.class, 36 responseType = io.grpc.benchmarks.proto.Messages.SimpleResponse.class, 38 public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest, 39 io.grpc.benchmarks.proto.Messages.SimpleResponse> getUnaryCallMethod() { in getUnaryCallMethod() [all …]
|
/external/grpc-grpc/test/cpp/end2end/ |
D | BUILD | 33 "//src/proto/grpc/testing:echo_proto", 48 "//src/proto/grpc/health/v1:health_proto", 49 "//src/proto/grpc/testing:echo_messages_proto", 50 "//src/proto/grpc/testing:echo_proto", 51 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto", 71 "//src/proto/grpc/testing:echo_messages_proto", 72 "//src/proto/grpc/testing:echo_proto", 73 "//src/proto/grpc/testing/duplicate:echo_duplicate_proto", 92 "//src/proto/grpc/testing:echo_messages_proto", 93 "//src/proto/grpc/testing:echo_proto", [all …]
|