Home
last modified time | relevance | path

Searched refs:lastpos (Results 1 – 15 of 15) sorted by relevance

/external/openssl/crypto/x509/
Dx509_ext.c74 int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos) in X509_CRL_get_ext_by_NID() argument
76 return(X509v3_get_ext_by_NID(x->crl->extensions,nid,lastpos)); in X509_CRL_get_ext_by_NID()
79 int X509_CRL_get_ext_by_OBJ(X509_CRL *x, ASN1_OBJECT *obj, int lastpos) in X509_CRL_get_ext_by_OBJ() argument
81 return(X509v3_get_ext_by_OBJ(x->crl->extensions,obj,lastpos)); in X509_CRL_get_ext_by_OBJ()
84 int X509_CRL_get_ext_by_critical(X509_CRL *x, int crit, int lastpos) in X509_CRL_get_ext_by_critical() argument
86 return(X509v3_get_ext_by_critical(x->crl->extensions,crit,lastpos)); in X509_CRL_get_ext_by_critical()
120 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos) in X509_get_ext_by_NID() argument
122 return(X509v3_get_ext_by_NID(x->cert_info->extensions,nid,lastpos)); in X509_get_ext_by_NID()
125 int X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos) in X509_get_ext_by_OBJ() argument
127 return(X509v3_get_ext_by_OBJ(x->cert_info->extensions,obj,lastpos)); in X509_get_ext_by_OBJ()
[all …]
Dx509_v3.c75 int lastpos) in X509v3_get_ext_by_NID() argument
81 return(X509v3_get_ext_by_OBJ(x,obj,lastpos)); in X509v3_get_ext_by_NID()
85 int lastpos) in X509v3_get_ext_by_OBJ() argument
91 lastpos++; in X509v3_get_ext_by_OBJ()
92 if (lastpos < 0) in X509v3_get_ext_by_OBJ()
93 lastpos=0; in X509v3_get_ext_by_OBJ()
95 for ( ; lastpos < n; lastpos++) in X509v3_get_ext_by_OBJ()
97 ex=sk_X509_EXTENSION_value(sk,lastpos); in X509v3_get_ext_by_OBJ()
99 return(lastpos); in X509v3_get_ext_by_OBJ()
105 int lastpos) in X509v3_get_ext_by_critical() argument
[all …]
Dx509_att.c74 int lastpos) in X509at_get_attr_by_NID() argument
80 return(X509at_get_attr_by_OBJ(x,obj,lastpos)); in X509at_get_attr_by_NID()
84 int lastpos) in X509at_get_attr_by_OBJ() argument
90 lastpos++; in X509at_get_attr_by_OBJ()
91 if (lastpos < 0) in X509at_get_attr_by_OBJ()
92 lastpos=0; in X509at_get_attr_by_OBJ()
94 for ( ; lastpos < n; lastpos++) in X509at_get_attr_by_OBJ()
96 ex=sk_X509_ATTRIBUTE_value(sk,lastpos); in X509at_get_attr_by_OBJ()
98 return(lastpos); in X509at_get_attr_by_OBJ()
196 ASN1_OBJECT *obj, int lastpos, int type) in X509at_get0_data_by_OBJ() argument
[all …]
Dx509name.c98 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos) in X509_NAME_get_index_by_NID() argument
104 return(X509_NAME_get_index_by_OBJ(name,obj,lastpos)); in X509_NAME_get_index_by_NID()
109 int lastpos) in X509_NAME_get_index_by_OBJ() argument
116 if (lastpos < 0) in X509_NAME_get_index_by_OBJ()
117 lastpos= -1; in X509_NAME_get_index_by_OBJ()
120 for (lastpos++; lastpos < n; lastpos++) in X509_NAME_get_index_by_OBJ()
122 ne=sk_X509_NAME_ENTRY_value(sk,lastpos); in X509_NAME_get_index_by_OBJ()
124 return(lastpos); in X509_NAME_get_index_by_OBJ()
Dx509.h1030 int lastpos);
1032 int lastpos);
1101 int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos);
1103 int lastpos);
1130 int nid, int lastpos);
1132 ASN1_OBJECT *obj,int lastpos);
1134 int crit, int lastpos);
1141 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos);
1142 int X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos);
1143 int X509_get_ext_by_critical(X509 *x, int crit, int lastpos);
[all …]
Dx509_req.c272 int lastpos) in X509_REQ_get_attr_by_NID() argument
274 return X509at_get_attr_by_NID(req->req_info->attributes, nid, lastpos); in X509_REQ_get_attr_by_NID()
278 int lastpos) in X509_REQ_get_attr_by_OBJ() argument
280 return X509at_get_attr_by_OBJ(req->req_info->attributes, obj, lastpos); in X509_REQ_get_attr_by_OBJ()
/external/openssl/crypto/ocsp/
Docsp_ext.c81 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos) in OCSP_REQUEST_get_ext_by_NID() argument
83 return(X509v3_get_ext_by_NID(x->tbsRequest->requestExtensions,nid,lastpos)); in OCSP_REQUEST_get_ext_by_NID()
86 int OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, ASN1_OBJECT *obj, int lastpos) in OCSP_REQUEST_get_ext_by_OBJ() argument
88 return(X509v3_get_ext_by_OBJ(x->tbsRequest->requestExtensions,obj,lastpos)); in OCSP_REQUEST_get_ext_by_OBJ()
91 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos) in OCSP_REQUEST_get_ext_by_critical() argument
93 return(X509v3_get_ext_by_critical(x->tbsRequest->requestExtensions,crit,lastpos)); in OCSP_REQUEST_get_ext_by_critical()
129 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos) in OCSP_ONEREQ_get_ext_by_NID() argument
131 return(X509v3_get_ext_by_NID(x->singleRequestExtensions,nid,lastpos)); in OCSP_ONEREQ_get_ext_by_NID()
134 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, ASN1_OBJECT *obj, int lastpos) in OCSP_ONEREQ_get_ext_by_OBJ() argument
136 return(X509v3_get_ext_by_OBJ(x->singleRequestExtensions,obj,lastpos)); in OCSP_ONEREQ_get_ext_by_OBJ()
[all …]
Docsp.h491 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos);
492 int OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, ASN1_OBJECT *obj, int lastpos);
493 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos);
502 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos);
503 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, ASN1_OBJECT *obj, int lastpos);
504 int OCSP_ONEREQ_get_ext_by_critical(OCSP_ONEREQ *x, int crit, int lastpos);
513 int OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos);
514 int OCSP_BASICRESP_get_ext_by_OBJ(OCSP_BASICRESP *x, ASN1_OBJECT *obj, int lastpos);
515 int OCSP_BASICRESP_get_ext_by_critical(OCSP_BASICRESP *x, int crit, int lastpos);
524 int OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos);
[all …]
/external/openssl/crypto/x509v3/
Dv3_lib.c190 int lastpos, i; in X509V3_get_d2i() local
197 if(idx) lastpos = *idx + 1; in X509V3_get_d2i()
198 else lastpos = 0; in X509V3_get_d2i()
199 if(lastpos < 0) lastpos = 0; in X509V3_get_d2i()
200 for(i = lastpos; i < sk_X509_EXTENSION_num(x); i++) in X509V3_get_d2i()
/external/openssl/include/openssl/
Docsp.h491 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos);
492 int OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, ASN1_OBJECT *obj, int lastpos);
493 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos);
502 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos);
503 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, ASN1_OBJECT *obj, int lastpos);
504 int OCSP_ONEREQ_get_ext_by_critical(OCSP_ONEREQ *x, int crit, int lastpos);
513 int OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos);
514 int OCSP_BASICRESP_get_ext_by_OBJ(OCSP_BASICRESP *x, ASN1_OBJECT *obj, int lastpos);
515 int OCSP_BASICRESP_get_ext_by_critical(OCSP_BASICRESP *x, int crit, int lastpos);
524 int OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos);
[all …]
Dx509.h1030 int lastpos);
1032 int lastpos);
1101 int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos);
1103 int lastpos);
1130 int nid, int lastpos);
1132 ASN1_OBJECT *obj,int lastpos);
1134 int crit, int lastpos);
1141 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos);
1142 int X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos);
1143 int X509_get_ext_by_critical(X509 *x, int crit, int lastpos);
[all …]
/external/bsdiff/
Dbsdiff.c203 off_t lastscan,lastpos,lastoffset; in main() local
273 lastscan=0;lastpos=0;lastoffset=0; in main()
296 for(i=0;(lastscan+i<scan)&&(lastpos+i<oldsize);) { in main()
297 if(old[lastpos+i]==new[lastscan+i]) s++; in main()
316 old[lastpos+lenf-overlap+i]) s++; in main()
327 db[dblen+i]=new[lastscan+i]-old[lastpos+i]; in main()
344 offtout((pos-lenb)-(lastpos+lenf),buf); in main()
350 lastpos=pos-lenb; in main()
/external/icu4c/test/intltest/
Dtokiter.cpp19 pos = lastpos = -1; in TokenIterator()
39 lastpos = pos; in next()
Dtokiter.h68 int32_t lastpos; variable
/external/openssl/crypto/evp/
Devp_pkey.c742 int lastpos) in EVP_PKEY_get_attr_by_NID() argument
744 return X509at_get_attr_by_NID(key->attributes, nid, lastpos); in EVP_PKEY_get_attr_by_NID()
748 int lastpos) in EVP_PKEY_get_attr_by_OBJ() argument
750 return X509at_get_attr_by_OBJ(key->attributes, obj, lastpos); in EVP_PKEY_get_attr_by_OBJ()