• Home
  • Raw
  • Download

Lines Matching refs:oneof

122   NSCAssert(idx < 0, @"%@: invalid index (%d) for oneof.",
147 void GPBMaybeClearOneof(GPBMessage *self, GPBOneofDescriptor *oneof,
151 // Do nothing/nothing set in the oneof.
157 GPBFieldDescriptor *fieldSet = [oneof fieldWithNumber:fieldNumberSet];
159 @"%@: oneof set to something (%u) not in the oneof?",
168 // Set to nothing stored in the oneof.
200 //% GPBOneofDescriptor *oneof = field->containingOneof_;
201 //% if (oneof) {
203 //% GPBMaybeClearOneof(self, oneof, fieldDesc->hasIndex, fieldDesc->number);
320 // Non repeated/map can be in an oneof, clear any existing value from the
321 // oneof.
322 GPBOneofDescriptor *oneof = field->containingOneof_;
323 if (oneof) {
325 GPBMaybeClearOneof(self, oneof, fieldDesc->hasIndex, fieldDesc->number);
509 GPBOneofDescriptor *oneof = field->containingOneof_;
510 if (oneof) {
511 GPBMaybeClearOneof(self, oneof, fieldDesc->hasIndex, fieldDesc->number);
555 GPBOneofDescriptor *oneof = field->containingOneof_;
556 if (oneof) {
558 GPBMaybeClearOneof(self, oneof, fieldDesc->hasIndex, fieldDesc->number);
604 GPBOneofDescriptor *oneof = field->containingOneof_;
605 if (oneof) {
607 GPBMaybeClearOneof(self, oneof, fieldDesc->hasIndex, fieldDesc->number);
653 GPBOneofDescriptor *oneof = field->containingOneof_;
654 if (oneof) {
656 GPBMaybeClearOneof(self, oneof, fieldDesc->hasIndex, fieldDesc->number);
702 GPBOneofDescriptor *oneof = field->containingOneof_;
703 if (oneof) {
705 GPBMaybeClearOneof(self, oneof, fieldDesc->hasIndex, fieldDesc->number);
751 GPBOneofDescriptor *oneof = field->containingOneof_;
752 if (oneof) {
754 GPBMaybeClearOneof(self, oneof, fieldDesc->hasIndex, fieldDesc->number);
800 GPBOneofDescriptor *oneof = field->containingOneof_;
801 if (oneof) {
803 GPBMaybeClearOneof(self, oneof, fieldDesc->hasIndex, fieldDesc->number);