Lines Matching refs:next

362         a = a->next;
363 b = b->next;
800 /* Allocate and assign next pointer */
802 if (cur->next != NULL) {
806 cur->next = mbedtls_calloc(1, sizeof(mbedtls_asn1_sequence));
808 if (cur->next == NULL) {
813 cur = cur->next;
845 /* Set final sequence entry's next pointer to NULL */
846 cur->next = NULL;
1328 while (crt->version != 0 && crt->next != NULL) {
1330 crt = crt->next;
1336 if (crt->version != 0 && crt->next == NULL) {
1337 crt->next = mbedtls_calloc(1, sizeof(mbedtls_x509_crt));
1339 if (crt->next == NULL) {
1344 mbedtls_x509_crt_init(crt->next);
1345 crt = crt->next;
1351 prev->next = NULL;
1706 cur = cur->next;
1735 cur = cur->next;
1968 for (cur = &crt->ext_key_usage; cur != NULL; cur = cur->next) {
1998 cur = cur->next;
2029 crl_list = crl_list->next;
2112 crl_list = crl_list->next;
2288 for (parent = candidates; parent != NULL; parent = parent->next) {
2400 search_list = *parent_is_trusted ? trust_ca : child->next;
2453 for (cur = trust_ca; cur != NULL; cur = cur->next) {
2470 * such that every cert in the chain is a child of the next one,
2678 /* prepare for next iteration */
2911 for (const mbedtls_x509_sequence *cur = san; cur != NULL; cur = cur->next) {
2926 for (const mbedtls_x509_sequence *cur = san; cur != NULL; cur = cur->next) {
2947 for (const mbedtls_x509_sequence *cur = san; cur != NULL; cur = cur->next) {
2994 for (name = &crt->subject; name != NULL; name = name->next) {
3239 mbedtls_asn1_free_named_data_list_shallow(cert_cur->issuer.next);
3240 mbedtls_asn1_free_named_data_list_shallow(cert_cur->subject.next);
3241 mbedtls_asn1_sequence_free(cert_cur->ext_key_usage.next);
3242 mbedtls_asn1_sequence_free(cert_cur->subject_alt_names.next);
3243 mbedtls_asn1_sequence_free(cert_cur->certificate_policies.next);
3244 mbedtls_asn1_sequence_free(cert_cur->authority_key_id.authorityCertIssuer.next);
3251 cert_cur = cert_cur->next;