/frameworks/av/media/libmedia/ |
D | MediaUtils.cpp | 37 size_t maxMem = SIZE_MAX; in limitProcessMemory() 40 if (size_t(numPages) < SIZE_MAX / size_t(pageSize)) { in limitProcessMemory() 58 if (propVal > 0 && uint64_t(propVal) <= SIZE_MAX) { in limitProcessMemory() 63 if (maxMem != SIZE_MAX && &__scudo_set_rss_limit != 0) { in limitProcessMemory()
|
/frameworks/av/media/libstagefright/ |
D | DataConverter.cpp | 65 if (numSamples > SIZE_MAX / mSourceSampleSize) { in sourceSize() 68 return SIZE_MAX; in sourceSize() 76 if (numSamples > SIZE_MAX / mTargetSampleSize) { in targetSize() 79 return SIZE_MAX; in targetSize()
|
D | NuMediaExtractor.cpp | 609 if (SIZE_MAX - size < sizeof(int32_t)) { in appendVorbisNumPageSamples()
|
/frameworks/av/services/mediaextractor/ |
D | main_extractorservice.cpp | 47 SIZE_MAX, /* upper limit in bytes */ in main()
|
/frameworks/av/media/libstagefright/id3/ |
D | ID3.cpp | 300 if (extendedHeaderSize > SIZE_MAX - 4) { in parseV2() 324 if (paddingSize > SIZE_MAX - mFirstFrameOffset) { in parseV2() 774 if (SIZE_MAX - mOffset <= mFrameSize) { in findFrame() 822 if (SIZE_MAX - 10 <= baseSize) { in findFrame() 829 if (SIZE_MAX - mOffset <= mFrameSize) { in findFrame()
|
/frameworks/native/libs/binder/ |
D | BufferedTextOutput.cpp | 52 if (len > SIZE_MAX - bufferPos) return NO_MEMORY; // overflow in append() 54 if ((len + bufferPos) > SIZE_MAX / 3) return NO_MEMORY; // overflow in append()
|
D | Parcel.cpp | 437 if ((size_t) numObjects > SIZE_MAX - mObjectsSize) return NO_MEMORY; // overflow in appendFrom() 438 if (mObjectsSize + numObjects > SIZE_MAX / 3) return NO_MEMORY; // overflow in appendFrom() 440 if (newSize > SIZE_MAX / sizeof(binder_size_t)) return NO_MEMORY; // overflow in appendFrom() 1390 if (mObjectsSize > SIZE_MAX - 2) return NO_MEMORY; // overflow in writeObject() 1391 if ((mObjectsSize + 2) > SIZE_MAX / 3) return NO_MEMORY; // overflow in writeObject() 1393 if (newSize > SIZE_MAX / sizeof(binder_size_t)) return NO_MEMORY; // overflow in writeObject() 2625 if (len > SIZE_MAX - mDataSize) return NO_MEMORY; // overflow in growData() 2626 if (mDataSize + len > SIZE_MAX / 3) return NO_MEMORY; // overflow in growData()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | pvdec_api.cpp | 28 #ifndef SIZE_MAX 29 #define SIZE_MAX ((size_t) -1) macro 108 if ((size_t)nLayers > SIZE_MAX / sizeof(Vol *)) { in PVInitVideoDecoder() 148 if ((size_t)nLayers > SIZE_MAX / sizeof(Vop *)) { in PVInitVideoDecoder() 451 if ((size_t)nTotalMB > SIZE_MAX / sizeof(typeDCStore)) { in PVAllocVideoData() 460 || (size_t)(nMBPerRow + 1) > SIZE_MAX / sizeof(typeDCACStore)) { in PVAllocVideoData() 482 if ((size_t)nTotalMB > SIZE_MAX / sizeof(int16)) { in PVAllocVideoData() 503 if ((size_t)nTotalMB > SIZE_MAX / (sizeof(MOT) * 4)) { in PVAllocVideoData()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamLegacy.cpp | 85 const size_t SIZE_STOP_CALLBACKS = SIZE_MAX; in processCallbackCommon()
|
/frameworks/av/media/codec2/vndk/util/ |
D | C2InterfaceHelper.cpp | 510 return it == _mDependencyIndex.end() ? SIZE_MAX : it->second; in getDependencyIndex() 620 size_t paramDepIx = SIZE_MAX; in config() 638 if (paramDepIx == SIZE_MAX) { in config() 652 if (paramDepIx == SIZE_MAX) { in config()
|
/frameworks/av/drm/libmediadrm/ |
D | ICrypto.cpp | 398 if (sumSubsampleSizes <= SIZE_MAX - ss.mNumBytesOfEncryptedData) { in onTransact() 403 if (sumSubsampleSizes <= SIZE_MAX - ss.mNumBytesOfClearData) { in onTransact()
|
D | CryptoHal.cpp | 327 SIZE_MAX - memory->offset() < memory->size()) { in toSharedBuffer()
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 791 if (SIZE_MAX - len < trackInfo->mHeaderLen) { in readBlock() 1556 if (len1 > (SIZE_MAX - 0xff)) { in addVorbisCodecInfo() 1565 if (len1 > (SIZE_MAX - codecPrivate[offset])) { in addVorbisCodecInfo() 1572 if (len2 > (SIZE_MAX - 0xff)) { in addVorbisCodecInfo() 1581 if (len2 > (SIZE_MAX - codecPrivate[offset])) { in addVorbisCodecInfo() 1586 if (len1 > SIZE_MAX - len2 || offset > SIZE_MAX - (len1 + len2) || in addVorbisCodecInfo()
|
/frameworks/av/media/libstagefright/foundation/ |
D | MediaBufferGroup.cpp | 193 requestedSize < SIZE_MAX / 3 * 2 /* NB: ordering */ ? in acquire_buffer()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
D | mp4enc_api.cpp | 28 #ifndef SIZE_MAX 29 #define SIZE_MAX ((size_t) -1) macro 668 if ((size_t)nTotalMB > SIZE_MAX / sizeof(MOT *)) { in PVInitVideoEncoder() 693 if ((size_t)nTotalMB > SIZE_MAX / sizeof(typeDCStore)) { in PVInitVideoEncoder() 701 if ((size_t)((max_width >> 4) + 1) > SIZE_MAX / sizeof(typeDCACStore)) { in PVInitVideoEncoder() 711 if ((size_t)nTotalMB > SIZE_MAX / sizeof(Int)) { in PVInitVideoEncoder() 773 || (size_t)(size + (size >> 1)) > SIZE_MAX / sizeof(PIXEL)) { in PVInitVideoEncoder() 874 if ((size_t)nLayers > SIZE_MAX / sizeof(Vol *)) { in PVInitVideoEncoder()
|
/frameworks/av/services/audioflinger/ |
D | TrackBase.h | 214 virtual size_t framesReady() const { return SIZE_MAX; } in framesReady()
|
D | PlaybackTracks.h | 80 size_t frameCountToBeReady = SIZE_MAX);
|
/frameworks/av/media/libstagefright/flac/dec/ |
D | FLACDecoder.cpp | 420 if (inBufferLen > SIZE_MAX - (mBufferDataSize - mBufferPos)) { in addDataToBuffer()
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrackShared.cpp | 33 return sizeof(T) > sizeof(size_t) && x > (T) SIZE_MAX ? SIZE_MAX : x < 0 ? 0 : (size_t) x; in clampToSize() 1149 buffer->mNonContig = mFramesReady == INT64_MAX ? SIZE_MAX : clampToSize(mFramesReady - avail); in obtainBuffer()
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 1978 if (max_size > SIZE_MAX - 10 * 2) { in parseChunk() 2695 if (chunk_data_size < 0 || static_cast<uint64_t>(chunk_data_size) >= SIZE_MAX - 1) { in parseChunk() 3650 if (size < 4 || size == SIZE_MAX) { in parseITunesMetaData() 3853 if (size < 4 || size == SIZE_MAX || mLastTrack == NULL) { in parseColorInfo() 3906 if (size < 4 || size == SIZE_MAX) { in parse3GPPMetaData() 6000 if (dstOffset > SIZE_MAX - 4 || in read() 6001 dstOffset + 4 > SIZE_MAX - nalLength || in read() 6330 if (dstOffset > SIZE_MAX - 4 || in fragmentedRead() 6331 dstOffset + 4 > SIZE_MAX - nalLength || in fragmentedRead()
|
D | SampleTable.cpp | 463 if (((SIZE_MAX / 8) - 1 < numEntries) || (data_size != (numEntries + 1) * 8)) { in setCompositionTimeToSampleParams()
|
/frameworks/av/media/ndk/ |
D | NdkMediaExtractor.cpp | 49 if (numSubSamples > SIZE_MAX / sizeof(size_t)) { in U32ArrayToSizeBuf()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerCCDecoder.cpp | 273 if (payload_size > SIZE_MAX / 8 in parseSEINalUnit()
|
/frameworks/base/core/jni/ |
D | android_os_HwBlob.cpp | 107 mSize = SIZE_MAX; // XXX in setTo()
|
D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 241 if (tmpSize > SIZE_MAX) { in produceFrame()
|