Home
last modified time | relevance | path

Searched refs:kMarkerSize (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/codec2/fuzzer/
DC2Fuzzer.h64 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
DC2Fuzzer.cpp88 size_t location = mReadIndex + kMarkerSize; in parse()
100 bytesRemaining -= (frameSize + kMarkerSize + kMarkerSuffixSize); in parse()
/frameworks/av/media/libstagefright/httplive/fuzzer/
Dhttplive_fuzzer.cpp56 constexpr size_t kMarkerSize = (sizeof(kMarker) - 1); variable
177 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()
/frameworks/av/media/libstagefright/writer_fuzzers/
DWriterFuzzerBase.cpp62 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()
/frameworks/av/media/libstagefright/writer_fuzzers/include/
DWriterFuzzerBase.h175 bool isMarker() { return (memcmp(&mData[mReadIndex], kMarker, kMarkerSize) == 0); } in isMarker()
195 static constexpr size_t kMarkerSize = (sizeof(kMarker) - 1); variable