Home
last modified time | relevance | path

Searched defs:item (Results 1 – 25 of 168) sorted by relevance

1234567

/base/security/device_security_level/baselib/utils/include/
Dutils_list.h26 static inline void AddListNode(ListNode *item, ListNode *where) in AddListNode()
34 static inline void AddListNodeBefore(ListNode *item, ListNode *where) in AddListNodeBefore()
39 static inline void RemoveListNode(ListNode *item) in RemoveListNode()
61 #define FOREACH_LIST_NODE(item, head) for ((item) = (head)->next; (item) != (head); (item) = (item)… argument
63 #define FOREACH_LIST_NODE_SAFE(item, head, temp) \ argument
66 #define LIST_ENTRY(item, type, member) ((type *)((char *)(item) - (char *)(&((type *)0)->member))) argument
/base/update/updater/services/fs_manager/
Dmount.cpp49 FstabItem *item = FindFstabItemForPath(*g_fstab, path.c_str()); in GetMountStatusForPath() local
72 for (FstabItem *item = g_fstab->head; item != nullptr; item = item->next) { in LoadFstab() local
89 FstabItem *item = FindFstabItemForPath(*g_fstab, path.c_str()); in UmountForPath() local
113 FstabItem *item = FindFstabItemForPath(*g_fstab, path.c_str()); in MountForPath() local
168 FstabItem *item = FindFstabItemForPath(*g_fstab, path.c_str()); in FormatPartition() local
211 for (const FstabItem *item = g_fstab->head; item != nullptr; item = item->next) { in SetupPartitions() local
245 FstabItem *item = FindFstabItemForMountPoint(*g_fstab, mountPoint.c_str()); in GetBlockDeviceByMountPoint() local
/base/customization/enterprise_device_management/services/edm/src/
Dpermission_manager.cpp30 for (const auto &item : ADMIN_PERMISSIONS) { in AddPermission() local
52 for (const auto &item : permissions) { in GetReqPermission() local
64 for (const auto &item : permissions) { in GetReqPermission() local
Dadmin.cpp28 [&permission](const std::string &item) { return item == permission; }); in CheckPermission()
/base/web/webview/ohos_adapter/audio_adapter/src/
Daudio_renderer_adapter_impl.cpp251 auto item = SAMPLING_RATE_MAP.find(samplingRate); in GetAudioSamplingRate() local
261 auto item = ENCODING_TYPE_MAP.find(encodingType); in GetAudioEncodingType() local
271 auto item = SAMPLE_FORMAT_MAP.find(sampleFormat); in GetAudioSampleFormat() local
281 auto item = AUDIO_CHANNEL_MAP.find(channel); in GetAudioChannel() local
291 auto item = CONTENT_TYPE_MAP.find(contentType); in GetAudioContentType() local
301 auto item = STREAM_USAGE_MAP.find(streamUsage); in GetAudioStreamUsage() local
/base/customization/enterprise_device_management/services/edm/include/
Dipolicy_serializer.h150 DT item = dataObj.at(i); in Serialize() local
177 DT item; in GetPolicy() local
192 for (const auto &item : result) { in WritePolicy() local
207 for (const auto &item : dataItem) { in MergePolicy() local
/base/startup/init/interfaces/innerkits/fs_manager/
Dfstab.c76 static int AddToFstab(Fstab *fstab, FstabItem *item) in AddToFstab()
90 void ReleaseFstabItem(FstabItem *item) in ReleaseFstabItem()
120 FstabItem *item = fstab->head; in ReleaseFstab() local
135 FstabItem *item = NULL; in ParseFstabPerLine() local
258 FstabItem *item = NULL; in FindFstabItemForMountPoint() local
271 FstabItem *item = NULL; in FindFstabItemForPath() local
333 FstabItem *item = FindFstabItemForMountPoint(*fstab, mountPoint); in GetBlockDeviceByMountPoint() local
347 for (FstabItem *item = fstab->head; item != NULL; item = item->next) { in GetBlockDeviceByName() local
531 static int ParseRequiredMountInfo(const char *item, Fstab *fstab) in ParseRequiredMountInfo()
Dfstab_mount.c373 int MountOneItem(FstabItem *item) in MountOneItem()
426 static void AdjustPartitionNameByPartitionSlot(FstabItem *item) in AdjustPartitionNameByPartitionSlot()
441 static int CheckRequiredAndMount(FstabItem *item, bool required) in CheckRequiredAndMount()
475 FstabItem *item = NULL; in MountAllWithFstab() local
530 FstabItem *item = NULL; in UmountAllWithFstabFile() local
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_sorting_map.cpp30 for (auto item : sortingList) { in NotificationSortingMap() local
46 for (auto item : sortings_) { in GetNotificationSorting() local
58 for (auto item : sortingList) { in SetNotificationSorting() local
/base/customization/enterprise_device_management/services/edm/src/utils/
Dfunc_code_utils.cpp93 …return std::any_of(array.begin(), array.end(), [&findItem](const std::string &item) { return item … in ArrayStringContains()
111 for (const std::u16string &item : u16stringArray) { in U16StringToString() local
119 for (const std::string &item : stringArray) { in StringToU16String() local
130 [&it](const std::map<std::string, std::string> &item) { return item == *it; }); in RemovePolicy()
Dmap_string_serializer.cpp55 for (const auto &item : dataObj) { in Serialize() local
97 for (const auto &item : result) { in WritePolicy() local
/base/update/updater/test/unittest/mount_test/
Dfstabapi_unittest.cpp84 FstabItem* item = nullptr; variable
115 FstabItem* item = nullptr; variable
137 struct FstabItem* item = nullptr; variable
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/src/
DcJSON.c77 cJSON_bool cJSON_IsNumber(const cJSON* const item) in cJSON_IsNumber()
96 cJSON_bool cJSON_IsString(const cJSON* const item) in cJSON_IsString()
119 double cJSON_GetNumberValue(const cJSON* const item) in cJSON_GetNumberValue()
249 cJSON_bool cJSON_AddItemToArray(cJSON* array, cJSON* item) in cJSON_AddItemToArray()
272 void cJSON_Delete(cJSON* item) in cJSON_Delete()
291 cJSON_bool cJSON_AddItemToObject(cJSON*object, const char *string, cJSON* item) in cJSON_AddItemToObject()
395 char* cJSON_PrintUnformatted(const cJSON* item) in cJSON_PrintUnformatted()
/base/startup/init/services/utils/
Dlist.c45 void OH_ListAddTail(struct ListNode *head, struct ListNode *item) in OH_ListAddTail()
63 void OH_ListRemove(struct ListNode *item) in OH_ListRemove()
83 void OH_ListAddWithOrder(struct ListNode *head, struct ListNode *item, ListCompareProc compareProc) in OH_ListAddWithOrder()
/base/startup/init/services/modules/bootevent/
Dbootevent.c61 BOOT_EVENT_PARAM_ITEM *item = (BOOT_EVENT_PARAM_ITEM *)node; in BootEventParaListCompareProc() local
70 BOOT_EVENT_PARAM_ITEM *item = (BOOT_EVENT_PARAM_ITEM *)node; in ParseBooteventCompareProc() local
97 BOOT_EVENT_PARAM_ITEM *item = (BOOT_EVENT_PARAM_ITEM *)extData->data; in AddServiceBootEvent() local
123 BOOT_EVENT_PARAM_ITEM *item = calloc(1, sizeof(BOOT_EVENT_PARAM_ITEM)); in AddInitBootEvent() local
167 BOOT_EVENT_PARAM_ITEM *item = (BOOT_EVENT_PARAM_ITEM *)node; in BootEventTraversal() local
290 cJSON *item = cJSON_GetArrayItem(bootEvents, i); in ServiceParseBootEventHook() local
306 BOOT_EVENT_PARAM_ITEM *item = calloc(1, sizeof(BOOT_EVENT_PARAM_ITEM)); in AddCmdBootEvent() local
/base/security/access_token/interfaces/innerkits/nativetoken/src/
Dnativetoken_json_oper.c92 cJSON *item = cJSON_GetArrayItem(strArrJson, i); in GetInfoArrFromJson() local
125 cJSON *item = cJSON_CreateString(strArray[i]); in AddStrArrayInfo() local
143 cJSON *item = cJSON_CreateString(curr->processName); in SetNativeTokenJsonObject() local
215 cJSON *item = cJSON_CreateString(strArr[i]); in UpdateStrArrayType() local
/base/security/device_auth/common_lib/impl/src/
Djson_utils.c127 const char *GetItemKey(const CJson *item) in GetItemKey()
148 cJSON *item = cJSON_GetArrayItem(jsonObj, i); in GetObjFromJson() local
181 cJSON *item = cJSON_GetArrayItem(jsonObj, i); in GetStringFromJson() local
223 cJSON *item = cJSON_GetArrayItem(jsonObj, i); in GetIntFromJson() local
255 cJSON *item = cJSON_GetArrayItem(jsonObj, i); in GetUnsignedIntFromJson() local
291 cJSON *item = cJSON_GetArrayItem(jsonObj, i); in GetBoolFromJson() local
303 char *GetStringValue(const CJson *item) in GetStringValue()
335 int32_t AddObjToArray(CJson *jsonArr, CJson *item) in AddObjToArray()
/base/powermgr/battery_statistics/frameworks/js/napi/src/
Dasync_callback_info.cpp67 …StatsInfos.begin(), nativeStatsInfos.end(), std::back_inserter(statsInfos_), [](const auto& item) { in GetBatteryStatsInfo()
84 for (auto& item : statsInfos_) { in CreateArrayValue() local
Dnapi_error.cpp38 auto item = errorTable_.find(code_); in GetNapiError() local
/base/startup/init/test/unittest/innerkits/
Dinnerkits_unittest.cpp94 FstabItem* item = nullptr; variable
132 FstabItem* item = nullptr; variable
161 struct FstabItem* item = nullptr; variable
/base/telephony/sms_mms/frameworks/native/mms/src/
Dmms_body.cpp171 for (auto item : mmsBodyParts_) { in IsContentLocationPartExist() local
183 for (auto item : mmsBodyParts_) { in IsContentIdPartExist() local
/base/powermgr/power_manager/frameworks/napi/utils/
Dnapi_errors.cpp36 auto item = errorTable_.find(code_); in GetNapiError() local
/base/powermgr/thermal_manager/frameworks/napi/
Dnapi_errors.cpp36 auto item = errorTable_.find(code_); in GetNapiError() local
/base/security/access_token/services/privacymanager/src/common/
Dconstant.cpp74 [opCode](const std::map<std::string, int32_t>::value_type item) { in TransferOpcodeToPermission()
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_data_storage.cpp38 for (auto const &item : allEntries) { in SaveEntries() local

1234567