Home
last modified time | relevance | path

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

12

/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.h936 int lastpos);
938 int lastpos);
1014 int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos);
1016 int lastpos);
1043 int nid, int lastpos);
1045 ASN1_OBJECT *obj,int lastpos);
1047 int crit, int lastpos);
1054 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos);
1055 int X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos);
1056 int X509_get_ext_by_critical(X509 *x, int crit, int lastpos);
[all …]
Dx509_req.c264 int lastpos) in X509_REQ_get_attr_by_NID() argument
266 return X509at_get_attr_by_NID(req->req_info->attributes, nid, lastpos); in X509_REQ_get_attr_by_NID()
270 int lastpos) in X509_REQ_get_attr_by_OBJ() argument
272 return X509at_get_attr_by_OBJ(req->req_info->attributes, obj, lastpos); in X509_REQ_get_attr_by_OBJ()
/external/chromium_org/third_party/boringssl/src/crypto/x509/
Dx509_ext.c71 int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos) in X509_CRL_get_ext_by_NID() argument
73 return(X509v3_get_ext_by_NID(x->crl->extensions,nid,lastpos)); in X509_CRL_get_ext_by_NID()
76 int X509_CRL_get_ext_by_OBJ(X509_CRL *x, ASN1_OBJECT *obj, int lastpos) in X509_CRL_get_ext_by_OBJ() argument
78 return(X509v3_get_ext_by_OBJ(x->crl->extensions,obj,lastpos)); in X509_CRL_get_ext_by_OBJ()
81 int X509_CRL_get_ext_by_critical(X509_CRL *x, int crit, int lastpos) in X509_CRL_get_ext_by_critical() argument
83 return(X509v3_get_ext_by_critical(x->crl->extensions,crit,lastpos)); in X509_CRL_get_ext_by_critical()
117 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos) in X509_get_ext_by_NID() argument
119 return(X509v3_get_ext_by_NID(x->cert_info->extensions,nid,lastpos)); in X509_get_ext_by_NID()
122 int X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos) in X509_get_ext_by_OBJ() argument
124 return(X509v3_get_ext_by_OBJ(x->cert_info->extensions,obj,lastpos)); in X509_get_ext_by_OBJ()
[all …]
Dx509_v3.c73 int lastpos) in X509v3_get_ext_by_NID() argument
79 return(X509v3_get_ext_by_OBJ(x,obj,lastpos)); in X509v3_get_ext_by_NID()
83 int lastpos) in X509v3_get_ext_by_OBJ() argument
89 lastpos++; in X509v3_get_ext_by_OBJ()
90 if (lastpos < 0) in X509v3_get_ext_by_OBJ()
91 lastpos=0; in X509v3_get_ext_by_OBJ()
93 for ( ; lastpos < n; lastpos++) in X509v3_get_ext_by_OBJ()
95 ex=sk_X509_EXTENSION_value(sk,lastpos); in X509v3_get_ext_by_OBJ()
97 return(lastpos); in X509v3_get_ext_by_OBJ()
103 int lastpos) in X509v3_get_ext_by_critical() argument
[all …]
Dx509_att.c72 int lastpos) in X509at_get_attr_by_NID() argument
78 return(X509at_get_attr_by_OBJ(x,obj,lastpos)); in X509at_get_attr_by_NID()
82 int lastpos) in X509at_get_attr_by_OBJ() argument
88 lastpos++; in X509at_get_attr_by_OBJ()
89 if (lastpos < 0) in X509at_get_attr_by_OBJ()
90 lastpos=0; in X509at_get_attr_by_OBJ()
92 for ( ; lastpos < n; lastpos++) in X509at_get_attr_by_OBJ()
94 ex=sk_X509_ATTRIBUTE_value(sk,lastpos); in X509at_get_attr_by_OBJ()
96 return(lastpos); in X509at_get_attr_by_OBJ()
194 ASN1_OBJECT *obj, int lastpos, int type) in X509at_get0_data_by_OBJ() argument
[all …]
Dx509name.c96 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos) in X509_NAME_get_index_by_NID() argument
102 return(X509_NAME_get_index_by_OBJ(name,obj,lastpos)); in X509_NAME_get_index_by_NID()
107 int lastpos) in X509_NAME_get_index_by_OBJ() argument
114 if (lastpos < 0) in X509_NAME_get_index_by_OBJ()
115 lastpos= -1; in X509_NAME_get_index_by_OBJ()
118 for (lastpos++; lastpos < n; lastpos++) in X509_NAME_get_index_by_OBJ()
120 ne=sk_X509_NAME_ENTRY_value(sk,lastpos); in X509_NAME_get_index_by_OBJ()
122 return(lastpos); in X509_NAME_get_index_by_OBJ()
Dx509_req.c260 int lastpos) in X509_REQ_get_attr_by_NID() argument
262 return X509at_get_attr_by_NID(req->req_info->attributes, nid, lastpos); in X509_REQ_get_attr_by_NID()
266 int lastpos) in X509_REQ_get_attr_by_OBJ() argument
268 return X509at_get_attr_by_OBJ(req->req_info->attributes, obj, lastpos); in X509_REQ_get_attr_by_OBJ()
/external/openssl/crypto/cms/
Dcms_att.c69 int lastpos) in CMS_signed_get_attr_by_NID() argument
71 return X509at_get_attr_by_NID(si->signedAttrs, nid, lastpos); in CMS_signed_get_attr_by_NID()
75 int lastpos) in CMS_signed_get_attr_by_OBJ() argument
77 return X509at_get_attr_by_OBJ(si->signedAttrs, obj, lastpos); in CMS_signed_get_attr_by_OBJ()
124 int lastpos, int type) in CMS_signed_get0_data_by_OBJ() argument
126 return X509at_get0_data_by_OBJ(si->signedAttrs, oid, lastpos, type); in CMS_signed_get0_data_by_OBJ()
135 int lastpos) in CMS_unsigned_get_attr_by_NID() argument
137 return X509at_get_attr_by_NID(si->unsignedAttrs, nid, lastpos); in CMS_unsigned_get_attr_by_NID()
141 int lastpos) in CMS_unsigned_get_attr_by_OBJ() argument
143 return X509at_get_attr_by_OBJ(si->unsignedAttrs, obj, lastpos); in CMS_unsigned_get_attr_by_OBJ()
[all …]
/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.h497 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos);
498 int OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, ASN1_OBJECT *obj, int lastpos);
499 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos);
508 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos);
509 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, ASN1_OBJECT *obj, int lastpos);
510 int OCSP_ONEREQ_get_ext_by_critical(OCSP_ONEREQ *x, int crit, int lastpos);
519 int OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos);
520 int OCSP_BASICRESP_get_ext_by_OBJ(OCSP_BASICRESP *x, ASN1_OBJECT *obj, int lastpos);
521 int OCSP_BASICRESP_get_ext_by_critical(OCSP_BASICRESP *x, int crit, int lastpos);
530 int OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos);
[all …]
/external/openssl/crypto/x509v3/
Dv3_lib.c196 int lastpos, i; in X509V3_get_d2i() local
203 if(idx) lastpos = *idx + 1; in X509V3_get_d2i()
204 else lastpos = 0; in X509V3_get_d2i()
205 if(lastpos < 0) lastpos = 0; in X509V3_get_d2i()
206 for(i = lastpos; i < sk_X509_EXTENSION_num(x); i++) in X509V3_get_d2i()
/external/openssl/include/openssl/
Docsp.h497 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos);
498 int OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, ASN1_OBJECT *obj, int lastpos);
499 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos);
508 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos);
509 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, ASN1_OBJECT *obj, int lastpos);
510 int OCSP_ONEREQ_get_ext_by_critical(OCSP_ONEREQ *x, int crit, int lastpos);
519 int OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos);
520 int OCSP_BASICRESP_get_ext_by_OBJ(OCSP_BASICRESP *x, ASN1_OBJECT *obj, int lastpos);
521 int OCSP_BASICRESP_get_ext_by_critical(OCSP_BASICRESP *x, int crit, int lastpos);
530 int OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos);
[all …]
Dx509.h936 int lastpos);
938 int lastpos);
1014 int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos);
1016 int lastpos);
1043 int nid, int lastpos);
1045 ASN1_OBJECT *obj,int lastpos);
1047 int crit, int lastpos);
1054 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos);
1055 int X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos);
1056 int X509_get_ext_by_critical(X509 *x, int crit, int lastpos);
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/
Dv3_lib.c221 int lastpos; in X509V3_get_d2i() local
229 if(idx) lastpos = *idx + 1; in X509V3_get_d2i()
230 else lastpos = 0; in X509V3_get_d2i()
231 if(lastpos < 0) lastpos = 0; in X509V3_get_d2i()
232 for(i = lastpos; i < sk_X509_EXTENSION_num(x); i++) in X509V3_get_d2i()
/external/openssl/crypto/evp/
Devp_pkey.c190 int lastpos) in EVP_PKEY_get_attr_by_NID() argument
192 return X509at_get_attr_by_NID(key->attributes, nid, lastpos); in EVP_PKEY_get_attr_by_NID()
196 int lastpos) in EVP_PKEY_get_attr_by_OBJ() argument
198 return X509at_get_attr_by_OBJ(key->attributes, obj, lastpos); in EVP_PKEY_get_attr_by_OBJ()
/external/chromium_org/courgette/third_party/
Dbsdiff_create.cc291 int lastscan = 0, lastpos = 0, lastoffset = 0; in CreateBinaryPatch() local
351 for (int i = 0; (lastscan + i < scan) && (lastpos + i < oldsize); ) { in CreateBinaryPatch()
352 if (old[lastpos + i] == newbuf[lastscan + i]) score++; in CreateBinaryPatch()
366 old[lastpos + lenf - overlap + i]) score++; in CreateBinaryPatch()
376 uint8 diff_byte = newbuf[lastscan + i] - old[lastpos + i]; in CreateBinaryPatch()
399 int32 seek_adjustment = ((pos - lenb) - (lastpos + lenf)); in CreateBinaryPatch()
415 lastpos = pos - lenb; // ditto. in CreateBinaryPatch()
416 lastoffset = lastpos - lastscan; in CreateBinaryPatch()
/external/chromium_org/third_party/boringssl/src/include/openssl/
Dx509.h892 int lastpos);
894 int lastpos);
977 OPENSSL_EXPORT int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos);
979 int lastpos);
1006 int nid, int lastpos);
1008 const ASN1_OBJECT *obj,int lastpos);
1010 int crit, int lastpos);
1017 OPENSSL_EXPORT int X509_get_ext_by_NID(X509 *x, int nid, int lastpos);
1018 OPENSSL_EXPORT int X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos);
1019 OPENSSL_EXPORT 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/chromium_org/chrome/installer/mac/third_party/bsdiff/
Dgoobsdiff.c339 off_t lastscan,lastpos,lastoffset; in main() local
417 lastscan=0;lastpos=0;lastoffset=0; in main()
440 for(i=0;(lastscan+i<scan)&&(lastpos+i<oldsize);) { in main()
441 if(old[lastpos+i]==new[lastscan+i]) s++; in main()
460 old[lastpos+lenf-overlap+i]) s++; in main()
471 db[dblen+i]=new[lastscan+i]-old[lastpos+i]; in main()
484 offtout((pos - lenb) - (lastpos + lenf), cb + cblen); in main()
488 lastpos=pos-lenb; in main()
/external/icu/icu4c/source/test/intltest/
Dtokiter.cpp20 pos = lastpos = -1; in TokenIterator()
40 lastpos = pos; in next()
/external/chromium_org/third_party/icu/source/test/intltest/
Dtokiter.cpp20 pos = lastpos = -1; in TokenIterator()
40 lastpos = pos; in next()

12