| /foundation/distributeddatamgr/preferences/frameworks/native/include/ |
| D | adaptor.h | 31 #define REALPATH(filePath, realPath, ...) (_fullpath(realPath, filePath, ##__VA_ARGS__)) argument 32 #define MKDIR(filePath) (mkdir(filePath)) argument 33 #define ACCESS(filePath) (_access(filePath, FILE_EXIST)) argument 40 #define REALPATH(filePath, realPath, ...) (realpath(filePath, realPath)) argument 41 #define MKDIR(filePath) (mkdir(filePath, FILE_MODE)) argument 42 #define ACCESS(filePath) (access(filePath, FILE_EXIST)) argument 51 #define REALPATH(filePath, realPath, ...) (realpath(filePath, realPath)) argument 52 #define MKDIR(filePath) (mkdir(filePath, FILE_MODE)) argument 53 #define ACCESS(filePath) (access(filePath, FILE_EXIST)) argument
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/ |
| D | file_asset_test.cpp | 175 string filePath = "/data/test/CreateAsset_001.jpg"; variable 182 string filePath = ""; variable 190 string filePath = "/data/test/CreateAsset_003.jpg"; variable 198 string filePath = "/data/test/.nofile"; variable 206 string filePath = "/data/test/nofile"; variable 213 string filePath = "test"; variable 220 string filePath = "/data/test/test/test/test/test/nofile"; variable 279 string filePath = "/data/test/DeleteAsset_001.jpg"; variable 287 string filePath = "/data/test/DeleteAsset_002.jpg"; variable 304 string filePath = "/data/test/OpenAsset_001.jpg"; variable [all …]
|
| D | media_file_utils_test.cpp | 31 string filePath = "/data/test/isfileexists_001"; variable 58 string filePath = "/data/test/createfile_001"; variable 64 string filePath = ""; variable 70 string filePath = "/data/test/createfile_003"; variable 77 string filePath = "/data/test/test/test/test/createfile_004"; variable 83 string filePath = "/data/test/deletefile_001"; variable 439 string filePath = ""; variable 445 string filePath = "test"; variable 451 string filePath = "test/"; variable 457 string filePath = "test/test"; variable
|
| /foundation/multimedia/histreamer/tests/st/ |
| D | test_single_audio_recorder_fast.h | 144 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 182 std::string filePath; in FIXTURE() local 203 std::string filePath; in FIXTURE() local 677 std::string filePath; in FIXTURE() local 903 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 934 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 965 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 996 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 1027 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local 1058 std::string filePath = std::string(recorder->GetOutputDir() + "/test.m4a"); in FIXTURE() local [all …]
|
| D | test_single_audio_recorder_slow.h | 76 std::string filePath; in FIXTURE() local
|
| /foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/test/moduletest/common/distributeddb/src/ |
| D | distributeddb_kv_backup_test.cpp | 118 const std::string filePath = exportPath + "/bkpDB.bin"; variable 173 const std::string filePath = exportPath + "/bkpDB.bin"; variable 205 std::string filePath = exportPath + "/bkpDB1.bin"; variable 275 std::string filePath = exportPath + "/bkpDB.bin"; variable 347 const std::string filePath = exportPath + "/bkpDB.bin"; variable 376 std::string filePath = exportPath + "/bkpDB.bin"; variable 426 std::string filePath = exportPath + "/bkpDB.bin"; variable 485 std::string filePath = exportPath + "/bkpDB1.bin"; variable 546 std::string filePath = importPath + "/bkpDB1.bin"; variable 614 std::string filePath = importPath1 + "/bkpDB1.bin"; variable [all …]
|
| D | distributeddb_nb_backup_test.cpp | 120 const std::string filePath = exportPath + "/bkpDB.bin"; variable 176 std::string filePath = exportPath + "/bkpDB.bin"; variable 237 std::string filePath = exportPath + "/bkpDB.bin"; variable 312 const std::string filePath = exportPath + "/bkpDB.bin"; variable 342 std::string filePath = exportPath + "/bkpDB.bin"; variable 390 std::string filePath = exportPath + "/bkpDB.bin"; variable 454 std::string filePath = exportPath + "/bkpDB1.bin"; variable 579 std::string filePath = importPath1 + "/bkpDB.bin"; variable 626 std::string filePath = importPath + "/bkpDB.bin"; variable 747 std::string filePath = importPath + "/bkpDB.bin"; variable [all …]
|
| /foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
| D | distributeddb_interfaces_database_corrupt_test.cpp | 52 std::string filePath = g_testDir + "/" + identifierName + "/"; in GetKvStoreDirectory() local 159 …std::string filePath = GetKvStoreDirectory("corrupt1", DBConstant::DB_TYPE_LOCAL); // local databa… variable 207 std::string filePath = GetKvStoreDirectory("corrupt2", DBConstant::DB_TYPE_MULTI_VER); variable 263 …std::string filePath = GetKvStoreDirectory("corrupt4", DBConstant::DB_TYPE_LOCAL); // local databa… variable 323 …std::string filePath = GetKvStoreDirectory("corrupt6", DBConstant::DB_TYPE_LOCAL); // local databa… variable 369 auto filePath = GetKvStoreDirectory(storeId, DBConstant::DB_TYPE_SINGLE_VER); in TestDatabaseIntegrityCheckOption() local 467 auto filePath = GetKvStoreDirectory("integrity021", DBConstant::DB_TYPE_SINGLE_VER); variable
|
| /foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/security/ |
| D | security.cpp | 66 DBStatus Security::SetSecurityOption(const std::string &filePath, const SecurityOption &option) in SetSecurityOption() 81 DBStatus Security::GetSecurityOption(const std::string &filePath, SecurityOption &option) const in GetSecurityOption() argument 194 DBStatus Security::SetFileSecurityOption(const std::string &filePath, const SecurityOption &option) in SetFileSecurityOption() 224 DBStatus Security::SetDirSecurityOption(const std::string &filePath, const SecurityOption &option) in SetDirSecurityOption() 232 DBStatus Security::GetFileSecurityOption(const std::string &filePath, SecurityOption &option) const in GetFileSecurityOption() argument 254 DBStatus Security::GetDirSecurityOption(const std::string &filePath, SecurityOption &option) const in GetDirSecurityOption() argument
|
| /foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
| D | security_policy.cpp | 24 int SecurityPolicy::SetFileSecurityLevel(const std::string &filePath, const std::string &securityLe… in SetFileSecurityLevel() 46 std::string SecurityPolicy::GetFileSecurityLevel(const std::string &filePath) in GetFileSecurityLevel()
|
| /foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
| D | extractor_util.cpp | 27 ExtractorUtil::ExtractorUtil(const std::string &filePath) : zipFile_(filePath) {} in ExtractorUtil() 53 bool ExtractorUtil::ExtractFileToPath(const std::string &filePath, const std::string &fileName) con… in ExtractFileToPath() argument
|
| /foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
| D | bundle_verify_mgr.cpp | 49 ErrCode BundleVerifyMgr::HapVerify(const std::string &filePath, HapVerifyResult &hapVerifyResult) in HapVerify() 84 ErrCode BundleVerifyMgr::ParseHapProfile(const std::string &filePath, HapVerifyResult &hapVerifyRes… in ParseHapProfile()
|
| /foundation/graphic/ui/test/autotest/src/ |
| D | compare_tools.cpp | 46 bool CompareTools::StrnCatPath(char* filePath, size_t pathMax, const char* fileName, size_t count) in StrnCatPath() 203 bool CompareTools::CompareFile(const char* filePath, size_t length) in CompareFile() 269 void CompareTools::SaveResultLog(const char* filePath, const char* buff, size_t bufSize) in SaveResultLog() 278 bool CompareTools::SaveFile(const char* filePath, size_t length) in SaveFile() 296 bool CompareTools::CheckFileExist(const char* filePath, size_t length) in CheckFileExist() 309 void CompareTools::SetLogPath(const char* filePath, size_t length) in SetLogPath() 333 bool CompareTools::SaveLog(const char* buff, size_t bufSize, const char* filePath) in SaveLog()
|
| /foundation/resourceschedule/resource_schedule_service/cgroup_sched/framework/process_group/src/ |
| D | cgroup_controller.cpp | 77 std::string filePath(path_ + "/tasks"); in IsEnabled() local 119 std::string filePath = StringPrintf("/proc/%d/cgroup", tid); in GetTaskGroup() local 141 std::string filePath; in AddThreadSchedPolicy() local 163 std::string filePath; in AddThreadGroupSchedPolicy() local
|
| D | process_group_util.cpp | 68 bool ReadFileToString(const std::string& filePath, std::string& content) in ReadFileToString() 101 bool ReadFileToStringForVFS(const std::string& filePath, std::string& content) in ReadFileToStringForVFS() 134 bool WriteStringToFile(const std::string& content, const std::string& filePath) in WriteStringToFile()
|
| /foundation/distributeddatamgr/preferences/frameworks/native/src/ |
| D | preferences_helper.cpp | 68 std::string filePath = path.substr(0, pos); in GetRealPath() local 107 std::string filePath = realPath.c_str(); in GetPreferences() local 132 std::string filePath = realPath.c_str(); in DeletePreferences() local
|
| /foundation/multimodalinput/input/util/common/src/ |
| D | util.cpp | 436 static bool CheckFileExtendName(const std::string &filePath, const std::string &checkExtension) in CheckFileExtendName() 446 static int32_t GetFileSize(const std::string &filePath) in GetFileSize() 456 static std::string ReadFile(const std::string &filePath) in ReadFile() 471 static bool IsValidPath(const std::string &rootDir, const std::string &filePath) in IsValidPath() 476 static bool IsValidJsonPath(const std::string &filePath) in IsValidJsonPath() 482 static bool IsValidProPath(const std::string &filePath) in IsValidProPath() 487 static bool IsValidTomlPath(const std::string &filePath) in IsValidTomlPath() 492 void ReadProFile(const std::string &filePath, int32_t deviceId, in ReadProFile() 572 std::string ReadJsonFile(const std::string &filePath) in ReadJsonFile() 603 int32_t ReadTomlFile(const std::string &filePath, DeviceConfig &devConf) in ReadTomlFile() [all …]
|
| /foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/ |
| D | system_api.cpp | 45 SystemApi::DBStatus SystemApi::SetSecurityOption(const std::string &filePath, const DBOption &optio… in SetSecurityOption() 76 SystemApi::DBStatus SystemApi::GetSecurityOption(const std::string &filePath, DBOption &option) con… in GetSecurityOption() argument
|
| /foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/test/common/distributeddb/src/ |
| D | distributed_test_sysinfo.cpp | 155 float DistributedTestSysInfo::ReadSysValFromFile(const std::string &filePath) in ReadSysValFromFile() 182 const std::string &filePath, int totalCount, uint64_t microSeconds) in GetSysMeanCurrentVal() 236 float DistributedTestSysInfo::ReadSysValFromFile(const std::string &filePath) in ReadSysValFromFile() 243 const std::string &filePath, int totalCount, uint64_t microSeconds) in GetSysMeanCurrentVal()
|
| /foundation/multimodalinput/input/tools/vuinput/src/ |
| D | virtual_device.cpp | 63 inline bool IsValidPath(const std::string& rootDir, const std::string& filePath) in IsValidPath() 68 inline bool IsValidUinputPath(const std::string& filePath) in IsValidUinputPath() 104 void RemoveDir(const std::string& filePath) in RemoveDir() 275 std::vector<std::string> VirtualDevice::BrowseDirectory(const std::string& filePath) in BrowseDirectory() 303 const std::string filePath = procressPath + "cmdline"; in ClearFileResidues() local 485 std::string VirtualDevice::ReadFile(const std::string& filePath) in ReadFile() 503 int32_t VirtualDevice::GetFileSize(const std::string& filePath) in GetFileSize() 513 std::string VirtualDevice::ReadUinputToolFile(const std::string& filePath) in ReadUinputToolFile()
|
| /foundation/communication/netmanager_ext/services/ethernetmanager/src/ |
| D | ethernet_configuration.cpp | 167 std::string filePath = std::string(USER_CONFIG_DIR) + FILE_OBLIQUE_LINE + ptr->d_name; in ReadUserConfiguration() local 224 std::string filePath = std::string(USER_CONFIG_DIR) + FILE_OBLIQUE_LINE + iface; in WriteUserConfiguration() local 308 std::string EthernetConfiguration::ReadJsonFile(const std::string &filePath) in ReadJsonFile() 356 std::string filePath = dirPath + FILE_OBLIQUE_LINE + entry->d_name; in DelDir() local 367 bool EthernetConfiguration::IsFileExist(const std::string &filePath, std::string &realPath) in IsFileExist() 382 bool EthernetConfiguration::ReadFile(const std::string &filePath, std::string &fileContent) in ReadFile() 406 bool EthernetConfiguration::WriteFile(const std::string &filePath, const std::string &fileContent) in WriteFile()
|
| /foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
| D | media_file_utils.cpp | 125 string MediaFileUtils::GetFilename(const string &filePath) in GetFilename() 153 bool MediaFileUtils::CreateFile(const string &filePath) in CreateFile() 203 bool CopyFileUtil(const string &filePath, const string &newPath) in CopyFileUtil() 253 bool MediaFileUtils::CopyFile(const string &filePath, const string &newPath) in CopyFile() 425 MediaType MediaFileUtils::GetMediaType(const std::string &filePath) in GetMediaType() 466 int32_t MediaFileUtils::OpenFile(const string &filePath, const string &mode) in OpenFile()
|
| /foundation/communication/netstack/frameworks/native/tls_socket/src/ |
| D | tls_utils.cpp | 26 bool IsValidPath(const std::string &filePath) in IsValidPath()
|
| /foundation/multimedia/media_lite/test/unittest/player_lite/ |
| D | player_lite_test.h | 40 char filePath[FILE_PATH_LEN]; member
|
| /foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
| D | image_source_util.cpp | 39 int64_t PackImage(const std::string &filePath, std::unique_ptr<PixelMap> pixelMap) in PackImage() 93 bool ReadFileToBuffer(const std::string &filePath, uint8_t *buffer, size_t bufferSize) in ReadFileToBuffer()
|