Searched refs:realPath (Results 1 – 7 of 7) sorted by relevance
/drivers/hdf_core/adapter/uhdf2/host/src/ |
D | driver_loader_full.c | 40 char realPath[PATH_MAX] = {0}; in HdfDriverLoaderGetDriver() local 54 if (realpath(driverPath, realPath) == NULL) { in HdfDriverLoaderGetDriver() 64 void *handle = dlopen(realPath, RTLD_LAZY); in HdfDriverLoaderGetDriver() 66 HDF_LOGE("get driver entry failed, %{public}s load fail, %{public}s", realPath, dlerror()); in HdfDriverLoaderGetDriver() 73 HDF_LOGE("driver entry %{public}s dlsym failed", realPath); in HdfDriverLoaderGetDriver()
|
/drivers/external_device_manager/services/native/driver_extension_manager/src/bus_extension/core/ |
D | bus_extension_core.cpp | 51 char realPath[PATH_MAX + 1] = {0}; in LoadBusExtensionLibs() local 52 if (realpath(libPath.str().c_str(), realPath) == nullptr) { in LoadBusExtensionLibs() 53 EDM_LOGE(MODULE_DEV_MGR, "invalid so path %{public}s", realPath); in LoadBusExtensionLibs() 56 void *handler = dlopen(realPath, RTLD_LAZY); in LoadBusExtensionLibs() 58 … EDM_LOGE(MODULE_DEV_MGR, "failed to dlopen %{public}s, %{public}s", realPath, dlerror()); in LoadBusExtensionLibs()
|
/drivers/hdf_core/framework/tools/hdi-gen/util/ |
D | file.cpp | 67 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()
|
D | options.cpp | 160 std::string realPath = File::AdapterRealPath(sourceFile); in AddSources() local 161 if (realPath.empty()) { in AddSources() 166 if (sourceFiles.insert(realPath).second == false) { in AddSources()
|
/drivers/hdf_core/framework/tools/hc-gen/src/ |
D | file.cpp | 18 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/ |
D | loadbmp_test.c | 67 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() 122 char realPath[PATH_MAX] = {0}; in LoadPicToBuffer() local 133 if (realpath((char*)fileName, realPath) == NULL) { in LoadPicToBuffer() 137 if ((file = fopen((const char*)realPath, "rb")) == NULL) { in LoadPicToBuffer()
|
/drivers/hdf_core/framework/core/adapter/syscall/src/ |
D | hdf_syscall_adapter.c | 706 static int TrytoLoadIoService(const char *serviceName, char *devNodePath, char *realPath) in TrytoLoadIoService() argument 714 while (realpath(devNodePath, realPath) == NULL && waitCount > 0) { in TrytoLoadIoService() 731 char *realPath = NULL; in HdfIoServiceAdapterObtain() local 739 realPath = OsalMemCalloc(PATH_MAX); in HdfIoServiceAdapterObtain() 740 if (nodePath == NULL || realPath == NULL) { in HdfIoServiceAdapterObtain() 750 …if (realpath(nodePath, realPath) == NULL && TrytoLoadIoService(serviceName, nodePath, realPath) !=… in HdfIoServiceAdapterObtain() 767 adapter->fd = open(realPath, O_RDWR); in HdfIoServiceAdapterObtain() 769 … HDF_LOGE("Open file node %{public}s failed, (%d)%{public}s", realPath, errno, strerror(errno)); in HdfIoServiceAdapterObtain() 781 OsalMemFree(realPath); in HdfIoServiceAdapterObtain()
|