Home
last modified time | relevance | path

Searched refs:MAX_FILE_SIZE (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/multimedia/av_session/utils/include/
H A Davsession_utils.h31 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 Dconfig_parser.cpp24 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 Dclient_trans_proxy_file_manager_mock_test.cpp164 .WillRepeatedly(Return(MAX_FILE_SIZE));
172 .WillRepeatedly(Return(MAX_FILE_SIZE + 1));
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Dapplication_cleaner.cpp50 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 Dxcollie_utils.h51 constexpr uint64_t MAX_FILE_SIZE = 10 * 1024 * 1024; // 10M variable
H A Dxcollie_utils.cpp353 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 Daccount_file_operator.cpp38 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 Dclient_trans_proxy_file_manager.c319 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 Dclient_trans_proxy_file_manager.h29 #define MAX_FILE_SIZE (0x500000) /* 5M */ macro
/ohos5.0/drivers/peripheral/thermal/interfaces/hdi_service/src/
H A Dthermal_dfx.cpp45 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 Dhitrace_meter.cpp89 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 Devent_publish.cpp45 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 Drule_cluster.h214 static const int MAX_FILE_SIZE = 512 * 1024; variable
H A Drule_cluster.cpp69 if (st.st_size > MAX_FILE_SIZE) { in CheckFileSize()
/ohos5.0/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/
H A Dtar_file.cpp38 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 Dexif_info.cpp59 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 Dexif_getfilterarea_test.cpp52 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 Dhitrace_cmd.cpp143 const int MAX_FILE_SIZE = 512000; // 500 MB variable
382 } else if (fileSizeKB < MIN_FILE_SIZE || fileSizeKB > MAX_FILE_SIZE) { in ParseLongOpt()