Searched refs:credList (Results 1 – 8 of 8) sorted by relevance
94 LinkedList *credList = QueryCredentialLimit(&condition); in CheckSpecification() local95 if (credList == NULL) { in CheckSpecification()100 if (credList->getSize(credList) >= maxNumber) { in CheckSpecification()102 DestroyLinkedList(credList); in CheckSpecification()105 DestroyLinkedList(credList); in CheckSpecification()
49 LinkedList *credList = NULL; in GenerateIdmSchedule() local50 if (QueryCredentialFunc(param->userId, param->authType, &credList) != RESULT_SUCCESS) { in GenerateIdmSchedule()56 LinkedListNode *temp = credList->head; in GenerateIdmSchedule()60 DestroyLinkedList(credList); in GenerateIdmSchedule()66 DestroyLinkedList(credList); in GenerateIdmSchedule()77 DestroyLinkedList(credList); in GenerateIdmSchedule()305 LinkedList *credList = QueryCredentialLimit(&condition); in GetDeletedCredential() local306 if (credList == NULL || credList->head == NULL || credList->head->data == NULL) { in GetDeletedCredential()308 DestroyLinkedList(credList); in GetDeletedCredential()311 if (credList->getSize(credList) != MAX_NUMBER_OF_PIN_PER_USER) { in GetDeletedCredential()[all …]
124 LinkedList *credList = QueryCredentialLimit(&condition); in GetAcl() local125 if (credList == NULL || credList->getSize(credList) == 0) { in GetAcl()127 DestroyLinkedList(credList); in GetAcl()131 LinkedListNode *temp = credList->head; in GetAcl()135 DestroyLinkedList(credList); in GetAcl()142 DestroyLinkedList(credList); in GetAcl()
273 IAM_STATIC ResultCode CheckCredentialSize(LinkedList *credList) in CheckCredentialSize() argument275 uint32_t credNum = credList->getSize(credList); in CheckCredentialSize()290 LinkedList *credList = GetAuthCredentialList(context); in QueryAuthTempletaInfo() local291 if (credList == NULL) { in QueryAuthTempletaInfo()295 ResultCode checkResult = CheckCredentialSize(credList); in QueryAuthTempletaInfo()298 DestroyLinkedList(credList); in QueryAuthTempletaInfo()301 templateIds->data = (uint64_t *)Malloc(sizeof(uint64_t) * credList->getSize(credList)); in QueryAuthTempletaInfo()304 DestroyLinkedList(credList); in QueryAuthTempletaInfo()308 LinkedListNode *temp = credList->head; in QueryAuthTempletaInfo()329 DestroyLinkedList(credList); in QueryAuthTempletaInfo()[all …]
314 LinkedList *credList = QueryCredentialLimit(&condition); in IsCredentialIdDuplicate() local315 if (credList == NULL) { in IsCredentialIdDuplicate()319 if (credList->getSize(credList) != 0) { in IsCredentialIdDuplicate()321 DestroyLinkedList(credList); in IsCredentialIdDuplicate()324 DestroyLinkedList(credList); in IsCredentialIdDuplicate()512 LinkedList *credList = QueryCredentialLimit(&condition); in AddCredentialInfo() local513 if (credList == NULL) { in AddCredentialInfo()517 if (credList->getSize(credList) != 0) { in AddCredentialInfo()519 DestroyLinkedList(credList); in AddCredentialInfo()522 DestroyLinkedList(credList); in AddCredentialInfo()[all …]
146 LinkedList *credList = nullptr; in GetCapabilityLevel() local147 int32_t ret = QueryCredentialFunc(userId, info.authType, &credList); in GetCapabilityLevel()152 LinkedListNode *temp = credList->head; in GetCapabilityLevel()156 DestroyLinkedList(credList); in GetCapabilityLevel()166 DestroyLinkedList(credList); in GetCapabilityLevel()692 LinkedList *credList = nullptr; in GetCredential() local693 int32_t ret = QueryCredentialFunc(userId, authType, &credList); in GetCredential()698 infos.reserve(credList->getSize(credList)); in GetCredential()699 LinkedListNode *temp = credList->head; in GetCredential()703 DestroyLinkedList(credList); in GetCredential()[all …]
487 LinkedList *credList = QueryCredentialLimit(&condition); in GetExecutorTemplateList() local488 if (credList == NULL) { in GetExecutorTemplateList()490 DestroyLinkedList(credList); in GetExecutorTemplateList()493 uint32_t credListNum = credList->getSize(credList); in GetExecutorTemplateList()496 DestroyLinkedList(credList); in GetExecutorTemplateList()502 DestroyLinkedList(credList); in GetExecutorTemplateList()508 DestroyLinkedList(credList); in GetExecutorTemplateList()512 LinkedListNode *temp = credList->head; in GetExecutorTemplateList()516 DestroyLinkedList(credList); in GetExecutorTemplateList()526 DestroyLinkedList(credList); in GetExecutorTemplateList()
34 extern ResultCode CheckCredentialSize(LinkedList *credList);134 LinkedList *credList = CreateLinkedList(DestroyCredentialNode); variable135 EXPECT_NE(credList, nullptr);139 credList->insert(credList, static_cast<void *>(&info));141 EXPECT_EQ(CheckCredentialSize(credList), RESULT_EXCEED_LIMIT);