Lines Matching refs:readCursor_

45     readCursor_ = 0;
79 if (dataSize_ > readCursor_) {
80 return dataSize_ - readCursor_;
167 UTILS_LOGE("Non-object Read object data, readPos = %{public}zu, upperBound = %{public}zu", readCursor_, upperBound);
179 size_t readPos = readCursor_;
271 size_t readPos = readCursor_;
325 readCursor_ = 0;
670 uint8_t *buffer = data_ + readCursor_;
672 size_t upperBound = readCursor_ + length;
677 readCursor_ += length;
779 const void *data = data_ + readCursor_;
781 size_t upperBound = readCursor_ + desireCapacity;
783 readCursor_ += desireCapacity;
787 readCursor_ += desireCapacity;
824 uint8_t *buffer = data_ + readCursor_;
826 size_t upperBound = readCursor_ + length;
831 readCursor_ += length;
842 uint8_t *buffer = data_ + readCursor_;
843 size_t upperBound = readCursor_ + length;
845 readCursor_ += length;
848 readCursor_ += length;
858 uint8_t *buffer = data_ + readCursor_;
860 size_t upperBound = readCursor_ + length;
865 readCursor_ += length;
876 readCursor_ += bytes;
877 } else if (readCursor_ < dataCapacity_) {
878 readCursor_ = dataCapacity_;
884 return readCursor_;
892 readCursor_ = newPosition;
1100 size_t oldCursor = readCursor_;
1102 const char* cstr = reinterpret_cast<const char*>(data_ + readCursor_);
1107 readCursor_ += (dataLength + 1);
1111 readCursor_ = oldCursor;
1118 size_t oldCursor = readCursor_;
1140 readCursor_ = oldCursor;
1147 size_t oldCursor = readCursor_;
1171 readCursor_ = oldCursor;
1179 size_t oldCursor = readCursor_;
1201 readCursor_ = oldCursor;
1208 size_t oldCursor = readCursor_;
1232 readCursor_ = oldCursor;
1240 size_t oldCursor = readCursor_;
1268 readCursor_ = oldCursor;
1275 size_t oldCursor = readCursor_;
1303 readCursor_ = oldCursor;