/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_net_builder_mock_test.cpp | 86 LIST_FOR_EACH_ENTRY_SAFE(item, next, &netBuilder->fsmList, LnnConnectionFsm, node) { in ClearNetBuilderFsmList() 87 ListDelete(&item->node); in ClearNetBuilderFsmList() 181 ListInit(&connFsm->node); in HWTEST_F() 186 ListAdd(&g_netBuilder.fsmList, &connFsm->node); in HWTEST_F() 192 ListInit(&connFsm1->node); in HWTEST_F() 193 ListAdd(&g_netBuilder.fsmList, &connFsm1->node); in HWTEST_F() 228 * @tc.desc: lnn update node addr test 252 * @tc.desc: node info sync test 412 * @tc.desc: process node state changed test 427 * @tc.desc: process node stat [all...] |
/foundation/arkui/ace_engine/frameworks/core/animation/ |
H A D | spring_adapter.h | 34 virtual void OnNodeAdd(RefPtr<SpringNode>& node) = 0; 35 virtual void OnNodeDelete(RefPtr<SpringNode>& node) = 0; 43 virtual RefPtr<SpringNode> GetNext(const RefPtr<SpringNode>& node) = 0; 60 void NotifyNodeAdd(RefPtr<SpringNode>& node) in NotifyNodeAdd() argument 63 observe_.Upgrade()->OnNodeAdd(node); in NotifyNodeAdd() 67 void NotifyNodeDelete(RefPtr<SpringNode>& node) in NotifyNodeDelete() argument 70 observe_.Upgrade()->OnNodeDelete(node); in NotifyNodeDelete()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/waterflow/ |
H A D | water_flow_item_node.cpp | 25 auto node = GetFrameNode(tag, nodeId); in GetOrCreateFlowItem() local 26 if (node) { in GetOrCreateFlowItem() 27 return node; in GetOrCreateFlowItem() 30 node = MakeRefPtr<WaterFlowItemNode>(tag, nodeId, pattern); in GetOrCreateFlowItem() 31 node->InitializePatternAndContext(); in GetOrCreateFlowItem() 32 ElementRegister::GetInstance()->AddUINode(node); in GetOrCreateFlowItem() 33 return node; in GetOrCreateFlowItem()
|
/kernel/linux/linux-5.10/drivers/clk/h8300/ |
H A D | clk-div.c | 16 static void __init h8300_div_clk_setup(struct device_node *node) in h8300_div_clk_setup() argument 20 const char *clk_name = node->name; in h8300_div_clk_setup() 26 num_parents = of_clk_get_parent_count(node); in h8300_div_clk_setup() 32 divcr = of_iomap(node, 0); in h8300_div_clk_setup() 41 parent_name = of_clk_get_parent_name(node, 0); in h8300_div_clk_setup() 42 of_property_read_u32(node, "renesas,width", &width); in h8300_div_clk_setup() 47 of_clk_add_hw_provider(node, of_clk_hw_simple_get, hw); in h8300_div_clk_setup()
|
/kernel/linux/linux-5.10/arch/nios2/kernel/ |
H A D | irq.c | 65 struct device_node *node; in init_IRQ() local 67 node = of_find_compatible_node(NULL, NULL, "altr,nios2-1.0"); in init_IRQ() 68 if (!node) in init_IRQ() 69 node = of_find_compatible_node(NULL, NULL, "altr,nios2-1.1"); in init_IRQ() 71 BUG_ON(!node); in init_IRQ() 73 domain = irq_domain_add_linear(node, NIOS2_CPU_NR_IRQS, &irq_ops, NULL); in init_IRQ() 77 of_node_put(node); in init_IRQ()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
H A D | ultravisor.c | 21 int __init early_init_dt_scan_ultravisor(unsigned long node, const char *uname, in early_init_dt_scan_ultravisor() argument 24 if (!of_flat_dt_is_compatible(node, "ibm,ultravisor")) in early_init_dt_scan_ultravisor() 48 struct device_node *node; in uv_init() local 53 node = of_find_compatible_node(NULL, NULL, "ibm,uv-firmware"); in uv_init() 54 if (!node) in uv_init() 57 uv_memcons = memcons_init(node, "memcons"); in uv_init() 58 of_node_put(node); in uv_init()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pasemi/ |
H A D | misc.c | 30 static int __init find_i2c_driver(struct device_node *node, in find_i2c_driver() argument 36 if (!of_device_is_compatible(node, i2c_devices[i].of_device)) in find_i2c_driver() 50 struct device_node *node; in pasemi_register_i2c_devices() local 59 for_each_child_of_node(adap_node, node) { in pasemi_register_i2c_devices() 64 addr = of_get_property(node, "reg", &len); in pasemi_register_i2c_devices() 71 info.irq = irq_of_parse_and_map(node, 0); in pasemi_register_i2c_devices() 75 if (find_i2c_driver(node, &info) < 0) in pasemi_register_i2c_devices()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/pasemi/ |
H A D | misc.c | 31 static int __init find_i2c_driver(struct device_node *node, in find_i2c_driver() argument 37 if (!of_device_is_compatible(node, i2c_devices[i].of_device)) in find_i2c_driver() 50 struct device_node *node; in pasemi_register_i2c_devices() local 59 for_each_child_of_node(adap_node, node) { in pasemi_register_i2c_devices() 64 addr = of_get_property(node, "reg", &len); in pasemi_register_i2c_devices() 71 info.irq = irq_of_parse_and_map(node, 0); in pasemi_register_i2c_devices() 75 if (find_i2c_driver(node, &info) < 0) in pasemi_register_i2c_devices()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
H A D | ultravisor.c | 21 int __init early_init_dt_scan_ultravisor(unsigned long node, const char *uname, in early_init_dt_scan_ultravisor() argument 24 if (!of_flat_dt_is_compatible(node, "ibm,ultravisor")) in early_init_dt_scan_ultravisor() 48 struct device_node *node; in uv_init() local 53 node = of_find_compatible_node(NULL, NULL, "ibm,uv-firmware"); in uv_init() 54 if (!node) in uv_init() 57 uv_memcons = memcons_init(node, "memcons"); in uv_init() 58 of_node_put(node); in uv_init()
|
/kernel/linux/linux-6.6/arch/nios2/kernel/ |
H A D | irq.c | 64 struct device_node *node; in init_IRQ() local 66 node = of_find_compatible_node(NULL, NULL, "altr,nios2-1.0"); in init_IRQ() 67 if (!node) in init_IRQ() 68 node = of_find_compatible_node(NULL, NULL, "altr,nios2-1.1"); in init_IRQ() 70 BUG_ON(!node); in init_IRQ() 72 domain = irq_domain_add_linear(node, NIOS2_CPU_NR_IRQS, &irq_ops, NULL); in init_IRQ() 76 of_node_put(node); in init_IRQ()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_smi_events.h | 32 void kfd_smi_event_page_fault_start(struct kfd_node *node, pid_t pid, 35 void kfd_smi_event_page_fault_end(struct kfd_node *node, pid_t pid, 37 void kfd_smi_event_migration_start(struct kfd_node *node, pid_t pid, 42 void kfd_smi_event_migration_end(struct kfd_node *node, pid_t pid, 45 void kfd_smi_event_queue_eviction(struct kfd_node *node, pid_t pid, 47 void kfd_smi_event_queue_restore(struct kfd_node *node, pid_t pid); 49 void kfd_smi_event_unmap_from_gpu(struct kfd_node *node, pid_t pid,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_stolen.h | 18 struct drm_mm_node *node, u64 size, 21 struct drm_mm_node *node, u64 size, 25 struct drm_mm_node *node); 46 const struct drm_mm_node *node); 48 bool i915_gem_stolen_node_allocated(const struct drm_mm_node *node); 49 u64 i915_gem_stolen_node_offset(const struct drm_mm_node *node); 50 u64 i915_gem_stolen_node_size(const struct drm_mm_node *node);
|
/third_party/lwip/src/apps/snmp/ |
H A D | snmp_snmpv2_framework.c | 43 static s16_t snmpengine_scalars_get_value(const struct snmp_scalar_array_node_def *node, void *value) in snmpengine_scalars_get_value() argument 48 switch (node->oid) { in snmpengine_scalars_get_value() 63 LWIP_DEBUGF(SNMP_MIB_DEBUG, ("snmpengine_scalars_get_value(): unknown id: %"S32_F"\n", node->oid)); in snmpengine_scalars_get_value() 77 &snmpengine_scalars.node.node 83 &snmpframeworkmibobjects_treenode.node 87 const struct snmp_mib snmpframeworkmib = {snmpframeworkmib_base_oid, LWIP_ARRAYSIZE(snmpframeworkmib_base_oid), &snmpframeworkmib_root.node};
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ValidateBarrierFunctionCall.cpp | 26 bool visitFunctionDefinition(Visit visit, TIntermFunctionDefinition *node) override 28 if (!node->getFunction()->isMain()) 47 bool visitAggregate(Visit visit, TIntermAggregate *node) override 49 if (node->getOp() != EOpBarrierTCS) 56 mDiagnostics->error(node->getLine(), 68 node->getLine(), 77 bool visitIfElse(Visit visit, TIntermIfElse *node) override
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/gl/ |
H A D | RewriteRepeatedAssignToSwizzled.cpp | 35 bool visitBinary(Visit, TIntermBinary *node) override; 70 bool RewriteAssignToSwizzledTraverser::visitBinary(Visit, TIntermBinary *node) in visitBinary() argument 72 TIntermBinary *rightBinary = node->getRight()->getAsBinaryNode(); in visitBinary() 74 if (parentBlock && node->isAssignment() && node->getLeft()->getAsSwizzleNode() && rightBinary && in visitBinary() 81 new TIntermBinary(EOpAssign, node->getLeft(), rightAssignmentTargetCopy); in visitBinary() 83 mMultiReplacements.emplace_back(parentBlock, node, std::move(replacements)); in visitBinary()
|
/foundation/arkui/ace_engine/frameworks/core/components/relative_container/ |
H A D | render_relative_container.cpp | 65 for (const auto& node : idNodeMap_) { in GetDependencyRelationship() 66 auto flexItem = node.second; in GetDependencyRelationship() 91 for (const auto& node : idNodeMap_) { in PreTopologicalLoopDetection() 92 auto flexItem = node.second; in PreTopologicalLoopDetection() 103 if (alignRule.second.anchor == node.first) { in PreTopologicalLoopDetection() 104 LOGE("Component %{public}s has dependency on itself", node.first.c_str()); in PreTopologicalLoopDetection() 118 for (const auto& node : reliedSet) { in PreTopologicalLoopDetection() 119 if (incomingDegreeMapCopy.find(node) == incomingDegreeMapCopy.end() || IsAnchorContainer(node)) { in PreTopologicalLoopDetection() 122 incomingDegreeMapCopy[node] in PreTopologicalLoopDetection() [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | raw_data_parser.cpp | 262 bool RawDataParser::InnerAsset::Marshal(Serializable::json &node) const in Marshal() 264 SetValue(node[GET_NAME(version)], asset_.version); in Marshal() 265 SetValue(node[GET_NAME(expiresTime)], asset_.expiresTime); in Marshal() 266 SetValue(node[GET_NAME(id)], asset_.id); in Marshal() 267 SetValue(node[GET_NAME(name)], asset_.name); in Marshal() 268 SetValue(node[GET_NAME(uri)], asset_.uri); in Marshal() 269 SetValue(node[GET_NAME(createTime)], asset_.createTime); in Marshal() 270 SetValue(node[GET_NAME(modifyTime)], asset_.modifyTime); in Marshal() 271 SetValue(node[GET_NAME(size)], asset_.size); in Marshal() 272 SetValue(node[GET_NAM in Marshal() 277 Unmarshal(const Serializable::json &node) Unmarshal() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/ |
H A D | spu_manage.c | 80 tmp = of_get_property(np->parent->parent, "node-id", NULL); in spu_map_interrupts_old() 82 printk(KERN_WARNING "%s: can't find node-id\n", __func__); in spu_map_interrupts_old() 83 nid = spu->node; in spu_map_interrupts_old() 87 /* Add the node number */ in spu_map_interrupts_old() 121 struct device_node *node = spu->devnode; in spu_map_device_old() local 126 spu->name = of_get_property(node, "name", NULL); in spu_map_device_old() 130 prop = of_get_property(node, "local-store", NULL); in spu_map_device_old() 137 spu_map_prop_old(spu, node, "local-store"); in spu_map_device_old() 141 prop = of_get_property(node, "problem", NULL); in spu_map_device_old() 146 spu->problem = spu_map_prop_old(spu, node, "proble in spu_map_device_old() 266 struct device_node *node; of_enumerate_spus() local 364 spu_lookup_reg(int node, u32 reg) spu_lookup_reg() argument 379 int node, i; init_affinity_qs20_harcoded() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | hotplug-cpu.c | 147 * @assigned_node : the node it belongs to or NUMA_NO_NODE if free ids from any 148 * node can be peek. 157 unsigned int cpu, node; in find_cpu_id_range() local 175 * can walk only online nodes because once a node became online in find_cpu_id_range() 178 for_each_online_node(node) { in find_cpu_id_range() 179 if (node == assigned_node) in find_cpu_id_range() 182 node_recorded_ids_map[node]); in find_cpu_id_range() 205 * Update cpu_present_mask and paca(s) for a new cpu node. The wrinkle 206 * here is that a cpu device node may represent multiple logical cpus 213 int len, nthreads, node, cp in pseries_add_processor() local 877 unsigned int node; pseries_dlpar_init() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/ |
H A D | spu_manage.c | 82 tmp = of_get_property(np->parent->parent, "node-id", NULL); in spu_map_interrupts_old() 84 printk(KERN_WARNING "%s: can't find node-id\n", __func__); in spu_map_interrupts_old() 85 nid = spu->node; in spu_map_interrupts_old() 89 /* Add the node number */ in spu_map_interrupts_old() 123 struct device_node *node = spu->devnode; in spu_map_device_old() local 128 spu->name = of_get_property(node, "name", NULL); in spu_map_device_old() 132 prop = of_get_property(node, "local-store", NULL); in spu_map_device_old() 139 spu_map_prop_old(spu, node, "local-store"); in spu_map_device_old() 143 prop = of_get_property(node, "problem", NULL); in spu_map_device_old() 148 spu->problem = spu_map_prop_old(spu, node, "proble in spu_map_device_old() 268 struct device_node *node; of_enumerate_spus() local 366 spu_lookup_reg(int node, u32 reg) spu_lookup_reg() argument 381 int node, i; init_affinity_qs20_harcoded() local [all...] |
/kernel/linux/linux-6.6/drivers/interconnect/qcom/ |
H A D | icc-rpm.c | 190 static int qcom_icc_qos_set(struct icc_node *node) in qcom_icc_qos_set() argument 192 struct qcom_icc_provider *qp = to_qcom_provider(node->provider); in qcom_icc_qos_set() 193 struct qcom_icc_node *qn = node->data; in qcom_icc_qos_set() 195 dev_dbg(node->provider->dev, "Setting QoS for %s\n", qn->name); in qcom_icc_qos_set() 199 return qcom_icc_set_bimc_qos(node); in qcom_icc_qos_set() 201 return qcom_icc_set_qnoc_qos(node); in qcom_icc_qos_set() 203 return qcom_icc_set_noc_qos(node); in qcom_icc_qos_set() 248 * @node: icc node to operate on 250 static void qcom_icc_pre_bw_aggregate(struct icc_node *node) in qcom_icc_pre_bw_aggregate() argument 271 qcom_icc_bw_aggregate(struct icc_node *node, u32 tag, u32 avg_bw, u32 peak_bw, u32 *agg_avg, u32 *agg_peak) qcom_icc_bw_aggregate() argument 303 struct icc_node *node; qcom_icc_bus_aggregate() local 409 struct icc_node *node; qnoc_probe() local [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | list_lru.c | 58 return mlru ? &mlru->node[nid] : NULL; in list_lru_from_memcg_idx() 60 return &lru->node[nid].lru; in list_lru_from_memcg_idx() 67 struct list_lru_node *nlru = &lru->node[nid]; in list_lru_from_kmem() 106 return &lru->node[nid].lru; in list_lru_from_memcg_idx() 115 return &lru->node[nid].lru; in list_lru_from_kmem() 122 struct list_lru_node *nlru = &lru->node[nid]; in list_lru_add() 146 struct list_lru_node *nlru = &lru->node[nid]; in list_lru_del() 200 nlru = &lru->node[nid]; in list_lru_count_node() 210 struct list_lru_node *nlru = &lru->node[nid]; in __list_lru_walk_one() 272 struct list_lru_node *nlru = &lru->node[ni in list_lru_walk_one() [all...] |
/third_party/skia/third_party/externals/freetype/src/cache/ |
H A D | ftcbasic.c | 225 /* we must call this function to avoid this node from appearing in FT_CALLBACK_DEF() 296 FTC_Node node = 0; /* make compiler happy */ in FT_EXPORT_DEF() local 342 node, in FT_EXPORT_DEF() 348 &node ); in FT_EXPORT_DEF() 352 *aglyph = FTC_INODE( node )->glyph; in FT_EXPORT_DEF() 356 *anode = node; in FT_EXPORT_DEF() 357 node->ref_count++; in FT_EXPORT_DEF() 377 FTC_Node node = 0; /* make compiler happy */ in FT_EXPORT_DEF() local 416 node, in FT_EXPORT_DEF() 420 *aglyph = FTC_INODE( node ) in FT_EXPORT_DEF() 497 FTC_Node node = 0; /* make compiler happy */ FT_EXPORT_DEF() local 580 FTC_Node node = 0; /* make compiler happy */ FT_EXPORT_DEF() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/focus/ |
H A D | focus_view.cpp | 39 auto node = GetFrameNode(); in FocusViewShow() local 40 CHECK_NULL_VOID(node); in FocusViewShow() 41 auto pipeline = node->GetContextRefPtr(); in FocusViewShow() 52 auto node = GetFrameNode(); in FocusViewHide() local 53 CHECK_NULL_VOID(node); in FocusViewHide() 54 auto pipeline = node->GetContextRefPtr(); in FocusViewHide() 70 auto node = GetFrameNode(); in FocusViewClose() local 71 CHECK_NULL_VOID(node); in FocusViewClose() 72 auto pipeline = node->GetContextRefPtr(); in FocusViewClose() 186 auto node in GetViewRootScope() local 346 RefPtr<UINode> node = focusHub->GetFrameNode(); FocusViewDidShow() local [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/ |
H A D | render_node_graph_loader.cpp | 48 const json::value& node, RenderNodeDesc& data, IRenderNodeGraphLoader::LoadResult& nodeResult) in ParseQueueWaitSignals() 50 if (auto const queueSignals = node.find("gpuQueueWaitSignals"); queueSignals) { in ParseQueueWaitSignals() 76 IRenderNodeGraphLoader::LoadResult ParseRenderNode(const json::value& node, RenderNodeDesc& data) in ParseRenderNode() argument 80 SafeGetJsonValue(node, "typeName", nodeResult.error, data.typeName); in ParseRenderNode() 81 SafeGetJsonValue(node, "nodeName", nodeResult.error, data.nodeName); in ParseRenderNode() 82 // render node specific json in ParseRenderNode() 83 data.nodeJson = json::to_string(node); in ParseRenderNode() 84 SafeGetJsonValue(node, "nodeDataStoreName", nodeResult.error, data.description.nodeDataStoreName); in ParseRenderNode() 86 if (auto const queue = node.find("queue"); queue) { in ParseRenderNode() 91 if (auto const cpuDependencies = node in ParseRenderNode() 47 ParseQueueWaitSignals( const json::value& node, RenderNodeDesc& data, IRenderNodeGraphLoader::LoadResult& nodeResult) ParseQueueWaitSignals() argument 108 ParseOutputResources(const json::value& node, RenderNodeGraphOutputResource& data) ParseOutputResources() argument [all...] |