Home
last modified time | relevance | path

Searched refs:nodePath (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/graphic/graphic_3d/kits/js/src/
H A DNodeJS.cpp73 BASE_NS::string nodePath; in NodeJS() local
77 nodePath = path.valueOrDefault(""); in NodeJS()
80 nodePath = name.valueOrDefault(""); in NodeJS()
87 ExecSyncTask([scn, nodePath, &node]() { in NodeJS()
88 node = scn->CreateNode<SCENE_NS::INode>(nodePath, true); in NodeJS()
H A DLightJS.cpp75 BASE_NS::string nodePath; in Create() local
79 nodePath = path.valueOrDefault(""); in Create()
82 nodePath = name.valueOrDefault(""); in Create()
89 ExecSyncTask([scn, nodePath, &node]() { in Create()
90 node = scn->CreateNode<SCENE_NS::ILight>(nodePath, true); in Create()
H A DCameraJS.cpp161 BASE_NS::string nodePath; in CameraJS() local
165 nodePath = path.valueOrDefault(""); in CameraJS()
168 nodePath = name.valueOrDefault(""); in CameraJS()
175 ExecSyncTask([scn, nodePath, &node, pipeline]() { in CameraJS()
176 node = scn->CreateNode<SCENE_NS::ICamera>(nodePath, true); in CameraJS()
/ohos5.0/drivers/peripheral/thermal/interfaces/hdi_service/src/
H A Dthermal_simulation_node.cpp149 char nodePath[MAX_PATH] = {0}; in AddFanSensorNode() local
153 int32_t ret = snprintf_s(nodePath, MAX_PATH, sizeof(nodePath) - ARG_1, in AddFanSensorNode()
158 CreateNodeDir(static_cast<std::string>(nodePath)); in AddFanSensorNode()
160 ret = snprintf_s(typePath, MAX_PATH, sizeof(typePath) - ARG_1, "%s/%s", nodePath, "type"); in AddFanSensorNode()
168 ret = snprintf_s(speedPath, MAX_PATH, sizeof(speedPath) - ARG_1, "%s/%s", nodePath, "speed"); in AddFanSensorNode()
/ohos5.0/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/
H A Dbuffer_loop_tracking.cpp233 std::list<std::shared_ptr<TrackingNode>> nodePath = {}; in FindTrackingNodePath() local
240 if (nodePath.empty()) { in FindTrackingNodePath()
245 nodePath.emplace_back(n); in FindTrackingNodePath()
249 nodePath.emplace_back(n); in FindTrackingNodePath()
252 return nodePath; in FindTrackingNodePath()
467 auto nodePath = stream->FindTrackingNodePath(beginNode, endNode); in IsEmpty() local
468 for (auto& n : nodePath) { in IsEmpty()
/ohos5.0/drivers/hdf_core/framework/core/adapter/vnode/src/
H A Dhdf_vnode_adapter.c372 const char *nodePath = client->adapter->vNodePath; in HdfVnodeAdapterDropOldEventLocked() local
373 …DF_LOGE("dev(%{public}s) event queue full, drop old one", nodePath == NULL ? "unknown" : nodePath); in HdfVnodeAdapterDropOldEventLocked()
419 char *nodePath = NULL; in DropOldEventInRingBuffer() local
432 nodePath = vnodeClient->adapter->vNodePath; in DropOldEventInRingBuffer()
433 …GE("dev(%{public}s) event ringbuffer full, drop old one", nodePath == NULL ? "unknown" : nodePath); in DropOldEventInRingBuffer()
/ohos5.0/drivers/hdf_core/framework/core/adapter/syscall/src/
H A Dhdf_syscall_adapter.c743 char *nodePath = NULL; in HdfIoServiceAdapterObtain() local
751 nodePath = OsalMemCalloc(PATH_MAX); in HdfIoServiceAdapterObtain()
753 if (nodePath == NULL || realPath == NULL) { in HdfIoServiceAdapterObtain()
758 if (sprintf_s(nodePath, PATH_MAX - 1, "%s%s", devPath, serviceName) < 0) { in HdfIoServiceAdapterObtain()
763 …if (realpath(nodePath, realPath) == NULL && TrytoLoadIoService(serviceName, nodePath, realPath) !=… in HdfIoServiceAdapterObtain()
793 OsalMemFree(nodePath); in HdfIoServiceAdapterObtain()
/ohos5.0/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dparser.cpp323 auto nodePath = current_.strval; in ParseNodeCopy() local
332 nodeCopy->SetRefPath(nodePath); in ParseNodeCopy()
/ohos5.0/drivers/peripheral/input/udriver/src/
H A Dinput_device_manager.cpp584 auto nodePath = devPath_ + "/" + string(event->name); in InotifyEventHandler() local
586 if (realpath(nodePath.c_str(), nodeRealPath) == nullptr) { in InotifyEventHandler()
595 if (nodePath.find("event") == std::string::npos) { in InotifyEventHandler()
598 DoWithEventDeviceAdd(epollFd, tmpFd, nodePath); in InotifyEventHandler()
601 if (!strcmp(inputDev.second.devPathNode, nodePath.c_str())) { in InotifyEventHandler()
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dscene_impl.cpp1083 BASE_NS::string nodePath; in BindNodeToEcs() local
1097 nodePath = BASE_NS::string(fullPath.data(), cutIx); in BindNodeToEcs()
1132 auto constructNode = [this, nodePath, nodeName, classUid]( in BindNodeToEcs()
1140 entity = sceneHolder->CreateCamera(nodePath, nodeName, 0); in BindNodeToEcs()
1141 } else if (auto node = sceneHolder->CreateNode(nodePath, nodeName)) { in BindNodeToEcs()
1170 if (nodePath.empty() && !isResourceClassType) { in BindNodeToEcs()
1171 nodePath = "/" + rootNodeId_ + "/"; in BindNodeToEcs()
1202 … nodeInterface->Initialize(ecsScene, ecsObject, parent, nodePath, nodeName, sceneHolder_, entity); in BindNodeToEcs()
/ohos5.0/foundation/multimodalinput/input/service/dfx/src/
H A Ddfx_hisysevent.cpp57 static std::string GetVendorInfo(const std::string &nodePath) in GetVendorInfo() argument
60 if (realpath(nodePath.c_str(), realPath) == nullptr) { in GetVendorInfo()
66 MMI_HILOGE("Unable to open file:%{public}s, error:%{public}d", nodePath.c_str(), errno); in GetVendorInfo()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/src/gltf/
H A Dgltf2_exporter.cpp707 string_view nodePath; in GetAnimationTarget() local
709 nodePath = nameHandle->name; in GetAnimationTarget()
711 CORE_LOG_W("couldn't resolve node path: %s", nodePath.data()); in GetAnimationTarget()