Lines Matching refs:lastpos
27 int lastpos) in X509at_get_attr_by_NID() argument
33 return X509at_get_attr_by_OBJ(x, obj, lastpos); in X509at_get_attr_by_NID()
37 const ASN1_OBJECT *obj, int lastpos) in X509at_get_attr_by_OBJ() argument
44 lastpos++; in X509at_get_attr_by_OBJ()
45 if (lastpos < 0) in X509at_get_attr_by_OBJ()
46 lastpos = 0; in X509at_get_attr_by_OBJ()
48 for (; lastpos < n; lastpos++) { in X509at_get_attr_by_OBJ()
49 ex = sk_X509_ATTRIBUTE_value(sk, lastpos); in X509at_get_attr_by_OBJ()
51 return lastpos; in X509at_get_attr_by_OBJ()
239 const ASN1_OBJECT *obj, int lastpos, int type) in X509at_get0_data_by_OBJ() argument
241 int i = X509at_get_attr_by_OBJ(x, obj, lastpos); in X509at_get0_data_by_OBJ()
246 if (lastpos <= -2 && X509at_get_attr_by_OBJ(x, obj, i) != -1) in X509at_get0_data_by_OBJ()
249 if (lastpos <= -3 && X509_ATTRIBUTE_count(at) != 1) in X509at_get0_data_by_OBJ()