/ohos5.0/foundation/multimedia/av_session/utils/include/ |
H A D | avsession_utils.h | 31 static constexpr const int32_t MAX_FILE_SIZE = 4 * 1024 * 1024; 52 if (imgBufferSize > MAX_FILE_SIZE || imgBufferSize <= 0) { in WriteImageToFile() 53 SLOGE("error, dataSize larger than %{public}d or invalid", MAX_FILE_SIZE); in WriteImageToFile() 93 if (imgBufferSize > MAX_FILE_SIZE || imgBufferSize <= 0) { in ReadImageFromFile() 94 SLOGE("error, dataSize larger than %{public}d or invalid", MAX_FILE_SIZE); in ReadImageFromFile()
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/interfaces/kits/js/src/ |
H A D | config_parser.cpp | 24 constexpr int MAX_FILE_SIZE = 1024; variable 37 if (file.tellg() > MAX_FILE_SIZE) { in load()
|
/ohos5.0/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/proxy/ |
H A D | client_trans_proxy_file_manager_mock_test.cpp | 164 .WillRepeatedly(Return(MAX_FILE_SIZE)); 172 .WillRepeatedly(Return(MAX_FILE_SIZE + 1));
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | application_cleaner.cpp | 50 constexpr int64_t MAX_FILE_SIZE = 50 * 1024; variable 125 return (fileSize <= MAX_FILE_SIZE); in CheckFileSize()
|
/ohos5.0/base/hiviewdfx/hicollie/frameworks/native/ |
H A D | xcollie_utils.h | 51 constexpr uint64_t MAX_FILE_SIZE = 10 * 1024 * 1024; // 10M variable
|
H A D | xcollie_utils.cpp | 353 if (fileSize > MAX_FILE_SIZE) { in WriteStackToFd() 356 fileSize, MAX_FILE_SIZE); in WriteStackToFd()
|
/ohos5.0/base/account/os_account/frameworks/common/file_operator/src/ |
H A D | account_file_operator.cpp | 38 const long MAX_FILE_SIZE = 1 << 24; // 16MB variable 279 if ((fileSize < 0) || (fileSize > MAX_FILE_SIZE)) { in GetFileContentByPath()
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/src/ |
H A D | client_trans_proxy_file_manager.c | 319 if (file->fileSize > MAX_FILE_SIZE) { in UnpackFileTransStartInfo() 364 if (*fileSize > MAX_FILE_SIZE) { in GetAndCheckFileSize() 1439 if (bytesToWrite > MAX_FILE_SIZE) { in ProcessFileFrameSequence() 1444 if (fileInfo->fileOffset > (uint64_t)MAX_FILE_SIZE - (uint64_t)bytesToWrite) { in ProcessFileFrameSequence() 1485 if (MAX_FILE_SIZE < frameDataLength) { in ProcessOneFrameCRC() 1490 if (fileOffset > MAX_FILE_SIZE - frameDataLength) { in ProcessOneFrameCRC() 1503 if (fileInfo->fileOffset > MAX_FILE_SIZE) { in ProcessOneFrameCRC() 1525 if (MAX_FILE_SIZE < frameDataLength) { in ProcessOneFrame() 1530 if (fileInfo->fileOffset > MAX_FILE_SIZE - frameDataLength) { in ProcessOneFrame() 1542 if (fileInfo->fileOffset > MAX_FILE_SIZE) { in ProcessOneFrame()
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/include/ |
H A D | client_trans_proxy_file_manager.h | 29 #define MAX_FILE_SIZE (0x500000) /* 5M */ macro
|
/ohos5.0/drivers/peripheral/thermal/interfaces/hdi_service/src/ |
H A D | thermal_dfx.cpp | 45 constexpr int32_t MAX_FILE_SIZE = 10 * 1024 * 1024; variable 219 if (size < MAX_FILE_SIZE) { in CompressFile()
|
/ohos5.0/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/ |
H A D | hitrace_meter.cpp | 89 constexpr const int MAX_FILE_SIZE = 500 * 1024 * 1024; variable 418 if ((g_writeOffset + size) > DEFAULT_CACHE_SIZE && (g_writeOffset + size) < MAX_FILE_SIZE) { in GetTraceBuffer() 1044 g_fileLimitSize = (limitSize > MAX_FILE_SIZE) ? MAX_FILE_SIZE : limitSize; in StartCaptureAppTrace()
|
/ohos5.0/base/hiviewdfx/hiview/base/event_publish/ |
H A D | event_publish.cpp | 45 constexpr uint64_t MAX_FILE_SIZE = 5 * 1024 * 1024; // 5M variable 82 externalLogInfo.maxFileSize_ = MAX_FILE_SIZE; in GetExternalLogInfo()
|
/ohos5.0/base/hiviewdfx/hiview/plugins/freeze_detector/ |
H A D | rule_cluster.h | 214 static const int MAX_FILE_SIZE = 512 * 1024; variable
|
H A D | rule_cluster.cpp | 69 if (st.st_size > MAX_FILE_SIZE) { in CheckFileSize()
|
/ohos5.0/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/ |
H A D | tar_file.cpp | 38 const uint64_t MAX_FILE_SIZE = 0777777777777L; variable 227 if (sizeof(off_t) <= OFF_T_SIZE || st.st_size <= static_cast<off_t>(MAX_FILE_SIZE)) { in I2OcsConvert()
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/src/ |
H A D | exif_info.cpp | 59 static constexpr unsigned long MAX_FILE_SIZE = 1000 * 1000 * 1000; variable 598 if (fileLength == 0 || fileLength > MAX_FILE_SIZE) { in GetFileInfoByPath() 685 if (fileLength == 0 || fileLength > MAX_FILE_SIZE) { in GetFileInfoByFd() 824 if (size == 0 || size > MAX_FILE_SIZE) { in ModifyExifData() 1507 if (fileLength == 0 || fileLength > MAX_FILE_SIZE) { in UpdateCacheExifData()
|
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/exif_metadata_accessor_test/ |
H A D | exif_getfilterarea_test.cpp | 52 static const int MAX_FILE_SIZE = 1000 * 1000 * 100; variable 101 if (size > MAX_FILE_SIZE) { in CopyFileStream()
|
/ohos5.0/base/hiviewdfx/hitrace/cmd/src/ |
H A D | hitrace_cmd.cpp | 143 const int MAX_FILE_SIZE = 512000; // 500 MB variable 382 } else if (fileSizeKB < MIN_FILE_SIZE || fileSizeKB > MAX_FILE_SIZE) { in ParseLongOpt()
|