Home
last modified time | relevance | path

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

/commonlibrary/c_utils/base/src/
H A Dparcel.cpp887 bool Parcel::RewindRead(size_t newPosition) in RewindRead() argument
889 if (newPosition > dataSize_) { in RewindRead()
892 readCursor_ = newPosition; in RewindRead()
902 bool Parcel::RewindWrite(size_t newPosition) in RewindWrite() argument
904 if (newPosition > dataSize_) { in RewindWrite()
907 writeCursor_ = newPosition; in RewindWrite()
908 dataSize_ = newPosition; in RewindWrite()
914 if (objectOffsets_[objectSize - 1] + sizeof(parcel_flat_binder_object) > newPosition) { in RewindWrite()
916 if (objectOffsets_[objectSize - 1] + sizeof(parcel_flat_binder_object) <= newPosition) { in RewindWrite()
/commonlibrary/c_utils/base/include/
H A Dparcel.h612 * @param newPosition Indicates the position, represented by the offset
617 bool RewindRead(size_t newPosition);

Completed in 4 milliseconds