Lines Matching refs:sk
120 STACK_OF(X509_NAME_ENTRY) *sk; in X509_NAME_get_index_by_OBJ()
126 sk = name->entries; in X509_NAME_get_index_by_OBJ()
127 n = sk_X509_NAME_ENTRY_num(sk); in X509_NAME_get_index_by_OBJ()
129 ne = sk_X509_NAME_ENTRY_value(sk, lastpos); in X509_NAME_get_index_by_OBJ()
149 STACK_OF(X509_NAME_ENTRY) *sk; in X509_NAME_delete_entry()
154 sk = name->entries; in X509_NAME_delete_entry()
155 ret = sk_X509_NAME_ENTRY_delete(sk, loc); in X509_NAME_delete_entry()
156 n = sk_X509_NAME_ENTRY_num(sk); in X509_NAME_delete_entry()
163 set_prev = (sk_X509_NAME_ENTRY_value(sk, loc - 1))->set; in X509_NAME_delete_entry()
166 set_next = sk_X509_NAME_ENTRY_value(sk, loc)->set; in X509_NAME_delete_entry()
175 sk_X509_NAME_ENTRY_value(sk, i)->set--; in X509_NAME_delete_entry()
230 STACK_OF(X509_NAME_ENTRY) *sk; in X509_NAME_add_entry()
234 sk = name->entries; in X509_NAME_add_entry()
235 n = sk_X509_NAME_ENTRY_num(sk); in X509_NAME_add_entry()
249 set = sk_X509_NAME_ENTRY_value(sk, loc - 1)->set; in X509_NAME_add_entry()
255 set = sk_X509_NAME_ENTRY_value(sk, loc - 1)->set + 1; in X509_NAME_add_entry()
259 set = sk_X509_NAME_ENTRY_value(sk, loc)->set; in X509_NAME_add_entry()
265 if (!sk_X509_NAME_ENTRY_insert(sk, new_name, loc)) { in X509_NAME_add_entry()
270 n = sk_X509_NAME_ENTRY_num(sk); in X509_NAME_add_entry()
272 sk_X509_NAME_ENTRY_value(sk, i)->set += 1; in X509_NAME_add_entry()