Home
last modified time | relevance | path

Searched defs:node (Results 1 – 25 of 125) sorted by relevance

12345

/base/useriam/user_auth_framework/test/fuzztest/services/servicecore_fuzzer/src/
Dschedule_node_fuzzer.cpp59 auto node = GetScheduleNode(parcel); in FuzzScheduleNodeGetScheduleId() local
69 auto node = GetScheduleNode(parcel); in FuzzScheduleNodeGetContextId() local
79 auto node = GetScheduleNode(parcel); in FuzzScheduleNodeGetAuthType() local
89 auto node = GetScheduleNode(parcel); in FuzzScheduleNodeGetExecutorMatcher() local
99 auto node = GetScheduleNode(parcel); in FuzzScheduleNodeGetScheduleMode() local
109 auto node = GetScheduleNode(parcel); in FuzzScheduleNodeGetCollectorExecutor() local
119 auto node = GetScheduleNode(parcel); in FuzzScheduleNodeGetVerifyExecutor() local
129 auto node = GetScheduleNode(parcel); in FuzzScheduleNodeGetTemplateIdList() local
139 auto node = GetScheduleNode(parcel); in FuzzScheduleNodeGetCurrentScheduleState() local
149 auto node = GetScheduleNode(parcel); in FuzzScheduleNodeStartSchedule() local
[all …]
Dresource_node_fuzzer.cpp107 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorIndex() local
117 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetOwnerDeviceId() local
127 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetOwnerPid() local
137 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetAuthType() local
147 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorRole() local
157 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorSensorHint() local
167 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorMatcher() local
177 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorEsl() local
187 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorPublicKey() local
203 auto node = GetResourceNode(parcel); in FuzzResourceNodeBeginExecute() local
[all …]
/base/security/huks/utils/list/
Dhks_double_list.c22 void InitializeDoubleList(struct DoubleList *node) in InitializeDoubleList()
32 void AddNodeAfterDoubleListHead(struct DoubleList *head, struct DoubleList *node) in AddNodeAfterDoubleListHead()
48 void AddNodeAtDoubleListTail(struct DoubleList *head, struct DoubleList *node) in AddNodeAtDoubleListTail()
64 void RemoveDoubleListNode(struct DoubleList *node) in RemoveDoubleListNode()
/base/update/updater/test/fuzztest/updaterutils_fuzzer/
Dupdater_utils_fuzzer.cpp139 JsonNode node(str); in TestJsonNodeValueKey() local
145 JsonNode node(str); in TestJsonNodeValueKey() local
153 JsonNode node(str); in TestJsonNodeKey() local
160 JsonNode node(str); in TestJsonNodeValueTypeStr() local
168 JsonNode node(str); in TestJsonNodeValueTypeInt() local
176 JsonNode node(str); in TestJsonNodeValueTypeBool() local
184 JsonNode node(str); in TestJsonNodeValueTypeArray() local
195 JsonNode node(str); in TestJsonNodeValueTypeObject() local
203 JsonNode node(str); in TestJsonNodeValueTypeNull() local
210 JsonNode node(str); in TestJsonNodeValueTypeUnknow() local
[all …]
/base/update/updater/test/unittest/utils/json/
Dutils_json_visitor_test.cpp95 JsonNode node {newJsonStr}; in TestInvalidCases() local
103 JsonNode node {newJsonStr}; in TestInvalidCases() local
145 JsonNode node {dJson}; variable
172 JsonNode node {eJson}; variable
208 JsonNode node {hJson}; variable
241 JsonNode node {iJson}; variable
256 JsonNode node {R"({"J" : {"d1" : [["foo","bar","baz"],["foo1","bar1","baz1"]]}})"s}; variable
292 JsonNode node {kJson}; variable
310 JsonNode node {lJson}; variable
337 JsonNode node {jsonStr}; variable
Dutils_json_test.cpp220 JsonNode node {str}; variable
236 JsonNode node {str}; variable
245 JsonNode node {str}; variable
254 JsonNode node {str}; variable
266 JsonNode node {str}; variable
277 JsonNode node {str}; variable
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_session_mgr.c46 static void FreeSessionNode(struct CmSessionNode **node) in FreeSessionNode()
107 …atic int32_t ConstructSessionInfo(const struct CmSessionNodeInfo *info, struct CmSessionNode *node) in ConstructSessionInfo()
124 static int32_t ConstructHandle(const struct CmBlob *handle, struct CmSessionNode *node) in ConstructHandle()
141 struct CmSessionNode *node = (struct CmSessionNode *)CMMalloc(sizeof(struct CmSessionNode)); in CmCreateSession() local
188 static bool IsSameCaller(const struct CmSessionNodeInfo *info, const struct CmSessionNode *node) in IsSameCaller()
195 struct CmSessionNode *node = NULL; in CmQuerySession() local
210 struct CmSessionNode *node = NULL; in CmDeleteSession() local
225 const struct CmSessionNode *node) in IsNeedDelete()
244 struct CmSessionNode *node = *nodeSession; in DeleteSessionNode() local
255 struct CmSessionNode *node = NULL; in CmDeleteSessionByNodeInfo() local
/base/update/updater/services/ui/
Dupdater_ui_config.cpp70 std::string SelectConfig(const JsonNode &node) in SelectConfig()
104 JsonNode node { Fs::path { UI_CFG_FILE }}; in Init() local
131 bool UpdaterUiConfig::Init(const JsonNode &node) in Init()
149 bool UpdaterUiConfig::LoadPages(const JsonNode &node) in LoadPages()
174 bool UpdaterUiConfig::LoadLangRes(const JsonNode &node) in LoadLangRes()
179 bool UpdaterUiConfig::LoadStrategy(const JsonNode &node) in LoadStrategy()
184 bool UpdaterUiConfig::LoadCallbacks(const JsonNode &node) in LoadCallbacks()
189 bool UpdaterUiConfig::LoadFocusCfg(const JsonNode &node) in LoadFocusCfg()
/base/security/access_token/interfaces/innerkits/analysis_model/src/
Dcode_signature_analysis_kit.c31 AppRiskInfo *node = g_modelDataHead->next; in FindExistingNode() local
42 static int32_t IsRiskStatusChanged(AppRiskInfo *node) in IsRiskStatusChanged()
77 AppRiskInfo *node, in DataPreProcess()
119 AppRiskInfo *node = (AppRiskInfo *)malloc(sizeof(AppRiskInfo)); in AppRiskInfoNodeInit() local
149 static void ReleaseTimeStampChain(AppRiskInfo *node) in ReleaseTimeStampChain()
164 static void SetResultInfoAccordingToNode(NotifyRiskResultInfo *result, AppRiskInfo *node) in SetResultInfoAccordingToNode()
171 static int32_t UpdateInfoInCurrNode(const CodeSignatureReportedInfo *report, AppRiskInfo *node, uin… in UpdateInfoInCurrNode()
204 AppRiskInfo *node = AppRiskInfoNodeInit(); in AddNewAppInfoNode() local
250 AppRiskInfo *node = FindExistingNode(report->tokenId); in DataProcess() local
327 AppRiskInfo *node = g_modelDataHead->next; in Release() local
[all …]
/base/security/huks/test/unittest/huks_standard_test/module_test/utils_test/src/
Dhks_double_list_test.cpp64 struct DoubleList node = { 0 }; variable
79 struct DoubleList node = { 0 }; variable
94 struct DoubleList node = { 0 }; variable
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_resource_node.h49 auto node = std::make_shared<MockResourceNode>(); variable
63 auto node = std::make_shared<MockResourceNode>(); in CreateWithExecuteIndex() local
90 auto node = std::make_shared<MockResourceNode>(); in CreateWithExecuteIndex() local
/base/hiviewdfx/hiview/plugins/freeze_detector/
Drule_cluster.cpp91 for (xmlNode* node = root; node; node = node->next) { in ParseRuleFile() local
108 for (xmlNode* node = tag->children; node; node = node->next) { in ParseTagFreeze() local
117 for (xmlNode* node = tag->children; node; node = node->next) { in ParseTagRules() local
139 for (xmlNode* node = tag->children; node; node = node->next) { in ParseTagRule() local
155 for (xmlNode* node = tag->children; node; node = node->next) { in ParseTagLinks() local
189 for (xmlNode* node = tag->children; node; node = node->next) { in ParseTagEvent() local
211 T FreezeRuleCluster::GetAttributeValue(xmlNode* node, const std::string& name) in GetAttributeValue()
/base/startup/init/services/param/watcher/proxy/
Dwatcher_manager.cpp168 …TraversalNode([this, mananger, name, value](ParamWatcherListPtr list, WatcherNodePtr node, uint32_… in ProcessParameterChange()
362 …remoteWatchers_->TraversalNodeSafe([this](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t … in OnStop()
387 [this, remoteWatcher](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t index) { in OnRemoteDied()
405 WatcherNodePtr node = remoteWatchers_->GetNextNode(nullptr); in GetRemoteWatcher() local
483 …auto dumpParamWatcher = [this, fd](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t index) { in Dump()
513 …remoteWatchers_->TraversalNodeSafe([](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t inde… in Clear()
519 …watcherGroups_->TraversalNodeSafe([](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t index… in Clear()
543 WatcherNodePtr node = remoteWatchers_->GetNode(remoteWatcherId); in GetRemoteWatcher() local
573 WatcherNodePtr node = group->GetNode(remoteWatcher->GetRemoteWatcherId()); in DelParamWatcher() local
612 WatcherNodePtr node = watcherGroups_->GetNode(groupId); in GetWatcherGroup() local
[all …]
/base/startup/init/services/utils/
Dinit_hashmap.c51 HashNode *node = (HashNode *)root; in GetHashNodeByNode() local
65 HashNode *node = (HashNode *)root; in GetHashNodeByKey() local
76 int32_t OH_HashMapAdd(HashMapHandle handle, HashNode *node) in OH_HashMapAdd()
106 HashNode *node = tab->buckets[hashCode]; in OH_HashMapRemove() local
140 HashNode *node = root; in HashListFree() local
171 void OH_HashMapTraverse(HashMapHandle handle, void (*hashNodeTraverse)(const HashNode *node, const … in OH_HashMapTraverse()
177 HashNode *node = tab->buckets[i]; in OH_HashMapTraverse() local
191 HashNode *node = tab->buckets[i]; in OH_HashMapIsEmpty() local
/base/security/device_auth/test/unittest/deviceauth/source/
Ddevice_auth_ext_mock.c41 ExtPluginNode *node = (ExtPluginNode *)HcMalloc(sizeof(ExtPluginNode), 0); in CreateNode() local
59 void AddPlugin(ExtPluginList *list, ExtPluginNode *node) in AddPlugin()
75 ExtPluginNode *node = list; in DestroyList() local
/base/startup/init/test/unittest/init/
Dgroup_unittest.cpp32 HashNode node; member
49 static int TestHashNodeFunction(const HashNode *node) in TestHashNodeFunction()
71 static void TestHashNodeFree(const HashNode *node, void *context) in TestHashNodeFree()
80 …TestHashNode *node = reinterpret_cast<TestHashNode *>(malloc(sizeof(TestHashNode) + strlen(value) … in TestCreateHashNode() local
129 HashNode *node = OH_HashMapGet(handle, (const void *)str1); variable
154 OH_HashMapTraverse(handle, [](const HashNode *node, const void *context) {return;}, nullptr); in __anon7872c9770202()
170 HashNode *node = OH_HashMapGet(handle, (const void *)act); variable
177 OH_HashMapTraverse(handle, [](const HashNode *node, const void *context) {return;}, nullptr); in __anon7872c9770302()
317 InitGroupNode *node = AddGroupNode(NODE_TYPE_SERVICES, "test-service6"); variable
/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/src/
Ddlp_link_manager.cpp72 DlpLinkFile *node = new (std::nothrow) DlpLinkFile(dlpLinkName, filePtr); in AddDlpLinkFile() local
93 DlpLinkFile* node = iter->second; in StopDlpLinkFile() local
118 DlpLinkFile* node = iter->second; in RestartDlpLinkFile() local
148 DlpLinkFile *node = iter->second; in ReplaceDlpLinkFile() local
194 DlpLinkFile* node = iter->second; in LookUpDlpLinkFile() local
/base/startup/init/services/param/trigger/
Dtrigger_manager.c35 CommandNode *node = (CommandNode *)calloc(1, size); in AddCommand() local
71 static int CopyCondition(TriggerNode *node, const char *condition) in CopyCondition()
88 TriggerNode *node = (TriggerNode *)calloc(1, dataSize); in AddTriggerNode_() local
104 JobNode *node = (JobNode *)trigger; in AddJobNode_() local
124 …TriggerNode *node = (TriggerNode *)AddTriggerNode_(triggerHead, extInfo->type, condition, triggerN… in AddJobTrigger_() local
192 TriggerNode *node = AddTriggerNode_(triggerHead, extInfo->type, condition, size); in AddWatchTrigger_() local
210 WaitNode *node = (WaitNode *)trigger; in DelWatchTrigger_() local
213 WatchNode *node = (WatchNode *)trigger; in DelWatchTrigger_() local
228 ListNode *node = NULL; in GetNextTrigger_() local
249 const JobNode *node = (const JobNode *)trigger; in GetBootCondition_() local
[all …]
/base/security/device_security_level/services/dslm/
Ddslm_device_list.c50 ListNode *node = NULL; in GetDeviceListSize() local
67 ListNode *node = NULL; in GetDslmDeviceInfo() local
141 ListNode *node = NULL; in ForEachDeviceDump() local
/base/startup/init/test/unittest/param/
Dtrigger_unittest.cpp59 JobNode *node = reinterpret_cast<JobNode *>(trigger); in TestTriggerExecute() local
129 JobNode *node = AddTrigger(TRIGGER_BOOT, "init-later", "", 0); in TestAddTriggerForBoot() local
151 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, "test_param.000=1", 0); in TestAddTriggerForParm() local
201 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestCheckParamTrigger1() local
236 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestCheckParamTrigger2() local
262 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestCheckParamTrigger3() local
286 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestCheckParamTrigger4() local
317 JobNode *node = AddTrigger(TRIGGER_UNKNOW, triggerName, buffer, 0); in TestCheckParamTrigger5() local
359 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestExecuteParamTrigger1() local
382 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestExecuteParamTrigger2() local
[all …]
/base/useriam/user_auth_framework/test/unittest/services/src/
Dresource_node_test.cpp58 auto node = ResourceNode::MakeNewResource(info, nullptr, templateIdList, fwkPublicKey); variable
73 auto node = ResourceNode::MakeNewResource(info, nullptr, templateIdList, fwkPublicKey); variable
104 auto node = ResourceNode::MakeNewResource(info, nullptr, templateIdList, fwkPublicKey); variable
125 auto node = ResourceNode::MakeNewResource(info, testCallback, templateIdList, fwkPublicKey); variable
156 auto node = ResourceNode::MakeNewResource(info, testCallback, templateIdList, fwkPublicKey); variable
/base/startup/init/interfaces/innerkits/hookmgr/
Dhookmgr.c32 ListNode node; member
41 ListNode node; member
72 static int hookStageCompare(ListNode *node, void *data) in hookStageCompare()
81 static void hookStageDestroy(ListNode *node) in hookStageDestroy()
111 static int hookItemCompare(ListNode *node, ListNode *newNode) in hookItemCompare()
127 static int hookItemCompareValue(ListNode *node, void *data) in hookItemCompareValue()
195 static int hookTraversalDelProc(ListNode *node, void *cookie) in hookTraversalDelProc()
243 static int hookExecutionProc(ListNode *node, void *cookie) in hookExecutionProc()
327 static int hookItemTraversal(ListNode *node, void *data) in hookItemTraversal()
339 static int hookStageTraversal(ListNode *node, void *data) in hookStageTraversal()
/base/security/selinux_adapter/interfaces/policycoreutils/src/
Dselinux_map.c43 static int GroupNodeGetNodeHashCode(const HashNode *node) in GroupNodeGetNodeHashCode()
49 static void GroupNodeFree(const HashNode *node) in GroupNodeFree()
93 int32_t HashMapAdd(HashTab *handle, HashNode *node) in HashMapAdd()
126 HashNode *node = root; in HashListFree() local
/base/startup/init/services/init/standard/
Dinit_cmdexecutor.c79 ListNode *node = cmd->cmdExecutor.next; in RemoveCmdExecutor() local
109 ListNode *node = cmd->cmdExecutor.next; in PluginExecCmd_() local
139 ListNode *node = cmd->cmdExecutor.next; in PluginExecCmd() local
148 static int CompareCmdId(const HashNode *node, const void *key) in CompareCmdId()
162 HashNode *node = OH_HashMapFind(GetGroupHashMap(NODE_TYPE_CMDS), in GetPluginCmdByIndex() local
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_srv_config_parser.cpp56 for (xmlNodePtr node = rootNode->xmlChildrenNode; node != nullptr; node = node->next) { in ParseXmlFile() local
64 bool ThermalSrvConfigParser::ParseRootNode(const xmlNodePtr& node) in ParseRootNode()
90 bool ThermalSrvConfigParser::ParseBaseNode(const xmlNodePtr& node) in ParseBaseNode()
138 bool ThermalSrvConfigParser::ParseLevelNode(const xmlNodePtr& node) in ParseLevelNode()
386 bool ThermalSrvConfigParser::ParseStateNode(const xmlNodePtr& node) in ParseStateNode()
419 bool ThermalSrvConfigParser::ParseActionNode(const xmlNodePtr& node) in ParseActionNode()
481 bool ThermalSrvConfigParser::ParsePolicyNode(const xmlNodePtr& node) in ParsePolicyNode()
573 bool ThermalSrvConfigParser::ParseIdleNode(const xmlNodePtr& node) in ParseIdleNode()
611 bool ThermalSrvConfigParser::ParseFanNode(const xmlNodePtr &node) in ParseFanNode()
640 bool ThermalSrvConfigParser::ParseFanFaultInfo(const xmlNodePtr& node, in ParseFanFaultInfo()

12345