Searched refs:IsFieldUsed (Results 1 – 4 of 4) sorted by relevance
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
D | cpp_message_field.cc | 107 if (!IsFieldUsed(descriptor_, options_)) { in GenerateAccessorDeclarations() 136 if (IsFieldUsed(descriptor_, options_)) { in GenerateAccessorDeclarations() 388 GOOGLE_CHECK(IsFieldUsed(descriptor_, options_)); in GenerateClearingCode() 406 GOOGLE_CHECK(IsFieldUsed(descriptor_, options_)); in GenerateMessageClearingCode() 425 GOOGLE_CHECK(IsFieldUsed(descriptor_, options_)); in GenerateMergingCode() 440 GOOGLE_CHECK(IsFieldUsed(descriptor_, options_)); in GenerateSwappingCode() 447 GOOGLE_CHECK(IsFieldUsed(descriptor_, options_)); in GenerateDestructorCode() 463 GOOGLE_CHECK(IsFieldUsed(descriptor_, options_)); in GenerateConstructorCode() 471 GOOGLE_CHECK(IsFieldUsed(descriptor_, options_)); in GenerateCopyConstructorCode() 484 GOOGLE_CHECK(IsFieldUsed(descriptor_, options_)); in GenerateSerializeWithCachedSizesToArray() [all …]
|
D | cpp_message.cc | 594 if (!IsFieldUsed(field, options_)) { in MessageGenerator() 692 IsFieldUsed(field, options_)) { in GenerateFieldAccessorDeclarations() 721 IsFieldUsed(field, options_) ? ";" : " {__builtin_trap();}"); in GenerateFieldAccessorDeclarations() 722 if (IsFieldUsed(field, options_)) { in GenerateFieldAccessorDeclarations() 731 IsFieldUsed(field, options_) ? ";" : " {__builtin_trap();}"); in GenerateFieldAccessorDeclarations() 732 if (IsFieldUsed(field, options_)) { in GenerateFieldAccessorDeclarations() 739 if (IsFieldUsed(field, options_)) { in GenerateFieldAccessorDeclarations() 748 IsFieldUsed(field, options_) ? ";" : "{__builtin_trap();}"); in GenerateFieldAccessorDeclarations() 783 if (!IsFieldUsed(field, options_)) { in GenerateSingularFieldHasBits() 864 if (!IsFieldUsed(field, options_)) { in GenerateOneofMemberHasBits() [all …]
|
D | cpp_helpers.h | 351 inline bool IsFieldUsed(const FieldDescriptor* /*field*/, in IsFieldUsed() function
|
D | cpp_helpers.cc | 1391 if (IsFieldUsed(field, options_)) { in GenerateParserLoop()
|