Lines Matching refs:idx
508 int idx;
525 idx = sk_X509_OBJECT_find_all(h, &stmp, pnmatch);
526 return idx;
539 int idx;
540 idx = X509_OBJECT_idx_by_subject(h, type, name);
541 if (idx == -1)
543 return sk_X509_OBJECT_value(h, idx);
587 int i, idx, cnt;
599 idx = x509_object_idx_cnt(store->objs, X509_LU_X509, nm, &cnt);
600 if (idx < 0) {
618 idx = x509_object_idx_cnt(store->objs, X509_LU_X509, nm, &cnt);
619 if (idx < 0) {
626 for (i = 0; i < cnt; i++, idx++) {
627 obj = sk_X509_OBJECT_value(store->objs, idx);
642 int i, idx, cnt;
662 idx = x509_object_idx_cnt(store->objs, X509_LU_CRL, nm, &cnt);
663 if (idx < 0) {
669 for (i = 0; i < cnt; i++, idx++) {
670 obj = sk_X509_OBJECT_value(store->objs, idx);
691 int idx, i, num;
694 idx = sk_X509_OBJECT_find(h, x);
695 if (idx < 0)
698 return sk_X509_OBJECT_value(h, idx);
699 for (i = idx, num = sk_X509_OBJECT_num(h); i < num; i++) {
730 int i, ok, idx, ret, nmatch = 0;
766 idx = x509_object_idx_cnt(store->objs, X509_LU_X509, xn, &nmatch);
767 if (idx != -1) { /* should be true as we've had at least one match */
769 for (i = idx; i < idx + nmatch; i++) {
962 int X509_STORE_set_ex_data(X509_STORE *ctx, int idx, void *data)
964 return CRYPTO_set_ex_data(&ctx->ex_data, idx, data);
967 void *X509_STORE_get_ex_data(const X509_STORE *ctx, int idx)
969 return CRYPTO_get_ex_data(&ctx->ex_data, idx);