Lines Matching refs:description_

85     if (fieldDesc->description_->hasIndex == hasIndex) {
198 if (fieldDescriptor->description_->flags & GPBFieldTextFormatNameCustom) {
318 GPBMessageFieldDescription *description = self->description_;
331 GPBMessageFieldDescription *description = self->description_;
378 description_ = coreDesc;
441 if (description_->dataType == GPBDataTypeBytes &&
442 !(description_->flags & GPBFieldRepeated)) {
449 return description_->dataType;
453 return (description_->flags & GPBFieldHasDefaultValue) != 0;
457 return description_->number;
461 return @(description_->name);
465 return (description_->flags & GPBFieldRequired) != 0;
469 return (description_->flags & GPBFieldOptional) != 0;
473 GPBFieldFlags flags = description_->flags;
484 switch (description_->flags & GPBFieldMapKeyMask) {
517 return (description_->flags & GPBFieldPacked) != 0;
521 NSAssert(description_->dataType == GPBDataTypeEnum,
523 if (description_->flags & GPBFieldHasEnumDescriptor) {
531 if (description_->flags & GPBFieldHasEnumDescriptor) {
543 if (!(description_->flags & GPBFieldRepeated)) {
546 GPBDataType type = description_->dataType;
557 if ((description_->flags & GPBFieldTextFormatNameCustom) != 0) {
581 if (((description_->flags & GPBFieldRepeated) != 0) &&
588 if (description_->dataType == GPBDataTypeGroup) {
804 description_ = description;
821 GPBDataType type = description_->dataType;
846 if ((description_->dataType == GPBDataTypeBytes) &&
847 !GPBExtensionIsRepeated(description_)) {
860 return @(description_->singletonName);
864 return description_->singletonName;
868 return description_->fieldNumber;
872 return description_->dataType;
876 return GPBWireFormatForType(description_->dataType,
877 GPBExtensionIsPacked(description_));
881 NSAssert(GPBExtensionIsRepeated(description_),
883 return GPBWireFormatForType(description_->dataType,
884 !GPBExtensionIsPacked(description_));
888 return GPBExtensionIsRepeated(description_);
892 return (description_->options & GPBFieldMapKeyMask) != 0;
896 return GPBExtensionIsPacked(description_);
900 return objc_getClass(description_->messageOrGroupClassName);
904 if (description_->dataType == GPBDataTypeEnum) {
905 GPBEnumDescriptor *enumDescriptor = description_->enumDescriptorFunc();
912 if (GPBExtensionIsRepeated(description_)) {
916 switch (description_->dataType) {
952 int32_t selfNumber = description_->fieldNumber;
953 int32_t otherNumber = other->description_->fieldNumber;