/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/ |
H A D | rust_utils_directory_test.rs | 219 let mut realpath = String::new(); in test_path_to_real_path_001() localVariable 220 let ret = directory_ex::ffi::RustPathToRealPath(&path, &mut realpath); in test_path_to_real_path_001() 222 assert_eq!(path, realpath); in test_path_to_real_path_001() 229 let mut realpath = String::new(); in test_path_to_real_path_002() localVariable 230 let ret = directory_ex::ffi::RustPathToRealPath(&path, &mut realpath); in test_path_to_real_path_002() 232 assert_eq!("/data/test", realpath); in test_path_to_real_path_002() 239 let mut realpath = String::new(); in test_path_to_real_path_003() localVariable 242 assert_eq!("/data/test", realpath); in test_path_to_real_path_003() 249 let mut realpath = String::new(); in test_path_to_real_path_004() localVariable 262 let mut realpath = String::new(); in test_path_to_real_path_005() localVariable [all …]
|
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/directory_benchmark_test/ |
H A D | directory_benchmark_test.cpp | 429 string realpath; in BENCHMARK_F() local 430 bool ret = PathToRealPath(path, realpath); in BENCHMARK_F() 446 string realpath; in BENCHMARK_F() local 447 bool ret = PathToRealPath(path, realpath); in BENCHMARK_F() 463 string realpath; in BENCHMARK_F() local 464 bool ret = PathToRealPath(path, realpath); in BENCHMARK_F() 480 string realpath; in BENCHMARK_F() local 481 bool ret = PathToRealPath(path, realpath); in BENCHMARK_F() 500 string realpath; in BENCHMARK_F() local 501 bool ret = PathToRealPath(path, realpath); in BENCHMARK_F() [all …]
|
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_directory_test.cpp | 514 string realpath; variable 515 bool ret = PathToRealPath(path, realpath); 517 EXPECT_EQ(path, realpath); 527 string realpath; variable 528 bool ret = PathToRealPath(path, realpath); 530 EXPECT_EQ("/data/test", realpath); 540 string realpath; variable 543 EXPECT_EQ("/data/test", realpath); 553 string realpath; variable 569 string realpath; variable [all …]
|
/ohos5.0/base/update/updater/interfaces/kits/misc_info/ |
H A D | misc_info.cpp | 26 char *realPath = realpath(path.c_str(), NULL); in WriteUpdaterMessage() 58 char *realPath = realpath(path.c_str(), NULL); in ReadUpdaterMessage() 119 char *realPath = realpath(path.c_str(), NULL); in WriteUpdaterParaMisc() 161 char *realPath = realpath(path.c_str(), NULL); in ReadUpdaterParaMisc()
|
/ohos5.0/foundation/filemanagement/app_file_service/test/fuzztest/remotefileshare_fuzzer/ |
H A D | remotefileshare_fuzzer.cpp | 63 if (!realpath(g_sharePATH, path)) { in ShareFilePathIoctlFdAndCidFuzzTest() 106 if (!realpath(g_sharePATH, realLocation)) { in ShareFilePathIoctlCidFuzzTest() 157 if (!realpath(g_sharePATH, realPath)) { in ShareFilePathIoctlFdFuzzTest()
|
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/mock/ |
H A D | library_func_mock.cpp | 43 char *realpath(const char *__restrict path, char *__restrict resolved_path) in realpath() function 48 return LibraryFunc::libraryFunc_->realpath(path, resolved_path); in realpath()
|
H A D | library_func_mock.h | 35 virtual char *realpath(const char *__restrict path, char *__restrict resolved_path) = 0; 46 MOCK_METHOD2(realpath, char *(const char *__restrict path, char *__restrict resolved_path));
|
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/ |
H A D | file_path_utils.cpp | 28 char* realpath(const char* path, char* resolvedPath) in realpath() function 206 if (realpath(jsModulePath.c_str(), path) != nullptr) { in MakeNewJsModulePath() 220 if (realpath(fileName.c_str(), path) != nullptr) { in FindNpmPackageInPath() 228 if (realpath(fileName.c_str(), path) == nullptr) { in FindNpmPackageInPath() 251 if (realpath(npmPackagePath.c_str(), path) == nullptr) { in FindNpmPackageInPath() 415 if (realpath(path.c_str(), resolvedPath) != nullptr) { in MakeFilePath() 433 if (realpath(path.c_str(), resolvedPath) == nullptr) { in MakeFilePath()
|
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/all_connect/ |
H A D | all_connect_manager_test.cpp | 91 EXPECT_CALL(*libraryFuncMock_, realpath(_, _)).WillOnce(Return(nullptr)); 114 EXPECT_CALL(*libraryFuncMock_, realpath(_, _)).WillOnce(Return(soPath)); 141 EXPECT_CALL(*libraryFuncMock_, realpath(_, _)).WillOnce(Return(soPath)); 459 EXPECT_CALL(*libraryFuncMock_, realpath(_, _)).WillOnce(Return(nullptr)); 482 EXPECT_CALL(*libraryFuncMock_, realpath(_, _)).WillOnce(Return(soPath)); 506 EXPECT_CALL(*libraryFuncMock_, realpath(_, _)).WillOnce(Return(soPath)); 532 EXPECT_CALL(*libraryFuncMock_, realpath(_, _)).WillOnce(Return(soPath)); 559 EXPECT_CALL(*libraryFuncMock_, realpath(_, _)).WillOnce(Return(soPath));
|
/ohos5.0/build/ohos/images/mkimage/ |
H A D | mkf2fsimage.py | 58 libuuid_path = os.path.realpath("./clang_x64/thirdparty/e2fsprogs/") 87 libselinux_path = os.path.realpath("./clang_x64/thirdparty/selinux/") 88 libuuid_path = os.path.realpath("./clang_x64/thirdparty/e2fsprogs/")
|
H A D | mkextimage.py | 95 libselinux_path = os.path.realpath("./clang_x64/thirdparty/selinux/") 96 libpcre2_path = os.path.realpath("./clang_x64/thirdparty/pcre2/")
|
/ohos5.0/drivers/hdf_core/framework/tools/hdi-gen/ |
H A D | Makefile | 8 export PWD:=$(subst /,\, $(abspath $(dir $(realpath $(lastword $(MAKEFILE_LIST)))))) 13 export PWD := $(abspath $(dir $(realpath $(lastword $(MAKEFILE_LIST)))))
|
/ohos5.0/foundation/multimedia/media_foundation/engine/foundation/osal/utils/ |
H A D | util.cpp | 34 char *realpath(const char *__restrict name, char *__restrict resolved) in realpath() function 62 if (realpath(partialPath.c_str(), tmpPath) == nullptr) { in ConvertFullPath()
|
/ohos5.0/foundation/multimedia/media_foundation/src/osal/utils/ |
H A D | util.cpp | 35 char *realpath(const char *__restrict name, char *__restrict resolved) in realpath() function 72 if (realpath(partialPath.c_str(), tmpPath) == nullptr) { in ConvertFullPath()
|
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/ |
H A D | bundle_daemon_handler.cpp | 44 if (hapPath == nullptr || realpath(hapPath, realHapPath) == nullptr) { in ExtractHap() 102 if (oldFile == nullptr || realpath(oldFile, realOldPath) == nullptr) { in RenameFile() 195 if (oldFile == nullptr || realpath(oldFile, static_cast<char *>(realOldPath)) == nullptr) { in MoveFile() 243 if (filePath == nullptr || realpath(filePath, realFilePath) == nullptr) { in RemoveFile()
|
/ohos5.0/foundation/graphic/graphic_2d/utils/build/ |
H A D | copy_arkui_adapters.py | 29 source_dir = os.path.realpath(sys.argv[1]) 35 dest_dir = os.path.realpath(sys.argv[2])
|
/ohos5.0/foundation/window/window_manager/utils/src/ |
H A D | typec_port_info.cpp | 60 if (!realpath(absoluteTypePath.c_str(), realPathResult)) { in GetTypeCFileNode() 93 if (!realpath(typeCMappingPath.c_str(), realPathResult)) { in GetTypeCThermal()
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/opensles/test/example/ |
H A D | audio_opensles_player_test.cpp | 70 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main() 83 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main() 114 if ((strlen(inputPath) > PATH_MAX) || (realpath(inputPath, path) == nullptr)) { in main() 138 if ((strlen(inputPath2) > PATH_MAX) || (realpath(inputPath2, path2) == nullptr)) { in main()
|
/ohos5.0/foundation/filemanagement/app_file_service/utils/src/b_filesystem/ |
H A D | b_file.cpp | 102 if (!realpath(from.data(), resolvedPath.get())) { in CopyFile() 117 if (!realpath(dirname(dir.get()), resolvedPath.get())) { in CopyFile() 153 if (!realpath(path.c_str(), tmpPath.get())) { in GetRealPath()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/utils/ |
H A D | jsi_module_searcher.cpp | 28 char* realpath(const char* path, char* resolvedPath) in realpath() function 238 if (realpath(jsModulePath.c_str(), path) != nullptr) { in MakeNewJsModulePath() 252 if (realpath(fileName.c_str(), path) != nullptr) { in FindNpmPackageInPath() 260 if (realpath(fileName.c_str(), path) == nullptr) { in FindNpmPackageInPath()
|
/ohos5.0/base/security/huks/test/unittest/huks_common_test/src/ |
H A D | hks_test_file_operator_func.c | 61 (void)realpath(fileName, filePath); in FileRead() 109 (void)realpath(fileName, filePath); in FileWrite()
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/utils/ |
H A D | set_flag_utils.cpp | 91 if (realpath(filepath.c_str(), absPath) == nullptr) { in SetFileDelFlags() 125 if (realpath(dirpath.c_str(), absPath) == nullptr) { in SetDirDelFlags()
|
/ohos5.0/base/startup/init/services/modules/trace/ |
H A D | init_trace.c | 92 realpath(path, realPath); in ReadFile() 178 realpath(workspace->buffer, realPath); in WriteStrToFile() 333 realpath(workspace->buffer, realPath); in ClearTrace() 383 realpath(workspace->buffer, realPath); in DumpTrace() 427 realpath(workspace->buffer, realPath); in MarkOthersClockSync()
|
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/ |
H A D | file_operator.cpp | 51 (void)realpath(str.c_str(), realPath); in InputFileByPathAndContent() 92 if ((realpath(path.c_str(), realPath) == nullptr) && (errno != ENOENT)) { in GetFileContentByPath()
|
/ohos5.0/foundation/ability/idl_tool/util/ |
H A D | file.cpp | 41 char* absolutePath = realpath(path.string(), nullptr); in File() 69 char* absolutePath = realpath(path.string(), nullptr); in File()
|