Home
last modified time | relevance | path

Searched refs:fields_ (Results 1 – 17 of 17) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dunknown_field_set.cc73 GOOGLE_DCHECK(fields_ != NULL && fields_->size() > 0); in ClearFallback()
74 int n = fields_->size(); in ClearFallback()
76 (*fields_)[--n].Delete(); in ClearFallback()
78 delete fields_; in ClearFallback()
79 fields_ = NULL; in ClearFallback()
85 fields_ = new vector<UnknownField>(); in InternalMergeFrom()
87 fields_->push_back((*other.fields_)[i]); in InternalMergeFrom()
88 fields_->back().DeepCopy((*other.fields_)[i]); in InternalMergeFrom()
96 if (fields_ == NULL) fields_ = new vector<UnknownField>(); in MergeFrom()
98 fields_->push_back((*other.fields_)[i]); in MergeFrom()
[all …]
Dunknown_field_set.h163 std::vector<UnknownField>* fields_; variable
244 inline UnknownFieldSet::UnknownFieldSet() : fields_(NULL) {} in UnknownFieldSet()
251 if (fields_ != NULL) { in Clear()
258 return !fields_; in empty()
262 std::swap(fields_, x->fields_); in Swap()
266 return fields_ ? static_cast<int>(fields_->size()) : 0; in field_count()
269 GOOGLE_DCHECK(fields_ != NULL); in field()
270 return (*fields_)[index]; in field()
273 return &(*fields_)[index]; in mutable_field()
Dstruct.pb.cc57 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Struct, fields_), in protobuf_AssignDesc_google_2fprotobuf_2fstruct_2eproto()
237 fields_.SetAssignDescriptorCallback( in SharedCtor()
239 fields_.SetEntryDescriptor( in SharedCtor()
280 fields_.Clear(); in Clear()
303 ::google::protobuf::Map< ::std::string, ::google::protobuf::Value > > parser(&fields_); in MergePartialFromCodedStream()
372 entry.reset(fields_.NewEntryWrapper( in SerializeWithCachedSizes()
383 entry.reset(fields_.NewEntryWrapper( in SerializeWithCachedSizes()
427 entry.reset(fields_.NewEntryWrapper( in InternalSerializeWithCachedSizesToArray()
440 entry.reset(fields_.NewEntryWrapper( in InternalSerializeWithCachedSizesToArray()
466 entry.reset(fields_.NewEntryWrapper(it->first, it->second)); in ByteSize()
[all …]
Dstruct.pb.h154 0 > fields_;
427 return fields_.size(); in fields_size()
430 fields_.Clear(); in clear_fields()
435 return fields_.GetMap(); in fields()
440 return fields_.MutableMap(); in mutable_fields()
Dtype.pb.h265 ::google::protobuf::RepeatedPtrField< ::google::protobuf::Field > fields_;
927 return fields_.size(); in fields_size()
930 fields_.Clear(); in clear_fields()
934 return fields_.Get(index); in fields()
938 return fields_.Mutable(index); in mutable_fields()
942 return fields_.Add(); in add_fields()
947 return &fields_; in mutable_fields()
952 return fields_; in fields()
Dtype.pb.cc57 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(Type, fields_), in protobuf_AssignDesc_google_2fprotobuf_2ftype_2eproto()
360 fields_.Clear(); in Clear()
674 fields_.MergeFrom(from.fields_); in MergeFrom()
714 fields_.UnsafeArenaSwap(&other->fields_); in InternalSwap()
780 return fields_.size(); in fields_size()
783 fields_.Clear(); in clear_fields()
787 return fields_.Get(index); in fields()
791 return fields_.Mutable(index); in mutable_fields()
795 return fields_.Add(); in add_fields()
800 return &fields_; in mutable_fields()
[all …]
Ddescriptor.h397 FieldDescriptor* fields_; variable
790 const FieldDescriptor** fields_; variable
1821 return static_cast<int>(this - containing_type_->fields_); in index()
1913 return fields_[index]; in field()
Ddescriptor.cc4530 result->fields_ = NULL; in BuildOneof()
4749 CrossLinkField(&message->fields_[i], proto.field(i)); in CrossLinkMessage()
4796 oneof_decl->fields_ = in CrossLinkMessage()
4811 message->fields_[i].index_in_oneof_ = mutable_oneof_decl->field_count_; in CrossLinkMessage()
4812 mutable_oneof_decl->fields_[mutable_oneof_decl->field_count_++] = in CrossLinkMessage()
5174 ValidateProto3Field(message->fields_ + i, proto.field(i)); in ValidateProto3Message()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBUnknownFieldSet.m83 CFMutableDictionaryRef fields_;
104 if (fields_) {
105 CFDictionaryApplyFunction(fields_, CopyWorker, result);
111 if (fields_) {
112 CFRelease(fields_);
121 if ((fields_ == NULL) && (set->fields_ == NULL)) {
123 } else if ((fields_ != NULL) && (set->fields_ != NULL)) {
124 equal = CFEqual(fields_, set->fields_);
132 if (fields_) {
133 return CFHash(fields_);
[all …]
DGPBDescriptor.m105 @synthesize fields = fields_;
167 fields_ = [fields retain];
175 [fields_ release];
187 NSArray *fieldsForOneof = NewFieldsArrayForHasIndex(hasIndex, fields_);
203 for (GPBFieldDescriptor *fieldDescriptor in fields_) {
228 for (GPBFieldDescriptor *descriptor in fields_) {
237 for (GPBFieldDescriptor *descriptor in fields_) {
283 @synthesize fields = fields_;
289 fields_ = [fields retain];
300 [fields_ release];
[all …]
DGPBDescriptor_PackagePrivate.h139 NSArray *fields_; in GPBDescriptor()
179 NSArray *fields_; in GPBOneofDescriptor() local
DGPBMessage.m668 for (GPBFieldDescriptor *field in descriptor->fields_) {
690 for (GPBFieldDescriptor *field in descriptor->fields_) {
902 for (GPBFieldDescriptor *field in descriptor->fields_) {
1000 } // for (field in descriptor->fields_)
1020 for (GPBFieldDescriptor *field in descriptor->fields_) {
1096 for (GPBFieldDescriptor *field in descriptor->fields_) {
1237 NSArray *fieldsArray = descriptor->fields_;
2272 NSArray *fields = descriptor->fields_;
2387 for (GPBFieldDescriptor *field in descriptor->fields_) {
2587 for (GPBFieldDescriptor *field in descriptor->fields_) {
[all …]
DGPBUtilities.m1471 NSArray *fieldsArray = descriptor->fields_;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/WellKnownTypes/
DStruct.cs102 fields_ = other.fields_.Clone(); in Struct()
114 …private readonly pbc::MapField<string, global::Google.Protobuf.WellKnownTypes.Value> fields_ = new… field in Google.Protobuf.WellKnownTypes.Struct
120 get { return fields_; }
154 fields_.WriteTo(output, _map_fields_codec); in WriteTo()
160 size += fields_.CalculateSize(_map_fields_codec); in CalculateSize()
169 fields_.Add(other.fields_); in MergeFrom()
181 fields_.AddEntriesFrom(input, _map_fields_codec); in MergeFrom()
DType.cs119 fields_ = other.fields_.Clone(); in Type()
149 …private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Field> fields_ = new pb… field in Google.Protobuf.WellKnownTypes.Type
155 get { return fields_; }
226 if(!fields_.Equals(other.fields_)) return false; in Equals()
238 hash ^= fields_.GetHashCode(); in GetHashCode()
257 fields_.WriteTo(output, _repeated_fields_codec); in WriteTo()
276 size += fields_.CalculateSize(_repeated_fields_codec); in CalculateSize()
296 fields_.Add(other.fields_); in MergeFrom()
323 fields_.AddEntriesFrom(input, _repeated_fields_codec); in MergeFrom()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_message.cc194 fields_(1, field) {} in FieldGroup()
198 if (other.fields_.empty()) { in Append()
204 (preferred_location_ * fields_.size() + in Append()
205 (other.preferred_location_ * other.fields_.size())) / in Append()
206 (fields_.size() + other.fields_.size()); in Append()
207 fields_.insert(fields_.end(), other.fields_.begin(), other.fields_.end()); in Append()
211 const vector<const FieldDescriptor*>& fields() const { return fields_; } in fields()
225 vector<const FieldDescriptor*> fields_; member in google::protobuf::compiler::cpp::__anoned4e23cb0111::FieldGroup
/frameworks/av/media/codec2/vndk/include/util/
DC2InterfaceHelper.h501 inline ParamBuilder &withFields(std::vector<C2ParamFieldValues> &&fields_) {
502 setFields(std::move(fields_));