Home
last modified time | relevance | path

Searched refs:list (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/base/hiviewdfx/hiappevent/frameworks/native/ndk/
Dhiappevent_ndk.c34 #define ADD_BOOL_PARAM(list, name, uValue) \ argument
35 AddParamValue(list, name, NEW_PARAM(BOOL_PARAM, bool_v, uValue, 0))
36 #define ADD_BOOL_ARR_PARAM(list, name, uValue, len) \ argument
37 AddParamValue(list, name, NEW_PARAM(BOOL_ARR_PARAM, bool_arr_v, uValue, len))
38 #define ADD_INT8_PARAM(list, name, uValue) \ argument
39 AddParamValue(list, name, NEW_PARAM(INT8_PARAM, int8_v, uValue, 0))
40 #define ADD_INT8_ARR_PARAM(list, name, uValue, len) \ argument
41 AddParamValue(list, name, NEW_PARAM(INT8_ARR_PARAM, int8_arr_v, uValue, len))
42 #define ADD_INT16_PARAM(list, name, uValue) \ argument
43 AddParamValue(list, name, NEW_PARAM(INT16_PARAM, int16_v, uValue, 0))
[all …]
/base/hiviewdfx/hiappevent/test/unittest/common/native/
Dhiappevent_native_test.cpp60 ParamList list = OH_HiAppEvent_CreateParamList(); variable
62 OH_HiAppEvent_AddBoolParam(list, "bool_key", boolean);
64 …OH_HiAppEvent_AddBoolArrayParam(list, "bool_arr_key", booleans, sizeof(booleans) / sizeof(booleans…
66 OH_HiAppEvent_AddInt8Param(list, "int8_key", num1);
68 OH_HiAppEvent_AddInt8ArrayParam(list, "int8_arr_key", nums1, sizeof(nums1) / sizeof(nums1[0]));
70 OH_HiAppEvent_AddInt16Param(list, "int16_key", num2);
72 … OH_HiAppEvent_AddInt16ArrayParam(list, "int16_arr_key", nums2, sizeof(nums2) / sizeof(nums2[0]));
74 OH_HiAppEvent_AddInt32Param(list, "int32_key", num3);
76 … OH_HiAppEvent_AddInt32ArrayParam(list, "int32_arr_key", nums3, sizeof(nums3) / sizeof(nums3[0]));
78 OH_HiAppEvent_AddInt64Param(list, "int64_key", num4);
[all …]
/base/hiviewdfx/hiappevent/interfaces/native/kits/include/hiappevent/
Dhiappevent.h134 void OH_HiAppEvent_DestroyParamList(ParamList list);
146 ParamList OH_HiAppEvent_AddBoolParam(ParamList list, const char* name, bool boolean);
159 ParamList OH_HiAppEvent_AddBoolArrayParam(ParamList list, const char* name, const bool* booleans, i…
171 ParamList OH_HiAppEvent_AddInt8Param(ParamList list, const char* name, int8_t num);
184 ParamList OH_HiAppEvent_AddInt8ArrayParam(ParamList list, const char* name, const int8_t* nums, int…
196 ParamList OH_HiAppEvent_AddInt16Param(ParamList list, const char* name, int16_t num);
209 ParamList OH_HiAppEvent_AddInt16ArrayParam(ParamList list, const char* name, const int16_t* nums, i…
221 ParamList OH_HiAppEvent_AddInt32Param(ParamList list, const char* name, int32_t num);
234 ParamList OH_HiAppEvent_AddInt32ArrayParam(ParamList list, const char* name, const int32_t* nums, i…
246 ParamList OH_HiAppEvent_AddInt64Param(ParamList list, const char* name, int64_t num);
[all …]
/base/security/dataclassification/frameworks/datatransmitmgr/
Ddev_slinfo_list.c27 …struct DATASLListParams *list = (struct DATASLListParams *)malloc(sizeof(struct DATASLListParams)); in InitList() local
28 if (list == NULL) { in InitList()
32 list->next = list; in InitList()
33 list->prev = list; in InitList()
34 list->callbackParams = NULL; in InitList()
36 return list; in InitList()
48 int32_t PushListNode(struct DATASLListParams *list, struct DATASLCallbackParams *callbackParams) in PushListNode() argument
57 UpdateListNode(newList, list->prev, list); in PushListNode()
63 void RemoveListNode(struct DATASLListParams *list, struct DATASLCallbackParams *callbackParams) in RemoveListNode() argument
66 struct DATASLListParams *pList = list->next; in RemoveListNode()
[all …]
/base/security/permission_lite/services/pms/src/
Dperm_operate.c23 int PermissionIsGranted(const TList *list, int uid, const char *permission) in PermissionIsGranted() argument
25 TNode *cur = list->head; in PermissionIsGranted()
56 void AddTask(TList *list, TNode *node) in AddTask() argument
58 if (list->head == NULL) { in AddTask()
59 list->head = node; in AddTask()
61 node->next = list->head; in AddTask()
62 list->head = node; in AddTask()
66 void DeleteTask(TList *list, int uid) in DeleteTask() argument
68 TNode *cur = list->head; in DeleteTask()
73 list->head = cur->next; in DeleteTask()
[all …]
/base/hiviewdfx/hiview/plugins/freeze_detector/
Dresolver.cpp45 …const std::list<WatchPoint>& wpList, std::vector<WatchPoint>& list, const FreezeResult& result) co… in MatchEvent() argument
60 list.push_back(item); // take watchpoint back in MatchEvent()
67 std::vector<WatchPoint>& list, std::vector<FreezeResult>& result) const in ResolveEvent() argument
78 std::list<WatchPoint> wpList; in ResolveEvent()
80 list.push_back(watchPoint); in ResolveEvent()
94 MatchEvent(watchPoint, wpList, list, i); in ResolveEvent()
97 HIVIEW_LOGI("list size %{public}zu", list.size()); in ResolveEvent()
102 const std::vector<WatchPoint>& list, const std::vector<FreezeResult>& result) const in JudgmentResult() argument
105 if (list.size() == result.size()) { in JudgmentResult()
110 if (list.size() != (result.size() - 1)) { in JudgmentResult()
[all …]
Dvendor.cpp27 bool Vendor::ReduceRelevanceEvents(std::list<WatchPoint>& list, const FreezeResult& result) const in ReduceRelevanceEvents() argument
29 HIVIEW_LOGI("before size=%{public}zu", list.size()); in ReduceRelevanceEvents()
34 list.clear(); in ReduceRelevanceEvents()
40 std::list<WatchPoint>::iterator watchPoint; in ReduceRelevanceEvents()
41 for (watchPoint = list.begin(); watchPoint != list.end();) { in ReduceRelevanceEvents()
45 watchPoint = list.erase(watchPoint); in ReduceRelevanceEvents()
52 std::list<WatchPoint>::iterator watchPoint; in ReduceRelevanceEvents()
53 for (watchPoint = list.begin(); watchPoint != list.end();) { in ReduceRelevanceEvents()
57 watchPoint = list.erase(watchPoint); in ReduceRelevanceEvents()
62 list.sort(); in ReduceRelevanceEvents()
[all …]
/base/security/device_security_level/test/dslm_unit_test/
Ddslm_oem_property_test.cpp79 AttestationList list; variable
81 memset_s(&list, sizeof(AttestationList), 0, sizeof(AttestationList));
83 ret = VerifyDslmCredential(cred, nullptr, &list);
86 ret = VerifyDslmCredential(cred, &info, &list);
100 AttestationList list; variable
102 memset_s(&list, sizeof(AttestationList), 0, sizeof(AttestationList));
107 int32_t ret = VerifyDslmCredential(cred, &info, &list);
117 int32_t ret = VerifyDslmCredential(cred, &info, &list);
129 int32_t ret = VerifyDslmCredential(cred, &info, &list);
144 AttestationList list; variable
[all …]
/base/hiviewdfx/hiview/plugins/freeze_detector/test/unittest/common/
Dfreeze_detector_unittest.cpp125 std::list<WatchPoint> list; variable
127 ASSERT_EQ(vendor->ReduceRelevanceEvents(list, result), false);
141 std::list<WatchPoint> list; variable
144 ASSERT_EQ(vendor->ReduceRelevanceEvents(list, result), false);
158 std::list<WatchPoint> list; variable
166 list.push_back(watchPoint1);
172 list.push_back(watchPoint2);
173 ASSERT_EQ(vendor->ReduceRelevanceEvents(list, result), true);
187 std::list<WatchPoint> list; variable
195 list.push_back(watchPoint1);
[all …]
/base/powermgr/power_manager/services/native/include/
Dpower_save_mode.h46 bool GetValuePolicy(std::list<ModePolicy> &openPolicy, int32_t mode);
47 bool GetRecoverPolicy(std::list<ModePolicy> &recoverPolicy, int32_t mode);
48 bool GetFilterPolicy(std::list<ModePolicy> &policy, int32_t mode, int32_t value);
50 std::list<ModePolicy> GetLastMode();
51 std::list<ModePolicy> SetLastMode(std::list<ModePolicy> &policy);
54 std::map<int32_t, std::list<ModePolicy>> policyCache_;
Dpower_mode_policy.h51 std::list<ModePolicy> openPolicy;
52 std::list<ModePolicy> closePolicy;
53 std::list<ModePolicy> recoverPolicy;
61 std::list<ModePolicy>::iterator openlit;
62 std::list<ModePolicy>::iterator closelit;
63 std::list<ModePolicy>::iterator recoverlit;
/base/security/permission_lite/services/pms/include/
Dperm_operate.h21 int PermissionIsGranted(const TList *list, int uid, const char *permission);
25 void AddTask(TList *list, TNode *node);
27 void DeleteTask(TList *list, int uid);
29 TNode *GetTaskWithUid(TList *list, int uid);
31 TNode *GetTaskWithPkgName(TList *list, const char *pkgName);
/base/security/dataclassification/interfaces/innerkits/datatransmitmgr/include/
Ddev_slinfo_list.h35 int32_t PushListNode(struct DATASLListParams *list, struct DATASLCallbackParams *callbackParams);
37 void RemoveListNode(struct DATASLListParams *list, struct DATASLCallbackParams *callbackParams);
39 void ClearList(struct DATASLListParams *list);
41 int32_t GetListLength(struct DATASLListParams *list);
47 void LookupCallback(struct DATASLListParams *list, DEVSLQueryParams *queryParams, int32_t result, u…
/base/security/dataclassification/test/unittest/datatransmitmgr/
DDevslinfoListTest.h38 int32_t PushListNode(struct DATASLListParams *list, struct DATASLCallbackParams *callbackParams);
40 void RemoveListNode(struct DATASLListParams *list, struct DATASLCallbackParams *callbackParams);
42 void ClearList(struct DATASLListParams *list);
44 int32_t GetListLength(struct DATASLListParams *list);
50 void LookupCallback(struct DATASLListParams *list, DEVSLQueryParams *queryParams, int32_t result, u…
/base/hiviewdfx/hitrace/test/unittest/hitrace_meter/
Dhitrace_ndk_test.cpp282 MyTrace GetTraceResult(const string& checkContent, const vector<string>& list) in GetTraceResult() argument
285 if (list.empty() || checkContent == "") { in GetTraceResult()
291 for (int i = list.size() - 1; i >= 0; i--) { in GetTraceResult()
292 if (regex_match(list[i], match, pattern)) { in GetTraceResult()
392 vector<string> list; in ReadFile2string() local
397 list.emplace_back(move(line)); in ReadFile2string()
400 return list; in ReadFile2string()
430 vector<string> list = ReadTrace(); variable
431 MyTrace startTrace = GetTraceResult(TRACE_START + "(StartTraceTest001) ", list);
433 MyTrace finishTrace = GetTraceResult(GetFinishTraceRegex(startTrace), list);
[all …]
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/
DLocaleList.java28 private ArrayList<LocaleMaskItem> list = new ArrayList<>(70); field in LocaleList
39 this.list.add(new LocaleMaskItem(next.getKey(), localeConfigs.get(next.getValue()))); in LocaleList()
41 list.sort(null); in LocaleList()
42 for (int i = 0; i < list.size(); ++i) { in LocaleList()
43 LocaleMaskItem item = list.get(i); in LocaleList()
57 for (int i = 0; i < list.size(); i++) { in write()
58 LocaleMaskItem localeMaskItem = list.get(i); in write()
68 for (int i = 0; i < this.list.size(); i++) { in write()
69 LocaleMaskItem localeMaskItem2 = this.list.get(i); in write()
/base/hiviewdfx/hiview/base/include/
Dplugin_config.h31 std::list<std::string> pipelineNameList;
36 std::list<std::string> pluginNameList;
48 const std::list<PluginConfig::PluginInfo>& GetPluginInfoList() const;
49 const std::list<PluginConfig::PipelineInfo>& GetPipelineInfoList() const;
57 std::list<PluginInfo> pluginInfoList_;
58 std::list<PipelineInfo> pipelineInfoList_;
/base/telephony/call_manager/services/call/src/
Dcall_object_manager.cpp24 std::list<sptr<CallBase>> CallObjectManager::callObjectPtrList_;
34 std::list<sptr<CallBase>>::iterator it = callObjectPtrList_.begin(); in ~CallObjectManager()
47 std::list<sptr<CallBase>>::iterator it = callObjectPtrList_.begin(); in AddOneCallObject()
68 std::list<sptr<CallBase>>::iterator it; in DeleteOneCallObject()
100 std::list<sptr<CallBase>>::iterator it = CallObjectManager::callObjectPtrList_.begin(); in GetOneCallObject()
118 std::list<sptr<CallBase>>::iterator it = callObjectPtrList_.begin(); in GetOneCallObject()
132 std::list<sptr<CallBase>>::iterator it; in HasNewCall()
149 std::list<sptr<CallBase>>::iterator it; in IsNewCallAllowedCreate()
164 int32_t CallObjectManager::GetCarrierCallList(std::list<int32_t> &list) in GetCarrierCallList() argument
166 list.clear(); in GetCarrierCallList()
[all …]
/base/telephony/sms_mms/services/include/
Dsms_misc_manager.h55 std::list<gsmCBRangeInfo> GetRangeInfo() const;
73 std::string RangeListToString(const std::list<gsmCBRangeInfo> &rangeList);
75 std::list<int32_t> fairList_;
93 bool SendDataToRil(bool enable, std::list<gsmCBRangeInfo> &list);
95 …uint32_t fromMsgId, uint32_t toMsgId, const std::list<gsmCBRangeInfo>::iterator &oldIter, infoData…
97 …uint32_t fromMsgId, uint32_t toMsgId, const std::list<gsmCBRangeInfo>::iterator &oldIter, infoData…
99 std::list<gsmCBRangeInfo> rangeList_;
104 std::list<gsmCBRangeInfo> oldRangeList_;
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dlist_dumper.cpp48 std::vector<std::string> list; in Execute() local
56 std::transform(abilities.begin(), abilities.end(), std::back_inserter(list), Str16ToStr8); in Execute()
57 std::transform(list.begin(), list.end(), list.begin(), DumpUtils::ConvertSaIdToSaName); in Execute()
60 ConfigUtils::GetSectionNames(ConfigUtils::CONFIG_GROUP_SYSTEM_, list); in Execute()
68 for (size_t i = 0; i < list.size(); i++) { in Execute()
69 std::string showname = list[i] + AppendBlank(list[i]); in Execute()
/base/startup/init/services/include/
Dlist.h78 #define ForEachListEntry(list, node) for (node = (list)->next; node != (list); node = node->next) argument
88 void OH_ListInit(struct ListNode *list);
97 void OH_ListAddTail(struct ListNode *list, struct ListNode *item);
/base/global/i18n/frameworks/intl/src/
Dpreferred_language.cpp158 std::vector<std::string> list; in GetPreferredLanguageList() local
159 Split(preferredLanguageValue, ";", list); in GetPreferredLanguageList()
160 if (!list.size()) { in GetPreferredLanguageList()
162 list.push_back(systemLanguage); in GetPreferredLanguageList()
164 return list; in GetPreferredLanguageList()
166 if (list[0] == systemLanguage || systemLanguage == "") { in GetPreferredLanguageList()
167 return list; in GetPreferredLanguageList()
170 for (size_t i = 0; i < list.size(); i++) { in GetPreferredLanguageList()
171 if (list[i] == systemLanguage) { in GetPreferredLanguageList()
176 list.insert(list.begin(), systemLanguage); in GetPreferredLanguageList()
[all …]
/base/hiviewdfx/hiappevent/
DREADME_zh.md131 …ppEvent_Write(const char* domain, const char* name, enum EventType type, const ParamList list)</td>
138 <li>list:事件参数列表,实质上是一个指向链表头节点的指针——ParamListNode*,列表的每个参数节点由参数名和参数值组成。</li>
149 | OH_HiAppEvent_DestroyParamList(ParamList list) | void | 从头节点开始逐个删除参数列表的各个节点,并释…
150 | OH_HiAppEvent_AddBoolParam(ParamList list, const char* name, bool boolean) | ParamList | 创建一个bool…
151 | OH_HiAppEvent_AddBoolArrayParam(ParamList list, const char* name, const bool* booleans, int arrSi…
152 | OH_HiAppEvent_AddInt8Param(ParamList list, const char* name, int8_t num) | ParamList | 创建一个int8_t…
153 | OH_HiAppEvent_AddInt8ArrayParam(ParamList list, const char* name, const int8_t* nums, int arrSize…
154 | OH_HiAppEvent_AddInt16Param(ParamList list, const char* name, int16_t num) | ParamList | 创建一个int1…
155 | OH_HiAppEvent_AddInt16ArrayParam(ParamList list, const char* name, const int16_t* nums, int arrSi…
156 | OH_HiAppEvent_AddInt32Param(ParamList list, const char* name, int32_t num) | ParamList | 创建一个int3…
[all …]
/base/security/selinux/interfaces/policycoreutils/src/
Dselinux_parameter.c56 void DestroyParamList(ParamContextsList **list) in DestroyParamList() argument
58 if (list == NULL) { in DestroyParamList()
62 ParamContextsList *listHead = *list; in DestroyParamList()
68 *list = NULL; in DestroyParamList()
/base/update/updater/services/script/script_interpreter/
Dscript_function.h29 UScriptStatementList *list) in CreateInstance() argument
31 return new ScriptFunction(identifier, params, list); in CreateInstance()
35 ScriptFunction(std::string& functionName, ScriptParams *params, UScriptStatementList *list) in ScriptFunction() argument
36 : functionName_(functionName), params_(params), statements_(list) in ScriptFunction()

12345678910>>...13