Home
last modified time | relevance | path

Searched refs:ReadBuffer (Results 1 - 5 of 5) sorted by relevance

/commonlibrary/c_utils/base/src/
H A Dparcel.cpp667 const uint8_t *Parcel::ReadBuffer(size_t length, bool isValidate) in ReadBuffer() function in OHOS::Parcel
821 const uint8_t *Parcel::ReadBuffer(size_t length) in ReadBuffer() function in OHOS::Parcel
1129 const uint8_t *dest = ReadBuffer(readCapacity); in ReadString()
1159 const uint8_t *dest = ReadBuffer(readCapacity); in ReadString()
1190 const uint8_t *str = ReadBuffer(readCapacity); in ReadString16()
1220 const uint8_t *str = ReadBuffer(readCapacity); in ReadString16()
1256 const uint8_t *str = ReadBuffer(readCapacity); in ReadString16WithLength()
1291 const uint8_t *str = ReadBuffer(readCapacity); in ReadString8WithLength()
/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_parcel_test.cpp71 const uint8_t *buffer = parcel.ReadBuffer(sizeof(parcel_flat_binder_object), false); in Unmarshalling()
103 const uint8_t *buffer = parcel.ReadBuffer(sizeof(parcel_flat_binder_object), false); in Unmarshalling()
135 const uint8_t *buffer = parcel.ReadBuffer(sizeof(parcel_flat_binder_object), false); in Unmarshalling()
1394 const struct Padded *padRead = reinterpret_cast<const struct Padded *>(parcel.ReadBuffer(sizeof(struct Padded))); in HWTEST_F()
1400 reinterpret_cast<const struct Unpadded *>(parcel.ReadBuffer(sizeof(struct Unpadded))); in HWTEST_F()
2055 const uint8_t *buffer = parcel.ReadBuffer(sizeof(parcel_flat_binder_object) * 3); in HWTEST_F()
2075 const uint8_t *buffer = parcel.ReadBuffer(sizeof(parcel_flat_binder_object) * 3); in HWTEST_F()
2095 const uint8_t *buffer = parcel.ReadBuffer(sizeof(parcel_flat_binder_object) * 3); in HWTEST_F()
2115 const uint8_t *buffer = parcel.ReadBuffer(sizeof(parcel_flat_binder_object) * 3); in HWTEST_F()
2136 const uint8_t *buffer = parcel.ReadBuffer(readLengt in HWTEST_F()
[all...]
/commonlibrary/c_utils/base/include/
H A Dparcel.h514 const uint8_t *ReadBuffer(size_t length);
522 const uint8_t *ReadBuffer(size_t length, bool isValidate);
/commonlibrary/c_utils/base/test/fuzztest/parcel_fuzzer/
H A Dparcel_fuzzer.cpp148 const uint8_t* buffer = parcel.ReadBuffer(sizeof(parcel_flat_binder_object), false); in Unmarshalling()
420 FUZZ_LOGI("ReadBuffer");
422 parcel.ReadBuffer(bufferSize);
/commonlibrary/c_utils/base/test/benchmarktest/parcel_benchmark_test/
H A Dparcel_benchmark_test.cpp106 const uint8_t *buffer = parcel.ReadBuffer(sizeof(parcel_flat_binder_object), false); in Unmarshalling()
1318 reinterpret_cast<const struct Padded *>(parcel.ReadBuffer(sizeof(struct Padded))); in BENCHMARK_F()
1325 reinterpret_cast<const struct Unpadded *>(parcel.ReadBuffer(sizeof(struct Unpadded))); in BENCHMARK_F()
2347 const uint8_t* offsets = parcel.ReadBuffer(sizeof(binder_size_t) * offsetSize); in BENCHMARK_F()

Completed in 12 milliseconds