Home
last modified time | relevance | path

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

1234567

/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.cpp115 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorIndex() local
125 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetOwnerDeviceId() local
135 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetOwnerPid() local
145 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetAuthType() local
155 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorRole() local
165 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorSensorHint() local
175 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorMatcher() local
185 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorEsl() local
195 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorPublicKey() local
211 auto node = GetResourceNode(parcel); in FuzzResourceNodeBeginExecute() local
[all …]
/base/startup/appspawn/modules/sandbox/
Dappspawn_permission.c25 static int PermissionNodeCompareIndex(ListNode *node, void *data) in PermissionNodeCompareIndex()
31 static int PermissionNodeCompareName(ListNode *node, void *data) in PermissionNodeCompareName()
41 static int PermissionNodeCompareProc(ListNode *node, ListNode *newNode) in PermissionNodeCompareProc()
62 SandboxPermissionNode *node = (SandboxPermissionNode *)CreateSandboxSection( in AddSandboxPermissionNode() local
69 SandboxPermissionNode *node = (SandboxPermissionNode *)calloc(1, len); in AddSandboxPermissionNode() local
84 ListNode *node = queue->front.next; in DeleteSandboxPermissions() local
103 ListNode *node = queue->front.next; in PermissionRenumber() local
125 ListNode *node = OH_ListFind(&queue->front, (void *)permission, PermissionNodeCompareName); in GetPermissionNodeInQueue() local
134 ListNode *node = OH_ListFind(&queue->front, (void *)&index, PermissionNodeCompareIndex); in GetPermissionNodeInQueueByIndex() local
Dsandbox_manager.c28 static void FreePathMountNode(SandboxMountNode *node) in FreePathMountNode()
46 static void FreeSymbolLinkNode(SandboxMountNode *node) in FreeSymbolLinkNode()
60 static int SandboxNodeCompareProc(ListNode *node, ListNode *newNode) in SandboxNodeCompareProc()
71 SandboxMountNode *node = (SandboxMountNode *)calloc(1, dataLen); in CreateSandboxMountNode() local
78 void AddSandboxMountNode(SandboxMountNode *node, SandboxSection *queue) in AddSandboxMountNode()
85 static int PathMountNodeCompare(ListNode *node, void *data) in PathMountNodeCompare()
94 static int SymbolLinkNodeCompare(ListNode *node, void *data) in SymbolLinkNodeCompare()
111 ListNode *node = OH_ListFind(&section->front, (void *)&pathNode, PathMountNodeCompare); in GetPathMountNode() local
126 ListNode *node = OH_ListFind(&section->front, (void *)&linkNode, SymbolLinkNodeCompare); in GetSymbolLinkNode() local
230 ListNode *node = section->front.next; in ClearSandboxSection() local
[all …]
/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/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/startup/appspawn/standard/
Dappspawn_appmgr.c71 static void SpawningQueueDestroy(ListNode *node) in SpawningQueueDestroy()
77 static void ExtDataDestroy(ListNode *node) in ExtDataDestroy()
104 ListNode *node = g_appSpawnMgr->appQueue.next; in TraversalSpawnedProcess() local
113 static int AppInfoPidComparePro(ListNode *node, void *data) in AppInfoPidComparePro()
120 static int AppInfoNameComparePro(ListNode *node, void *data) in AppInfoNameComparePro()
126 static int AppInfoCompareProc(ListNode *node, ListNode *newNode) in AppInfoCompareProc()
139 AppSpawnedProcess *node = (AppSpawnedProcess *)calloc(1, sizeof(AppSpawnedProcess) + len + 1); in AddSpawnedProcess() local
156 void TerminateSpawnedProcess(AppSpawnedProcess *node) in TerminateSpawnedProcess()
181 ListNode *node = OH_ListFind(&g_appSpawnMgr->appQueue, &pid, AppInfoPidComparePro); in GetSpawnedProcess() local
191 ListNode *node = OH_ListFind(&g_appSpawnMgr->appQueue, (void *)name, AppInfoNameComparePro); in GetSpawnedProcessByName() local
[all …]
/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/inputmethod/imf/services/json/src/
Dserializable.cpp54 bool Serializable::GetValue(cJSON *node, const std::string &name, std::string &value) in GetValue()
65 bool Serializable::GetValue(cJSON *node, const std::string &name, int32_t &value) in GetValue()
76 bool Serializable::GetValue(cJSON *node, const std::string &name, uint32_t &value) in GetValue()
92 bool Serializable::GetValue(cJSON *node, const std::string &name, bool &value) in GetValue()
103 bool Serializable::GetValue(cJSON *node, const std::string &name, Serializable &value) in GetValue()
113 bool Serializable::SetValue(cJSON *node, const std::string &name, const std::string &value) in SetValue()
119 bool Serializable::SetValue(cJSON *node, const std::string &name, const int32_t &value) in SetValue()
125 cJSON *Serializable::GetSubNode(cJSON *node, const std::string &name) in GetSubNode()
/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/startup/init/services/param/watcher/proxy/
Dwatcher_manager.cpp182 …TraversalNode([this, mananger, name, value](ParamWatcherListPtr list, WatcherNodePtr node, uint32_… in ProcessParameterChange()
376 …remoteWatchers_->TraversalNodeSafe([this](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t … in OnStop()
401 [this, remoteWatcher](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t index) { in OnRemoteDied()
418 WatcherNodePtr node = remoteWatchers_->GetNextNode(nullptr); in GetRemoteWatcher() local
496 …auto dumpParamWatcher = [this, fd](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t index) { in Dump()
526 …remoteWatchers_->TraversalNodeSafe([](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t inde… in Clear()
532 …watcherGroups_->TraversalNodeSafe([](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t index… in Clear()
556 WatcherNodePtr node = remoteWatchers_->GetNode(remoteWatcherId); in GetRemoteWatcher() local
586 WatcherNodePtr node = group->GetNode(remoteWatcher->GetRemoteWatcherId()); in DelParamWatcher() local
624 WatcherNodePtr node = watcherGroups_->GetNode(groupId); in GetWatcherGroup() local
[all …]
/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/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_resource_node.h51 auto node = std::make_shared<MockResourceNode>(); variable
65 auto node = std::make_shared<MockResourceNode>(); in CreateWithExecuteIndex() local
92 auto node = std::make_shared<MockResourceNode>(); in CreateWithExecuteIndex() local
/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/startup/appspawn/interfaces/innerkits_new/permission/
Dappspawn_mount_permission.h35 struct ListNode node; member
46 #define PERMISSION_NAME(node) (node) == NULL ? NULL : (node)->name argument
48 #define PERMISSION_NAME(node) (node) == NULL ? NULL : (node)->section.name argument
/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/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 __anon66fd87030202()
170 HashNode *node = OH_HashMapGet(handle, (const void *)act); variable
177 OH_HashMapTraverse(handle, [](const HashNode *node, const void *context) {return;}, nullptr); in __anon66fd87030302()
316 InitGroupNode *node = AddGroupNode(NODE_TYPE_SERVICES, "test-service6"); variable
/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/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/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/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()

1234567