Home
last modified time | relevance | path

Searched refs:stepLen (Results 1 - 6 of 6) sorted by relevance

/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/
H A Dparcel.h78 uint64_t stepLen = static_cast<uint64_t>(data.size()) * sizeof(T) + sizeof(uint32_t); in WriteVector() local
80 if (bufPtr_ == nullptr || stepLen > INT32_MAX || parcelLen_ + BYTE_8_ALIGN(stepLen) > totalLen_) { in WriteVector()
81 LOGE("[WriteVector] bufPtr:%d, stepLen:%llu, totalLen:%llu, parcelLen:%llu", in WriteVector()
82 bufPtr_ != nullptr, ULL(stepLen), ULL(totalLen_), ULL(parcelLen_)); in WriteVector()
97 bufPtr_ += BYTE_8_ALIGN(stepLen) - stepLen; in WriteVector()
98 parcelLen_ += BYTE_8_ALIGN(stepLen); in WriteVector()
122 uint64_t stepLen = static_cast<uint64_t>(len) * sizeof(T) + sizeof(uint32_t); in ReadVector() local
123 if (stepLen > INT32_MA in ReadVector()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dparcel.cpp163 uint64_t stepLen = sizeof(uint32_t) + static_cast<uint64_t>(inVal.size()); in WriteString() local
165 if (stepLen > INT32_MAX || parcelLen_ + BYTE_8_ALIGN(stepLen) > totalLen_) { in WriteString()
166 LOGE("[WriteString] stepLen:%" PRIu64 ", totalLen:%" PRIu64 ", parcelLen:%" PRIu64, stepLen, totalLen_, in WriteString()
180 bufPtr_ += BYTE_8_ALIGN(stepLen) - stepLen; in WriteString()
181 parcelLen_ += BYTE_8_ALIGN(stepLen); in WriteString()
192 bufPtr_ += BYTE_8_ALIGN(stepLen) - stepLen; in WriteString()
210 uint64_t stepLen = static_cast<uint64_t>(len) + sizeof(uint32_t); ReadString() local
[all...]
/foundation/arkui/ace_engine/frameworks/component_test/core/
H A Dcomponent_test_tester_impl.cpp191 const NG::PointF& from, const NG::PointF& to, uint32_t stepLen, uint32_t speed, ErrInfo& errInfo) const in FlingImpl()
196 if (stepLen > 0 && stepLen <= distance) { in FlingImpl()
197 uint32_t steps = distance / stepLen; in FlingImpl()
190 FlingImpl( const NG::PointF& from, const NG::PointF& to, uint32_t stepLen, uint32_t speed, ErrInfo& errInfo) const FlingImpl() argument
H A Dcomponent_test_tester_impl.h52 const NG::PointF& from, const NG::PointF& to, uint32_t stepLen, uint32_t speed, ErrInfo& errInfo) const;
/foundation/arkui/ace_engine/interfaces/napi/kits/component_test/
H A Djs_component_test_tester.cpp667 uint32_t stepLen = 0; in FlingPoint() local
673 COMPONENT_TEST_NAPI_ASSERT_CUSTOM(env, CheckAndParseUInt32(env, argv[ARG_COUNT_TWO], stepLen, errMsg), in FlingPoint()
680 COMPONENT_TEST_NAPI_ASSERT_CUSTOM(env, stepLen > 0 && stepLen <= distance, ErrCode::RET_ERROR_PARAM_INVALID, in FlingPoint()
681 "The stepLen is out of range", false); in FlingPoint()
686 asyncContext->stepLen = stepLen; in FlingPoint()
734 asyncContext->testerImpl->FlingImpl(asyncContext->from, asyncContext->to, asyncContext->stepLen, in JSFling()
H A Djs_component_test_utils.h70 uint32_t stepLen = 0; member

Completed in 5 milliseconds