/frameworks/av/media/libmedia/ |
D | MediaUtils.cpp | 36 size_t maxMem = SIZE_MAX; in limitProcessMemory() 39 if (size_t(numPages) < SIZE_MAX / size_t(pageSize)) { in limitProcessMemory() 57 if (propVal > 0 && uint64_t(propVal) <= SIZE_MAX) { in limitProcessMemory()
|
D | ICrypto.cpp | 333 if (sumSubsampleSizes <= SIZE_MAX - ss.mNumBytesOfEncryptedData) { in onTransact() 338 if (sumSubsampleSizes <= SIZE_MAX - ss.mNumBytesOfClearData) { in onTransact()
|
D | AudioTrackShared.cpp | 31 return sizeof(T) > sizeof(size_t) && x > (T) SIZE_MAX ? SIZE_MAX : x < 0 ? 0 : (size_t) x; in clampToSize() 1016 buffer->mNonContig = mFramesReady == INT64_MAX ? SIZE_MAX : clampToSize(mFramesReady - avail); in obtainBuffer()
|
D | IMediaSource.cpp | 324 if (usedSize < SIZE_MAX / 3) { in onTransact()
|
D | IOMX.cpp | 754 if (size > SIZE_MAX - (pageSize * 2)) { in onTransact()
|
D | AudioTrack.cpp | 1355 if (mNotificationsPerBufferReq > SIZE_MAX / afFrameCountHAL) { in createTrack_l()
|
/frameworks/av/media/libstagefright/ |
D | DataConverter.cpp | 64 if (numSamples > SIZE_MAX / mSourceSampleSize) { in sourceSize() 67 return SIZE_MAX; in sourceSize() 75 if (numSamples > SIZE_MAX / mTargetSampleSize) { in targetSize() 78 return SIZE_MAX; in targetSize()
|
D | SampleTable.cpp | 236 if (SIZE_MAX / sizeof(SampleToChunkEntry) <= (size_t)mNumSampleToChunkOffsets) in setSampleToChunkParams() 247 if ((off64_t)(SIZE_MAX - 8 - (i * 12)) < mSampleToChunkOffset) { in setSampleToChunkParams() 411 if (((SIZE_MAX / 8) - 1 < numEntries) || (data_size != (numEntries + 1) * 8)) { in setCompositionTimeToSampleParams() 469 if (allocSize > SIZE_MAX) { in setSyncSampleParams()
|
D | DRMExtractor.cpp | 203 if (dstOffset > SIZE_MAX - 4 || in read() 204 dstOffset + 4 > SIZE_MAX - nalLength || in read()
|
D | MPEG4Extractor.cpp | 1544 if (max_size > SIZE_MAX - 10 * 2) { in parseChunk() 2114 if ((chunk_size > SIZE_MAX) || (SIZE_MAX - chunk_size <= size)) { in parseChunk() 2154 if (chunk_data_size < 0 || static_cast<uint64_t>(chunk_data_size) >= SIZE_MAX - 1) { in parseChunk() 2576 if (size < 4 || size == SIZE_MAX) { in parseITunesMetaData() 2775 if (size < 4 || size == SIZE_MAX || mLastTrack == NULL) { in parseColorInfo() 2818 if (size < 4 || size == SIZE_MAX) { in parse3GPPMetaData() 4355 if (mNALLengthSize > SIZE_MAX - nal_size) { in read() 4433 if (dstOffset > SIZE_MAX - 4 || in read() 4434 dstOffset + 4 > SIZE_MAX - nalLength || in read() 4653 if (mNALLengthSize > SIZE_MAX - nal_size) { in fragmentedRead() [all …]
|
D | NuMediaExtractor.cpp | 487 if (SIZE_MAX - size < sizeof(int32_t)) { in appendVorbisNumPageSamples()
|
/frameworks/av/media/libstagefright/id3/ |
D | ID3.cpp | 245 if (extendedHeaderSize > SIZE_MAX - 4) { in parseV2() 269 if (paddingSize > SIZE_MAX - mFirstFrameOffset) { in parseV2() 667 if (SIZE_MAX - mOffset <= mFrameSize) { in findFrame() 715 if (SIZE_MAX - 10 <= baseSize) { in findFrame() 722 if (SIZE_MAX - mOffset <= mFrameSize) { in findFrame()
|
/frameworks/av/services/mediaextractor/ |
D | main_extractorservice.cpp | 41 SIZE_MAX, /* upper limit in bytes */ in main()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
D | pvdec_api.cpp | 26 #ifndef SIZE_MAX 27 #define SIZE_MAX ((size_t) -1) macro 106 if ((size_t)nLayers > SIZE_MAX / sizeof(Vol *)) { in PVInitVideoDecoder() 144 if ((size_t)nLayers > SIZE_MAX / sizeof(Vop *)) { in PVInitVideoDecoder() 436 if ((size_t)nTotalMB > SIZE_MAX / sizeof(typeDCStore)) { in PVAllocVideoData() 444 || (size_t)(nMBPerRow + 1) > SIZE_MAX / sizeof(typeDCACStore)) { in PVAllocVideoData() 463 if ((size_t)nTotalMB > SIZE_MAX / sizeof(int16)) { in PVAllocVideoData() 483 if ((size_t)nTotalMB > SIZE_MAX / (sizeof(MOT) * 4)) { in PVAllocVideoData()
|
/frameworks/av/media/libstagefright/matroska/ |
D | MatroskaExtractor.cpp | 976 if (len1 > (SIZE_MAX - 0xff)) { in addVorbisCodecInfo() 985 if (len1 > (SIZE_MAX - codecPrivate[offset])) { in addVorbisCodecInfo() 992 if (len2 > (SIZE_MAX - 0xff)) { in addVorbisCodecInfo() 1001 if (len2 > (SIZE_MAX - codecPrivate[offset])) { in addVorbisCodecInfo() 1006 if (len1 > SIZE_MAX - len2 || offset > SIZE_MAX - (len1 + len2) || in addVorbisCodecInfo()
|
/frameworks/av/media/libstagefright/foundation/ |
D | MediaBufferGroup.cpp | 85 if (requestedSize < SIZE_MAX / 3) { in acquire_buffer()
|
/frameworks/av/services/audioflinger/ |
D | TrackBase.h | 99 virtual size_t framesReady() const { return SIZE_MAX; } in framesReady()
|
/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/media/libstagefright/codecs/avc/enc/ |
D | SoftAVCEncoder.cpp | 271 if ((size_t)nMacroBlocks > SIZE_MAX / sizeof(uint32_t)) { in initEncParams()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 216 if (tmpSize > SIZE_MAX) { in produceFrame()
|
/frameworks/native/cmds/installd/ |
D | commands.cpp | 1729 if (SIZE_MAX - len_idmap_root < len_overlay_path || in flatten_path() 1730 SIZE_MAX - (len_idmap_root + len_overlay_path) < len_suffix) { in flatten_path()
|
/frameworks/av/media/libstagefright/codecs/avcenc/ |
D | SoftAVCEnc.cpp | 698 if (mNumMemRecords > SIZE_MAX / sizeof(iv_mem_rec_t)) { in initEncoder()
|
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/ |
D | EffectReverb.cpp | 1959 if (SIZE_MAX - sizeof(effect_param_t) < (size_t)p->psize) { in Reverb_command()
|
/frameworks/native/vulkan/nulldrv/ |
D | null_driver.cpp | 737 if (SIZE_MAX - sizeof(DeviceMemory) <= alloc_info->allocationSize) in DEFINE_OBJECT_HANDLE_CONVERSION()
|
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
D | EffectBundle.cpp | 3100 if (SIZE_MAX - sizeof(effect_param_t) < (size_t)p->psize) { in Effect_command()
|