Lines Matching refs:fieldNumber
116 static void GPBWriteUInt32(GPBOutputBufferState *state, int32_t fieldNumber,
118 GPBWriteTagWithFormat(state, fieldNumber, GPBWireFormatVarint);
123 uint32_t fieldNumber, GPBWireFormat format) {
124 GPBWriteRawVarint32(state, GPBWireFormatMakeTag(fieldNumber, format));
210 - (void)writeDouble:(int32_t)fieldNumber value:(double)value {
211 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatFixed64);
219 - (void)writeFloat:(int32_t)fieldNumber value:(float)value {
220 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatFixed32);
228 - (void)writeUInt64:(int32_t)fieldNumber value:(uint64_t)value {
229 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatVarint);
237 - (void)writeInt64:(int32_t)fieldNumber value:(int64_t)value {
238 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatVarint);
246 - (void)writeInt32:(int32_t)fieldNumber value:(int32_t)value {
247 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatVarint);
255 - (void)writeFixed64:(int32_t)fieldNumber value:(uint64_t)value {
256 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatFixed64);
264 - (void)writeFixed32:(int32_t)fieldNumber value:(uint32_t)value {
265 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatFixed32);
273 - (void)writeBool:(int32_t)fieldNumber value:(BOOL)value {
274 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatVarint);
330 - (void)writeString:(int32_t)fieldNumber value:(NSString *)value {
331 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatLengthDelimited);
335 - (void)writeGroupNoTag:(int32_t)fieldNumber value:(GPBMessage *)value {
337 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatEndGroup);
340 - (void)writeGroup:(int32_t)fieldNumber value:(GPBMessage *)value {
341 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatStartGroup);
342 [self writeGroupNoTag:fieldNumber value:value];
345 - (void)writeUnknownGroupNoTag:(int32_t)fieldNumber
348 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatEndGroup);
351 - (void)writeUnknownGroup:(int32_t)fieldNumber
353 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatStartGroup);
354 [self writeUnknownGroupNoTag:fieldNumber value:value];
362 - (void)writeMessage:(int32_t)fieldNumber value:(GPBMessage *)value {
363 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatLengthDelimited);
372 - (void)writeBytes:(int32_t)fieldNumber value:(NSData *)value {
373 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatLengthDelimited);
381 - (void)writeUInt32:(int32_t)fieldNumber value:(uint32_t)value {
382 GPBWriteUInt32(&state_, fieldNumber, value);
389 - (void)writeEnum:(int32_t)fieldNumber value:(int32_t)value {
390 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatVarint);
398 - (void)writeSFixed32:(int32_t)fieldNumber value:(int32_t)value {
399 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatFixed32);
407 - (void)writeSFixed64:(int32_t)fieldNumber value:(int64_t)value {
408 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatFixed64);
416 - (void)writeSInt32:(int32_t)fieldNumber value:(int32_t)value {
417 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatVarint);
425 - (void)writeSInt64:(int32_t)fieldNumber value:(int64_t)value {
426 GPBWriteTagWithFormat(&state_, fieldNumber, GPBWireFormatVarint);
431 //%- (void)write##NAME##Array:(int32_t)fieldNumber
450 //% [self write##NAME:fieldNumber value:value];
456 //%- (void)write##NAME##Array:(int32_t)fieldNumber values:(NSArray *)values {
458 //% [self write##NAME:fieldNumber value:value];
465 - (void)writeDoubleArray:(int32_t)fieldNumber
484 [self writeDouble:fieldNumber value:value];
492 - (void)writeFloatArray:(int32_t)fieldNumber
511 [self writeFloat:fieldNumber value:value];
519 - (void)writeUInt64Array:(int32_t)fieldNumber
538 [self writeUInt64:fieldNumber value:value];
546 - (void)writeInt64Array:(int32_t)fieldNumber
565 [self writeInt64:fieldNumber value:value];
573 - (void)writeInt32Array:(int32_t)fieldNumber
592 [self writeInt32:fieldNumber value:value];
600 - (void)writeUInt32Array:(int32_t)fieldNumber
619 [self writeUInt32:fieldNumber value:value];
627 - (void)writeFixed64Array:(int32_t)fieldNumber
646 [self writeFixed64:fieldNumber value:value];
654 - (void)writeFixed32Array:(int32_t)fieldNumber
673 [self writeFixed32:fieldNumber value:value];
681 - (void)writeSInt32Array:(int32_t)fieldNumber
700 [self writeSInt32:fieldNumber value:value];
708 - (void)writeSInt64Array:(int32_t)fieldNumber
727 [self writeSInt64:fieldNumber value:value];
735 - (void)writeSFixed64Array:(int32_t)fieldNumber
754 [self writeSFixed64:fieldNumber value:value];
762 - (void)writeSFixed32Array:(int32_t)fieldNumber
781 [self writeSFixed32:fieldNumber value:value];
789 - (void)writeBoolArray:(int32_t)fieldNumber
808 [self writeBool:fieldNumber value:value];
816 - (void)writeEnumArray:(int32_t)fieldNumber
835 [self writeEnum:fieldNumber value:value];
843 - (void)writeStringArray:(int32_t)fieldNumber values:(NSArray *)values {
845 [self writeString:fieldNumber value:value];
852 - (void)writeMessageArray:(int32_t)fieldNumber values:(NSArray *)values {
854 [self writeMessage:fieldNumber value:value];
861 - (void)writeBytesArray:(int32_t)fieldNumber values:(NSArray *)values {
863 [self writeBytes:fieldNumber value:value];
870 - (void)writeGroupArray:(int32_t)fieldNumber values:(NSArray *)values {
872 [self writeGroup:fieldNumber value:value];
879 - (void)writeUnknownGroupArray:(int32_t)fieldNumber values:(NSArray *)values {
881 [self writeUnknownGroup:fieldNumber value:value];
887 - (void)writeMessageSetExtension:(int32_t)fieldNumber
891 GPBWriteUInt32(&state_, GPBWireFormatMessageSetTypeId, fieldNumber);
897 - (void)writeRawMessageSetExtension:(int32_t)fieldNumber value:(NSData *)value {
900 GPBWriteUInt32(&state_, GPBWireFormatMessageSetTypeId, fieldNumber);
959 - (void)writeTag:(uint32_t)fieldNumber format:(GPBWireFormat)format {
960 GPBWriteTagWithFormat(&state_, fieldNumber, format);
1088 size_t GPBComputeDoubleSize(int32_t fieldNumber, double value) {
1089 return GPBComputeTagSize(fieldNumber) + GPBComputeDoubleSizeNoTag(value);
1092 size_t GPBComputeFloatSize(int32_t fieldNumber, float value) {
1093 return GPBComputeTagSize(fieldNumber) + GPBComputeFloatSizeNoTag(value);
1096 size_t GPBComputeUInt64Size(int32_t fieldNumber, uint64_t value) {
1097 return GPBComputeTagSize(fieldNumber) + GPBComputeUInt64SizeNoTag(value);
1100 size_t GPBComputeInt64Size(int32_t fieldNumber, int64_t value) {
1101 return GPBComputeTagSize(fieldNumber) + GPBComputeInt64SizeNoTag(value);
1104 size_t GPBComputeInt32Size(int32_t fieldNumber, int32_t value) {
1105 return GPBComputeTagSize(fieldNumber) + GPBComputeInt32SizeNoTag(value);
1108 size_t GPBComputeFixed64Size(int32_t fieldNumber, uint64_t value) {
1109 return GPBComputeTagSize(fieldNumber) + GPBComputeFixed64SizeNoTag(value);
1112 size_t GPBComputeFixed32Size(int32_t fieldNumber, uint32_t value) {
1113 return GPBComputeTagSize(fieldNumber) + GPBComputeFixed32SizeNoTag(value);
1116 size_t GPBComputeBoolSize(int32_t fieldNumber, BOOL value) {
1117 return GPBComputeTagSize(fieldNumber) + GPBComputeBoolSizeNoTag(value);
1120 size_t GPBComputeStringSize(int32_t fieldNumber, NSString *value) {
1121 return GPBComputeTagSize(fieldNumber) + GPBComputeStringSizeNoTag(value);
1124 size_t GPBComputeGroupSize(int32_t fieldNumber, GPBMessage *value) {
1125 return GPBComputeTagSize(fieldNumber) * 2 + GPBComputeGroupSizeNoTag(value);
1128 size_t GPBComputeUnknownGroupSize(int32_t fieldNumber,
1130 return GPBComputeTagSize(fieldNumber) * 2 +
1134 size_t GPBComputeMessageSize(int32_t fieldNumber, GPBMessage *value) {
1135 return GPBComputeTagSize(fieldNumber) + GPBComputeMessageSizeNoTag(value);
1138 size_t GPBComputeBytesSize(int32_t fieldNumber, NSData *value) {
1139 return GPBComputeTagSize(fieldNumber) + GPBComputeBytesSizeNoTag(value);
1142 size_t GPBComputeUInt32Size(int32_t fieldNumber, uint32_t value) {
1143 return GPBComputeTagSize(fieldNumber) + GPBComputeUInt32SizeNoTag(value);
1146 size_t GPBComputeEnumSize(int32_t fieldNumber, int32_t value) {
1147 return GPBComputeTagSize(fieldNumber) + GPBComputeEnumSizeNoTag(value);
1150 size_t GPBComputeSFixed32Size(int32_t fieldNumber, int32_t value) {
1151 return GPBComputeTagSize(fieldNumber) + GPBComputeSFixed32SizeNoTag(value);
1154 size_t GPBComputeSFixed64Size(int32_t fieldNumber, int64_t value) {
1155 return GPBComputeTagSize(fieldNumber) + GPBComputeSFixed64SizeNoTag(value);
1158 size_t GPBComputeSInt32Size(int32_t fieldNumber, int32_t value) {
1159 return GPBComputeTagSize(fieldNumber) + GPBComputeSInt32SizeNoTag(value);
1162 size_t GPBComputeSInt64Size(int32_t fieldNumber, int64_t value) {
1163 return GPBComputeTagSize(fieldNumber) +
1167 size_t GPBComputeMessageSetExtensionSize(int32_t fieldNumber,
1170 GPBComputeUInt32Size(GPBWireFormatMessageSetTypeId, fieldNumber) +
1174 size_t GPBComputeRawMessageSetExtensionSize(int32_t fieldNumber,
1177 GPBComputeUInt32Size(GPBWireFormatMessageSetTypeId, fieldNumber) +
1181 size_t GPBComputeTagSize(int32_t fieldNumber) {
1183 GPBWireFormatMakeTag(fieldNumber, GPBWireFormatVarint));