Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 14 of 14) sorted by relevance

/base/security/huks/utils/list/
Dhks_double_list.c28 node->prev = node; in InitializeDoubleList()
42 head->next->prev = node; in AddNodeAfterDoubleListHead()
44 node->prev = head; in AddNodeAfterDoubleListHead()
54 if (head->prev == NULL) { in AddNodeAtDoubleListTail()
55 head->prev = head; in AddNodeAtDoubleListTail()
58 head->prev->next = node; in AddNodeAtDoubleListTail()
60 node->prev = head->prev; in AddNodeAtDoubleListTail()
61 head->prev = node; in AddNodeAtDoubleListTail()
71 node->next->prev = node->prev; in RemoveDoubleListNode()
74 if (node->prev != NULL) { in RemoveDoubleListNode()
[all …]
Dhks_double_list.h20 struct DoubleList *prev; member
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_double_list.c28 listNode->prev = listNode; in CmInitList()
42 listHead->next->prev = listNode; in CmAddNodeAfterListHead()
44 listNode->prev = listHead; in CmAddNodeAfterListHead()
54 if (listHead->prev == NULL) { in CmAddNodeAtListTail()
55 listHead->prev = listHead; in CmAddNodeAtListTail()
58 listHead->prev->next = listNode; in CmAddNodeAtListTail()
60 listNode->prev = listHead->prev; in CmAddNodeAtListTail()
61 listHead->prev = listNode; in CmAddNodeAtListTail()
71 listNode->next->prev = listNode->prev; in CmRemoveNodeFromList()
74 if (listNode->prev != NULL) { in CmRemoveNodeFromList()
[all …]
/base/startup/init/services/utils/
Dlist.c35 node->prev = node; in OH_ListInit()
51 item->prev = head->prev; in OH_ListAddTail()
52 head->prev->next = item; in OH_ListAddTail()
53 head->prev = item; in OH_ListAddTail()
68 item->next->prev = item->prev; in OH_ListRemove()
69 item->prev->next = item->next; in OH_ListRemove()
104 item->prev = match->prev; in OH_ListAddWithOrder()
105 match->prev->next = item; in OH_ListAddWithOrder()
106 match->prev = item; in OH_ListAddWithOrder()
162 match = head->prev; in OH_ListTraversal()
[all …]
/base/security/device_security_level/baselib/utils/include/
Dutils_list.h21 struct TagListHead *prev; member
29 item->prev = where; in AddListNode()
31 item->next->prev = item; in AddListNode()
36 AddListNode(item, where->prev); in AddListNodeBefore()
41 item->prev->next = item->next; in RemoveListNode()
42 item->next->prev = item->prev; in RemoveListNode()
53 head->prev = head; in InitListHead()
/base/security/dataclassification/frameworks/datatransmitmgr/
Ddev_slinfo_list.c33 list->prev = list; in InitList()
42 nextListNode->prev = newListNode; in UpdateListNode()
44 newListNode->prev = prevListNode; in UpdateListNode()
57 UpdateListNode(newList, list->prev, list); in PushListNode()
69 pList->prev->next = pList->next; in RemoveListNode()
70 pList->next->prev = pList->prev; in RemoveListNode()
136 tmpCallback->prev->next = tmpCallback->next; in LookupCallback()
137 tmpCallback->next->prev = tmpCallback->prev; in LookupCallback()
/base/startup/init/services/include/
Dlist.h73 struct ListNode *prev; member
76 #define ListEmpty(node) ((node).next == &(node) && (node).prev == &(node))
/base/security/dataclassification/interfaces/innerkits/datatransmitmgr/include/
Ddev_slinfo_list.h29 struct DATASLListParams *prev; member
/base/security/dataclassification/test/unittest/datatransmitmgr/
DDevslinfoListTest.h33 struct DATASLListParams *prev; member
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/include/
Dcert_manager_double_list.h26 struct DoubleList *prev; member
/base/security/access_token/interfaces/innerkits/nativetoken/test/mock/include/
DcJSON.h31 struct cJSON* prev; member
/base/startup/init/ueventd/
Dueventd_read_cfg.c63 .prev = &g_devices,
68 .prev = &g_sysDevices,
73 .prev = &g_firmwares,
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dmbedtls_pkcs7.c734 mbedtls_x509_crt *prev = head; in DelCertOfSignedData() local
737 prev->next = crt->next; in DelCertOfSignedData()
741 prev = head; in DelCertOfSignedData()
749 mbedtls_x509_crt *prev = signer->certPath.crt; in AddCertToSignerCertPath() local
750 mbedtls_x509_crt *cur = prev; in AddCertToSignerCertPath()
751 if (prev == NULL) { in AddCertToSignerCertPath()
756 prev = cur; in AddCertToSignerCertPath()
759 prev->next = crt; in AddCertToSignerCertPath()
/base/hiviewdfx/hilog/services/hilogd/
Dlog_buffer.cpp308 readerPtr->m_pos = std::prev(msgList.end()); in OnPushBackedItem()