Home
last modified time | relevance | path

Searched refs:realPath (Results 1 - 6 of 6) sorted by relevance

/drivers/external_device_manager/services/native/driver_extension_manager/src/bus_extension/core/
H A Dbus_extension_core.cpp55 char realPath[PATH_MAX + 1] = {0}; in LoadBusExtensionLibs() local
56 if (realpath(libPath.str().c_str(), realPath) == nullptr) { in LoadBusExtensionLibs()
57 EDM_LOGE(MODULE_DEV_MGR, "invalid so path %{public}s", realPath); in LoadBusExtensionLibs()
60 void *handler = dlopen(realPath, RTLD_LAZY); in LoadBusExtensionLibs()
62 EDM_LOGE(MODULE_DEV_MGR, "failed to dlopen %{public}s, %{public}s", realPath, dlerror()); in LoadBusExtensionLibs()
/drivers/hdf_core/framework/tools/hdi-gen/util/
H A Doptions.cpp160 std::string realPath = File::AdapterRealPath(sourceFile); in AddSources() local
161 if (realPath.empty()) { in AddSources()
166 if (!File::VerifyRealPath(realPath)) { in AddSources()
167 Logger::E(TAG, "verify path failed, path:%s", realPath.c_str()); in AddSources()
171 if (sourceFiles.insert(realPath).second == false) { in AddSources()
180 std::string realPath = File::AdapterRealPath(sourceFile); in CheckOutPutFile() local
181 if (realPath.empty()) { in CheckOutPutFile()
186 if (!File::VerifyRealPath(realPath)) { in CheckOutPutFile()
187 Logger::E(TAG, "verify path failed, path:%s", realPath.c_str()); in CheckOutPutFile()
190 return realPath; in CheckOutPutFile()
[all...]
H A Dfile.cpp67 std::string realPath = RealPath(path); in OpenByRead() local
68 if (realPath.empty()) { in OpenByRead()
73 fd_ = fopen(realPath.c_str(), "r"); in OpenByRead()
75 Logger::E(TAG, "can't open '%s'", realPath.c_str()); in OpenByRead()
79 path_ = realPath; in OpenByRead()
265 char realPath[PATH_MAX + 1]; in CreateParentDir() local
267 char *absPath = _fullpath(realPath, path.c_str(), PATH_MAX); in CreateParentDir()
269 char *absPath = realpath(path.c_str(), realPath); in CreateParentDir()
/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dfile.cpp18 char realPath[PATH_MAX]; in AbsPath() local
20 char *p = _fullpath(realPath, path.data(), PATH_MAX); in AbsPath()
25 char *p = realpath(path.data(), realPath); in AbsPath()
/drivers/peripheral/display/test/unittest/lite/
H A Dloadbmp_test.c67 char realPath[PATH_MAX] = {0}; in GetBmpInfo() local
69 if (realpath((char*)fileName, realPath) == NULL) { in GetBmpInfo()
73 if ((file = fopen((const char*)realPath, "rb")) == NULL) { in GetBmpInfo()
116 char realPath[PATH_MAX] = {0}; in OpenPicFile() local
125 if (realpath((char*)fileName, realPath) == NULL) { in OpenPicFile()
130 return fopen((const char*)realPath, "rb"); in OpenPicFile()
/drivers/hdf_core/framework/core/adapter/syscall/src/
H A Dhdf_syscall_adapter.c719 static int TrytoLoadIoService(const char *serviceName, char *devNodePath, char *realPath) in TrytoLoadIoService() argument
727 while (realpath(devNodePath, realPath) == NULL && waitCount > 0) { in TrytoLoadIoService()
744 char *realPath = NULL; in HdfIoServiceAdapterObtain() local
752 realPath = OsalMemCalloc(PATH_MAX); in HdfIoServiceAdapterObtain()
753 if (nodePath == NULL || realPath == NULL) { in HdfIoServiceAdapterObtain()
763 if (realpath(nodePath, realPath) == NULL && TrytoLoadIoService(serviceName, nodePath, realPath) != HDF_SUCCESS) { in HdfIoServiceAdapterObtain()
780 adapter->fd = open(realPath, O_RDWR); in HdfIoServiceAdapterObtain()
782 HDF_LOGE("Open file node %{public}s failed, (%{public}d)%{public}s", realPath, errno, strerror(errno)); in HdfIoServiceAdapterObtain()
794 OsalMemFree(realPath); in HdfIoServiceAdapterObtain()
[all...]

Completed in 5 milliseconds