Home
last modified time | relevance | path

Searched refs:realpath (Results 1 - 7 of 7) sorted by relevance

/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() variables
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() variables
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() variables
240 let ret = directory_ex::ffi::RustPathToRealPath(&path, &mut realpath); in test_path_to_real_path_003()
242 assert_eq!("/data/test", realpath); in test_path_to_real_path_003()
249 let mut realpath in test_path_to_real_path_004() variables
262 let mut realpath = String::new(); test_path_to_real_path_005() variables
271 let mut realpath = String::new(); test_path_to_real_path_006() variables
[all...]
/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()
432 AssertEqual(path, realpath, "path did not equal realpath as expected.", state); in BENCHMARK_F()
446 string realpath; in BENCHMARK_F() local
447 bool ret = PathToRealPath(path, realpath); in BENCHMARK_F()
449 AssertEqual("/data/test", realpath, "\"/data/test\" did not equal realpath as expected.", state); in BENCHMARK_F()
463 string realpath; in BENCHMARK_F() local
464 bool ret = PathToRealPath(path, realpath); in BENCHMARK_F()
480 string realpath; BENCHMARK_F() local
500 string realpath; BENCHMARK_F() local
516 string realpath; BENCHMARK_F() local
[all...]
/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_directory_test.cpp514 string realpath; in HWTEST_F() local
515 bool ret = PathToRealPath(path, realpath); in HWTEST_F()
517 EXPECT_EQ(path, realpath); in HWTEST_F()
527 string realpath; in HWTEST_F() local
528 bool ret = PathToRealPath(path, realpath); in HWTEST_F()
530 EXPECT_EQ("/data/test", realpath); in HWTEST_F()
540 string realpath; in HWTEST_F() local
541 bool ret = PathToRealPath(path, realpath); in HWTEST_F()
543 EXPECT_EQ("/data/test", realpath); in HWTEST_F()
553 string realpath; in HWTEST_F() local
569 string realpath; HWTEST_F() local
581 string realpath; HWTEST_F() local
[all...]
/commonlibrary/utils_lite/js/builtin/kvstorekit/src/
H A Dnativeapi_kv_impl.c66 if (realpath(originPath, trustPath) != NULL) { in GetRealPath()
/commonlibrary/c_utils/base/src/
H A Ddirectory_ex.cpp429 if (realpath(path.c_str(), tmpPath) == nullptr) { in PathToRealPath()
430 UTILS_LOGE("path (%{public}s) to realpath error: %{public}s", path.c_str(), strerror(errno)); in PathToRealPath()
436 UTILS_LOGE("check realpath (%{private}s) error: %{public}s", realPath.c_str(), strerror(errno)); in PathToRealPath()
H A Dmapped_file.cpp48 if (realpath(path_.c_str(), canonicalPath) == nullptr) { in NormalizePath()
50 UTILS_LOGE("%{public}s get realpath failed.", __FUNCTION__); in NormalizePath()
/commonlibrary/utils_lite/js/builtin/filekit/src/
H A Dnativeapi_fs_impl.c52 if (realpath(originPath, trustPath) != NULL) { in GetRealPath()

Completed in 6 milliseconds