/base/security/device_security_level/baselib/utils/include/ |
D | utils_list.h | 20 struct TagListHead *next; member 28 item->next = where->next; in AddListNode() 30 where->next = item; in AddListNode() 31 item->next->prev = item; in AddListNode() 41 item->prev->next = item->next; in RemoveListNode() 42 item->next->prev = item->prev; in RemoveListNode() 47 return head->next == head; in IsEmptyList() 52 head->next = head; in InitListHead() 61 …e FOREACH_LIST_NODE(item, head) for ((item) = (head)->next; (item) != (head); (item) = (item)->nex… 64 …for ((item) = (head)->next, (temp) = (item)->next; (item) != (head); (item) = (temp), (temp) = (it…
|
/base/security/huks/utils/list/ |
D | hks_double_list.c | 29 node->next = node; in InitializeDoubleList() 38 if (head->next == NULL) { in AddNodeAfterDoubleListHead() 39 head->next = head; in AddNodeAfterDoubleListHead() 42 head->next->prev = node; in AddNodeAfterDoubleListHead() 43 node->next = head->next; in AddNodeAfterDoubleListHead() 45 head->next = node; in AddNodeAfterDoubleListHead() 58 head->prev->next = node; in AddNodeAtDoubleListTail() 59 node->next = head; in AddNodeAtDoubleListTail() 70 if (node->next != NULL) { in RemoveDoubleListNode() 71 node->next->prev = node->prev; in RemoveDoubleListNode() [all …]
|
D | hks_double_list.h | 21 struct DoubleList *next; member 47 …for (p = (head)->next, (st) = (__typeof__(st))p; p != (head); p = p->next, (st) = (__typeof__(st))… 52 for (p = (head)->next, (st) = (__typeof__(st))p, _tmp = *p; p != (head); \ 53 p = _tmp.next, _tmp = *p, (st) = (__typeof__(st))p)
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_double_list.c | 29 listNode->next = listNode; in CmInitList() 38 if (listHead->next == NULL) { in CmAddNodeAfterListHead() 39 listHead->next = listHead; in CmAddNodeAfterListHead() 42 listHead->next->prev = listNode; in CmAddNodeAfterListHead() 43 listNode->next = listHead->next; in CmAddNodeAfterListHead() 45 listHead->next = listNode; in CmAddNodeAfterListHead() 58 listHead->prev->next = listNode; in CmAddNodeAtListTail() 59 listNode->next = listHead; in CmAddNodeAtListTail() 70 if (listNode->next != NULL) { in CmRemoveNodeFromList() 71 listNode->next->prev = listNode->prev; in CmRemoveNodeFromList() [all …]
|
/base/startup/init/services/utils/ |
D | list.c | 34 node->next = node; in OH_ListInit() 50 item->next = head; in OH_ListAddTail() 52 head->prev->next = item; in OH_ListAddTail() 68 item->next->prev = item->prev; in OH_ListRemove() 69 item->prev->next = item->next; in OH_ListRemove() 91 match = head->next; in OH_ListAddWithOrder() 96 match = match->next; in OH_ListAddWithOrder() 103 item->next = match; in OH_ListAddWithOrder() 105 match->prev->next = item; in OH_ListAddWithOrder() 124 match = head->next; in OH_ListFind() [all …]
|
D | init_hashmap.c | 56 node = node->next; in GetHashNodeByNode() 70 node = node->next; in GetHashNodeByKey() 78 INIT_ERROR_CHECK(node != NULL && node->next == NULL, return -1, "Invalid param"); in OH_HashMapAdd() 91 node->next = tab->buckets[hashCode]; in OH_HashMapAdd() 112 tab->buckets[hashCode] = node->next; in OH_HashMapRemove() 114 preNode->next = node->next; in OH_HashMapRemove() 119 node = node->next; in OH_HashMapRemove() 142 HashNode *next = node->next; in HashListFree() local 146 node = next; in HashListFree() 179 HashNode *next = node->next; in OH_HashMapTraverse() local [all …]
|
/base/security/access_token/services/privacymanager/src/record/ |
D | permission_used_record_cache.cpp | 144 persistPendingBufferHead->next; in PersistPendingRecords() 146 auto next = curPendingRecordNode->next; in PersistPendingRecords() local 152 curPendingRecordNode = next; in PersistPendingRecords() 182 curFindDeletePos = recordBufferHead_->next; in RemoveRecords() 185 auto next = curFindDeletePos->next; in RemoveRecords() local 197 curFindDeletePos = next; in RemoveRecords() 218 curFindDeletePos = persistHead->next; in RemoveFromPersistQueueAndDatabase() 220 auto next = curFindDeletePos->next; in RemoveFromPersistQueueAndDatabase() local 224 curFindDeletePos = next; in RemoveFromPersistQueueAndDatabase() 247 curFindPos = recordBufferHead_->next; in GetRecords() [all …]
|
/base/security/dataclassification/frameworks/datatransmitmgr/ |
D | dev_slinfo_list.c | 32 list->next = list; in InitList() 43 newListNode->next = nextListNode; in UpdateListNode() 45 prevListNode->next = newListNode; in UpdateListNode() 66 struct DATASLListParams *pList = list->next; in RemoveListNode() 69 pList->prev->next = pList->next; in RemoveListNode() 70 pList->next->prev = pList->prev; in RemoveListNode() 79 pList = pList->next; in RemoveListNode() 91 struct DATASLListParams *pList = list->next; in ClearList() 94 pList = pList->next; in ClearList() 112 struct DATASLListParams *pList = list->next; in GetListLength() [all …]
|
/base/security/permission_lite/services/pms/src/ |
D | perm_operate.c | 28 cur = cur->next; in PermissionIsGranted() 61 node->next = list->head; in AddTask() 73 list->head = cur->next; in DeleteTask() 75 pre->next = cur->next; in DeleteTask() 82 cur = cur->next; in DeleteTask() 93 cur = cur->next; in GetTaskWithUid() 105 cur = cur->next; in GetTaskWithPkgName()
|
/base/global/i18n_lite/tools/i18n-dat-tool/src/main/java/ohos/global/i18n/ |
D | StringPool.java | 43 for (Map.Entry<String, Integer> next : hashMap.entrySet()) { in StringPool() 44 this.int2StrMap.put(next.getValue(), next.getKey()); in StringPool() 46 if (next.getKey().endsWith(ARABIC_PERCENT)) { in StringPool() 47 lengthMap.put(next.getValue(), next.getKey().getBytes("UTF-8").length + 3); in StringPool() 49 this.lengthMap.put(next.getValue(), next.getKey().getBytes("UTF-8").length); in StringPool()
|
/base/security/huks/services/huks_standard/huks_service/main/core/src/ |
D | hks_storage_file_lock.c | 32 HksStorageFileLock *next; member 67 temp = iter->next; in ClearLockList() 83 iter = iter->next; in FindFileLock() 106 lock->next = NULL; in AllocFileLock() 127 g_lockListFirst->next = NULL; in AppendFileLock() 133 g_lockListLast->next = lock; in AppendFileLock() 135 g_lockListLast->next = NULL; in AppendFileLock() 197 iter = iter->next; in IsLockInList() 219 iter = iter->next; in Release() 225 previous->next = iter->next; in Release() [all …]
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/ |
D | cert_manager_double_list.h | 27 struct DoubleList *next; member 49 …for (p = (head)->next, (st) = (__typeof__(st))p; p != (head); p = p->next, (st) = (__typeof__(st))… 54 for (p = (head)->next, (st) = (__typeof__(st))p, tmp = *p; p != (head); \ 55 p = tmp.next, tmp = *p, (st) = (__typeof__(st))p)
|
/base/security/selinux/interfaces/policycoreutils/src/ |
D | selinux_map.c | 81 root = root->next; in GetHashNodeByNode() 93 root = root->next; in GetHashNodeByKey() 100 if (handle == NULL || !(node != NULL && node->next == NULL)) { in HashMapAdd() 112 node->next = handle->buckets[hashCode]; in HashMapAdd() 132 handle->buckets[hashCode] = node->next; in HashMapRemove() 134 preNode->next = node->next; in HashMapRemove() 139 node = node->next; in HashMapRemove() 159 HashNode *next = node->next; in HashListFree() local 161 node = next; in HashListFree()
|
/base/security/device_auth/frameworks/deviceauth_lite/source/struct/ |
D | key_agreement_version.c | 25 …id split_ver(char *tmp_ver, const char *sub_ver, struct key_agreement_version *cur_ver, char *next) in split_ver() argument 27 sub_ver = strtok_s(tmp_ver, ".", &next); in split_ver() 31 sub_ver = strtok_s(NULL, ".", &next); in split_ver() 35 sub_ver = strtok_s(NULL, ".", &next); in split_ver() 48 char *next = NULL; in parse_version() local 60 split_ver(tmp_cur_ver, sub_cur_ver, min_ver, next); in parse_version() 80 split_ver(tmp_min_ver, sub_min_ver, cur_ver, next); in parse_version()
|
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
D | mbedtls_pkcs7.c | 328 nameList = nameList->next; in GetDeps() 355 first = first->next; in CompareX509NameList() 356 second = second->next; in CompareX509NameList() 419 signers->next = Pkcs7Calloc(1, sizeof(*signers)); in ParseSignedDataSignerInfos() 420 if (signers->next == NULL) { in ParseSignedDataSignerInfos() 424 signers = signers->next; in ParseSignedDataSignerInfos() 470 id->next = Pkcs7Calloc(1, sizeof(DigestAlgId)); in ParseSignedDataDigestAlgs() 471 if (id->next == NULL) { in ParseSignedDataDigestAlgs() 475 id = id->next; in ParseSignedDataDigestAlgs() 640 DigestAlgId *alg = pkcs7->signedData.digestAlgIds.next; in FreeSignedDataDigestAlgs() [all …]
|
/base/startup/init/services/include/ |
D | list.h | 72 struct ListNode *next; member 76 #define ListEmpty(node) ((node).next == &(node) && (node).prev == &(node)) 78 #define ForEachListEntry(list, node) for (node = (list)->next; node != (list); node = node->next)
|
/base/startup/init/test/unittest/init/ |
D | service_socket_unittest.cpp | 54 sockopt->next = nullptr; 59 sockopt->next = service->socketCfg->next; 60 service->socketCfg->next = sockopt;
|
/base/global/i18n/frameworks/intl/src/ |
D | i18n_break_iterator.cpp | 75 int32_t I18nBreakIterator::next(int32_t number) in next() function in OHOS::Global::I18n::I18nBreakIterator 78 return iter->next(number); in next() 83 int32_t I18nBreakIterator::next() in next() function in OHOS::Global::I18n::I18nBreakIterator 86 return iter->next(); in next()
|
/base/startup/init/interfaces/kits/jskits/src/ |
D | native_parameters_watch.cpp | 191 static bool GetFristRefence(ParamWatcherPtr watcher, uint32_t &next) in GetFristRefence() argument 196 next = watcher->callbackReferences.begin()->first; in GetFristRefence() 202 static napi_ref GetWatcherReference(ParamWatcherPtr watcher, uint32_t next) in GetWatcherReference() argument 205 auto iter = watcher->callbackReferences.find(next); in GetWatcherReference() 212 static uint32_t GetNextRefence(ParamWatcherPtr watcher, uint32_t &next) in GetNextRefence() argument 215 auto iter = watcher->callbackReferences.upper_bound(next); in GetNextRefence() 219 next = iter->first; in GetNextRefence() 233 static void DelWatcherCallback(ParamWatcherPtr watcher, uint32_t next) in DelWatcherCallback() argument 235 PARAM_JS_LOGV("JSApp watcher key %s delete callback %u", watcher->keyPrefix, next); in DelWatcherCallback() 237 watcher->callbackReferences.erase(next); in DelWatcherCallback() [all …]
|
/base/startup/syspara_lite/interfaces/kits/js/src/ |
D | native_parameters_watch.cpp | 186 static bool GetFristRefence(ParamWatcherPtr watcher, uint32_t &next) in GetFristRefence() argument 191 next = watcher->callbackReferences.begin()->first; in GetFristRefence() 197 static napi_ref GetWatcherReference(ParamWatcherPtr watcher, uint32_t next) in GetWatcherReference() argument 200 auto iter = watcher->callbackReferences.find(next); in GetWatcherReference() 207 static uint32_t GetNextRefence(ParamWatcherPtr watcher, uint32_t &next) in GetNextRefence() argument 210 auto iter = watcher->callbackReferences.upper_bound(next); in GetNextRefence() 214 next = iter->first; in GetNextRefence() 228 static void DelWatcherCallback(ParamWatcherPtr watcher, uint32_t next) in DelWatcherCallback() argument 230 …:Debug(LABEL, "JSApp watcher key %{public}s delete callback %{public}u", watcher->keyPrefix, next); in DelWatcherCallback() 232 watcher->callbackReferences.erase(next); in DelWatcherCallback() [all …]
|
/base/update/updater/services/diffpatch/bzip2/ |
D | bzip2_adapter.cpp | 56 char *next = reinterpret_cast<char*>(buffer_.data() + offset_ + dataSize_); in WriteData() local 58 stream_.next_out = next; in WriteData() 74 dataSize_ += stream_.next_out - next; in WriteData() 85 char *next = reinterpret_cast<char*>(buffer_.data() + offset_ + dataSize_); in FlushData() local 86 stream_.next_out = next; in FlushData() 91 dataSize_ += stream_.next_out - next; in FlushData() 94 next = reinterpret_cast<char*>(buffer_.data() + offset_ + dataSize_); in FlushData() 95 stream_.next_out = next; in FlushData() 102 dataSize_ += stream_.next_out - next; in FlushData()
|
/base/startup/init/services/init/standard/ |
D | init_cmdexecutor.c | 68 ListNode *node = cmd->cmdExecutor.next; in RemoveCmdExecutor() 76 node = node->next; in RemoveCmdExecutor() 78 if (cmd->cmdExecutor.next != &cmd->cmdExecutor) { in RemoveCmdExecutor() 98 ListNode *node = cmd->cmdExecutor.next; in PluginExecCmd_() 102 node = node->next; in PluginExecCmd_() 128 ListNode *node = cmd->cmdExecutor.next; in PluginExecCmd() 132 node = node->next; in PluginExecCmd()
|
/base/global/i18n/frameworks/intl/include/ |
D | i18n_break_iterator.h | 34 int32_t next(int32_t number); 35 int32_t next();
|
/base/global/i18n/frameworks/intl/test/fuzztest/breakiterator_fuzzer/ |
D | breakiterator_fuzzer.cpp | 38 iterator.next(number); in DoSomethingInterestingWithMyAPI() 39 iterator.next(); in DoSomethingInterestingWithMyAPI()
|
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
D | hks_asn1.c | 130 static int32_t Asn1GetObj(struct HksBlob *next, struct HksAsn1Obj *obj, const struct HksBlob *data) in Asn1GetObj() argument 167 next->data = data->data + obj->header.size + obj->value.size; in Asn1GetObj() 168 next->size = data->size - obj->header.size - obj->value.size; in Asn1GetObj() 172 int32_t HksAsn1ExtractTag(struct HksBlob *next, struct HksAsn1Obj *obj, const struct HksBlob *data, in HksAsn1ExtractTag() argument 175 if ((next == NULL) || (obj == NULL) || (data == NULL) || (data->size < ASN_1_MIN_HEADER_LEN)) { in HksAsn1ExtractTag() 180 int32_t ret = Asn1GetObj(next, obj, data); in HksAsn1ExtractTag()
|