Home
last modified time | relevance | path

Searched refs:offsets (Results 1 - 3 of 3) sorted by relevance

/commonlibrary/c_utils/base/include/
H A Dparcel.h622 * @param offsets Indicates the position, represented by the offset
627 bool RewindWrite(size_t offsets);
703 * @param offsets Indicates the pointer to the position array.
707 void InjectOffsets(binder_size_t offsets, size_t offsetSize);
/commonlibrary/c_utils/base/src/
H A Dparcel.cpp291 void Parcel::InjectOffsets(binder_size_t offsets, size_t offsetSize) in InjectOffsets() argument
297 auto *newObjectOffsets = reinterpret_cast<binder_size_t *>(offsets); in InjectOffsets()
/commonlibrary/c_utils/base/test/benchmarktest/parcel_benchmark_test/
H A Dparcel_benchmark_test.cpp2219 * @tc.desc: test parcel Object offsets function.
2245 * @tc.desc: test parcel Object offsets Size function.
2328 * @tc.desc: test parcel inject offsets function.
2347 const uint8_t* offsets = parcel.ReadBuffer(sizeof(binder_size_t) * offsetSize); in BENCHMARK_F() local
2348 AssertUnequal(offsets, nullptr, "test_InjectOffsets_001 offsets equal nullptr as expected.", state); in BENCHMARK_F()
2351 newParcel.InjectOffsets(reinterpret_cast<binder_size_t>(offsets), offsetSize); in BENCHMARK_F()

Completed in 13 milliseconds