Home
last modified time | relevance | path

Searched refs:sizer (Results 1 – 25 of 53) sorted by relevance

123

/external/libmojo/ipc/
Dipc_message_utils.h89 static inline void GetParamSize(base::PickleSizer* sizer, const P& p) { in GetParamSize() argument
91 ParamTraits<Type>::GetSize(sizer, static_cast<const Type&>(p)); in GetParamSize()
126 static void GetSize(base::PickleSizer* sizer, const param_type& p) {
127 sizer->AddBool();
141 static void GetSize(base::PickleSizer* sizer, const param_type& p);
152 static void GetSize(base::PickleSizer* sizer, const param_type& p);
163 static void GetSize(base::PickleSizer* sizer, const param_type& p);
174 static void GetSize(base::PickleSizer* sizer, const param_type& p) {
175 sizer->AddInt();
189 static void GetSize(base::PickleSizer* sizer, const param_type& p) {
[all …]
Dipc_message_utils.cc75 void GetValueSize(base::PickleSizer* sizer, in GetValueSize() argument
83 sizer->AddInt(); in GetValueSize()
88 sizer->AddBool(); in GetValueSize()
91 sizer->AddInt(); in GetValueSize()
94 sizer->AddDouble(); in GetValueSize()
101 GetParamSize(sizer, result->GetString()); in GetValueSize()
106 GetParamSize(sizer, str); in GetValueSize()
113 sizer->AddData(static_cast<int>(binary->GetSize())); in GetValueSize()
117 sizer->AddInt(); in GetValueSize()
122 GetParamSize(sizer, it.key()); in GetValueSize()
[all …]
Dipc_mojo_param_traits.cc12 void ParamTraits<mojo::MessagePipeHandle>::GetSize(base::PickleSizer* sizer, in GetSize() argument
14 GetParamSize(sizer, p.is_valid()); in GetSize()
16 sizer->AddAttachment(); in GetSize()
Dipc_mojo_param_traits.h25 static void GetSize(base::PickleSizer* sizer, const param_type& p);
/external/libchrome/base/
Dpickle_unittest.cc577 base::PickleSizer sizer; in TEST() local
579 sizer.AddBool(); in TEST()
580 EXPECT_EQ(sizer.payload_size(), pickle.payload_size()); in TEST()
584 base::PickleSizer sizer; in TEST() local
586 sizer.AddInt(); in TEST()
587 EXPECT_EQ(sizer.payload_size(), pickle.payload_size()); in TEST()
591 base::PickleSizer sizer; in TEST() local
593 sizer.AddLong(); in TEST()
594 EXPECT_EQ(sizer.payload_size(), pickle.payload_size()); in TEST()
598 base::PickleSizer sizer; in TEST() local
[all …]
/external/libmojo/mojo/public/cpp/bindings/lib/
Dnative_struct_serialization.h33 base::PickleSizer sizer; in PrepareToSerialize() local
34 Traits::GetSize(&sizer, value); in PrepareToSerialize()
35 return Align(sizer.payload_size() + sizeof(ArrayHeader)); in PrepareToSerialize()
46 base::PickleSizer sizer; in Serialize() local
47 Traits::GetSize(&sizer, value); in Serialize()
48 DCHECK_EQ(sizer.payload_size(), pickle.payload_size()); in Serialize()
/external/libmojo/mojo/public/cpp/bindings/tests/
Dpickled_types_blink.cc29 base::PickleSizer* sizer, in GetSize() argument
31 sizer->AddInt(); in GetSize()
32 sizer->AddInt(); in GetSize()
Dpickled_types_chromium.cc30 base::PickleSizer* sizer, in GetSize() argument
32 sizer->AddInt(); in GetSize()
33 sizer->AddInt(); in GetSize()
Dpickled_types_blink.h70 static void GetSize(base::PickleSizer* sizer, const param_type& p);
Dpickled_types_chromium.h68 static void GetSize(base::PickleSizer* sizer, const param_type& p);
/external/libchrome/base/files/
Dfile_path.h381 void GetSizeForPickle(PickleSizer* sizer) const;
Dfile_path.cc662 void FilePath::GetSizeForPickle(PickleSizer* sizer) const { in GetSizeForPickle()
664 sizer->AddString16(path_); in GetSizeForPickle()
666 sizer->AddString(path_); in GetSizeForPickle()
/external/protobuf/python/google/protobuf/internal/
Dpython_message.py307 sizer = encoder.MapSizer(field_descriptor)
310 sizer = encoder.MessageSetItemSizer(field_descriptor.number)
314 sizer = type_checkers.TYPE_TO_SIZER[field_descriptor.type](
318 field_descriptor._sizer = sizer
/external/nanopb-c/generator/google/protobuf/internal/
Dpython_message.py198 sizer = encoder.MessageSetItemSizer(field_descriptor.number)
202 sizer = type_checkers.TYPE_TO_SIZER[field_descriptor.type](
206 field_descriptor._sizer = sizer
/external/netperf/
Dconfig.guess218 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
221 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
/external/libogg/
Dconfig.guess222 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
225 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
/external/cmockery/cmockery_0_1_2/
Dconfig.guess218 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
221 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
/external/bison/build-aux/
Dconfig.guess226 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
229 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
/external/protobuf/gtest/build-aux/
Dconfig.guess241 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
244 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
/external/icu/icu4c/source/
Dconfig.guess241 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
244 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
/external/libusb-compat/
Dconfig.guess240 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
243 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
/external/libnfnetlink/build-aux/
Dconfig.guess222 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
225 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
/external/google-tv-pairing-protocol/cpp/
Dconfig.guess223 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
226 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
/external/c-ares/
Dconfig.guess224 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
227 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
/external/protobuf/
Dconfig.guess241 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
244 UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`

123