Home
last modified time | relevance | path

Searched refs:upperBound (Results 1 - 2 of 2) sorted by relevance

/commonlibrary/c_utils/base/src/
H A Dparcel.cpp159 bool Parcel::IsReadObjectData(const size_t nextObj, const size_t upperBound) in IsReadObjectData() argument
167 UTILS_LOGE("Non-object Read object data, readPos = %{public}zu, upperBound = %{public}zu", readCursor_, upperBound); in IsReadObjectData()
173 bool Parcel::ValidateReadData([[maybe_unused]]size_t upperBound) in ValidateReadData() argument
182 if (nextObjectIdx_ < objSize && upperBound > objects[nextObjectIdx_]) { in ValidateReadData()
186 if (!IsReadObjectData(nextObj, upperBound)) { in ValidateReadData()
191 } while (nextObj < objSize && upperBound > objects[nextObj]); in ValidateReadData()
672 size_t upperBound = readCursor_ + length; in ReadBuffer() local
673 if (isValidate && !ValidateReadData(upperBound)) { in ReadBuffer()
781 size_t upperBound in Read() local
826 size_t upperBound = readCursor_ + length; ReadBuffer() local
843 size_t upperBound = readCursor_ + length; BasicReadBuffer() local
860 size_t upperBound = readCursor_ + length; ReadUnpadBuffer() local
[all...]
/commonlibrary/c_utils/base/include/
H A Dparcel.h837 bool IsReadObjectData(const size_t nextObj, const size_t upperBound);
839 bool ValidateReadData(size_t upperBound);

Completed in 3 milliseconds