/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | TextFormatTest.java | 35 import com.google.protobuf.TextFormat.Parser.SingularOverwritePolicy; 125 private final TextFormat.Parser parserWithOverwriteForbidden = 126 TextFormat.Parser.newBuilder() 131 private final TextFormat.Parser defaultParser = 132 TextFormat.Parser.newBuilder().build(); 136 String javaText = TextFormat.printToString(TestUtil.getAllSet()); in testPrintMessage() 148 String javaText = TextFormat.printToString(TestUtil.getAllSetBuilder()); in testPrintMessageBuilder() 160 String javaText = TextFormat.printToString(TestUtil.getAllExtensionsSet()); in testPrintExtensions() 224 TextFormat.printToString(message)); in testPrintUnknownFields() 232 TextFormat.printFieldToString(dataField, "test data")); in testPrintField() [all …]
|
/external/protobuf/src/google/protobuf/ |
D | text_format.cc | 94 TextFormat::Printer printer; in DebugString() 105 TextFormat::Printer printer; in ShortDebugString() 122 TextFormat::Printer printer; in Utf8DebugString() 138 TextFormat::ParseInfoTree::ParseInfoTree() { } in ParseInfoTree() 140 TextFormat::ParseInfoTree::~ParseInfoTree() { in ~ParseInfoTree() 147 void TextFormat::ParseInfoTree::RecordLocation( in RecordLocation() 149 TextFormat::ParseLocation location) { in RecordLocation() 153 TextFormat::ParseInfoTree* TextFormat::ParseInfoTree::CreateNested( in CreateNested() 156 TextFormat::ParseInfoTree* instance = new TextFormat::ParseInfoTree(); in CreateNested() 157 vector<TextFormat::ParseInfoTree*>* trees = &nested_[field]; in CreateNested() [all …]
|
D | text_format_unittest.cc | 157 TextFormat::Printer printer; in TEST_F() 287 TextFormat::Printer printer; in TEST_F() 328 EXPECT_TRUE(TextFormat::PrintUnknownFieldsToString(unknown_fields, &text)); in TEST_F() 349 TextFormat::Printer printer; in TEST_F() 371 TextFormat::Printer printer; in TEST_F() 391 EXPECT_FALSE(TextFormat::Print(message, &output_stream)); in TEST_F() 397 class CustomUInt32FieldValuePrinter : public TextFormat::FieldValuePrinter { 412 TextFormat::Printer printer; in TEST_F() 421 class CustomInt32FieldValuePrinter : public TextFormat::FieldValuePrinter { 434 TextFormat::Printer printer; in TEST_F() [all …]
|
D | text_format.h | 65 class LIBPROTOBUF_EXPORT TextFormat { 385 friend class TextFormat; 499 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(TextFormat); 502 inline void TextFormat::RecordLocation(ParseInfoTree* info_tree, in RecordLocation() 509 inline TextFormat::ParseInfoTree* TextFormat::CreateNested( in CreateNested()
|
/external/tensorflow/tensorflow/core/framework/ |
D | kernel_def_builder_test.cc | 28 protobuf::TextFormat::ParseFromString("op: 'A' device_type: 'CPU'", in TEST() 40 protobuf::TextFormat::ParseFromString(R"proto( in TEST() 54 protobuf::TextFormat::ParseFromString(R"proto( in TEST() 66 protobuf::TextFormat::ParseFromString(R"proto( in TEST() 82 protobuf::TextFormat::ParseFromString( in TEST()
|
D | op_gen_lib_test.cc | 182 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 214 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 251 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 283 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 311 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 341 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 382 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 409 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 442 protobuf::TextFormat::ParseFromString(kTestOpList, &op_list); // NOLINT in TEST() 512 protobuf::TextFormat::ParseFromString(op_list1, &op_list); // NOLINT in TEST()
|
D | kernel_def_util_test.cc | 29 EXPECT_TRUE(protobuf::TextFormat::MergeFromString(text, &node_def)); in NodeDefFromText() 35 EXPECT_TRUE(protobuf::TextFormat::MergeFromString(text, &kernel_def)); in KernelDefFromText()
|
/external/tensorflow/tensorflow/core/graph/ |
D | validate_test.cc | 45 auto parser = protobuf::TextFormat::Parser(); in TEST() 60 auto parser = protobuf::TextFormat::Parser(); in TEST() 83 auto parser = protobuf::TextFormat::Parser(); in TEST() 105 auto parser = protobuf::TextFormat::Parser(); in TEST() 117 auto parser = protobuf::TextFormat::Parser(); in TEST() 160 auto parser = protobuf::TextFormat::Parser(); in TEST() 175 auto parser = protobuf::TextFormat::Parser(); in TEST()
|
/external/opencensus-java/impl_core/src/jmh/java/io/opencensus/implcore/trace/propagation/ |
D | TextFormatBenchmarkBase.java | 21 import io.opencensus.trace.propagation.TextFormat; 22 import io.opencensus.trace.propagation.TextFormat.Getter; 23 import io.opencensus.trace.propagation.TextFormat.Setter; 46 private final TextFormat textFormat; 48 TextFormatBenchmarkBase(TextFormat textFormat) { in TextFormatBenchmarkBase()
|
D | B3FormatImplBenchmark.java | 25 import io.opencensus.trace.propagation.TextFormat; 26 import io.opencensus.trace.propagation.TextFormat.Getter; 27 import io.opencensus.trace.propagation.TextFormat.Setter;
|
/external/tensorflow/tensorflow/core/kernels/ |
D | summary_op_test.cc | 44 CHECK(protobuf::TextFormat::ParseFromString(expected_str, &expected)); in EXPECT_SummaryMatches() 291 ASSERT_TRUE(protobuf::TextFormat::ParseFromString( in TEST_F() 296 ASSERT_TRUE(protobuf::TextFormat::ParseFromString( in TEST_F() 299 ASSERT_TRUE(protobuf::TextFormat::ParseFromString( in TEST_F() 325 ASSERT_TRUE(protobuf::TextFormat::ParseFromString( in TEST_F() 330 ASSERT_TRUE(protobuf::TextFormat::ParseFromString( in TEST_F() 333 ASSERT_TRUE(protobuf::TextFormat::ParseFromString( in TEST_F() 359 ASSERT_TRUE(protobuf::TextFormat::ParseFromString( in TEST_F() 364 ASSERT_TRUE(protobuf::TextFormat::ParseFromString( in TEST_F()
|
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_stats_test.cc | 91 CHECK(protobuf::TextFormat::ParseFromString( in TEST_F() 127 CHECK(protobuf::TextFormat::ParseFromString( in TEST_F() 163 CHECK(protobuf::TextFormat::ParseFromString( in TEST_F() 194 CHECK(protobuf::TextFormat::ParseFromString( in TEST_F() 244 CHECK(protobuf::TextFormat::ParseFromString( in TEST_F() 278 CHECK(protobuf::TextFormat::ParseFromString( in TEST_F()
|
D | tfprof_utils.h | 54 } else if (protobuf::TextFormat::ParseFromString(out, proto)) { in ReadProtoFile() 58 if (protobuf::TextFormat::ParseFromString(out, proto)) { in ReadProtoFile()
|
/external/opencensus-java/api/src/test/java/io/opencensus/trace/propagation/ |
D | TextFormatTest.java | 22 import io.opencensus.trace.propagation.TextFormat.Getter; 23 import io.opencensus.trace.propagation.TextFormat.Setter; 32 private static final TextFormat textFormat = TextFormat.getNoopTextFormat();
|
/external/tensorflow/tensorflow/core/api_def/ |
D | update_api_def_test.cc | 71 protobuf::TextFormat::ParseFromString(op_text, &op); // NOLINT in TEST() 137 protobuf::TextFormat::ParseFromString(op1_text, &op1); // NOLINT in TEST() 138 protobuf::TextFormat::ParseFromString(op2_text, &op2); // NOLINT in TEST() 139 protobuf::TextFormat::ParseFromString(op3_text, &op3); // NOLINT in TEST() 174 protobuf::TextFormat::ParseFromString(op_text, &op); // NOLINT in TEST()
|
/external/opencensus-java/api/src/main/java/io/opencensus/trace/propagation/ |
D | PropagationComponent.java | 50 public abstract TextFormat getB3Format(); in getB3Format() 69 public TextFormat getB3Format() { in getB3Format() 70 return TextFormat.getNoopTextFormat(); in getB3Format()
|
D | TextFormat.java | 83 public abstract class TextFormat { class 176 static TextFormat getNoopTextFormat() { in getNoopTextFormat() 180 private static final class NoopTextFormat extends TextFormat {
|
/external/libprotobuf-mutator/src/ |
D | text_format.cc | 21 using protobuf::TextFormat; 29 TextFormat::Parser parser; in ParseTextMessage() 50 if (!protobuf::TextFormat::PrintToString(message, &tmp)) return {}; in SaveMessageAsText()
|
/external/desugar/java/com/google/devtools/common/options/ |
D | InvocationPolicyParser.java | 21 import com.google.protobuf.TextFormat; 50 TextFormat.merge(policy, builder); in parsePolicy() 53 } catch (InvalidProtocolBufferException | TextFormat.ParseException e) { in parsePolicy()
|
/external/opencensus-java/contrib/http_util/src/main/java/io/opencensus/contrib/http/util/ |
D | HttpPropagationUtil.java | 19 import io.opencensus.trace.propagation.TextFormat; 38 public static TextFormat getCloudTraceFormat() { in getCloudTraceFormat()
|
/external/opencensus-java/impl_core/src/main/java/io/opencensus/implcore/trace/propagation/ |
D | PropagationComponentImpl.java | 21 import io.opencensus.trace.propagation.TextFormat; 34 public TextFormat getB3Format() { in getB3Format()
|
/external/opencensus-java/contrib/http_util/src/test/java/io/opencensus/contrib/http/util/ |
D | HttpPropagationUtilTest.java | 21 import io.opencensus.trace.propagation.TextFormat; 32 TextFormat cloudTraceFormat = HttpPropagationUtil.getCloudTraceFormat(); in cloudTraceFormatNotNull()
|
/external/grpc-grpc/test/cpp/util/ |
D | config_grpc_cli.h | 40 #define GRPC_CUSTOM_TEXTFORMAT ::google::protobuf::TextFormat 59 typedef GRPC_CUSTOM_TEXTFORMAT TextFormat; typedef
|
/external/tensorflow/tensorflow/cc/framework/ |
D | cc_op_gen_test.cc | 112 protobuf::TextFormat::ParseFromString(kBaseOpDef, &op_defs); // NOLINT in TEST() 140 protobuf::TextFormat::ParseFromString(kBaseOpDef, &op_defs); // NOLINT in TEST() 171 protobuf::TextFormat::ParseFromString(kBaseOpDef, &op_defs); // NOLINT in TEST()
|
/external/perf_data_converter/src/quipper/ |
D | test_utils.h | 51 ASSERT_TRUE(TextFormat::Parse(&arr1, &proto1)); in CompareTextProtoFiles() 52 ASSERT_TRUE(TextFormat::Parse(&arr2, &proto2)); in CompareTextProtoFiles()
|