/base/startup/init/interfaces/innerkits/file/ |
D | init_file.c | 29 int GetControlFile(const char *pathName) in GetControlFile() argument 31 if (pathName == NULL) { in GetControlFile() 35 …R_CHECK(snprintf_s(path, sizeof(path), sizeof(path) - 1, OHOS_FILE_ENV_PREFIX "%s", pathName) >= 0, in GetControlFile()
|
/base/startup/init/services/init/ |
D | init_service_file.c | 56 static int SetFileEnv(int fd, const char *pathName) in SetFileEnv() argument 58 INIT_ERROR_CHECK(pathName != NULL, return -1, "Invalid fileName"); in SetFileEnv() 61 HOS_FILE_ENV_PREFIX "%s", pathName) >= 0, return -1, "Failed snprintf_s err=%d", errno); in SetFileEnv()
|
/base/telephony/sms_mms/test/unittest/ |
D | mms_msg_test.h | 51 …MmsMsg &msg, std::string pathName, std::string contentId, std::string contenType, bool isSmil) con…
|
D | mms_msg_test.cpp | 648 …MmsMsg &msg, std::string pathName, std::string contentId, std::string contenType, bool isSmil) con… in MmsAddAttachment() argument 651 std::size_t pos = pathName.find_last_of('/'); in MmsAddAttachment() 652 std::string fileName(pathName.substr(pos + 1)); in MmsAddAttachment() 654 if (!imageAttachment.SetAttachmentFilePath(pathName, isSmil)) { in MmsAddAttachment()
|
/base/telephony/sms_mms/test/gtest/ |
D | mms_gtest.cpp | 233 const std::string pathName = "/data/app/enSrc/618C0A89.smil"; variable 234 std::size_t pos = pathName.find_last_of('/'); 235 std::string fileName(pathName.substr(pos + 1)); 241 retBool = attachment.SetAttachmentFilePath(pathName, true); 244 EXPECT_STREQ(retStr.c_str(), pathName.c_str());
|
/base/update/updater/utils/include/ |
D | utils.h | 50 int MkdirRecursive(const std::string &pathName, mode_t mode);
|
/base/update/updater/utils/ |
D | utils.cpp | 86 int MkdirRecursive(const std::string &pathName, mode_t mode) in MkdirRecursive() argument 91 slashPos = pathName.find_first_of("/", slashPos); in MkdirRecursive() 103 auto subDir = pathName.substr(0, slashPos); in MkdirRecursive() 113 int ret = mkdir(pathName.c_str(), mode); in MkdirRecursive()
|
/base/theme/wallpaper_mgr/services/src/ |
D | wallpaper_service.cpp | 354 std::string pathName; in InitResources() local 355 if (!GetFileNameFromMap(userId, wallpaperType, pathName)) { in InitResources() 359 if (!FileDeal::IsFileExist(pathName)) { in InitResources() 628 std::string pathName; in SaveColor() local 629 if (!GetPictureFileName(userId, wallpaperType, pathName)) { in SaveColor() 633 OHOS::Media::ImageSource::CreateImageSource(pathName, opts, errorCode); in SaveColor()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/mock/ |
D | mock_image_source.cpp | 84 std::unique_ptr<ImageSource> ImageSource::CreateImageSource(const std::string &pathName, const Sour… in CreateImageSource() argument
|
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_rdb_data_mgr_test/ |
D | notification_rdb_data_mgr_test.cpp | 161 … const std::string &alias, const std::string &pathName, const std::vector<uint8_t> destEncryptKey) in Attach() argument
|