Home
last modified time | relevance | path

Searched refs:GPBFieldDescriptor (Results 1 – 18 of 18) sorted by relevance

/external/protobuf/objectivec/
DGPBUtilities.h66 BOOL GPBMessageHasFieldSet(GPBMessage *self, GPBFieldDescriptor *field);
69 void GPBClearMessageField(GPBMessage *self, GPBFieldDescriptor *field);
82 NSData *GPBGetMessageBytesField(GPBMessage *self, GPBFieldDescriptor *field);
84 void GPBSetMessageBytesField(GPBMessage *self, GPBFieldDescriptor *field, NSData *value);
87 NSString *GPBGetMessageStringField(GPBMessage *self, GPBFieldDescriptor *field);
89 void GPBSetMessageStringField(GPBMessage *self, GPBFieldDescriptor *field, NSString *value);
92 GPBMessage *GPBGetMessageMessageField(GPBMessage *self, GPBFieldDescriptor *field);
94 void GPBSetMessageMessageField(GPBMessage *self, GPBFieldDescriptor *field, GPBMessage *value);
97 GPBMessage *GPBGetMessageGroupField(GPBMessage *self, GPBFieldDescriptor *field);
99 void GPBSetMessageGroupField(GPBMessage *self, GPBFieldDescriptor *field, GPBMessage *value);
[all …]
DGPBUtilities_PackagePrivate.h150 GPB_INLINE BOOL GPBFieldDataTypeIsMessage(GPBFieldDescriptor *field) { in GPBFieldDataTypeIsMessage()
154 GPB_INLINE BOOL GPBFieldDataTypeIsObject(GPBFieldDescriptor *field) { in GPBFieldDataTypeIsObject()
163 GPB_INLINE BOOL GPBFieldStoresObject(GPBFieldDescriptor *field) { in GPBFieldStoresObject()
177 GPBGetHasIvarField(GPBMessage *self, GPBFieldDescriptor *field) { in GPBGetHasIvarField()
181 GPB_INLINE void GPBSetHasIvarField(GPBMessage *self, GPBFieldDescriptor *field, in GPBSetHasIvarField()
199 GPBFieldDescriptor *field,
206 GPBFieldDescriptor *field,
213 GPBFieldDescriptor *field,
220 GPBFieldDescriptor *field,
227 GPBFieldDescriptor *field,
[all …]
DGPBDescriptor.h36 @class GPBFieldDescriptor;
57 @property(nonatomic, readonly, strong, nullable) NSArray<GPBFieldDescriptor*> *fields;
66 - (nullable GPBFieldDescriptor *)fieldWithNumber:(uint32_t)fieldNumber;
67 - (nullable GPBFieldDescriptor *)fieldWithName:(NSString *)name;
81 @property(nonatomic, readonly) NSArray<GPBFieldDescriptor*> *fields;
83 - (nullable GPBFieldDescriptor *)fieldWithNumber:(uint32_t)fieldNumber;
84 - (nullable GPBFieldDescriptor *)fieldWithName:(NSString *)name;
87 @interface GPBFieldDescriptor : NSObject
DGPBDescriptor_PackagePrivate.h186 @interface GPBFieldDescriptor () { in GPBFieldDescriptor() function
248 GPB_INLINE BOOL GPBFieldIsMapOrArray(GPBFieldDescriptor *field) { in GPBFieldIsMapOrArray()
253 GPB_INLINE GPBDataType GPBGetFieldDataType(GPBFieldDescriptor *field) { in GPBGetFieldDataType()
257 GPB_INLINE int32_t GPBFieldHasIndex(GPBFieldDescriptor *field) { in GPBFieldHasIndex()
261 GPB_INLINE uint32_t GPBFieldNumber(GPBFieldDescriptor *field) { in GPBFieldNumber()
265 uint32_t GPBFieldTag(GPBFieldDescriptor *self);
271 uint32_t GPBFieldAlternateTag(GPBFieldDescriptor *self);
DGPBUtilities.m66 GPBFieldDescriptor *field = [descriptor fieldWithNumber:fieldNumber];
70 BOOL GPBMessageHasFieldSet(GPBMessage *self, GPBFieldDescriptor *field) {
84 void GPBClearMessageField(GPBMessage *self, GPBFieldDescriptor *field) {
157 GPBFieldDescriptor *fieldSet = [oneof fieldWithNumber:fieldNumberSet];
177 //% TYPE$S NAME$S GPBFieldDescriptor *field) {
189 //% NAME$S GPBFieldDescriptor *field,
197 //% NAME$S GPBFieldDescriptor *field,
225 //% TYPE$S NAME$S GPBFieldDescriptor *field) {
231 //% NAME$S GPBFieldDescriptor *field,
241 GPBMessage *self, GPBFieldDescriptor *field,
[all …]
DGPBDictionary_PackagePrivate.h38 @class GPBFieldDescriptor;
41 - (size_t)computeSerializedSizeAsField:(GPBFieldDescriptor *)field;
43 asField:(GPBFieldDescriptor *)field;
469 GPBFieldDescriptor *field);
475 GPBFieldDescriptor *field);
480 GPBFieldDescriptor *field);
485 GPBFieldDescriptor *field,
DGPBDescriptor.m84 for (GPBFieldDescriptor *fieldDesc in allMessageFields) {
135 GPBFieldDescriptor *fieldDescriptor =
136 [[GPBFieldDescriptor alloc] initWithFieldDescription:desc
197 for (GPBFieldDescriptor *fieldDescriptor in fields_) {
221 - (GPBFieldDescriptor *)fieldWithNumber:(uint32_t)fieldNumber {
222 for (GPBFieldDescriptor *descriptor in fields_) {
230 - (GPBFieldDescriptor *)fieldWithName:(NSString *)name {
231 for (GPBFieldDescriptor *descriptor in fields_) {
279 for (GPBFieldDescriptor *fieldDesc in fields) {
297 - (GPBFieldDescriptor *)fieldWithNumber:(uint32_t)fieldNumber {
[all …]
DGPBCodedInputStream_PackagePrivate.h40 @class GPBFieldDescriptor;
76 field:(GPBFieldDescriptor *)field
DGPBMessage.m75 GPBFieldDescriptor *autocreatorField_;
80 static id CreateArrayForField(GPBFieldDescriptor *field,
84 GPBFieldDescriptor *field,
86 static id GetArrayIvarWithField(GPBMessage *self, GPBFieldDescriptor *field);
87 static id CreateMapForField(GPBFieldDescriptor *field,
91 GPBFieldDescriptor *field,
93 static id GetMapIvarWithField(GPBMessage *self, GPBFieldDescriptor *field);
166 static id CreateArrayForField(GPBFieldDescriptor *field,
229 static id CreateMapForField(GPBFieldDescriptor *field,
541 GPBFieldDescriptor *field,
[all …]
DGPBDictionary.m324 size_t GPBDictionaryComputeSizeInternalHelper(NSDictionary *dict, GPBFieldDescriptor *field) {
340 GPBFieldDescriptor *field) {
359 BOOL GPBDictionaryIsInitializedInternalHelper(NSDictionary *dict, GPBFieldDescriptor *field) {
376 GPBFieldDescriptor *field) {
444 GPBFieldDescriptor *field,
863 …##VHELPER(KEY_NAME, VALUE_NAME)- (size_t)computeSerializedSizeAsField:(GPBFieldDescriptor *)field {
886 //% asField:(GPBFieldDescriptor *)field {
1071 …HODS_##HELPER(Bool, VALUE_NAME)- (size_t)computeSerializedSizeAsField:(GPBFieldDescriptor *)field {
1089 //% asField:(GPBFieldDescriptor *)field {
1628 - (size_t)computeSerializedSizeAsField:(GPBFieldDescriptor *)field { argument
[all …]
DGPBMessage_PackagePrivate.h122 GPBFieldDescriptor *field)
DGPBMessage.h40 @class GPBFieldDescriptor;
DGPBCodedInputStream.m454 field:(GPBFieldDescriptor *)field
/external/protobuf/objectivec/Tests/
DGPBDescriptorTests.m47 GPBFieldDescriptor *fieldDescriptorWithName =
50 GPBFieldDescriptor *fieldDescriptorWithNumber =
141 GPBFieldDescriptor *fieldDescriptor =
165 GPBFieldDescriptor *fooStringField =
168 GPBFieldDescriptor *barStringField =
213 GPBFieldDescriptor *bazString =
DGPBMessageTests.m445 GPBFieldDescriptor *fieldDescriptor =
1801 GPBFieldDescriptor *fieldDesc = [descriptor fieldWithName:@"foo"];
/external/protobuf/objectivec/google/protobuf/
DType.pbobjc.m180 GPBFieldDescriptor *field = [descriptor fieldWithNumber:GPBType_FieldNumber_Syntax];
186 GPBFieldDescriptor *field = [descriptor fieldWithNumber:GPBType_FieldNumber_Syntax];
338 GPBFieldDescriptor *field = [descriptor fieldWithNumber:GPBField_FieldNumber_Kind];
344 GPBFieldDescriptor *field = [descriptor fieldWithNumber:GPBField_FieldNumber_Kind];
350 GPBFieldDescriptor *field = [descriptor fieldWithNumber:GPBField_FieldNumber_Cardinality];
356 GPBFieldDescriptor *field = [descriptor fieldWithNumber:GPBField_FieldNumber_Cardinality];
561 GPBFieldDescriptor *field = [descriptor fieldWithNumber:GPBEnum_FieldNumber_Syntax];
567 GPBFieldDescriptor *field = [descriptor fieldWithNumber:GPBEnum_FieldNumber_Syntax];
DApi.pbobjc.m157 GPBFieldDescriptor *field = [descriptor fieldWithNumber:GPBApi_FieldNumber_Syntax];
163 GPBFieldDescriptor *field = [descriptor fieldWithNumber:GPBApi_FieldNumber_Syntax];
281 GPBFieldDescriptor *field = [descriptor fieldWithNumber:GPBMethod_FieldNumber_Syntax];
287 GPBFieldDescriptor *field = [descriptor fieldWithNumber:GPBMethod_FieldNumber_Syntax];
DStruct.pbobjc.m212 GPBFieldDescriptor *field = [descriptor fieldWithNumber:GPBValue_FieldNumber_NullValue];
218 GPBFieldDescriptor *field = [descriptor fieldWithNumber:GPBValue_FieldNumber_NullValue];