Searched refs:kMarkerSize (Results 1 – 5 of 5) sorted by relevance
64 mReadIndex = (size <= kMarkerSize) ? 0 : (size - kMarkerSize); in BufferSource()78 if ((kMarkerSize < mSize) && (mReadIndex < mSize - kMarkerSize)) { in isMarker()79 return (memcmp(&mData[mReadIndex], kMarker, kMarkerSize) == 0); in isMarker()103 static constexpr size_t kMarkerSize = (sizeof(kMarker) - 1); variable
88 size_t location = mReadIndex + kMarkerSize; in parse()100 bytesRemaining -= (frameSize + kMarkerSize + kMarkerSuffixSize); in parse()
56 constexpr size_t kMarkerSize = (sizeof(kMarker) - 1); variable177 if ((kMarkerSize <= mSize) && (mReadIndex <= mSize - kMarkerSize)) { in isMarker()178 return (memcmp(&mData[mReadIndex], kMarker, kMarkerSize) == 0); in isMarker()222 mReadIndex = (size <= kMarkerSize) ? 0 : (size - kMarkerSize); in createFiles()227 size_t location = mReadIndex + kMarkerSize; in createFiles()
62 if (mSize - mReadIndex > kMarkerSize + kMarkerSuffixSize) { in getFrameInfo()65 mReadIndex = mSize - kMarkerSize; in getFrameInfo()69 size_t location = mReadIndex + kMarkerSize; in getFrameInfo()97 bytesRemaining -= (frameSize + kMarkerSize + kMarkerSuffixSize); in getFrameInfo()
175 bool isMarker() { return (memcmp(&mData[mReadIndex], kMarker, kMarkerSize) == 0); } in isMarker()195 static constexpr size_t kMarkerSize = (sizeof(kMarker) - 1); variable