Home
last modified time | relevance | path

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

123456789

/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.cpp116 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorIndex() local
126 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetOwnerDeviceId() local
136 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetOwnerPid() local
146 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetAuthType() local
156 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorRole() local
166 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorSensorHint() local
176 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorMatcher() local
186 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorEsl() local
196 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorPublicKey() local
206 auto node = GetResourceNode(parcel); in FuzzResourceNodeGetExecutorDeviceUdid() local
[all …]
/base/update/updater/test/fuzztest/updaterutils_fuzzer/
Dupdater_utils_fuzzer.cpp140 JsonNode node(str); in TestJsonNodeValueKey() local
146 JsonNode node(str); in TestJsonNodeValueKey() local
154 JsonNode node(str); in TestJsonNodeKey() local
161 JsonNode node(str); in TestJsonNodeValueTypeStr() local
169 JsonNode node(str); in TestJsonNodeValueTypeInt() local
177 JsonNode node(str); in TestJsonNodeValueTypeBool() local
185 JsonNode node(str); in TestJsonNodeValueTypeArray() local
196 JsonNode node(str); in TestJsonNodeValueTypeObject() local
204 JsonNode node(str); in TestJsonNodeValueTypeNull() local
211 JsonNode node(str); in TestJsonNodeValueTypeUnknow() 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
137 ListNode *node = OH_ListFind(&queue->front, (void *)&index, PermissionNodeCompareIndex); in GetPermissionNodeInQueueByIndex() local
/base/tee/tee_os_framework/framework/drvmgr/src/
Dtask_mgr.c31 static int32_t init_drv_node(struct task_node *node) in init_drv_node()
48 static int32_t init_ta_node(struct task_node *node) in init_ta_node()
57 static int32_t init_task_node(struct task_node *node) in init_task_node()
89 …ic int32_t init_drvcall_perm(const struct drvcall_perm_apply_t *drvcall_in, struct task_node *node) in init_drvcall_perm()
110 static int32_t init_drv_conf(const struct drv_conf_t *drv_conf, struct task_node *node) in init_drv_conf()
143 struct task_node *node = malloc(sizeof(*node)); in alloc_and_init_drv_node() local
181 struct task_node *node = malloc(sizeof(*node)); in alloc_and_init_ta_node() local
211 static void free_drv_node(struct task_node *node) in free_drv_node()
227 void free_task_node(struct task_node *node) in free_task_node()
245 static int32_t inc_drv_node(struct task_node *node) in inc_drv_node()
[all …]
Ddrv_fd_ops.c65 int32_t add_fd_to_drvcall_node(struct fd_node *data, struct task_node *node) in add_fd_to_drvcall_node()
87 struct fd_node *close_get_fd_node_with_lock(struct task_node *node, int64_t fd) in close_get_fd_node_with_lock()
125 int32_t del_fd_to_drvcall_node(struct fd_node **fnode, struct task_node *node) in del_fd_to_drvcall_node()
157 static void dump_fd_node(const struct task_node *node) in dump_fd_node()
173 int32_t get_fd_count(struct task_node *node) in get_fd_count()
202 void put_fd_count(struct task_node *node) in put_fd_count()
229 uint32_t exception_close_handle(struct task_node *node) in exception_close_handle()
283 void dump_drvcall_fd(struct task_node *node) in dump_drvcall_fd()
/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.c47 static void FreeSessionNode(struct CmSessionNode **node) in FreeSessionNode()
108 …atic int32_t ConstructSessionInfo(const struct CmSessionNodeInfo *info, struct CmSessionNode *node) in ConstructSessionInfo()
125 static int32_t ConstructHandle(const struct CmBlob *handle, struct CmSessionNode *node) in ConstructHandle()
142 struct CmSessionNode *node = (struct CmSessionNode *)CMMalloc(sizeof(struct CmSessionNode)); in CmCreateSession() local
189 static bool IsSameCaller(const struct CmSessionNodeInfo *info, const struct CmSessionNode *node) in IsSameCaller()
196 struct CmSessionNode *node = NULL; in CmQuerySession() local
211 struct CmSessionNode *node = NULL; in CmDeleteSession() local
226 const struct CmSessionNode *node) in IsNeedDelete()
245 struct CmSessionNode *node = *nodeSession; in DeleteSessionNode() local
256 struct CmSessionNode *node = NULL; in CmDeleteSessionByNodeInfo() local
/base/startup/appspawn/standard/
Dappspawn_appmgr.c83 static void SpawningQueueDestroy(ListNode *node) in SpawningQueueDestroy()
89 static void ExtDataDestroy(ListNode *node) in ExtDataDestroy()
120 ListNode *node = g_appSpawnMgr->appQueue.next; in TraversalSpawnedProcess() local
129 static int AppInfoPidComparePro(ListNode *node, void *data) in AppInfoPidComparePro()
136 static int AppInfoNameComparePro(ListNode *node, void *data) in AppInfoNameComparePro()
142 static int AppInfoCompareProc(ListNode *node, ListNode *newNode) in AppInfoCompareProc()
155 AppSpawnedProcess *node = (AppSpawnedProcess *)calloc(1, sizeof(AppSpawnedProcess) + len + 1); in AddSpawnedProcess() local
174 void TerminateSpawnedProcess(AppSpawnedProcess *node) in TerminateSpawnedProcess()
199 ListNode *node = OH_ListFind(&g_appSpawnMgr->appQueue, &pid, AppInfoPidComparePro); in GetSpawnedProcess() local
209 ListNode *node = OH_ListFind(&g_appSpawnMgr->appQueue, (void *)name, AppInfoNameComparePro); in GetSpawnedProcessByName() local
[all …]
/base/tee/tee_os_kernel/user/system-services/chcore-libc/libchcore/porting/overrides/include/chcore/container/
Drbtree_impl.h24 #define rb_parent(node) (__rb_parent(node->__parent_color)) argument
25 #define rb_color(node) (__rb_color(node->__parent_color)) argument
26 #define rb_is_black(node) (__rb_is_black(node->__parent_color)) argument
27 #define rb_is_red(node) (__rb_is_red(node->__parent_color)) argument
28 #define rb_red_parent(node) ((struct rb_node *)node->__parent_color) argument
29 #define rb_has_red_child(node) \ argument
62 static inline void __rb_link_node(struct rb_node *node, struct rb_node *parent, in __rb_link_node()
/base/security/huks/utils/list/
Dhks_double_list.c23 void InitializeDoubleList(struct DoubleList *node) in InitializeDoubleList()
33 void AddNodeAfterDoubleListHead(struct DoubleList *head, struct DoubleList *node) in AddNodeAfterDoubleListHead()
49 void AddNodeAtDoubleListTail(struct DoubleList *head, struct DoubleList *node) in AddNodeAtDoubleListTail()
65 void RemoveDoubleListNode(struct DoubleList *node) in RemoveDoubleListNode()
/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::GetValue(cJSON *node, const std::string &name, std::vector<std::vector<std::stri… in GetValue()
140 bool Serializable::SetValue(cJSON *node, const std::string &name, const std::string &value) in SetValue()
146 bool Serializable::SetValue(cJSON *node, const std::string &name, const int32_t &value) in SetValue()
152 bool Serializable::SetValue(cJSON *node, const std::string &name, const bool &value) in SetValue()
158 bool Serializable::SetValue(cJSON *node, const std::string &name, const Serializable &value) in SetValue()
[all …]
/base/tee/tee_os_kernel/kernel/include/common/
Drbtree_impl.h25 #define rb_parent(node) (__rb_parent((node)->__parent_color)) argument
26 #define rb_color(node) (__rb_color((node)->__parent_color)) argument
27 #define rb_is_black(node) (__rb_is_black((node)->__parent_color)) argument
28 #define rb_is_red(node) (__rb_is_red((node)->__parent_color)) argument
29 #define rb_red_parent(node) ((struct rb_node*)(node)->__parent_color) argument
30 #define rb_has_red_child(node) \ argument
/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
123 struct DoubleList node = { 0 }; variable
/base/tee/tee_os_framework/lib/syslib/libdynconfbuilder/src/
Dta_config_builder.c115 …c int32_t build_ta_basic_info_service_name(struct dlist_node **pos, const struct conf_node_t *node, in build_ta_basic_info_service_name()
157 static int32_t build_ta_basic_info_uuid(struct dlist_node **pos, const struct conf_node_t *node, in build_ta_basic_info_uuid()
183 static int32_t build_ta_basic_info(struct dlist_node **pos, const struct conf_node_t *node, in build_ta_basic_info()
220 …2_t build_ta_mani_info_instance_keep_alive(struct dlist_node **pos, const struct conf_node_t *node, in build_ta_mani_info_instance_keep_alive()
244 …c int32_t build_ta_mani_info_multi_command(struct dlist_node **pos, const struct conf_node_t *node, in build_ta_mani_info_multi_command()
268 …c int32_t build_ta_mani_info_multi_session(struct dlist_node **pos, const struct conf_node_t *node, in build_ta_mani_info_multi_session()
323 …atic int32_t build_ta_mani_info_stack_size(struct dlist_node **pos, const struct conf_node_t *node, in build_ta_mani_info_stack_size()
381 static int32_t build_ta_mani_info_heap_size(struct dlist_node **pos, const struct conf_node_t *node, in build_ta_mani_info_heap_size()
439 …tic int32_t build_ta_mani_info_target_type(struct dlist_node **pos, const struct conf_node_t *node, in build_ta_mani_info_target_type()
466 …int32_t build_ta_mani_info_single_instance(struct dlist_node **pos, const struct conf_node_t *node, in build_ta_mani_info_single_instance()
[all …]
/base/startup/appspawn/modules/sandbox/modern/
Dsandbox_manager.c29 static void FreePathMountNode(SandboxMountNode *node) in FreePathMountNode()
56 static void FreeSymbolLinkNode(SandboxMountNode *node) in FreeSymbolLinkNode()
70 static int SandboxNodeCompareProc(ListNode *node, ListNode *newNode) in SandboxNodeCompareProc()
81 SandboxMountNode *node = (SandboxMountNode *)calloc(1, dataLen); in CreateSandboxMountNode() local
88 void AddSandboxMountNode(SandboxMountNode *node, SandboxSection *queue) in AddSandboxMountNode()
95 static int PathMountNodeCompare(ListNode *node, void *data) in PathMountNodeCompare()
104 static int SymbolLinkNodeCompare(ListNode *node, void *data) in SymbolLinkNodeCompare()
121 ListNode *node = OH_ListFind(&section->front, (void *)&pathNode, PathMountNodeCompare); in GetPathMountNode() local
136 ListNode *node = OH_ListFind(&section->front, (void *)&linkNode, SymbolLinkNodeCompare); in GetSymbolLinkNode() local
240 ListNode *node = section->front.next; in ClearSandboxSection() local
[all …]
/base/security/device_security_level/services/dslm/
Ddslm_device_list.c52 ListNode *node = NULL; in GetDeviceListSize() local
69 ListNode *node = NULL; in GetDslmDeviceInfo() local
143 ListNode *node = NULL; in ForEachDeviceDump() local
159 ListNode *node = NULL; in JudgeListDeviceType() local
176 ListNode *node = NULL; in DestroyNotifyAndHistoryInfo() local
194 ListNode *node = NULL; in DestroyAllDslmDeviceInfo() local
/base/startup/init/services/param/watcher/proxy/
Dwatcher_manager.cpp238 …TraversalNode([this, manager, name, value](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t… in ProcessParameterChange()
466 …remoteWatchers_->TraversalNodeSafe([this](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t … in OnStop()
491 [this, remoteWatcher](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t index) { in OnRemoteDied()
508 WatcherNodePtr node = remoteWatchers_->GetNextNode(nullptr); in GetRemoteWatcher() local
586 …auto dumpParamWatcher = [this, fd](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t index) { in Dump()
616 …remoteWatchers_->TraversalNodeSafe([](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t inde… in Clear()
622 …watcherGroups_->TraversalNodeSafe([](ParamWatcherListPtr list, WatcherNodePtr node, uint32_t index… in Clear()
646 WatcherNodePtr node = remoteWatchers_->GetNode(remoteWatcherId); in GetRemoteWatcher() local
676 WatcherNodePtr node = group->GetNode(remoteWatcher->GetRemoteWatcherId()); in DelParamWatcher() local
714 WatcherNodePtr node = watcherGroups_->GetNode(groupId); in GetWatcherGroup() local
[all …]
/base/telephony/core_service/utils/codec/src/
Dasn1_builder.cpp34 void Asn1Builder::Asn1AddChild(const std::shared_ptr<Asn1Node> node) in Asn1AddChild()
47 std::shared_ptr<Asn1Node> node = std::make_shared<Asn1Node>(tag, childByte, 0, byteLen); in Asn1AddChildAsBytes() local
73 std::shared_ptr<Asn1Node> node = std::make_shared<Asn1Node>(tag, intBytes, 0, bytesLen); in Asn1AddChildAsInteger() local
87 std::shared_ptr<Asn1Node> node = std::make_shared<Asn1Node>(tag, intBytes, 0, bytesLen); in Asn1AddChildAsSignedInteger() local
112 std::shared_ptr<Asn1Node> node = std::make_shared<Asn1Node>(tag, newChildByte, 0, dataLength); in Asn1AddChildAsBits() local
173 std::shared_ptr<Asn1Node> node = Asn1Build(); in Asn1BuilderToHexStr() local
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_resource_node.h52 auto node = std::make_shared<MockResourceNode>(); variable
66 auto node = std::make_shared<MockResourceNode>(); in CreateWithExecuteIndex() local
93 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/tee/tee_os_kernel/kernel/lib/
Drbtree.c17 static inline void __rb_link_node(struct rb_node *node, struct rb_node *parent, in __rb_link_node()
95 static void __rb_insert_color(struct rb_root *root, struct rb_node *node) in __rb_insert_color()
294 static struct rb_node *__rb_erase(struct rb_root *this, struct rb_node *node, in __rb_erase()
389 struct rb_node *node = is_left_child ? parent->left_child : in __rb_erase_color() local
608 void rb_erase(struct rb_root *this, struct rb_node *node) in rb_erase()
659 struct rb_node *rb_next(const struct rb_node *node) in rb_next()
683 struct rb_node *rb_prev(const struct rb_node *node) in rb_prev()
728 struct rb_node *rb_next_match(const struct rb_node *node, const void *key, in rb_next_match()

123456789