Home
last modified time | relevance | path

Searched refs:realpath (Results 1 – 25 of 402) sorted by relevance

12345678910>>...17

/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/
H A Drust_utils_directory_test.rs219 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 Ddirectory_benchmark_test.cpp429 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 Dutils_directory_test.cpp514 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 Dmisc_info.cpp26 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 Dremotefileshare_fuzzer.cpp63 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 Dlibrary_func_mock.cpp43 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 Dlibrary_func_mock.h35 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 Dfile_path_utils.cpp28 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 Dall_connect_manager_test.cpp91 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 Dmkf2fsimage.py58 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 Dmkextimage.py95 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 DMakefile8 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 Dutil.cpp34 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 Dutil.cpp35 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 Dbundle_daemon_handler.cpp44 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 Dcopy_arkui_adapters.py29 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 Dtypec_port_info.cpp60 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 Daudio_opensles_player_test.cpp70 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 Db_file.cpp102 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 Djsi_module_searcher.cpp28 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 Dhks_test_file_operator_func.c61 (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 Dset_flag_utils.cpp91 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 Dinit_trace.c92 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 Dfile_operator.cpp51 (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 Dfile.cpp41 char* absolutePath = realpath(path.string(), nullptr); in File()
69 char* absolutePath = realpath(path.string(), nullptr); in File()

12345678910>>...17