Searched refs:Parcel (Results 1 - 5 of 5) sorted by relevance
/commonlibrary/c_utils/base/src/ |
H A D | parcel.cpp | 36 Parcel::Parcel(Allocator *allocator) in Parcel() function in OHOS::Parcel 58 Parcel::Parcel() : Parcel(new DefaultAllocator()) in Parcel() function in OHOS::Parcel 61 Parcel::~Parcel() in ~Parcel() 68 size_t Parcel::GetWritableBytes() const in GetWritableBytes() 77 size_t Parcel::GetReadableBytes() const in GetReadableBytes() 86 size_t Parcel 1325 WriteVector(const std::vector<T1> &val, bool (Parcel::*Write)(T2)) WriteVector() argument 1350 WriteFixedAlignVector(const std::vector<T1> &originVal, bool (Parcel::*SpecialWrite)(T2)) WriteFixedAlignVector() argument [all...] |
/commonlibrary/c_utils/base/test/fuzztest/parcel_fuzzer/ |
H A D | parcel_fuzzer.cpp | 41 [](FuzzedDataProvider*, Parcel& p) { \ 48 [](FuzzedDataProvider* d, Parcel& p) { \ 56 [](FuzzedDataProvider*, Parcel& p) { \ 64 [](FuzzedDataProvider* d, Parcel& p) { \ 77 [](FuzzedDataProvider*, Parcel& p) { \ 93 bool Marshalling(Parcel& parcel) const override; 94 static TestParcelable* Unmarshalling(Parcel& parcel); 95 static bool Marshalling(Parcel& parcel, const sptr<TestParcelable>& object); 102 bool TestParcelable::Marshalling(Parcel& parcel) const in Marshalling() 108 TestParcelable* TestParcelable::Unmarshalling(Parcel [all...] |
/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_parcel_test.cpp | 50 bool Marshalling(Parcel &parcel) const override; 51 static sptr<RemoteObject> Unmarshalling(Parcel &parcel); 54 bool RemoteObject::Marshalling(Parcel &parcel) const in Marshalling() 69 sptr<RemoteObject> RemoteObject::Unmarshalling(Parcel &parcel) in Unmarshalling() 82 bool Marshalling(Parcel &parcel) const override; 83 static sptr<RemoteFdObject> Unmarshalling(Parcel &parcel); 86 bool RemoteFdObject::Marshalling(Parcel &parcel) const in Marshalling() 101 sptr<RemoteFdObject> RemoteFdObject::Unmarshalling(Parcel &parcel) in Unmarshalling() 114 bool Marshalling(Parcel &parcel) const override; 115 static sptr<RemoteHandleObject> Unmarshalling(Parcel [all...] |
/commonlibrary/c_utils/base/test/benchmarktest/parcel_benchmark_test/ |
H A D | parcel_benchmark_test.cpp | 77 bool Marshalling(Parcel &parcel) const override; 78 static sptr<RemoteObject> Unmarshalling(Parcel &parcel); 79 static bool Marshalling(Parcel &parcel, const sptr<RemoteObject> &object); 82 bool RemoteObject::Marshalling(Parcel &parcel, const sptr<RemoteObject> &object) in Marshalling() 87 bool RemoteObject::Marshalling(Parcel &parcel) const in Marshalling() 89 BENCHMARK_LOGD("ParcelTest (bool RemoteObject::Marshalling(Parcel &parcel) const) is called."); in Marshalling() 103 sptr<RemoteObject> RemoteObject::Unmarshalling(Parcel &parcel) in Unmarshalling() 105 BENCHMARK_LOGD("ParcelTest sptr<RemoteObject> RemoteObject::Unmarshalling(Parcel &parcel) is called."); in Unmarshalling() 126 void WriteTestData(Parcel &parcel, const struct TestData &data, benchmark::State& state) in WriteTestData() 152 void WriteUnalignedTestData(Parcel [all...] |
/commonlibrary/c_utils/base/include/ |
H A D | parcel.h | 21 * The <b>Parcel</b> and <b>Parcelable</b> classes and the related memory 36 class Parcel; 66 * See `static TestParcelable *Unmarshalling(Parcel &parcel)` as an example. 68 virtual bool Marshalling(Parcel &parcel) const = 0; 123 * @brief Defines a memory allocator for data in `Parcel`. 176 class Parcel { class 178 Parcel(); 181 * @brief Creates a `Parcel` object with the specified memory allocator. 185 explicit Parcel(Allocator *allocator); 187 virtual ~Parcel(); [all...] |
Completed in 8 milliseconds