/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 | 115 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/ |
D | appspawn_permission.c | 25 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
|
D | sandbox_manager.c | 28 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(§ion->front, (void *)&pathNode, PathMountNodeCompare); in GetPathMountNode() local 126 ListNode *node = OH_ListFind(§ion->front, (void *)&linkNode, SymbolLinkNodeCompare); in GetSymbolLinkNode() local 230 ListNode *node = section->front.next; in ClearSandboxSection() local [all …]
|
/base/update/updater/test/fuzztest/updaterutils_fuzzer/ |
D | updater_utils_fuzzer.cpp | 139 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/ |
D | utils_json_visitor_test.cpp | 95 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
|
D | utils_json_test.cpp | 220 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/ |
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/startup/appspawn/standard/ |
D | appspawn_appmgr.c | 71 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/ |
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/inputmethod/imf/services/json/src/ |
D | serializable.cpp | 54 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/ |
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/security/access_token/interfaces/innerkits/analysis_model/src/ |
D | code_signature_analysis_kit.c | 31 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/ |
D | hks_double_list_test.cpp | 64 struct DoubleList node = { 0 }; variable 79 struct DoubleList node = { 0 }; variable 94 struct DoubleList node = { 0 }; variable
|
/base/startup/init/services/param/watcher/proxy/ |
D | watcher_manager.cpp | 182 …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/ |
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 211 T FreezeRuleCluster::GetAttributeValue(xmlNode* node, const std::string& name) in GetAttributeValue()
|
/base/useriam/user_auth_framework/test/unittest/services/mocks/ |
D | mock_resource_node.h | 51 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/ |
D | init_hashmap.c | 51 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/ |
D | appspawn_mount_permission.h | 35 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/ |
D | trigger_manager.c | 35 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/ |
D | group_unittest.cpp | 32 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/ |
D | device_auth_ext_mock.c | 41 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/ |
D | dlp_link_manager.cpp | 72 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/ |
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/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()
|