Home
last modified time | relevance | path

Searched refs:readlink (Results 1 - 24 of 24) sorted by relevance

/foundation/arkui/napi/jsvm/
H A Dbuild_jsvm.sh23 export SCRIPT_PATCH=$(dirname $(readlink -f "$0"))
/base/sensors/miscdevice/utils/common/src/
H A Dfile_utils.cpp117 ret = readlink(buf, filePath, FILE_PATH_MAX); in GetFileName()
119 MISC_HILOGE("readlink failed with %{public}d", errno); in GetFileName()
225 ssize_t ret = readlink(fdPath.c_str(), filePath, FILE_PATH_MAX); in GetFileSuffix()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
H A Ddlp_utils.cpp105 int readLinkRes = readlink(path.c_str(), fileName, MAX_DLP_FILE_SIZE); in GetFileNameWithFd()
107 DLP_LOG_ERROR(LABEL, "fail to readlink uri"); in GetFileNameWithFd()
/base/startup/appspawn/standard/
H A Dappspawn_main.c72 ssize_t nread = readlink("/proc/self/exe", buf, sizeof(buf) - 1); in CheckPreload()
73 APPSPAWN_CHECK(nread != -1, return, "readlink fail: /proc/self/exe: %{public}d", errno); in CheckPreload()
/foundation/filemanagement/storage_service/services/storage_daemon/volume/src/
H A Dprocess.cpp57 len = readlink(path.c_str(), buf.data(), size); in Readlink()
/foundation/graphic/graphic_2d/rosen/modules/platform/utils/
H A Ddirectory_ex.cpp31 int ret = readlink("/proc/self/exe", procFile, PATH_MAX); in GetCurrentProcFullFileName()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/fuzztest/common/
H A Ddistributeddb_tools_test.cpp39 int length = readlink("/proc/self/exe", buffer, maxFileLength); in GetCurrentDir()
/foundation/multimodalinput/input/libudev/src/
H A Dudev_device.cpp66 ssize_t len = readlink(syspath.c_str(), linkTarget, sizeof(linkTarget)); in ResolveSymLink()
92 ssize_t len = readlink(path.c_str(), target, sizeof(target)); in GetLinkValue()
/foundation/ai/intelligent_voice_framework/llt/hdt/depend_libs/src/
H A Dfile_ex.cpp66 int ret = readlink(fdPath.c_str(), fileName, PATH_MAX); in GetFileNameByFd()
/base/hiviewdfx/hidumper/services/native/src/
H A Ddump_manager_service.cpp235 ssize_t linkDestSize = readlink(linkPath.c_str(), linkDest, sizeof(linkDest) - 1); in GetFdLinkNum()
/base/startup/init/ueventd/
H A Dueventd_device_handler.c214 ssize_t ret = readlink(linkName, realPath, DEVICE_FILE_SIZE - 1); in RemoveDeviceNode()
/foundation/filemanagement/app_file_service/interfaces/innerkits/native/remote_file_share/src/
H A Dremote_file_share.cpp116 ret = readlink(buf, filePath, PATH_MAX); in GetFileName()
118 LOGE("RemoteFileShare::GetFileName, readlink failed with %{public}d", errno); in GetFileName()
/foundation/filemanagement/user_file_service/interfaces/kits/native/recent/
H A Drecent_n_exporter.cpp267 auto readLinkRes = readlink(recentFilePath.c_str(), buf.get(), BUF_SIZE); in GetListFileResult()
269 HILOG_ERROR("Failed to readlink uri, errno=%{public}d", errno); in GetListFileResult()
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_function.cpp628 if (readlink(buf, proBuf, sizeof(proBuf)) < 0) { in CheckProRunning()
629 DHCP_LOGE("CheckProRunning %{public}s failed, readlink errno:%{public}d!", proName.c_str(), errno); in CheckProRunning()
/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Dprocess_dumper.cpp109 ssize_t count = readlink(src.c_str(), buf, sizeof(buf) - 1); in ReadLink()
140 DFXLOGE("failed to readlink %{public}s: %{public}s", path.c_str(), strerror(errno)); in CollectOpenFiles()
/base/startup/init/services/param/base/
H A Dparam_base.c115 (void)readlink("/proc/self/exe", path, sizeof(path) - 1); in CheckNeedInit()
/foundation/filemanagement/storage_service/services/storage_daemon/mtpfs/src/
H A Dmtpfs_fuse.cpp309 fuseOperations_.readlink = WrapReadLink; in MtpFileSystem()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/
H A Ddistributeddb_nb_test_tools.cpp617 int length = readlink("/proc/self/exe", buffer, maxFileLength); in GetCurrentDir()
/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/class_randomaccessfile/
H A Drandomaccessfile_n_exporter.cpp434 int readLinkRes = readlink(path.c_str(), buf.get(), BUF_SIZE); in CreateStream()
436 HILOGE("Failed to readlink uri, errno=%{public}d", errno); in CreateStream()
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/
H A Dunistdndk.cpp617 ret = readlink(softptr, buf, sizeof(buf)); in Readlink()
627 ret = readlink("/data/storage/el2/base/files/testReadlink.txt", buf, sizeof(buf)); in Readlink()
1334 const char softptr[] = "/data/storage/el2/base/files/readlink.txt.soft"; in ReadLink()
1336 const char ptr[] = "/data/storage/el2/base/files/readlink.txt"; in ReadLink()
1344 ssize_t ret = readlink(softptr, buf, sizeof(buf)); in ReadLink()
1361 const char softptr[] = "/data/storage/el2/base/files/readlink.txt.soft"; in ReadLinkAt()
1363 const char ptr[] = "/data/storage/el2/base/files/readlink.txt"; in ReadLinkAt()
1689 const char softptr[] = "/data/storage/el2/base/files/readlink.txt.soft"; in ReadlinkChk()
1691 const char ptr[] = "/data/storage/el2/base/files/readlink.txt"; in ReadlinkChk()
2149 {"readlink", nullpt in Init()
[all...]
/base/startup/appspawn/test/unittest/hnp_test/
H A Dhnp_installer_test.cpp964 int len = readlink(sourcePath, link, sizeof(link) - 1); in HnpSymlinkCheck()
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/
H A Ddrawable_descriptor.cpp766 readlink("/proc/self/exe", pathBuf, MAX_PATH_LEN); in GetStaticMaskClipPath()
/foundation/filemanagement/storage_service/services/storage_daemon/user/src/
H A Dmount_manager.cpp449 int res = readlink(path.c_str(), realPath, sizeof(realPath) - 1); in CheckSymlink()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/common/
H A Ddistributeddb_tools_unit_test.cpp228 int length = readlink("/proc/self/exe", buffer, maxFileLength); in GetCurrentDir()

Completed in 30 milliseconds