/kernel/linux/linux-5.10/drivers/acpi/numa/ |
H A D | srat.c | 23 /* maps to convert between proximity domain and logical node ID */ 45 int node_to_pxm(int node) in node_to_pxm() argument 47 if (node < 0) in node_to_pxm() 49 return node_to_pxm_map[node]; in node_to_pxm() 52 static void __acpi_map_pxm_to_node(int pxm, int node) in __acpi_map_pxm_to_node() argument 54 if (pxm_to_node_map[pxm] == NUMA_NO_NODE || node < pxm_to_node_map[pxm]) in __acpi_map_pxm_to_node() 55 pxm_to_node_map[pxm] = node; in __acpi_map_pxm_to_node() 56 if (node_to_pxm_map[node] == PXM_INVAL || pxm < node_to_pxm_map[node]) in __acpi_map_pxm_to_node() 57 node_to_pxm_map[node] in __acpi_map_pxm_to_node() 62 int node; acpi_map_pxm_to_node() local 246 int node, pxm; acpi_numa_memory_affinity_init() local 376 int node; acpi_parse_gi_affinity() local [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | backref.h | 175 /* List of upper level edges, which link this node to its parents */ 177 /* List of lower level edges, which link this node to its children */ 180 /* NULL if this node is not tree root */ 188 /* 1 if no child node is in the cache */ 201 /* 1 if the backref node isn't connected to any other backref node */ 220 * node, and list[UPPER] is linked to btrfs_backref_node::lower of 221 * upper level node. 229 struct btrfs_backref_node *node[2]; member 242 /* List of backref nodes with no child node */ 294 btrfs_backref_free_node(struct btrfs_backref_cache *cache, struct btrfs_backref_node *node) btrfs_backref_free_node() argument 316 btrfs_backref_unlock_node_buffer( struct btrfs_backref_node *node) btrfs_backref_unlock_node_buffer() argument 325 btrfs_backref_drop_node_buffer( struct btrfs_backref_node *node) btrfs_backref_drop_node_buffer() argument 342 btrfs_backref_drop_node(struct btrfs_backref_cache *tree, struct btrfs_backref_node *node) btrfs_backref_drop_node() argument [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | backref.h | 350 /* List of upper level edges, which link this node to its parents */ 352 /* List of lower level edges, which link this node to its children */ 355 /* NULL if this node is not tree root */ 363 /* 1 if no child node is in the cache */ 376 /* 1 if the backref node isn't connected to any other backref node */ 395 * node, and list[UPPER] is linked to btrfs_backref_node::lower of 396 * upper level node. 404 struct btrfs_backref_node *node[2]; member 417 /* List of backref nodes with no child node */ 469 btrfs_backref_free_node(struct btrfs_backref_cache *cache, struct btrfs_backref_node *node) btrfs_backref_free_node() argument 491 btrfs_backref_unlock_node_buffer( struct btrfs_backref_node *node) btrfs_backref_unlock_node_buffer() argument 500 btrfs_backref_drop_node_buffer( struct btrfs_backref_node *node) btrfs_backref_drop_node_buffer() argument 517 btrfs_backref_drop_node(struct btrfs_backref_cache *tree, struct btrfs_backref_node *node) btrfs_backref_drop_node() argument [all...] |
/test/xts/acts/distributed_schedule_lite/system_ability_manager_posix/src/ |
H A D | CommonTest.cpp | 87 Node node = {1, (char*)"node1", 1}; in HWTEST_F() local 88 Node *vectorSwap = (Node *)VECTOR_Swap(&nodeVector, (int16)0, &node); in HWTEST_F() 91 int16 indexFind = VECTOR_Find(&nodeVector, &node); in HWTEST_F() 94 int16 indexFindByKey = VECTOR_FindByKey(&nodeVector, &node); in HWTEST_F() 109 Node node = {1, (char*)"node1", 1}; in HWTEST_F() local 110 int16 resultAdd = VECTOR_Add(&nodeVector, &node); in HWTEST_F() 144 Node node[] = { in HWTEST_F() local 145 {0, (char*)"node", 0}, in HWTEST_F() 146 {1, (char*)"node", 1}, in HWTEST_F() 147 {2, (char*)"node", in HWTEST_F() 196 Node node[] = { HWTEST_F() local 244 Node node[] = { HWTEST_F() local 302 Node node = {1, (char*)"node1", 1}; HWTEST_F() local 320 Node node = {1, (char*)"node1", 1}; HWTEST_F() local 337 Node node = {1, (char*)"node1", 1}; HWTEST_F() local 360 Node node = {1, (char*)"node1", 1}; HWTEST_F() local [all...] |
/test/xts/acts/distributed_schedule_lite/system_ability_manager_hal/src/ |
H A D | common_func_test.c | 79 Node node = {1, "node1"};
variable 80 Node *vectorSwap = (Node *)VECTOR_Swap(&nodeVector, (int16)0, &node);
83 int16 indexFind = VECTOR_Find(&nodeVector, &node);
86 int16 indexFindByKey = VECTOR_FindByKey(&nodeVector, &node);
101 Node node = {1, "node1"};
variable 102 int16 resultAdd = VECTOR_Add(&nodeVector, &node);
135 Node node[] = {
variable 136 {0, "node"},
137 {1, "node"},
138 {2, "node"},
187 Node node[] = { global() variable 235 Node node[] = { global() variable 293 Node node = {1, "node1"}; global() variable 311 Node node = {1, "node1"}; global() variable 328 Node node = {1, "node1"}; global() variable 351 Node node = {1, "node1"}; global() variable [all...] |
/third_party/ltp/metadata/ |
H A D | data_storage.h | 29 struct data_node *node; member 79 struct data_node *node = malloc(size); in data_node_string() local 81 if (!node) in data_node_string() 84 node->type = DATA_STRING; in data_node_string() 85 strcpy(node->string.val, string); in data_node_string() 87 return node; in data_node_string() 92 struct data_node *node = malloc(sizeof(struct data_node_int)); in data_node_int() local 94 if (!node) in data_node_int() 97 node->type = DATA_INT; in data_node_int() 98 node in data_node_int() 109 struct data_node *node = malloc(size); data_node_hash() local 125 struct data_node *node = malloc(size); data_node_array() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | node_date_picker_modifier.cpp | 16 #include "core/interfaces/native/node/node_date_picker_modifier.h" 35 ArkUI_CharPtr GetSelectedTextStyle(ArkUINodeHandle node) in GetSelectedTextStyle() argument 37 auto* frameNode = reinterpret_cast<FrameNode*>(node); in GetSelectedTextStyle() 63 void SetSelectedTextStyle(ArkUINodeHandle node, const char* fontInfo, uint32_t color, int32_t style) in SetSelectedTextStyle() argument 65 auto* frameNode = reinterpret_cast<FrameNode*>(node); in SetSelectedTextStyle() 93 void ResetSelectedTextStyle(ArkUINodeHandle node) in ResetSelectedTextStyle() argument 95 auto* frameNode = reinterpret_cast<FrameNode*>(node); in ResetSelectedTextStyle() 112 ArkUI_CharPtr GetDatePickerTextStyle(ArkUINodeHandle node) in GetDatePickerTextStyle() argument 114 auto* frameNode = reinterpret_cast<FrameNode*>(node); in GetDatePickerTextStyle() 140 void SetDatePickerTextStyle(ArkUINodeHandle node, cons argument 170 ResetDatePickerTextStyle(ArkUINodeHandle node) ResetDatePickerTextStyle() argument 189 GetDisappearTextStyle(ArkUINodeHandle node) GetDisappearTextStyle() argument 217 SetDisappearTextStyle(ArkUINodeHandle node, const char* fontInfo, uint32_t color, int32_t style) SetDisappearTextStyle() argument 247 ResetDisappearTextStyle(ArkUINodeHandle node) ResetDisappearTextStyle() argument 266 GetLunar(ArkUINodeHandle node) GetLunar() argument 273 SetLunar(ArkUINodeHandle node, int lunar) SetLunar() argument 280 ResetLunar(ArkUINodeHandle node) ResetLunar() argument 287 GetDatePickerBackgroundColor(ArkUINodeHandle node) GetDatePickerBackgroundColor() argument 294 SetDatePickerBackgroundColor(ArkUINodeHandle node, uint32_t color) SetDatePickerBackgroundColor() argument 301 ResetDatePickerBackgroundColor(ArkUINodeHandle node) ResetDatePickerBackgroundColor() argument 308 GetStartDate(ArkUINodeHandle node) GetStartDate() argument 319 SetStartDate(ArkUINodeHandle node, uint32_t year, uint32_t month, uint32_t day) SetStartDate() argument 332 ResetStartDate(ArkUINodeHandle node) ResetStartDate() argument 339 GetEndDate(ArkUINodeHandle node) GetEndDate() argument 350 SetEndDate(ArkUINodeHandle node, uint32_t year, uint32_t month, uint32_t day) SetEndDate() argument 357 ResetEndDate(ArkUINodeHandle node) ResetEndDate() argument 364 GetSelectedDate(ArkUINodeHandle node) GetSelectedDate() argument 375 SetSelectedDate(ArkUINodeHandle node, uint32_t year, uint32_t month, uint32_t day) SetSelectedDate() argument 382 ResetSelectedDate(ArkUINodeHandle node) ResetSelectedDate() argument 420 SetDatePickerOnDateChange(ArkUINodeHandle node, void* extraParam) SetDatePickerOnDateChange() argument [all...] |
H A D | node_textpicker_modifier.cpp | 15 #include "core/interfaces/native/node/node_textpicker_modifier.h" 34 void SetTextPickerBackgroundColor(ArkUINodeHandle node, ArkUI_Uint32 color) in SetTextPickerBackgroundColor() argument 36 auto* frameNode = reinterpret_cast<FrameNode*>(node); in SetTextPickerBackgroundColor() 41 void ResetTextPickerBackgroundColor(ArkUINodeHandle node) in ResetTextPickerBackgroundColor() argument 43 auto* frameNode = reinterpret_cast<FrameNode*>(node); in ResetTextPickerBackgroundColor() 52 ArkUI_Int32 GetTextPickerCanLoop(ArkUINodeHandle node) in GetTextPickerCanLoop() argument 54 auto* frameNode = reinterpret_cast<FrameNode*>(node); in GetTextPickerCanLoop() 59 void SetTextPickerCanLoop(ArkUINodeHandle node, int canLoop) in SetTextPickerCanLoop() argument 61 auto* frameNode = reinterpret_cast<FrameNode*>(node); in SetTextPickerCanLoop() 66 void ResetTextPickerCanLoop(ArkUINodeHandle node) in ResetTextPickerCanLoop() argument 73 GetTextPickerSelectedIndex(ArkUINodeHandle node, ArkUI_Uint32* values, ArkUI_Int32 size) GetTextPickerSelectedIndex() argument 91 SetTextPickerSelectedIndex(ArkUINodeHandle node, ArkUI_Uint32* values, ArkUI_Int32 size) SetTextPickerSelectedIndex() argument 103 ResetTextPickerSelectedIndex(ArkUINodeHandle node) ResetTextPickerSelectedIndex() argument 116 SetTextPickerTextStyle(ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 style) SetTextPickerTextStyle() argument 146 ResetTextPickerTextStyle(ArkUINodeHandle node) ResetTextPickerTextStyle() argument 159 SetTextPickerSelectedTextStyle(ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 style) SetTextPickerSelectedTextStyle() argument 189 ResetTextPickerSelectedTextStyle(ArkUINodeHandle node) ResetTextPickerSelectedTextStyle() argument 202 SetTextPickerDisappearTextStyle( ArkUINodeHandle node, ArkUI_Uint32 color, ArkUI_CharPtr fontInfo, ArkUI_Int32 style) SetTextPickerDisappearTextStyle() argument 233 ResetTextPickerDisappearTextStyle(ArkUINodeHandle node) ResetTextPickerDisappearTextStyle() argument 246 GetTextPickerDefaultPickerItemHeight(ArkUINodeHandle node, ArkUI_Int32 dUnit) GetTextPickerDefaultPickerItemHeight() argument 253 SetTextPickerDefaultPickerItemHeight(ArkUINodeHandle node, float dVal, ArkUI_Int32 dUnit) SetTextPickerDefaultPickerItemHeight() argument 260 ResetTextPickerDefaultPickerItemHeight(ArkUINodeHandle node) ResetTextPickerDefaultPickerItemHeight() argument 268 GetTextPickerRangeStr(ArkUINodeHandle node) GetTextPickerRangeStr() argument 276 GetTextPickerSingleRange(ArkUINodeHandle node) GetTextPickerSingleRange() argument 283 SetTextPickerRangeStr( ArkUINodeHandle node, ArkUI_CharPtr rangeStr, ArkUI_Bool isSingleRange, ArkUI_Int32 rangeType) SetTextPickerRangeStr() argument 312 GetTextPickerValue(ArkUINodeHandle node) GetTextPickerValue() argument 324 SetTextPickerValue(ArkUINodeHandle node, ArkUI_CharPtr valueStr) SetTextPickerValue() argument 337 GetTextPickerSelectedTextStyle(ArkUINodeHandle node) GetTextPickerSelectedTextStyle() argument 365 GetTextPickerTextStyle(ArkUINodeHandle node) GetTextPickerTextStyle() argument 393 GetTextPickerDisappearTextStyle(ArkUINodeHandle node) GetTextPickerDisappearTextStyle() argument 421 SetTextPickerDivider( ArkUINodeHandle node, ArkUI_Uint32 color, const ArkUI_Float32* values, const ArkUI_Int32* units, ArkUI_Int32 length) SetTextPickerDivider() argument 440 ResetTextPickerDivider(ArkUINodeHandle node) ResetTextPickerDivider() argument 461 ResetTextPickerDividerNull(ArkUINodeHandle node) ResetTextPickerDividerNull() argument 469 SetTextPickerGradientHeight(ArkUINodeHandle node, ArkUI_Float32 dVal, ArkUI_Int32 dUnit) SetTextPickerGradientHeight() argument 476 ResetTextPickerGradientHeight(ArkUINodeHandle node) ResetTextPickerGradientHeight() argument 498 GetTextPickerSelectedSize(ArkUINodeHandle node) GetTextPickerSelectedSize() argument 673 SetTextPickerOnChange(ArkUINodeHandle node, void* extraParam) SetTextPickerOnChange() argument [all...] |
H A D | divider_modifier.cpp | 15 #include "core/interfaces/native/node/divider_modifier.h" 25 void SetDividerStrokeWidth(ArkUINodeHandle node, ArkUI_Float32 value, int32_t unit) in SetDividerStrokeWidth() argument 27 auto* frameNode = reinterpret_cast<FrameNode*>(node); in SetDividerStrokeWidth() 33 void ResetDividerStrokeWidth(ArkUINodeHandle node) in ResetDividerStrokeWidth() argument 35 auto* frameNode = reinterpret_cast<FrameNode*>(node); in ResetDividerStrokeWidth() 40 void SetDividerLineCap(ArkUINodeHandle node, int32_t lineCap) in SetDividerLineCap() argument 42 auto* frameNode = reinterpret_cast<FrameNode*>(node); in SetDividerLineCap() 55 void ResetDividerLineCap(ArkUINodeHandle node) in ResetDividerLineCap() argument 57 auto* frameNode = reinterpret_cast<FrameNode*>(node); in ResetDividerLineCap() 62 void SetDividerColor(ArkUINodeHandle node, uint32_ argument 69 ResetDividerColor(ArkUINodeHandle node) ResetDividerColor() argument 79 SetDividerVertical(ArkUINodeHandle node, ArkUI_Bool value) SetDividerVertical() argument 86 ResetDividerVertical(ArkUINodeHandle node) ResetDividerVertical() argument [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/hci/acl/ |
H A D | hci_acl.c | 103 ListNode *node = ListGetFirstNode(g_connectionHandleList); in HciFindConnectionHandleBlock() local 104 while (node != NULL) { in HciFindConnectionHandleBlock() 105 block = ListGetNodeData(node); in HciFindConnectionHandleBlock() 111 node = ListGetNextNode(node); in HciFindConnectionHandleBlock() 188 ListNode *node = ListGetFirstNode(g_aclDataCache); in HciCleanupAclData() local 189 while (node != NULL) { in HciCleanupAclData() 190 PacketFree(ListGetNodeData(node)); in HciCleanupAclData() 191 node = ListGetNextNode(node); in HciCleanupAclData() 209 ListNode *node = ListGetFirstNode(g_leAclDataCache); HciCleanupLeAclData() local 238 ListNode *node = ListGetFirstNode(g_txAclPackets); FindTxPacketsEntityByConnectionHandle() local 254 ListNode *node = ListGetFirstNode(g_txLePackets); FindLeTxPacketsEntityByConnectionHandle() local 598 ListNode *node = ListGetFirstNode(g_hciAclCallbackList); HciOnAclData() local 615 ListNode *node = NULL; HciSendCachedAclPackets() local 656 ListNode *node = NULL; HciSendCachedLePackets() local 730 ListNode *node = NULL; HciCleanupCacheByAclHandle() local 756 ListNode *node = NULL; HciCleanupLeCacheByAclHandle() local [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ShaderStorageBlockOutputHLSL.cpp | 39 void GetBlockLayoutInfo(TIntermTyped *node, in GetBlockLayoutInfo() argument 44 TIntermSwizzle *swizzleNode = node->getAsSwizzleNode(); in GetBlockLayoutInfo() 51 TIntermBinary *binaryNode = node->getAsBinaryNode(); in GetBlockLayoutInfo() 62 const TType &type = node->getType(); in GetBlockLayoutInfo() 77 const TType &type = node->getType(); in GetBlockLayoutInfo() 320 void ShaderStorageBlockOutputHLSL::outputStoreFunctionCallPrefix(TIntermTyped *node) in outputStoreFunctionCallPrefix() argument 322 traverseSSBOAccess(node, SSBOMethod::STORE); in outputStoreFunctionCallPrefix() 325 void ShaderStorageBlockOutputHLSL::outputLoadFunctionCall(TIntermTyped *node) in outputLoadFunctionCall() argument 327 traverseSSBOAccess(node, SSBOMethod::LOAD); in outputLoadFunctionCall() 331 void ShaderStorageBlockOutputHLSL::outputLengthFunctionCall(TIntermTyped *node) in outputLengthFunctionCall() argument 337 outputAtomicMemoryFunctionCallPrefix(TIntermTyped *node, TOperator op) outputAtomicMemoryFunctionCallPrefix() argument 375 getMatrixStride(TIntermTyped *node, TLayoutBlockStorage storage, bool rowMajor, bool *isRowMajorMatrix) const getMatrixStride() argument 406 collectShaderStorageBlocks(TIntermTyped *node) collectShaderStorageBlocks() argument 451 traverseSSBOAccess(TIntermTyped *node, SSBOMethod method) traverseSSBOAccess() argument 512 traverseNode(TInfoSinkBase &out, TIntermTyped *node, BlockMemberInfo *blockMemberInfo) traverseNode() argument 593 writeEOpIndexDirectOrIndirectOutput( TInfoSinkBase &out, TIntermBinary *node, BlockMemberInfo *blockMemberInfo) writeEOpIndexDirectOrIndirectOutput() argument [all...] |
/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | LightJS.cpp | 88 SCENE_NS::ILight::Ptr node; in Create() local 89 ExecSyncTask([scn, nodePath, &node]() { in Create() 90 node = scn->CreateNode<SCENE_NS::ILight>(nodePath, true); in Create() 96 instance->SetNativeObject(interface_pointer_cast<META_NS::IObject>(node), false); in Create() 97 node.reset(); in Create() 150 auto node = interface_pointer_cast<SCENE_NS::INode>(light); in DisposeNative() 151 if (node == nullptr) { in DisposeNative() 154 auto scene = node->GetScene(); in DisposeNative() 158 scene->ReleaseNode(node); in DisposeNative() 167 if (auto node in GetlightType() 178 auto node = interface_pointer_cast<SCENE_NS::INode>(GetThisNativeObject(ctx)); GetEnabled() local 193 auto node = interface_pointer_cast<SCENE_NS::INode>(GetThisNativeObject(ctx)); SetEnabled() local 204 auto node = interface_pointer_cast<SCENE_NS::ILight>(GetThisNativeObject(ctx)); GetColor() local 215 auto node = interface_pointer_cast<SCENE_NS::ILight>(GetThisNativeObject(ctx)); SetColor() local 229 auto node = interface_pointer_cast<SCENE_NS::ILight>(GetThisNativeObject(ctx)); GetShadowEnabled() local 243 auto node = interface_pointer_cast<SCENE_NS::ILight>(GetThisNativeObject(ctx)); SetShadowEnabled() local 255 auto node = interface_pointer_cast<SCENE_NS::ILight>(GetThisNativeObject(ctx)); GetIntensity() local 269 auto node = interface_pointer_cast<SCENE_NS::ILight>(GetThisNativeObject(ctx)); SetIntensity() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/ |
H A D | rs_misc_drawable.cpp | 31 RSDrawable::Ptr RSChildrenDrawable::OnGenerate(const RSRenderNode& node) in OnGenerate() argument 33 if (auto ret = std::make_shared<RSChildrenDrawable>(); ret->OnUpdate(node)) { in OnGenerate() 39 bool RSChildrenDrawable::OnUpdate(const RSRenderNode& node) in OnUpdate() argument 42 auto children = node.GetSortedChildren(); in OnUpdate() 47 if (LIKELY(!node.GetRenderProperties().GetUseShadowBatching())) { in OnUpdate() 78 // merge two vectors, shadow drawables first, render node drawables second in OnUpdate() 82 const_cast<RSRenderNode&>(node).SetChildrenHasSharedTransition(childrenHasSharedTransition_); in OnUpdate() 86 bool RSChildrenDrawable::OnSharedTransition(const RSRenderNode::SharedPtr& node) in OnSharedTransition() argument 88 auto nodeId = node->GetId(); in OnSharedTransition() 89 const auto& sharedTransitionParam = node in OnSharedTransition() 155 OnGenerate(const RSRenderNode& node, RSModifierType type) OnGenerate() argument 166 OnUpdate(const RSRenderNode& node) OnUpdate() argument [all...] |
/kernel/linux/linux-6.6/drivers/irqchip/ |
H A D | irq-loongson-eiointc.c | 38 u32 node; member 64 int i, node, cpu_node, route_node; in eiointc_set_irq_route() local 72 /* Calculate node and coremap of target irq */ in eiointc_set_irq_route() 77 node = cpu_to_eio_node(i); in eiointc_set_irq_route() 78 if (!node_isset(node, *node_map)) in eiointc_set_irq_route() 81 /* EIO node 0 is in charge of inter-node interrupt dispatch */ in eiointc_set_irq_route() 82 route_node = (node == mnode) ? cpu_node : node; in eiointc_set_irq_route() 84 csr_any_send(EIOINTC_REG_ROUTE + pos_off, data, data_mask, node * CORES_PER_EIO_NOD in eiointc_set_irq_route() 130 eiointc_index(int node) eiointc_index() argument 146 uint32_t node = cpu_to_eio_node(cpu); eiointc_router_init() local 277 acpi_set_vec_parent(int node, struct irq_domain *parent, struct acpi_vector_group *vec_group) acpi_set_vec_parent() argument 289 acpi_get_vec_parent(int node, struct acpi_vector_group *vec_group) acpi_get_vec_parent() argument 335 unsigned int node = (pchpic_entry->address >> 44) & 0xf; pch_pic_parse_madt() local 349 int node; pch_msi_parse_madt() local 421 int node; eiointc_acpi_init() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/ |
H A D | rs_canvas_drawing_node.cpp | 36 SharedPtr node(new RSCanvasDrawingNode(isRenderServiceNode, isTextureExportNode)); in Create() 37 RSNodeMap::MutableInstance().RegisterNode(node); in Create() 41 return node; in Create() 45 std::make_unique<RSCanvasDrawingNodeCreate>(node->GetId(), isTextureExportNode); in Create() 46 transactionProxy->AddCommand(command, node->IsRenderServiceNode()); in Create() 47 return node; in Create() 86 auto node = in GetBitmap() local 88 if (node == nullptr) { in GetBitmap() 92 if (node->GetType() != RSRenderNodeType::CANVAS_DRAWING_NODE) { in GetBitmap() 96 auto getBitmapTask = [&node, in GetBitmap() 132 auto node = GetPixelmap() local [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/ |
H A D | subscription.cpp | 20 bool Subscription::Relation::Marshal(json &node) const in Marshal() 22 SetValue(node[GET_NAME(id)], id); in Marshal() 23 SetValue(node[GET_NAME(bundleName)], bundleName); in Marshal() 24 SetValue(node[GET_NAME(relations)], relations); in Marshal() 28 bool Subscription::Relation::Unmarshal(const json &node) in Unmarshal() argument 30 GetValue(node, GET_NAME(id), id); in Unmarshal() 31 GetValue(node, GET_NAME(bundleName), bundleName); in Unmarshal() 32 GetValue(node, GET_NAME(relations), relations); in Unmarshal() 36 bool Subscription::Marshal(json &node) const in Marshal() 38 SetValue(node[GET_NAM in Marshal() 44 Unmarshal(const json &node) Unmarshal() argument [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/metadata/ |
H A D | strategy_meta_data.cpp | 19 bool StrategyMeta::Marshal(json &node) const
in Marshal() 22 ret = SetValue(node[GET_NAME(devId)], devId) && ret;
in Marshal() 23 ret = SetValue(node[GET_NAME(userId)], userId) && ret;
in Marshal() 24 ret = SetValue(node[GET_NAME(bundleName)], bundleName) && ret;
in Marshal() 25 ret = SetValue(node[GET_NAME(instanceId)], instanceId) && ret;
in Marshal() 26 ret = SetValue(node[GET_NAME(storeId)], storeId) && ret;
in Marshal() 27 ret = SetValue(node[GET_NAME(capabilityEnabled)], capabilityEnabled) && ret;
in Marshal() 28 ret = SetValue(node[GET_NAME(capabilityRange)], capabilityRange) && ret;
in Marshal() 32 bool StrategyMeta::Unmarshal(const json &node)
in Unmarshal() argument 35 ret = GetValue(node, GET_NAM in Unmarshal() [all...] |
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | exresnte.c | 24 * a pointer to a NS node, and will receive a 31 * DESCRIPTION: Resolve a Namespace node to a valued object 51 struct acpi_namespace_node *node; in acpi_ex_resolve_node_to_value() local 60 node = *object_ptr; in acpi_ex_resolve_node_to_value() 61 source_desc = acpi_ns_get_attached_object(node); in acpi_ex_resolve_node_to_value() 62 entry_type = acpi_ns_get_type((acpi_handle)node); in acpi_ex_resolve_node_to_value() 65 node, source_desc, in acpi_ex_resolve_node_to_value() 73 node = ACPI_CAST_PTR(struct acpi_namespace_node, node->object); in acpi_ex_resolve_node_to_value() 74 source_desc = acpi_ns_get_attached_object(node); in acpi_ex_resolve_node_to_value() [all...] |
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
H A D | cpu.c | 12 * Returns the hart ID of the given device tree node, or -ENODEV if the node 13 * isn't an enabled and valid RISC-V hart node. 15 int riscv_of_processor_hartid(struct device_node *node) in riscv_of_processor_hartid() argument 20 if (!of_device_is_compatible(node, "riscv")) { in riscv_of_processor_hartid() 25 if (of_property_read_u32(node, "reg", &hart)) { in riscv_of_processor_hartid() 30 if (!of_device_is_available(node)) { in riscv_of_processor_hartid() 35 if (of_property_read_string(node, "riscv,isa", &isa)) { in riscv_of_processor_hartid() 48 * Find hart ID of the CPU DT node under which given DT node fall 53 riscv_of_parent_hartid(struct device_node *node) riscv_of_parent_hartid() argument 108 struct device_node *node = of_get_cpu_node(cpu_id, NULL); c_show() local [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | exresnte.c | 24 * a pointer to a NS node, and will receive a 31 * DESCRIPTION: Resolve a Namespace node to a valued object 51 struct acpi_namespace_node *node; in acpi_ex_resolve_node_to_value() local 60 node = *object_ptr; in acpi_ex_resolve_node_to_value() 61 source_desc = acpi_ns_get_attached_object(node); in acpi_ex_resolve_node_to_value() 62 entry_type = acpi_ns_get_type((acpi_handle)node); in acpi_ex_resolve_node_to_value() 65 node, source_desc, in acpi_ex_resolve_node_to_value() 73 node = ACPI_CAST_PTR(struct acpi_namespace_node, node->object); in acpi_ex_resolve_node_to_value() 74 source_desc = acpi_ns_get_attached_object(node); in acpi_ex_resolve_node_to_value() [all...] |
/third_party/gn/src/gn/ |
H A D | string_atom.cc | 44 // A HashTableBase node type that stores one hash value and one string pointer. 67 // this always returns a mutable Node* pointer, say |node|. 69 // 3) If |node->key| is not nullptr, this is the key to use. 71 // and call Insert(), passing the |node|, |hash| and new string 84 // Return a Node pointer. If the key was found, |node.key| is its value. 89 // state of the KeySet, it returns a *mutable* node pointer, to be 93 return BaseType::NodeLookup(hash, [hash, &str](const Node* node) { in Lookup() 94 // NOTE: Only is_valid() node pointers are passed to this function in Lookup() 97 return node->hash == hash && *node in Lookup() 101 Insert(Node* node, size_t hash, KeyType key) Insert() argument 119 auto* node = set_.Lookup(hash, ""); StringAtomSet() local 127 auto* node = set_.Lookup(hash, key); find() local 194 auto* node = local_set_.Lookup(hash, key); find() local [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
H A D | ShaderCompileTreeTest.cpp | 21 // Checks that the node traversed is a zero node. It can be made out of multiple constructors and 30 bool visitUnary(Visit, TIntermUnary *node) override 36 bool visitBinary(Visit, TIntermBinary *node) override 42 bool visitTernary(Visit, TIntermTernary *node) override 48 bool visitSwizzle(Visit, TIntermSwizzle *node) override 54 bool visitAggregate(Visit, TIntermAggregate *node) override 56 if (node->getOp() != EOpConstruct) 64 void visitSymbol(TIntermSymbol *node) override { mOnlyContainsConstantZeros = false; } 66 void visitConstantUnion(TIntermConstantUnion *node) overrid 168 IsZero(TIntermNode *node) IsZero() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | Registry.h | 49 class node; 55 friend class node; 56 static node *Head, *Tail; 61 class node { class in llvm::Registry 65 node *Next; 69 node(const entry &V) : Next(nullptr), Val(V) {} in node() function in llvm::Registry::node 72 /// Add a node to the Registry: this is the interface between the plugin and 76 /// add a node to the executable's registry. Therefore it's not defined here 79 static void add_node(node *N); 86 const node *Cu [all...] |
/third_party/weex-loader/src/ |
H A D | parser.js | 32 function getAttribute (node, name) { 33 if (node.attrs) { 34 let i = node.attrs.length 37 attr = node.attrs[i] 45 function extractDependencies (node, deps) { 46 if (node.childNodes) { 47 node.childNodes.forEach(child => { 73 fragment.childNodes.forEach(node => { 76 if (node.tagName === 'script') { 77 type = getAttribute(node, 'typ [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | callchain.c | 413 __sort_chain_flat(struct rb_root *rb_root, struct callchain_node *node, in __sort_chain_flat() argument 419 n = rb_first(&node->rb_root_in); in __sort_chain_flat() 427 if (node->hit && node->hit >= min_hit) in __sort_chain_flat() 428 rb_insert_callchain(rb_root, node, CHAIN_FLAT); in __sort_chain_flat() 440 __sort_chain_flat(rb_root, &root->node, min_hit); in sort_chain_flat() 443 static void __sort_chain_graph_abs(struct callchain_node *node, in __sort_chain_graph_abs() argument 449 node->rb_root = RB_ROOT; in __sort_chain_graph_abs() 450 n = rb_first(&node->rb_root_in); in __sort_chain_graph_abs() 458 rb_insert_callchain(&node in __sort_chain_graph_abs() 471 __sort_chain_graph_rel(struct callchain_node *node, double min_percent) __sort_chain_graph_rel() argument 566 fill_node(struct callchain_node *node, struct callchain_cursor *cursor) fill_node() argument 710 match_chain(struct callchain_cursor_node *node, struct callchain_list *cnode) match_chain() argument 825 struct callchain_cursor_node *node; split_add_child() local 872 struct callchain_cursor_node *node; append_chain_children() local 931 struct callchain_cursor_node *node; append_chain() local 1051 struct callchain_cursor_node *node = *cursor->last; callchain_cursor_append() local 1106 fill_callchain_info(struct addr_location *al, struct callchain_cursor_node *node, bool hide_unresolved) fill_callchain_info() argument 1176 callchain_node__scnprintf_value(struct callchain_node *node, char *bf, size_t bfsize, u64 total) callchain_node__scnprintf_value() argument 1205 callchain_node__fprintf_value(struct callchain_node *node, FILE *fp, u64 total) callchain_node__fprintf_value() argument 1231 callchain_counts_value(struct callchain_node *node, u64 *branch_count, u64 *predicted_count, u64 *abort_count, u64 *cycles_count) callchain_counts_value() argument 1252 callchain_node_branch_counts_cumul(struct callchain_node *node, u64 *branch_count, u64 *predicted_count, u64 *abort_count, u64 *cycles_count) callchain_node_branch_counts_cumul() argument 1454 free_callchain_node(struct callchain_node *node) free_callchain_node() argument 1491 decay_callchain_node(struct callchain_node *node) decay_callchain_node() argument 1519 callchain_node__make_parent_list(struct callchain_node *node) callchain_node__make_parent_list() argument 1568 struct callchain_cursor_node *node; callchain_cursor__copy() local 1594 struct callchain_cursor_node *node; callchain_cursor_reset() local 1675 struct callchain_node *node; count_callchain_hits() local [all...] |