Searched refs:fileSuffix (Results 1 - 8 of 8) sorted by relevance
/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/ |
H A D | file_trash_n_exporter.cpp | 251 static int GenerateNewFileName(string &destFile, const string &filePathName, int32_t index, const string &fileSuffix)
in GenerateNewFileName() argument 255 destFile = filePathName + to_string(index++) + fileSuffix;
in GenerateNewFileName() 256 return GenerateNewFileName(destFile, filePathName, index, fileSuffix);
in GenerateNewFileName() 261 static int TruncFileName(string &newDestFile, string &filePathName, int32_t slashPos, const string &fileSuffix)
in TruncFileName() argument 270 newDestFile = filePathName + to_string(distinctSuffixIndex) + fileSuffix;
in TruncFileName() 276 return GenerateNewFileName(newDestFile, filePathName, distinctSuffixIndex, fileSuffix);
in TruncFileName() 294 string fileSuffix = "";
in MoveFile() local 300 fileSuffix = destFile.substr(suffixPos);
in MoveFile() 303 string newDestFile = filePathName + to_string(distinctSuffixIndex) + fileSuffix;
in MoveFile() 304 ret = GenerateNewFileName(newDestFile, filePathName, distinctSuffixIndex, fileSuffix);
in MoveFile() [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/include/ |
H A D | image_utils.h | 59 static void DumpDataIfDumpEnabled(const char* data, const size_t& totalSize, const std::string& fileSuffix = "dat",
|
/foundation/window/window_manager/snapshot/src/ |
H A D | snapshot_utils.cpp | 141 const char *fileSuffix = (fileType == "png") ? VALID_SNAPSHOT_PNG_SUFFIX : VALID_SNAPSHOT_SUFFIX; in CheckFileNameValid() local 142 if (strncmp(fileNameSuffix, fileSuffix, fileMinLength) == 0) { in CheckFileNameValid() 145 std::cout << "error: fileName " << fileName.c_str() << " invalid, suffix must be " << fileSuffix << std::endl; in CheckFileNameValid()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | image_utils_test.cpp | 477 const std::string fileSuffix; in HWTEST_F() local 479 ImageUtils::DumpDataIfDumpEnabled(data, totalSize, fileSuffix, imageId); in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/utils/src/ |
H A D | image_utils.cpp | 507 const std::string& fileSuffix, uint64_t imageId) in DumpDataIfDumpEnabled() 513 "_data_total" + std::to_string(totalSize) + "." + fileSuffix; in DumpDataIfDumpEnabled() 506 DumpDataIfDumpEnabled(const char* data, const size_t& totalSize, const std::string& fileSuffix, uint64_t imageId) DumpDataIfDumpEnabled() argument
|
/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | image_source.h | 324 void DumpInputData(const std::string& fileSuffix = "dat");
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/codec/src/ |
H A D | image_source.cpp | 3431 void ImageSource::DumpInputData(const std::string &fileSuffix) 3445 ImageUtils::DumpDataIfDumpEnabled(reinterpret_cast<const char *>(data), size, fileSuffix, imageId_);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | base_bundle_installer.cpp | 122 std::string fileSuffix = ServiceConstants::INSTALL_FILE_SUFFIX; in GetHapPath() local 126 fileSuffix = ServiceConstants::HSP_FILE_SUFFIX; in GetHapPath() 129 return info.GetAppCodePath() + ServiceConstants::PATH_SEPARATOR + moduleName + fileSuffix; in GetHapPath()
|
Completed in 20 milliseconds