Lines Matching refs:loc
83 X509_EXTENSION *X509v3_get_ext(const STACK_OF(X509_EXTENSION) *x, int loc) in X509v3_get_ext() argument
85 if (x == NULL || sk_X509_EXTENSION_num(x) <= loc || loc < 0) in X509v3_get_ext()
88 return sk_X509_EXTENSION_value(x, loc); in X509v3_get_ext()
91 X509_EXTENSION *X509v3_delete_ext(STACK_OF(X509_EXTENSION) *x, int loc) in X509v3_delete_ext() argument
95 if (x == NULL || sk_X509_EXTENSION_num(x) <= loc || loc < 0) in X509v3_delete_ext()
97 ret = sk_X509_EXTENSION_delete(x, loc); in X509v3_delete_ext()
102 X509_EXTENSION *ex, int loc) in STACK_OF()
122 if (loc > n) in STACK_OF()
123 loc = n; in STACK_OF()
124 else if (loc < 0) in STACK_OF()
125 loc = n; in STACK_OF()
131 if (!sk_X509_EXTENSION_insert(sk, new_ex, loc)) { in STACK_OF()