/base/useriam/user_auth_framework/test/fuzztest/services/servicecore_fuzzer/src/ |
D | schedule_node_fuzzer.cpp | 59 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 …]
|
D | resource_node_fuzzer.cpp | 106 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorIndex() local 116 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetOwnerDeviceId() local 126 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetOwnerPid() local 136 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetAuthType() local 146 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorRole() local 156 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorSensorHint() local 166 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorMatcher() local 176 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorEsl() local 186 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorPublicKey() local 202 auto node = GetResourceNode(parcel); in FuzzResourceNodeBeginExecute() local [all …]
|
/base/security/huks/utils/list/ |
D | hks_double_list.c | 22 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/unittest/utils/json/ |
D | utils_json_visitor_test.cpp | 90 JsonNode node {newJsonStr}; in TestInvalidCases() local 98 JsonNode node {newJsonStr}; in TestInvalidCases() local 140 JsonNode node {dJson}; variable 167 JsonNode node {eJson}; variable 203 JsonNode node {hJson}; variable 236 JsonNode node {iJson}; variable 251 JsonNode node {R"({"J" : {"d1" : [["foo","bar","baz"],["foo1","bar1","baz1"]]}})"s}; variable 287 JsonNode node {kJson}; variable 305 JsonNode node {lJson}; variable
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_session_mgr.c | 46 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/ |
D | updater_ui_config.cpp | 70 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/useriam/user_auth_framework/test/unittest/services/mocks/ |
D | mock_resource_node.h | 49 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
|
D | mock_schedule_node.h | 50 auto node = std::make_shared<MockScheduleNode>(); in CreateWithScheduleId() local
|
/base/hiviewdfx/hiview/plugins/freeze_detector/ |
D | rule_cluster.cpp | 91 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 209 T FreezeRuleCluster::GetAttributeValue(xmlNode* node, const std::string& name) in GetAttributeValue()
|
/base/startup/init/services/param/watcher/proxy/ |
D | watcher_manager.cpp | 163 …TraversalNode([this, mananger, name, value](ParamWatcherListPtr list, WatcherNodePtr node, uint32_… in ProcessParameterChange() 345 …remoteWatchers_->TraversalNodeSafe([this](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t … in OnStop() 370 [this, remoteWatcher](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t index) { in OnRemoteDied() 388 WatcherNodePtr node = remoteWatchers_->GetNextNode(nullptr); in GetRemoteWatcher() local 469 …auto dumpParamWatcher = [this, fd](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t index) { in Dump() 498 …remoteWatchers_->TraversalNodeSafe([](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t inde… in Clear() 503 …watcherGroups_->TraversalNodeSafe([](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t index… in Clear() 526 WatcherNodePtr node = remoteWatchers_->GetNode(remoteWatcherId); in GetRemoteWatcher() local 556 WatcherNodePtr node = group->GetNode(remoteWatcher->GetRemoteWatcherId()); in DelParamWatcher() local 595 WatcherNodePtr node = watcherGroups_->GetNode(groupId); in GetWatcherGroup() local [all …]
|
/base/startup/init/services/utils/ |
D | init_hashmap.c | 50 HashNode *node = (HashNode *)root; in GetHashNodeByNode() local 64 HashNode *node = (HashNode *)root; in GetHashNodeByKey() local 75 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
|
D | list.c | 29 void OH_ListInit(struct ListNode *node) in OH_ListInit() 182 static int listDestroyTraversal(ListNode *node, void *data) in listDestroyTraversal() 221 ListNode *node; in OH_ListGetCnt() local
|
/base/startup/init/services/param/trigger/ |
D | trigger_manager.c | 35 CommandNode *node = (CommandNode *)calloc(1, size); in AddCommand() local 68 static int CopyCondition(TriggerNode *node, const char *condition) in CopyCondition() 85 TriggerNode *node = (TriggerNode *)calloc(1, dataSize); in AddTriggerNode_() local 101 JobNode *node = (JobNode *)trigger; in AddJobNode_() local 121 …TriggerNode *node = (TriggerNode *)AddTriggerNode_(triggerHead, extInfo->type, condition, triggerN… in AddJobTrigger_() local 189 TriggerNode *node = AddTriggerNode_(triggerHead, extInfo->type, condition, size); in AddWatchTrigger_() local 207 WaitNode *node = (WaitNode *)trigger; in DelWatchTrigger_() local 210 WatchNode *node = (WatchNode *)trigger; in DelWatchTrigger_() local 221 ListNode *node = NULL; in GetNextTrigger_() local 242 const JobNode *node = (const JobNode *)trigger; in GetBootCondition_() local [all …]
|
/base/security/device_security_level/services/dslm/ |
D | dslm_device_list.c | 50 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/ |
D | trigger_unittest.cpp | 59 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/ |
D | resource_node_test.cpp | 58 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/ |
D | hookmgr.c | 32 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/startup/init/test/unittest/init/ |
D | group_unittest.cpp | 32 HashNode node; member 49 static int TestHashNodeFunction(const HashNode *node) in TestHashNodeFunction() 71 static void TestHashNodeFree(const HashNode *node) in TestHashNodeFree() 80 …TestHashNode *node = reinterpret_cast<TestHashNode *>(malloc(sizeof(TestHashNode) + strlen(value) … in TestCreateHashNode() local 122 HashNode *node = OH_HashMapGet(handle, (const void *)str1); variable 160 OH_HashMapTraverse(handle, [](const HashNode *node, const void *context) {return;}, nullptr); in __anond91f62980202() 297 InitGroupNode *node = AddGroupNode(NODE_TYPE_SERVICES, "test-service6"); variable
|
/base/security/selinux/interfaces/policycoreutils/src/ |
D | selinux_map.c | 48 static int GroupNodeGetNodeHashCode(const HashNode *node) in GroupNodeGetNodeHashCode() 54 static void GroupNodeFree(const HashNode *node) in GroupNodeFree() 98 int32_t HashMapAdd(HashTab *handle, HashNode *node) in HashMapAdd() 126 HashNode *node = handle->buckets[hashCode]; in HashMapRemove() local 157 HashNode *node = root; in HashListFree() local
|
/base/startup/init/services/init/standard/ |
D | init_cmdexecutor.c | 68 ListNode *node = cmd->cmdExecutor.next; in RemoveCmdExecutor() local 98 ListNode *node = cmd->cmdExecutor.next; in PluginExecCmd_() local 128 ListNode *node = cmd->cmdExecutor.next; in PluginExecCmd() local 137 static int CompareCmdId(const HashNode *node, const void *key) in CompareCmdId() 151 HashNode *node = OH_HashMapFind(GetGroupHashMap(NODE_TYPE_CMDS), in GetPluginCmdByIndex() local
|
/base/startup/init/services/param/base/ |
D | param_comm.c | 57 HashNode *node = OH_HashMapGet(paramSpace->workSpaceHashHandle, (const void *)tmpName); in GetWorkSpace() local 65 static int CompareIndex(const HashNode *node, const void *key) in CompareIndex() 86 …HashNode *node = OH_HashMapFind(paramSpace->workSpaceHashHandle, hashCode, (const void *)&index, C… in GetTrieNodeByHandle() local 108 ListNode *node = paramSpace->workSpaceList.next; in GetFirstWorkSpace() local 123 ListNode *node = curr->node.next; in GetNextWorkSpace() local 144 ParamTrieNode *node = FindTrieNode(space, name, strlen(name), NULL); in ReadParamWithCheck() local 202 INIT_LOCAL_API int CheckParamValue(const ParamTrieNode *node, const char *name, const char *value, … in CheckParamValue() 256 ParamTrieNode *node = AddTrieNode(workSpace, name, strlen(name)); in AddParam() local 321 ParamTrieNode *node = FindTrieNode(workSpace, name, strlen(name), NULL); in WriteParam() local 361 ParamTrieNode *node = FindTrieNode(workSpace, auditData->name, strlen(auditData->name), NULL); in AddSecurityLabel() local
|
/base/startup/init/services/loopevent/loop/ |
D | le_loop.c | 27 static int TaskKeyCompare(const HashNode *node, const void *key) in TaskKeyCompare() 34 static int TaskGetNodeHasCode(const HashNode *node) in TaskGetNodeHasCode() 46 static void TaskNodeFree(const HashNode *node) in TaskNodeFree() 113 HashNode *node = OH_HashMapGet(loop->taskMap, &id); in GetTaskByFd() local
|
/base/startup/init/services/include/ |
D | list.h | 76 #define ListEmpty(node) ((node).next == &(node) && (node).prev == &(node)) argument 78 #define ForEachListEntry(list, node) for (node = (list)->next; node != (list); node = node->next) argument
|
/base/update/updater/services/ui/strategy/ |
D | ui_strategy.cpp | 65 bool UiStrategy::LoadStrategy(const JsonNode &node, UpdaterMode mode) in LoadStrategy() 81 bool UiStrategy::LoadStrategy(const JsonNode &node) in LoadStrategy()
|
/base/powermgr/thermal_manager/application/protector/src/policy/ |
D | thermal_kernel_config_file.cpp | 54 for (auto node = rootNode->children; node; node = node->next) { in ParseThermalKernelXML() local 64 void ThermalKernelConfigFile::ParserBaseNode(xmlNodePtr node) in ParserBaseNode() 86 void ThermalKernelConfigFile::ParseControlNode(xmlNodePtr node) in ParseControlNode()
|