Lines Matching defs:idx
109 int idx;
117 idx = X509_PURPOSE_get_by_id(id);
118 if(idx == -1) return -1;
119 pt = X509_PURPOSE_get0(idx);
139 X509_PURPOSE * X509_PURPOSE_get0(int idx)
141 if(idx < 0) return NULL;
142 if(idx < (int)X509_PURPOSE_COUNT) return xstandard + idx;
143 return sk_X509_PURPOSE_value(xptable, idx - X509_PURPOSE_COUNT);
160 int idx;
165 idx = sk_X509_PURPOSE_find(xptable, &tmp);
166 if(idx == -1) return -1;
167 return idx + X509_PURPOSE_COUNT;
174 int idx;
181 idx = X509_PURPOSE_get_by_id(id);
183 if(idx == -1) {
189 } else ptmp = X509_PURPOSE_get0(idx);
214 if(idx == -1) {