Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/
Drepeated_field_unittest.cc274 TEST(RepeatedPtrField, Small) { in TEST() argument
275 RepeatedPtrField<string> field; in TEST()
306 TEST(RepeatedPtrField, Large) { in TEST() argument
307 RepeatedPtrField<string> field; in TEST()
324 TEST(RepeatedPtrField, SwapSmallSmall) { in TEST() argument
325 RepeatedPtrField<string> field1; in TEST()
326 RepeatedPtrField<string> field2; in TEST()
338 TEST(RepeatedPtrField, SwapLargeSmall) { in TEST() argument
339 RepeatedPtrField<string> field1; in TEST()
340 RepeatedPtrField<string> field2; in TEST()
[all …]
Drepeated_field.h316 class RepeatedPtrField : public internal::RepeatedPtrFieldBase {
318 RepeatedPtrField();
320 ~RepeatedPtrField();
329 void MergeFrom(const RepeatedPtrField& other);
344 void Swap(RepeatedPtrField* other);
415 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(RepeatedPtrField);
796 class RepeatedPtrField<Element>::TypeHandler
800 class RepeatedPtrField<string>::TypeHandler
805 inline RepeatedPtrField<Element>::RepeatedPtrField() {} in RepeatedPtrField() function
808 RepeatedPtrField<Element>::~RepeatedPtrField() { in ~RepeatedPtrField()
[all …]
Ddescriptor.pb.h213 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
215 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
223 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_;
333 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& dependency() const;
334 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_dependency();
343 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
345 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
355 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
357 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
367 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >&
[all …]
Ddynamic_message.cc106 case FD::CPPTYPE_MESSAGE: return sizeof(RepeatedPtrField<Message>); in FieldSpaceUsed()
112 return sizeof(RepeatedPtrField<string>); in FieldSpaceUsed()
287 new(field_ptr) RepeatedPtrField<string>(); in DynamicMessage()
297 new(field_ptr) RepeatedPtrField<Message>(); in DynamicMessage()
348 reinterpret_cast<RepeatedPtrField<string>*>(field_ptr) in ~DynamicMessage()
349 ->~RepeatedPtrField<string>(); in ~DynamicMessage()
355 reinterpret_cast<RepeatedPtrField<Message>*>(field_ptr) in ~DynamicMessage()
356 ->~RepeatedPtrField<Message>(); in ~DynamicMessage()
Dgenerated_message_reflection.cc245 total_size += GetRaw<RepeatedPtrField<string> >(message, field) in SpaceUsed()
535 MutableRaw<RepeatedPtrField<string> >(message, field)->Clear(); in ClearField()
581 MutableRaw<RepeatedPtrField<string> >(message, field)->RemoveLast(); in RemoveLast()
1197 return GetRaw<RepeatedPtrField<Type> >(message, field).Get(index); in GetRepeatedPtrField()
1210 RepeatedPtrField<Type>* repeated = in MutableRepeatedField()
1211 MutableRaw<RepeatedPtrField<Type> >(message, field); in MutableRepeatedField()
1224 RepeatedPtrField<Type>* repeated = in AddField()
1225 MutableRaw<RepeatedPtrField<Type> >(message, field); in AddField()
Dextension_set.h68 template <typename Element> class RepeatedPtrField; // repeated_field.h variable
405 RepeatedPtrField<string >* repeated_string_value;
406 RepeatedPtrField<MessageLite>* repeated_message_value;
Dextension_set.cc395 extension->repeated_string_value = new RepeatedPtrField<string>(); in AddString()
467 new RepeatedPtrField<MessageLite>(); in AddMessage()
618 HANDLE_TYPE( STRING, string, RepeatedPtrField< string>); in MergeFrom()
624 new RepeatedPtrField<MessageLite>(); in MergeFrom()
628 RepeatedPtrField<MessageLite>* other_repeated_message = in MergeFrom()
Dextension_set_unittest.cc445 int min_expected_size = sizeof(RepeatedPtrField<string>) + base_size; in TEST()
460 int min_expected_size = sizeof(RepeatedPtrField<unittest::ForeignMessage>) + in TEST()
Dextension_set_heavy.cc152 new RepeatedPtrField<MessageLite>(); in AddMessage()
/external/protobuf/src/google/protobuf/compiler/
Dplugin.pb.h111 inline const ::google::protobuf::RepeatedPtrField< ::std::string>& file_to_generate() const;
112 inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_file_to_generate();
131 inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
133 inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
141 ::google::protobuf::RepeatedPtrField< ::std::string> file_to_generate_;
144 ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > proto_file_;
357 …inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResp…
359 …inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_F…
369 …::google::protobuf::RepeatedPtrField< ::google::protobuf::compiler::CodeGeneratorResponse_File > f…
432 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
[all …]
Dparser.h239 RepeatedPtrField<DescriptorProto>* messages);
245 bool ParseExtend(RepeatedPtrField<FieldDescriptorProto>* extensions,
246 RepeatedPtrField<DescriptorProto>* messages);
Dcommand_line_interface.h54 template<typename T> class RepeatedPtrField; // repeated_field.h variable
237 RepeatedPtrField<FileDescriptorProto>* output);
Dparser.cc443 RepeatedPtrField<DescriptorProto>* messages) { in ParseMessageField()
789 bool Parser::ParseExtend(RepeatedPtrField<FieldDescriptorProto>* extensions, in ParseExtend()
790 RepeatedPtrField<DescriptorProto>* messages) { in ParseExtend()
Dcommand_line_interface.cc1321 RepeatedPtrField<FileDescriptorProto>* output) { in GetTransitiveDependencies()
/external/chromium/chrome/browser/history/
Din_memory_url_index.cc30 using google::protobuf::RepeatedPtrField;
905 const RepeatedPtrField<std::string>& words(list_item.word()); in RestoreWordList()
906 for (RepeatedPtrField<std::string>::const_iterator iter = words.begin(); in RestoreWordList()
933 const RepeatedPtrField<WordMapEntry>& entries(list_item.word_map_entry()); in RestoreWordMap()
934 for (RepeatedPtrField<WordMapEntry>::const_iterator iter = entries.begin(); in RestoreWordMap()
966 const RepeatedPtrField<CharWordMapEntry>& in RestoreCharWordMap()
968 for (RepeatedPtrField<CharWordMapEntry>::const_iterator iter = in RestoreCharWordMap()
1013 const RepeatedPtrField<WordIDHistoryMapEntry>& in RestoreWordIDHistoryMap()
1015 for (RepeatedPtrField<WordIDHistoryMapEntry>::const_iterator iter = in RestoreWordIDHistoryMap()
1063 const RepeatedPtrField<HistoryInfoMapEntry>& in RestoreHistoryInfoMap()
[all …]
/external/chromium/chrome/browser/chromeos/login/
Dsigned_settings.cc25 using google::protobuf::RepeatedPtrField;
92 const RepeatedPtrField<std::string>& whitelist = in EnumerateWhitelist()
94 for (RepeatedPtrField<std::string>::const_iterator it = whitelist.begin(); in EnumerateWhitelist()
405 const RepeatedPtrField<std::string>& whitelist = in LookUpInPolicy()
407 for (RepeatedPtrField<std::string>::const_iterator it = whitelist.begin(); in LookUpInPolicy()
498 const RepeatedPtrField<string>& whitelist = whitelist_proto->user_whitelist(); in ModifyWhitelist()
499 for (RepeatedPtrField<string>::const_iterator it = whitelist.begin(); in ModifyWhitelist()
512 RepeatedPtrField<string>* change_list = in ModifyWhitelist()
Dsigned_settings_unittest.cc35 using google::protobuf::RepeatedPtrField;
167 const RepeatedPtrField<std::string>& whitelist = in CheckWhitelist()
169 for (RepeatedPtrField<std::string>::const_iterator it = whitelist.begin(); in CheckWhitelist()
/external/chromium/chrome/browser/policy/
Duser_policy_cache.cc162 using google::protobuf::RepeatedPtrField;
198 RepeatedPtrField<em::GenericNamedValue>::const_iterator named_value; in MaybeDecodeOldstylePolicy()
273 RepeatedPtrField<std::string>::const_iterator i; in DecodeValue()
/external/protobuf/
DCHANGES.txt168 * RepeatedField and RepeatedPtrField now have back-insertion iterators.