/freebsd-12-stable/crypto/openssl/crypto/x509/ |
H A D | x509_ext.c | 24 int X509_CRL_get_ext_by_NID(const X509_CRL *x, int nid, int lastpos) argument 26 return X509v3_get_ext_by_NID(x->crl.extensions, nid, lastpos); 30 int lastpos) 32 return X509v3_get_ext_by_OBJ(x->crl.extensions, obj, lastpos); 35 int X509_CRL_get_ext_by_critical(const X509_CRL *x, int crit, int lastpos) argument 37 return X509v3_get_ext_by_critical(x->crl.extensions, crit, lastpos); 71 int X509_get_ext_by_NID(const X509 *x, int nid, int lastpos) argument 73 return X509v3_get_ext_by_NID(x->cert_info.extensions, nid, lastpos); 76 int X509_get_ext_by_OBJ(const X509 *x, const ASN1_OBJECT *obj, int lastpos) argument 78 return X509v3_get_ext_by_OBJ(x->cert_info.extensions, obj, lastpos); 29 X509_CRL_get_ext_by_OBJ(const X509_CRL *x, const ASN1_OBJECT *obj, int lastpos) argument 81 X509_get_ext_by_critical(const X509 *x, int crit, int lastpos) argument 119 X509_REVOKED_get_ext_by_NID(const X509_REVOKED *x, int nid, int lastpos) argument 124 X509_REVOKED_get_ext_by_OBJ(const X509_REVOKED *x, const ASN1_OBJECT *obj, int lastpos) argument 130 X509_REVOKED_get_ext_by_critical(const X509_REVOKED *x, int crit, int lastpos) argument [all...] |
H A D | x509_v3.c | 28 int lastpos) 35 return X509v3_get_ext_by_OBJ(x, obj, lastpos); 39 const ASN1_OBJECT *obj, int lastpos) 46 lastpos++; 47 if (lastpos < 0) 48 lastpos = 0; 50 for (; lastpos < n; lastpos++) { 51 ex = sk_X509_EXTENSION_value(sk, lastpos); 53 return lastpos; [all...] |
H A D | x509_att.c | 26 int lastpos) 32 return X509at_get_attr_by_OBJ(x, obj, lastpos); 36 const ASN1_OBJECT *obj, int lastpos) 43 lastpos++; 44 if (lastpos < 0) 45 lastpos = 0; 47 for (; lastpos < n; lastpos++) { 48 ex = sk_X509_ATTRIBUTE_value(sk, lastpos); 50 return lastpos; [all...] |
H A D | x509name.c | 56 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos) argument 63 return X509_NAME_get_index_by_OBJ(name, obj, lastpos); 66 /* NOTE: you should be passing -1, not 0 as lastpos */ 67 int X509_NAME_get_index_by_OBJ(X509_NAME *name, const ASN1_OBJECT *obj, int lastpos) argument 75 if (lastpos < 0) 76 lastpos = -1; 79 for (lastpos++; lastpos < n; lastpos++) { 80 ne = sk_X509_NAME_ENTRY_value(sk, lastpos); [all...] |
H A D | x509_req.c | 212 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos) argument 214 return X509at_get_attr_by_NID(req->req_info.attributes, nid, lastpos); 218 int lastpos) 220 return X509at_get_attr_by_OBJ(req->req_info.attributes, obj, lastpos); 217 X509_REQ_get_attr_by_OBJ(const X509_REQ *req, const ASN1_OBJECT *obj, int lastpos) argument
|
/freebsd-12-stable/crypto/openssl/crypto/cms/ |
H A D | cms_att.c | 74 int CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid, int lastpos) argument 76 return X509at_get_attr_by_NID(si->signedAttrs, nid, lastpos); 80 int lastpos) 82 return X509at_get_attr_by_OBJ(si->signedAttrs, obj, lastpos); 129 int lastpos, int type) 131 return X509at_get0_data_by_OBJ(si->signedAttrs, oid, lastpos, type); 140 int lastpos) 142 return X509at_get_attr_by_NID(si->unsignedAttrs, nid, lastpos); 146 const ASN1_OBJECT *obj, int lastpos) 148 return X509at_get_attr_by_OBJ(si->unsignedAttrs, obj, lastpos); 79 CMS_signed_get_attr_by_OBJ(const CMS_SignerInfo *si, const ASN1_OBJECT *obj, int lastpos) argument 128 CMS_signed_get0_data_by_OBJ(CMS_SignerInfo *si, const ASN1_OBJECT *oid, int lastpos, int type) argument 139 CMS_unsigned_get_attr_by_NID(const CMS_SignerInfo *si, int nid, int lastpos) argument 145 CMS_unsigned_get_attr_by_OBJ(const CMS_SignerInfo *si, const ASN1_OBJECT *obj, int lastpos) argument 196 CMS_unsigned_get0_data_by_OBJ(CMS_SignerInfo *si, ASN1_OBJECT *oid, int lastpos, int type) argument 208 cms_attrib_get(int nid, const STACK_OF(X509_ATTRIBUTE) *attrs, int *lastpos) argument 228 int lastpos = -1; local [all...] |
/freebsd-12-stable/crypto/openssl/crypto/ocsp/ |
H A D | ocsp_ext.c | 28 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos) argument 31 (x->tbsRequest.requestExtensions, nid, lastpos)); 35 int lastpos) 38 (x->tbsRequest.requestExtensions, obj, lastpos)); 41 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos) argument 44 (x->tbsRequest.requestExtensions, crit, lastpos)); 82 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos) argument 84 return X509v3_get_ext_by_NID(x->singleRequestExtensions, nid, lastpos); 88 int lastpos) 90 return X509v3_get_ext_by_OBJ(x->singleRequestExtensions, obj, lastpos); 34 OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, const ASN1_OBJECT *obj, int lastpos) argument 87 OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, const ASN1_OBJECT *obj, int lastpos) argument 93 OCSP_ONEREQ_get_ext_by_critical(OCSP_ONEREQ *x, int crit, int lastpos) argument 133 OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos) argument 139 OCSP_BASICRESP_get_ext_by_OBJ(OCSP_BASICRESP *x, const ASN1_OBJECT *obj, int lastpos) argument 146 OCSP_BASICRESP_get_ext_by_critical(OCSP_BASICRESP *x, int crit, int lastpos) argument 190 OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos) argument 195 OCSP_SINGLERESP_get_ext_by_OBJ(OCSP_SINGLERESP *x, const ASN1_OBJECT *obj, int lastpos) argument 201 OCSP_SINGLERESP_get_ext_by_critical(OCSP_SINGLERESP *x, int crit, int lastpos) argument [all...] |
/freebsd-12-stable/crypto/openssl/crypto/ts/ |
H A D | ts_req_utils.c | 150 int TS_REQ_get_ext_by_NID(TS_REQ *a, int nid, int lastpos) argument 152 return X509v3_get_ext_by_NID(a->extensions, nid, lastpos); 155 int TS_REQ_get_ext_by_OBJ(TS_REQ *a, const ASN1_OBJECT *obj, int lastpos) argument 157 return X509v3_get_ext_by_OBJ(a->extensions, obj, lastpos); 160 int TS_REQ_get_ext_by_critical(TS_REQ *a, int crit, int lastpos) argument 162 return X509v3_get_ext_by_critical(a->extensions, crit, lastpos);
|
H A D | ts_rsp_utils.c | 311 int TS_TST_INFO_get_ext_by_NID(TS_TST_INFO *a, int nid, int lastpos) argument 313 return X509v3_get_ext_by_NID(a->extensions, nid, lastpos); 316 int TS_TST_INFO_get_ext_by_OBJ(TS_TST_INFO *a, const ASN1_OBJECT *obj, int lastpos) argument 318 return X509v3_get_ext_by_OBJ(a->extensions, obj, lastpos); 321 int TS_TST_INFO_get_ext_by_critical(TS_TST_INFO *a, int crit, int lastpos) argument 323 return X509v3_get_ext_by_critical(a->extensions, crit, lastpos);
|
/freebsd-12-stable/crypto/openssl/crypto/evp/ |
H A D | evp_pkey.c | 96 int EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, int lastpos) argument 98 return X509at_get_attr_by_NID(key->attributes, nid, lastpos); 102 int lastpos) 104 return X509at_get_attr_by_OBJ(key->attributes, obj, lastpos); 101 EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, const ASN1_OBJECT *obj, int lastpos) argument
|
/freebsd-12-stable/crypto/openssl/include/openssl/ |
H A D | ocsp.h | 269 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...] |
H A D | x509.h | 699 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos); 701 int lastpos); 810 * NOTE: you should be passing -1, not 0 as lastpos. The functions that use 811 * lastpos, search after that position on. 813 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos); 815 int lastpos); 853 int nid, int lastpos); variable 855 const ASN1_OBJECT *obj, int lastpos); variable 857 int crit, int lastpos); variable 864 int X509_get_ext_by_NID(const X509 *x, int nid, int lastpos); 915 int lastpos); variable 917 const ASN1_OBJECT *obj, int lastpos); variable 937 const ASN1_OBJECT *obj, int lastpos, int type); variable [all...] |
H A D | cms.h | 249 int lastpos); 251 int lastpos); 265 int lastpos, int type); 269 int lastpos); 271 const ASN1_OBJECT *obj, int lastpos); 285 int lastpos, int type);
|
H A D | ts.h | 212 int TS_REQ_get_ext_by_NID(TS_REQ *a, int nid, int lastpos); 213 int TS_REQ_get_ext_by_OBJ(TS_REQ *a, const ASN1_OBJECT *obj, int lastpos); 214 int TS_REQ_get_ext_by_critical(TS_REQ *a, int crit, int lastpos); 273 int TS_TST_INFO_get_ext_by_NID(TS_TST_INFO *a, int nid, int lastpos); 275 int lastpos); 276 int TS_TST_INFO_get_ext_by_critical(TS_TST_INFO *a, int crit, int lastpos);
|
/freebsd-12-stable/crypto/openssl/crypto/x509v3/ |
H A D | v3_lib.c | 165 int lastpos, i; local 176 lastpos = *idx + 1; 178 lastpos = 0; 179 if (lastpos < 0) 180 lastpos = 0; 181 for (i = lastpos; i < sk_X509_EXTENSION_num(x); i++) {
|
/freebsd-12-stable/sys/kern/ |
H A D | subr_compressor.c | 380 size_t rc, lastpos; local 388 lastpos = s->zst_outbuffer.pos; 396 if (lastpos == s->zst_outbuffer.pos) { 398 __func__, lastpos); 406 lastpos = s->zst_outbuffer.pos; 429 size_t lastpos, rc; local 439 lastpos = 0; 450 if (lastpos == s->zst_inbuffer.pos) { 455 lastpos); 458 lastpos [all...] |
/freebsd-12-stable/usr.bin/bsdiff/bsdiff/ |
H A D | bsdiff.c | 124 off_t lastscan,lastpos,lastoffset; local 209 lastscan=0;lastpos=0;lastoffset=0; 232 for(i=0;(lastscan+i<scan)&&(lastpos+i<oldsize);) { 233 if(old[lastpos+i]==new[lastscan+i]) s++; 252 old[lastpos+lenf-overlap+i]) s++; 263 db[dblen+i]=new[lastscan+i]-old[lastpos+i]; 280 offtout((pos-lenb)-(lastpos+lenf),buf); 286 lastpos=pos-lenb;
|
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | regengine.inc | 79 const char **lastpos; /* [nplus+1] */ 172 m->lastpos = NULL; 188 free((void*)m->lastpos); 222 if (g->nplus > 0 && m->lastpos == NULL) 223 m->lastpos = (const char **)malloc((g->nplus+1) * 225 if (g->nplus > 0 && m->lastpos == NULL) { 238 assert(g->nplus == 0 || m->lastpos != NULL); 285 if (m->lastpos != NULL) 286 free((char *)m->lastpos); 609 assert(m->lastpos ! [all...] |
/freebsd-12-stable/lib/libc/regex/ |
H A D | engine.c | 93 const char **lastpos; /* [nplus+1] */ member in struct:match 275 m->lastpos = NULL; 304 if (m->lastpos != NULL) 305 free((char *)m->lastpos); 340 if (g->nplus > 0 && m->lastpos == NULL) 341 m->lastpos = malloc((g->nplus+1) * 343 if (g->nplus > 0 && m->lastpos == NULL) { 356 assert(g->nplus == 0 || m->lastpos != NULL); 404 if (m->lastpos != NULL) 405 free((char *)m->lastpos); [all...] |
/freebsd-12-stable/contrib/nvi/regex/ |
H A D | engine.c | 77 const RCHAR_T **lastpos; /* [nplus+1] */ member in struct:match 172 m->lastpos = NULL; 220 if (g->nplus > 0 && m->lastpos == NULL) 221 m->lastpos = (const RCHAR_T **)malloc((g->nplus+1) * 223 if (g->nplus > 0 && m->lastpos == NULL) { 236 assert(g->nplus == 0 || m->lastpos != NULL); 282 if (m->lastpos != NULL) 283 free((char *)m->lastpos); 606 assert(m->lastpos != NULL); 608 m->lastpos[le [all...] |
/freebsd-12-stable/lib/libfetch/ |
H A D | common.c | 703 int cnlen, lastpos, loc, ret; local 707 lastpos = -1; 711 while ((lastpos = X509_NAME_get_index_by_NID(subject, 712 NID_commonName, lastpos)) != -1) 713 loc = lastpos;
|
/freebsd-12-stable/gnu/usr.bin/grep/ |
H A D | dfa.c | 1638 Lastpos: The lastpos of a node is the set of positions that could 1641 * EMPTY leaves have empty lastpos. 1642 * The lastpos of a nonempty leaf is that leaf itself. 1643 * The lastpos of a QMARK, STAR, or PLUS node is the lastpos of its 1645 * The lastpos of a CAT node is the lastpos of its right argument, union 1646 the lastpos of the left if the right argument is nullable. 1647 * The lastpos of an OR node is the union of the lastpos o 1673 position *lastpos; /* Array where lastpos elements are stored. */ local [all...] |
/freebsd-12-stable/contrib/ntp/ntpd/ |
H A D | refclock_wwv.c | 485 long lastpos; /* last max position */ member in struct:sync 1335 sp->lastpos = sp->pos; 1336 epoch = (sp->pos - sp->lastpos) % WWV_MIN; 1344 sp->mepoch = sp->lastpos = sp->pos; 1346 sp->lastpos = sp->pos;
|