Home
last modified time | relevance | path

Searched refs:RepeatedPtrField (Results 1 – 25 of 56) sorted by relevance

123

/third_party/protobuf/src/google/protobuf/
Drepeated_field_unittest.cc701 RepeatedPtrField<TestAllTypes> field; in TEST()
822 TEST(RepeatedPtrField, Small) { in TEST() argument
823 RepeatedPtrField<std::string> field; in TEST()
866 TEST(RepeatedPtrField, Large) { in TEST() argument
867 RepeatedPtrField<std::string> field; in TEST()
884 TEST(RepeatedPtrField, SwapSmallSmall) { in TEST() argument
885 RepeatedPtrField<std::string> field1; in TEST()
886 RepeatedPtrField<std::string> field2; in TEST()
914 TEST(RepeatedPtrField, SwapLargeSmall) { in TEST() argument
915 RepeatedPtrField<std::string> field1; in TEST()
[all …]
Drepeated_field.h923 class RepeatedPtrField final : private internal::RepeatedPtrFieldBase {
925 RepeatedPtrField();
926 explicit RepeatedPtrField(Arena* arena);
928 RepeatedPtrField(const RepeatedPtrField& other);
930 RepeatedPtrField(Iter begin, const Iter& end);
931 ~RepeatedPtrField();
933 RepeatedPtrField& operator=(const RepeatedPtrField& other);
935 RepeatedPtrField(RepeatedPtrField&& other) noexcept;
936 RepeatedPtrField& operator=(RepeatedPtrField&& other) noexcept;
962 void MergeFrom(const RepeatedPtrField& other);
[all …]
Dmessage.h187 class RepeatedPtrField; // repeated_field.h variable
794 const RepeatedPtrField<T>& GetRepeatedPtrField( in GetRepeatedPtrField()
805 RepeatedPtrField<T>* MutableRepeatedPtrField(Message* msg, in MutableRepeatedPtrField()
872 const RepeatedPtrField<T>& GetRepeatedPtrFieldInternal(
875 RepeatedPtrField<T>* MutableRepeatedPtrFieldInternal(
1282 inline const RepeatedPtrField<std::string>&
1285 return *static_cast<RepeatedPtrField<std::string>*>(
1290 inline RepeatedPtrField<std::string>*
1293 return static_cast<RepeatedPtrField<std::string>*>(
1301 inline const RepeatedPtrField<Message>& Reflection::GetRepeatedPtrFieldInternal( in GetRepeatedPtrFieldInternal()
[all …]
Dmap_field_inl.h180 RepeatedPtrField<EntryType>* repeated_field = in Clear()
181 reinterpret_cast<RepeatedPtrField<EntryType>*>( in Clear()
282 this->MapFieldBase::repeated_field_ = new RepeatedPtrField<Message>(); in SyncRepeatedFieldWithMapNoLock()
285 Arena::CreateMessage<RepeatedPtrField<Message> >( in SyncRepeatedFieldWithMapNoLock()
290 RepeatedPtrField<EntryType>* repeated_field = in SyncRepeatedFieldWithMapNoLock()
291 reinterpret_cast<RepeatedPtrField<EntryType>*>( in SyncRepeatedFieldWithMapNoLock()
318 RepeatedPtrField<EntryType>* repeated_field = in SyncMapWithRepeatedFieldNoLock()
319 reinterpret_cast<RepeatedPtrField<EntryType>*>( in SyncMapWithRepeatedFieldNoLock()
323 for (typename RepeatedPtrField<EntryType>::iterator it = in SyncMapWithRepeatedFieldNoLock()
Dtype.pb.h309 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field >*
317 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field >&
337 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& oneofs() const;
338 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_oneofs();
351 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
359 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
412 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Field > fields_;
413 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> oneofs_;
414 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > options_;
652 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
[all …]
Dapi.pb.h207 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >*
215 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >&
225 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
233 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
243 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >*
251 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >&
320 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method > methods_;
321 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > options_;
322 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin > mixins_;
460 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
[all …]
Ddescriptor.pb.h462 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
470 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
480 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto > file_;
636 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& dependency() const;
637 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_dependency();
650 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >*
658 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::DescriptorProto >&
668 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >*
676 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::EnumDescriptorProto >&
686 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::ServiceDescriptorProto >*
[all …]
Dmap_field_test.cc62 RepeatedPtrField<Message>* InternalRepeatedField() { return repeated_field_; } in InternalRepeatedField()
137 const RepeatedPtrField<Message>& repeated = in TEST_F()
138 reinterpret_cast<const RepeatedPtrField<Message>&>( in TEST_F()
150 RepeatedPtrField<Message>* repeated = in TEST_F()
151 reinterpret_cast<RepeatedPtrField<Message>*>( in TEST_F()
262 RepeatedPtrField<Message>* repeated_field = stub->InternalRepeatedField(); in Expect()
Dfield_mask.pb.h201 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& paths() const;
202 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_paths();
215 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> paths_;
293 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
298 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
Ddynamic_message.cc153 return sizeof(RepeatedPtrField<Message>); in FieldSpaceUsed()
160 return sizeof(RepeatedPtrField<std::string>); in FieldSpaceUsed()
440 new (field_ptr) RepeatedPtrField<std::string>(GetArena()); in SharedCtor()
476 new (field_ptr) RepeatedPtrField<Message>(GetArena()); in SharedCtor()
558 reinterpret_cast<RepeatedPtrField<std::string>*>(field_ptr) in ~DynamicMessage()
559 ->~RepeatedPtrField<std::string>(); in ~DynamicMessage()
568 reinterpret_cast<RepeatedPtrField<Message>*>(field_ptr) in ~DynamicMessage()
569 ->~RepeatedPtrField<Message>(); in ~DynamicMessage()
Dmap_field.cc116 repeated_field_ = new RepeatedPtrField<Message>(); in SyncRepeatedFieldWithMap()
119 Arena::CreateMessage<RepeatedPtrField<Message> >(arena_); in SyncRepeatedFieldWithMap()
133 repeated_field_ = Arena::CreateMessage<RepeatedPtrField<Message> >(arena_); in SyncRepeatedFieldWithMapNoLock()
366 MapFieldBase::repeated_field_ = new RepeatedPtrField<Message>(); in SyncRepeatedFieldWithMapNoLock()
369 Arena::CreateMessage<RepeatedPtrField<Message> >( in SyncRepeatedFieldWithMapNoLock()
459 for (RepeatedPtrField<Message>::iterator it = in SyncMapWithRepeatedFieldNoLock()
Dextension_set.h574 RepeatedPtrField<std::string>* repeated_string_value;
575 RepeatedPtrField<MessageLite>* repeated_message_value;
1086 typedef RepeatedPtrField<std::string> RepeatedFieldType;
1107 static inline const RepeatedPtrField<std::string>& GetRepeated( in GetRepeated()
1109 return *reinterpret_cast<const RepeatedPtrField<std::string>*>( in GetRepeated()
1113 static inline RepeatedPtrField<std::string>* MutableRepeated( in MutableRepeated()
1115 return reinterpret_cast<RepeatedPtrField<std::string>*>( in MutableRepeated()
1277 typedef RepeatedPtrField<Type> RepeatedFieldType;
1290 static inline const RepeatedPtrField<Type>& GetRepeated( in GetRepeated()
1297 return *reinterpret_cast<const RepeatedPtrField<Type>*>( in GetRepeated()
[all …]
Dgenerated_message_util.h103 bool AllAreInitialized(const RepeatedPtrField<Msg>& t) { in AllAreInitialized()
114 bool AllAreInitializedWeak(const RepeatedPtrField<T>& t) { in AllAreInitializedWeak()
Dextension_set_unittest.cc859 sizeof(RepeatedPtrField<std::string>) + base_size; in TEST()
876 sizeof(RepeatedPtrField<unittest::ForeignMessage>) + base_size; in TEST()
1025 RepeatedPtrField<std::string>::iterator string_iter; in TEST()
1026 RepeatedPtrField<std::string>::iterator string_end; in TEST()
1038 RepeatedPtrField<std::string>::const_iterator string_const_iter; in TEST()
1039 RepeatedPtrField<std::string>::const_iterator string_const_end; in TEST()
1079 RepeatedPtrField<unittest::TestAllTypes_NestedMessage>::iterator msg_iter; in TEST()
1080 RepeatedPtrField<unittest::TestAllTypes_NestedMessage>::iterator msg_end; in TEST()
1092 RepeatedPtrField<unittest::TestAllTypes_NestedMessage>::const_iterator in TEST()
1094 RepeatedPtrField<unittest::TestAllTypes_NestedMessage>::const_iterator in TEST()
Dreflection_internal.h173 typedef RepeatedPtrField<T> RepeatedFieldType;
240 typedef RepeatedPtrField<Message> RepeatedFieldType;
308 RepeatedPtrField<std::string> tmp; in Swap()
Drepeated_field_reflection_unittest.cc92 const RepeatedPtrField<std::string>& rpf_string = in TEST()
94 const RepeatedPtrField<ForeignMessage>& rpf_foreign_message = in TEST()
97 const RepeatedPtrField<Message>& rpf_message = in TEST()
101 RepeatedPtrField<std::string>* mrpf_string = in TEST()
103 RepeatedPtrField<ForeignMessage>* mrpf_foreign_message = in TEST()
106 RepeatedPtrField<Message>* mrpf_message = in TEST()
Darena_unittest.cc678 RepeatedPtrField<TestAllTypes> repeated_field; in TEST()
688 RepeatedPtrField<TestAllTypes> repeated_field; in TEST()
918 RepeatedPtrField<TestAllTypes> field1(arena1); in TestSwapRepeatedField()
919 RepeatedPtrField<TestAllTypes> field2(arena2); in TestSwapRepeatedField()
1002 RepeatedPtrField<TestAllTypes> repeated_message(&arena); in TEST()
1026 RepeatedPtrField<TestAllTypes> repeated_message(&arena); in TEST()
1047 RepeatedPtrField<TestAllTypes>* repeated_ptr_on_arena = in TEST()
1048 Arena::CreateMessage<RepeatedPtrField<TestAllTypes> >(&arena); in TEST()
/third_party/protobuf/src/google/protobuf/util/internal/
Dutility.h62 const RepeatedPtrField<google::protobuf::Option>& options,
68 const RepeatedPtrField<google::protobuf::Option>& options,
74 const RepeatedPtrField<google::protobuf::Option>& options,
80 const RepeatedPtrField<google::protobuf::Option>& options,
115 const RepeatedPtrField<google::protobuf::Option>& options,
Dutility.cc57 const RepeatedPtrField<google::protobuf::Option>& options, in GetBoolOptionOrDefault()
67 const RepeatedPtrField<google::protobuf::Option>& options, in GetInt64OptionOrDefault()
77 const RepeatedPtrField<google::protobuf::Option>& options, in GetDoubleOptionOrDefault()
87 const RepeatedPtrField<google::protobuf::Option>& options, in GetStringOptionOrDefault()
144 const RepeatedPtrField<google::protobuf::Option>& options, in FindOptionOrNull()
/third_party/protobuf/src/google/protobuf/compiler/
Dparser.h325 bool ParseImport(RepeatedPtrField<std::string>* dependency,
365 RepeatedPtrField<DescriptorProto>* messages,
374 RepeatedPtrField<DescriptorProto>* messages,
401 bool ParseExtend(RepeatedPtrField<FieldDescriptorProto>* extensions,
402 RepeatedPtrField<DescriptorProto>* messages,
515 RepeatedPtrField<DescriptorProto>* messages);
Dplugin.pb.h458 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& file_to_generate() const;
459 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_file_to_generate();
472 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >*
480 const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto >&
530 ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> file_to_generate_;
531 …::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::FileDescriptorProto > proto_file…
901 …::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_…
909 …const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorRes…
954 …::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::compiler::CodeGeneratorResponse_…
1195 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
[all …]
Dcommand_line_interface.h63 class RepeatedPtrField; // repeated_field.h variable
324 RepeatedPtrField<FileDescriptorProto>* output);
/third_party/protobuf/src/google/protobuf/util/
Dtype_resolver_util.cc124 RepeatedPtrField<Option>* output) { in ConvertMessageOptions()
129 RepeatedPtrField<Option>* output) { in ConvertFieldOptions()
134 RepeatedPtrField<Option>* output) { in ConvertEnumOptions()
139 RepeatedPtrField<Option>* output) { in ConvertEnumValueOptions()
145 RepeatedPtrField<Option>* output) { in ConvertOptionsInternal()
Dtype_resolver_util_test.cc132 bool HasBoolOption(const RepeatedPtrField<Option>& options, in HasBoolOption()
137 bool HasInt32Option(const RepeatedPtrField<Option>& options, in HasInt32Option()
142 bool HasUInt64Option(const RepeatedPtrField<Option>& options, in HasUInt64Option()
148 bool HasOption(const RepeatedPtrField<Option>& options, in HasOption()
/third_party/libphonenumber/cpp/src/phonenumbers/
Dphonenumberutil.h38 using google::protobuf::RepeatedPtrField;
348 const RepeatedPtrField<NumberFormat>& user_defined_formats,
870 const RepeatedPtrField<NumberFormat>& available_formats,

123