Home
last modified time | relevance | path

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

123456789

/third_party/node/deps/openssl/openssl/crypto/x509/
Dx509_ext.c24 int X509_CRL_get_ext_by_NID(const X509_CRL *x, int nid, int lastpos) in X509_CRL_get_ext_by_NID() argument
26 return X509v3_get_ext_by_NID(x->crl.extensions, nid, lastpos); in X509_CRL_get_ext_by_NID()
30 int lastpos) in X509_CRL_get_ext_by_OBJ() argument
32 return X509v3_get_ext_by_OBJ(x->crl.extensions, obj, lastpos); in X509_CRL_get_ext_by_OBJ()
35 int X509_CRL_get_ext_by_critical(const X509_CRL *x, int crit, int lastpos) in X509_CRL_get_ext_by_critical() argument
37 return X509v3_get_ext_by_critical(x->crl.extensions, crit, lastpos); in X509_CRL_get_ext_by_critical()
71 int X509_get_ext_by_NID(const X509 *x, int nid, int lastpos) in X509_get_ext_by_NID() argument
73 return X509v3_get_ext_by_NID(x->cert_info.extensions, nid, lastpos); in X509_get_ext_by_NID()
76 int X509_get_ext_by_OBJ(const X509 *x, const ASN1_OBJECT *obj, int lastpos) in X509_get_ext_by_OBJ() argument
78 return X509v3_get_ext_by_OBJ(x->cert_info.extensions, obj, lastpos); in X509_get_ext_by_OBJ()
[all …]
Dx509_v3.c31 int lastpos) in X509v3_get_ext_by_NID() argument
38 return X509v3_get_ext_by_OBJ(x, obj, lastpos); in X509v3_get_ext_by_NID()
42 const ASN1_OBJECT *obj, int lastpos) in X509v3_get_ext_by_OBJ() argument
49 lastpos++; in X509v3_get_ext_by_OBJ()
50 if (lastpos < 0) in X509v3_get_ext_by_OBJ()
51 lastpos = 0; in X509v3_get_ext_by_OBJ()
53 for (; lastpos < n; lastpos++) { in X509v3_get_ext_by_OBJ()
54 ex = sk_X509_EXTENSION_value(sk, lastpos); in X509v3_get_ext_by_OBJ()
56 return lastpos; in X509v3_get_ext_by_OBJ()
62 int lastpos) in X509v3_get_ext_by_critical() argument
[all …]
Dx509_att.c27 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()
161 const ASN1_OBJECT *obj, int lastpos, int type) in X509at_get0_data_by_OBJ() argument
[all …]
Dx509name.c60 int X509_NAME_get_index_by_NID(const X509_NAME *name, int nid, int lastpos) in X509_NAME_get_index_by_NID() argument
67 return X509_NAME_get_index_by_OBJ(name, obj, lastpos); in X509_NAME_get_index_by_NID()
72 int lastpos) in X509_NAME_get_index_by_OBJ() argument
80 if (lastpos < 0) in X509_NAME_get_index_by_OBJ()
81 lastpos = -1; in X509_NAME_get_index_by_OBJ()
84 for (lastpos++; lastpos < n; lastpos++) { in X509_NAME_get_index_by_OBJ()
85 ne = sk_X509_NAME_ENTRY_value(sk, lastpos); in X509_NAME_get_index_by_OBJ()
87 return lastpos; in X509_NAME_get_index_by_OBJ()
Dv3_lib.c165 int lastpos, i; in X509V3_get_d2i() local
176 lastpos = *idx + 1; in X509V3_get_d2i()
178 lastpos = 0; in X509V3_get_d2i()
179 if (lastpos < 0) in X509V3_get_d2i()
180 lastpos = 0; in X509V3_get_d2i()
181 for (i = lastpos; i < sk_X509_EXTENSION_num(x); i++) { in X509V3_get_d2i()
/third_party/openssl/crypto/x509/
Dx509_ext.c24 int X509_CRL_get_ext_by_NID(const X509_CRL *x, int nid, int lastpos) in X509_CRL_get_ext_by_NID() argument
26 return X509v3_get_ext_by_NID(x->crl.extensions, nid, lastpos); in X509_CRL_get_ext_by_NID()
30 int lastpos) in X509_CRL_get_ext_by_OBJ() argument
32 return X509v3_get_ext_by_OBJ(x->crl.extensions, obj, lastpos); in X509_CRL_get_ext_by_OBJ()
35 int X509_CRL_get_ext_by_critical(const X509_CRL *x, int crit, int lastpos) in X509_CRL_get_ext_by_critical() argument
37 return X509v3_get_ext_by_critical(x->crl.extensions, crit, lastpos); in X509_CRL_get_ext_by_critical()
71 int X509_get_ext_by_NID(const X509 *x, int nid, int lastpos) in X509_get_ext_by_NID() argument
73 return X509v3_get_ext_by_NID(x->cert_info.extensions, nid, lastpos); in X509_get_ext_by_NID()
76 int X509_get_ext_by_OBJ(const X509 *x, const ASN1_OBJECT *obj, int lastpos) in X509_get_ext_by_OBJ() argument
78 return X509v3_get_ext_by_OBJ(x->cert_info.extensions, obj, lastpos); in X509_get_ext_by_OBJ()
[all …]
Dx509_v3.c31 int lastpos) in X509v3_get_ext_by_NID() argument
38 return X509v3_get_ext_by_OBJ(x, obj, lastpos); in X509v3_get_ext_by_NID()
42 const ASN1_OBJECT *obj, int lastpos) in X509v3_get_ext_by_OBJ() argument
49 lastpos++; in X509v3_get_ext_by_OBJ()
50 if (lastpos < 0) in X509v3_get_ext_by_OBJ()
51 lastpos = 0; in X509v3_get_ext_by_OBJ()
53 for (; lastpos < n; lastpos++) { in X509v3_get_ext_by_OBJ()
54 ex = sk_X509_EXTENSION_value(sk, lastpos); in X509v3_get_ext_by_OBJ()
56 return lastpos; in X509v3_get_ext_by_OBJ()
62 int lastpos) in X509v3_get_ext_by_critical() argument
[all …]
Dx509_att.c27 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()
156 const ASN1_OBJECT *obj, int lastpos, int type) in X509at_get0_data_by_OBJ() argument
[all …]
Dx509name.c60 int X509_NAME_get_index_by_NID(const X509_NAME *name, int nid, int lastpos) in X509_NAME_get_index_by_NID() argument
67 return X509_NAME_get_index_by_OBJ(name, obj, lastpos); in X509_NAME_get_index_by_NID()
72 int lastpos) in X509_NAME_get_index_by_OBJ() argument
80 if (lastpos < 0) in X509_NAME_get_index_by_OBJ()
81 lastpos = -1; in X509_NAME_get_index_by_OBJ()
84 for (lastpos++; lastpos < n; lastpos++) { in X509_NAME_get_index_by_OBJ()
85 ne = sk_X509_NAME_ENTRY_value(sk, lastpos); in X509_NAME_get_index_by_OBJ()
87 return lastpos; in X509_NAME_get_index_by_OBJ()
Dv3_lib.c165 int lastpos, i; in X509V3_get_d2i() local
176 lastpos = *idx + 1; in X509V3_get_d2i()
178 lastpos = 0; in X509V3_get_d2i()
179 if (lastpos < 0) in X509V3_get_d2i()
180 lastpos = 0; in X509V3_get_d2i()
181 for (i = lastpos; i < sk_X509_EXTENSION_num(x); i++) { in X509V3_get_d2i()
/third_party/openssl/crypto/cms/
Dcms_att.c74 int CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid, int lastpos) in CMS_signed_get_attr_by_NID() argument
76 return X509at_get_attr_by_NID(si->signedAttrs, nid, lastpos); in CMS_signed_get_attr_by_NID()
80 int lastpos) in CMS_signed_get_attr_by_OBJ() argument
82 return X509at_get_attr_by_OBJ(si->signedAttrs, obj, lastpos); in CMS_signed_get_attr_by_OBJ()
130 int lastpos, int type) in CMS_signed_get0_data_by_OBJ() argument
132 return X509at_get0_data_by_OBJ(si->signedAttrs, oid, lastpos, type); in CMS_signed_get0_data_by_OBJ()
141 int lastpos) in CMS_unsigned_get_attr_by_NID() argument
143 return X509at_get_attr_by_NID(si->unsignedAttrs, nid, lastpos); in CMS_unsigned_get_attr_by_NID()
147 const ASN1_OBJECT *obj, int lastpos) in CMS_unsigned_get_attr_by_OBJ() argument
149 return X509at_get_attr_by_OBJ(si->unsignedAttrs, obj, lastpos); in CMS_unsigned_get_attr_by_OBJ()
[all …]
/third_party/node/deps/openssl/openssl/crypto/cms/
Dcms_att.c74 int CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid, int lastpos) in CMS_signed_get_attr_by_NID() argument
76 return X509at_get_attr_by_NID(si->signedAttrs, nid, lastpos); in CMS_signed_get_attr_by_NID()
80 int lastpos) in CMS_signed_get_attr_by_OBJ() argument
82 return X509at_get_attr_by_OBJ(si->signedAttrs, obj, lastpos); in CMS_signed_get_attr_by_OBJ()
130 int lastpos, int type) in CMS_signed_get0_data_by_OBJ() argument
132 return X509at_get0_data_by_OBJ(si->signedAttrs, oid, lastpos, type); in CMS_signed_get0_data_by_OBJ()
141 int lastpos) in CMS_unsigned_get_attr_by_NID() argument
143 return X509at_get_attr_by_NID(si->unsignedAttrs, nid, lastpos); in CMS_unsigned_get_attr_by_NID()
147 const ASN1_OBJECT *obj, int lastpos) in CMS_unsigned_get_attr_by_OBJ() argument
149 return X509at_get_attr_by_OBJ(si->unsignedAttrs, obj, lastpos); in CMS_unsigned_get_attr_by_OBJ()
[all …]
/third_party/node/deps/openssl/openssl/crypto/ocsp/
Docsp_ext.c28 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos) in OCSP_REQUEST_get_ext_by_NID() argument
31 (x->tbsRequest.requestExtensions, nid, lastpos)); in OCSP_REQUEST_get_ext_by_NID()
35 int lastpos) in OCSP_REQUEST_get_ext_by_OBJ() argument
38 (x->tbsRequest.requestExtensions, obj, lastpos)); in OCSP_REQUEST_get_ext_by_OBJ()
41 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos) in OCSP_REQUEST_get_ext_by_critical() argument
44 (x->tbsRequest.requestExtensions, crit, lastpos)); in OCSP_REQUEST_get_ext_by_critical()
82 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos) in OCSP_ONEREQ_get_ext_by_NID() argument
84 return X509v3_get_ext_by_NID(x->singleRequestExtensions, nid, lastpos); in OCSP_ONEREQ_get_ext_by_NID()
88 int lastpos) in OCSP_ONEREQ_get_ext_by_OBJ() argument
90 return X509v3_get_ext_by_OBJ(x->singleRequestExtensions, obj, lastpos); in OCSP_ONEREQ_get_ext_by_OBJ()
[all …]
/third_party/openssl/crypto/ocsp/
Docsp_ext.c28 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos) in OCSP_REQUEST_get_ext_by_NID() argument
31 (x->tbsRequest.requestExtensions, nid, lastpos)); in OCSP_REQUEST_get_ext_by_NID()
35 int lastpos) in OCSP_REQUEST_get_ext_by_OBJ() argument
38 (x->tbsRequest.requestExtensions, obj, lastpos)); in OCSP_REQUEST_get_ext_by_OBJ()
41 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos) in OCSP_REQUEST_get_ext_by_critical() argument
44 (x->tbsRequest.requestExtensions, crit, lastpos)); in OCSP_REQUEST_get_ext_by_critical()
82 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos) in OCSP_ONEREQ_get_ext_by_NID() argument
84 return X509v3_get_ext_by_NID(x->singleRequestExtensions, nid, lastpos); in OCSP_ONEREQ_get_ext_by_NID()
88 int lastpos) in OCSP_ONEREQ_get_ext_by_OBJ() argument
90 return X509v3_get_ext_by_OBJ(x->singleRequestExtensions, obj, lastpos); in OCSP_ONEREQ_get_ext_by_OBJ()
[all …]
/third_party/openssl/doc/man3/
DX509v3_get_ext_by_NID.pod24 int nid, int lastpos);
26 const ASN1_OBJECT *obj, int lastpos);
28 int crit, int lastpos);
35 int X509_get_ext_by_NID(const X509 *x, int nid, int lastpos);
36 int X509_get_ext_by_OBJ(const X509 *x, const ASN1_OBJECT *obj, int lastpos);
37 int X509_get_ext_by_critical(const X509 *x, int crit, int lastpos);
43 int X509_CRL_get_ext_by_NID(const X509_CRL *x, int nid, int lastpos);
45 int lastpos);
46 int X509_CRL_get_ext_by_critical(const X509_CRL *x, int crit, int lastpos);
52 int X509_REVOKED_get_ext_by_NID(const X509_REVOKED *x, int nid, int lastpos);
[all …]
DX509_NAME_get_index_by_NID.pod13 int X509_NAME_get_index_by_NID(const X509_NAME *name, int nid, int lastpos);
15 const ASN1_OBJECT *obj, int lastpos);
33 the next index matching B<nid> or B<obj> after B<lastpos>. B<lastpos>
102 int lastpos = -1;
106 lastpos = X509_NAME_get_index_by_NID(nm, NID_commonName, lastpos);
107 if (lastpos == -1)
109 e = X509_NAME_get_entry(nm, lastpos);
/third_party/openssl/ohos_lite/include/openssl/
Docsp.h269 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos);
271 int lastpos);
272 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos);
282 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos);
283 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, const ASN1_OBJECT *obj, int lastpos);
284 int OCSP_ONEREQ_get_ext_by_critical(OCSP_ONEREQ *x, int crit, int lastpos);
293 int OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos);
295 int lastpos);
297 int lastpos);
307 int OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos);
[all …]
Dx509.h699 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos);
701 int lastpos);
813 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos);
815 int lastpos);
853 int nid, int lastpos);
855 const ASN1_OBJECT *obj, int lastpos);
857 int crit, int lastpos);
864 int X509_get_ext_by_NID(const X509 *x, int nid, int lastpos);
865 int X509_get_ext_by_OBJ(const X509 *x, const ASN1_OBJECT *obj, int lastpos);
866 int X509_get_ext_by_critical(const X509 *x, int crit, int lastpos);
[all …]
/third_party/node/deps/openssl/openssl/crypto/ts/
Dts_req_utils.c150 int TS_REQ_get_ext_by_NID(TS_REQ *a, int nid, int lastpos) in TS_REQ_get_ext_by_NID() argument
152 return X509v3_get_ext_by_NID(a->extensions, nid, lastpos); in TS_REQ_get_ext_by_NID()
155 int TS_REQ_get_ext_by_OBJ(TS_REQ *a, const ASN1_OBJECT *obj, int lastpos) in TS_REQ_get_ext_by_OBJ() argument
157 return X509v3_get_ext_by_OBJ(a->extensions, obj, lastpos); in TS_REQ_get_ext_by_OBJ()
160 int TS_REQ_get_ext_by_critical(TS_REQ *a, int crit, int lastpos) in TS_REQ_get_ext_by_critical() argument
162 return X509v3_get_ext_by_critical(a->extensions, crit, lastpos); in TS_REQ_get_ext_by_critical()
Dts_rsp_utils.c311 int TS_TST_INFO_get_ext_by_NID(TS_TST_INFO *a, int nid, int lastpos) in TS_TST_INFO_get_ext_by_NID() argument
313 return X509v3_get_ext_by_NID(a->extensions, nid, lastpos); in TS_TST_INFO_get_ext_by_NID()
316 int TS_TST_INFO_get_ext_by_OBJ(TS_TST_INFO *a, const ASN1_OBJECT *obj, int lastpos) in TS_TST_INFO_get_ext_by_OBJ() argument
318 return X509v3_get_ext_by_OBJ(a->extensions, obj, lastpos); in TS_TST_INFO_get_ext_by_OBJ()
321 int TS_TST_INFO_get_ext_by_critical(TS_TST_INFO *a, int crit, int lastpos) in TS_TST_INFO_get_ext_by_critical() argument
323 return X509v3_get_ext_by_critical(a->extensions, crit, lastpos); in TS_TST_INFO_get_ext_by_critical()
/third_party/openssl/crypto/ts/
Dts_req_utils.c150 int TS_REQ_get_ext_by_NID(TS_REQ *a, int nid, int lastpos) in TS_REQ_get_ext_by_NID() argument
152 return X509v3_get_ext_by_NID(a->extensions, nid, lastpos); in TS_REQ_get_ext_by_NID()
155 int TS_REQ_get_ext_by_OBJ(TS_REQ *a, const ASN1_OBJECT *obj, int lastpos) in TS_REQ_get_ext_by_OBJ() argument
157 return X509v3_get_ext_by_OBJ(a->extensions, obj, lastpos); in TS_REQ_get_ext_by_OBJ()
160 int TS_REQ_get_ext_by_critical(TS_REQ *a, int crit, int lastpos) in TS_REQ_get_ext_by_critical() argument
162 return X509v3_get_ext_by_critical(a->extensions, crit, lastpos); in TS_REQ_get_ext_by_critical()
Dts_rsp_utils.c311 int TS_TST_INFO_get_ext_by_NID(TS_TST_INFO *a, int nid, int lastpos) in TS_TST_INFO_get_ext_by_NID() argument
313 return X509v3_get_ext_by_NID(a->extensions, nid, lastpos); in TS_TST_INFO_get_ext_by_NID()
316 int TS_TST_INFO_get_ext_by_OBJ(TS_TST_INFO *a, const ASN1_OBJECT *obj, int lastpos) in TS_TST_INFO_get_ext_by_OBJ() argument
318 return X509v3_get_ext_by_OBJ(a->extensions, obj, lastpos); in TS_TST_INFO_get_ext_by_OBJ()
321 int TS_TST_INFO_get_ext_by_critical(TS_TST_INFO *a, int crit, int lastpos) in TS_TST_INFO_get_ext_by_critical() argument
323 return X509v3_get_ext_by_critical(a->extensions, crit, lastpos); in TS_TST_INFO_get_ext_by_critical()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/data/
DTokenIterator.java39 private int lastpos; field in TokenIterator
52 pos = lastpos = -1; in TokenIterator()
73 lastpos = pos; in next()
98 return reader.describePosition() + ':' + (lastpos+1); in describePosition()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/data/
DTokenIterator.java37 private int lastpos; field in TokenIterator
50 pos = lastpos = -1; in TokenIterator()
71 lastpos = pos; in next()
96 return reader.describePosition() + ':' + (lastpos+1); in describePosition()
/third_party/ffmpeg/libavcodec/
Datrac.c92 int i, pos, lastpos; in ff_atrac_gain_compensation() local
104 lastpos = gc_now->loc_code[i] << gctx->loc_scale; in ff_atrac_gain_compensation()
112 for (; pos < lastpos; pos++) in ff_atrac_gain_compensation()
116 for (; pos < lastpos + gctx->loc_size; pos++) { in ff_atrac_gain_compensation()

123456789