Searched refs:pb_h (Results 1 – 4 of 4) sorted by relevance
/external/protobuf/src/google/protobuf/compiler/cpp/ |
D | metadata_test.cc | 60 std::string* pb_h, GeneratedCodeInfo* pb_h_info, in CaptureMetadata() argument 85 if (pb_h != NULL && pb_h_info != NULL) { in CaptureMetadata() 87 File::GetContents(output_base + ".pb.h", pb_h, true)); in CaptureMetadata() 114 std::string pb_h; in TEST_F() local 117 CaptureMetadata("test.proto", &file, &pb_h, &info, NULL, NULL, NULL)); in TEST_F() 125 EXPECT_TRUE(atu::AnnotationMatchesSubstring(pb_h, enum_annotation, "Enum")); in TEST_F() 131 std::string pb_h; in TEST_F() local 134 CaptureMetadata("test.proto", &file, &pb_h, &info, NULL, NULL, NULL)); in TEST_F() 135 EXPECT_TRUE(pb_h.find("#ifdef guard_name") != string::npos); in TEST_F() 136 EXPECT_TRUE(pb_h.find("#pragma pragma_name \"test.pb.h.meta\"") != in TEST_F() [all …]
|
D | cpp_file.h | 124 void GenerateTopHeaderGuard(io::Printer* printer, bool pb_h); 125 void GenerateBottomHeaderGuard(io::Printer* printer, bool pb_h);
|
D | cpp_file.cc | 1185 void FileGenerator::GenerateTopHeaderGuard(io::Printer* printer, bool pb_h) { in GenerateTopHeaderGuard() argument 1197 IncludeGuard(file_, pb_h, options_)); in GenerateTopHeaderGuard() 1205 void FileGenerator::GenerateBottomHeaderGuard(io::Printer* printer, bool pb_h) { in GenerateBottomHeaderGuard() argument 1208 IncludeGuard(file_, pb_h, options_)); in GenerateBottomHeaderGuard()
|
D | cpp_helpers.h | 454 inline std::string IncludeGuard(const FileDescriptor* file, bool pb_h, in IncludeGuard() argument 459 file->name() + (pb_h && options.proto_h ? ".pb.h" : "")); in IncludeGuard()
|