Searched refs:lastpos (Results 1 - 23 of 23) sorted by relevance

/freebsd-11-stable/crypto/openssl/crypto/x509/
H A Dx509_ext.c73 int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos) argument
75 return (X509v3_get_ext_by_NID(x->crl->extensions, nid, lastpos));
78 int X509_CRL_get_ext_by_OBJ(X509_CRL *x, ASN1_OBJECT *obj, int lastpos) argument
80 return (X509v3_get_ext_by_OBJ(x->crl->extensions, obj, lastpos));
83 int X509_CRL_get_ext_by_critical(X509_CRL *x, int crit, int lastpos) argument
85 return (X509v3_get_ext_by_critical(x->crl->extensions, crit, lastpos));
119 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos) argument
121 return (X509v3_get_ext_by_NID(x->cert_info->extensions, nid, lastpos));
124 int X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos) argument
126 return (X509v3_get_ext_by_OBJ(x->cert_info->extensions, obj, lastpos));
129 X509_get_ext_by_critical(X509 *x, int crit, int lastpos) argument
167 X509_REVOKED_get_ext_by_NID(X509_REVOKED *x, int nid, int lastpos) argument
172 X509_REVOKED_get_ext_by_OBJ(X509_REVOKED *x, ASN1_OBJECT *obj, int lastpos) argument
178 X509_REVOKED_get_ext_by_critical(X509_REVOKED *x, int crit, int lastpos) argument
[all...]
H A Dx509_v3.c76 int lastpos)
83 return (X509v3_get_ext_by_OBJ(x, obj, lastpos));
87 ASN1_OBJECT *obj, int lastpos)
94 lastpos++;
95 if (lastpos < 0)
96 lastpos = 0;
98 for (; lastpos < n; lastpos++) {
99 ex = sk_X509_EXTENSION_value(sk, lastpos);
101 return (lastpos);
[all...]
H A Dx509_att.c74 int lastpos)
81 return (X509at_get_attr_by_OBJ(x, obj, lastpos));
85 ASN1_OBJECT *obj, int lastpos)
92 lastpos++;
93 if (lastpos < 0)
94 lastpos = 0;
96 for (; lastpos < n; lastpos++) {
97 ex = sk_X509_ATTRIBUTE_value(sk, lastpos);
99 return (lastpos);
[all...]
H A Dx509name.c102 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos) argument
109 return (X509_NAME_get_index_by_OBJ(name, obj, lastpos));
112 /* NOTE: you should be passsing -1, not 0 as lastpos */
113 int X509_NAME_get_index_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int lastpos) argument
121 if (lastpos < 0)
122 lastpos = -1;
125 for (lastpos++; lastpos < n; lastpos++) {
126 ne = sk_X509_NAME_ENTRY_value(sk, lastpos);
[all...]
H A Dx509_req.c272 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos) argument
274 return X509at_get_attr_by_NID(req->req_info->attributes, nid, lastpos);
278 int lastpos)
280 return X509at_get_attr_by_OBJ(req->req_info->attributes, obj, lastpos);
277 X509_REQ_get_attr_by_OBJ(const X509_REQ *req, ASN1_OBJECT *obj, int lastpos) argument
H A Dx509.h927 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos);
929 int lastpos);
1016 * NOTE: you should be passsing -1, not 0 as lastpos. The functions that use
1017 * lastpos, search after that position on.
1019 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos);
1021 int lastpos);
1054 int nid, int lastpos); variable
1056 ASN1_OBJECT *obj, int lastpos); variable
1058 int crit, int lastpos); variable
1065 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos);
1113 int lastpos); variable
1115 ASN1_OBJECT *obj, int lastpos); variable
1135 int lastpos, int type); variable
[all...]
/freebsd-11-stable/crypto/openssl/crypto/cms/
H A Dcms_att.c69 int CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid, int lastpos) argument
71 return X509at_get_attr_by_NID(si->signedAttrs, nid, lastpos);
75 int lastpos)
77 return X509at_get_attr_by_OBJ(si->signedAttrs, obj, lastpos);
124 int lastpos, int type)
126 return X509at_get0_data_by_OBJ(si->signedAttrs, oid, lastpos, type);
135 int lastpos)
137 return X509at_get_attr_by_NID(si->unsignedAttrs, nid, lastpos);
141 int lastpos)
143 return X509at_get_attr_by_OBJ(si->unsignedAttrs, obj, lastpos);
74 CMS_signed_get_attr_by_OBJ(const CMS_SignerInfo *si, ASN1_OBJECT *obj, int lastpos) argument
123 CMS_signed_get0_data_by_OBJ(CMS_SignerInfo *si, ASN1_OBJECT *oid, int lastpos, int type) argument
134 CMS_unsigned_get_attr_by_NID(const CMS_SignerInfo *si, int nid, int lastpos) argument
140 CMS_unsigned_get_attr_by_OBJ(const CMS_SignerInfo *si, ASN1_OBJECT *obj, int lastpos) argument
191 CMS_unsigned_get0_data_by_OBJ(CMS_SignerInfo *si, ASN1_OBJECT *oid, int lastpos, int type) argument
[all...]
H A Dcms.h292 int lastpos);
294 int lastpos);
308 int lastpos, int type);
312 int lastpos);
314 int lastpos);
328 int lastpos, int type);
/freebsd-11-stable/crypto/openssl/crypto/ocsp/
H A Docsp_ext.c84 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos) argument
87 (x->tbsRequest->requestExtensions, nid, lastpos));
91 int lastpos)
94 (x->tbsRequest->requestExtensions, obj, lastpos));
97 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos) argument
100 (x->tbsRequest->requestExtensions, crit, lastpos));
138 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos) argument
140 return (X509v3_get_ext_by_NID(x->singleRequestExtensions, nid, lastpos));
143 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, ASN1_OBJECT *obj, int lastpos) argument
145 return (X509v3_get_ext_by_OBJ(x->singleRequestExtensions, obj, lastpos));
90 OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, ASN1_OBJECT *obj, int lastpos) argument
148 OCSP_ONEREQ_get_ext_by_critical(OCSP_ONEREQ *x, int crit, int lastpos) argument
188 OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos) argument
194 OCSP_BASICRESP_get_ext_by_OBJ(OCSP_BASICRESP *x, ASN1_OBJECT *obj, int lastpos) argument
201 OCSP_BASICRESP_get_ext_by_critical(OCSP_BASICRESP *x, int crit, int lastpos) argument
245 OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos) argument
250 OCSP_SINGLERESP_get_ext_by_OBJ(OCSP_SINGLERESP *x, ASN1_OBJECT *obj, int lastpos) argument
256 OCSP_SINGLERESP_get_ext_by_critical(OCSP_SINGLERESP *x, int crit, int lastpos) argument
[all...]
H A Docsp.h495 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos);
497 int lastpos);
498 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);
521 int lastpos);
523 int lastpos);
533 int OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos);
[all...]
/freebsd-11-stable/crypto/openssl/crypto/ts/
H A Dts_req_utils.c199 int TS_REQ_get_ext_by_NID(TS_REQ *a, int nid, int lastpos) argument
201 return X509v3_get_ext_by_NID(a->extensions, nid, lastpos);
204 int TS_REQ_get_ext_by_OBJ(TS_REQ *a, ASN1_OBJECT *obj, int lastpos) argument
206 return X509v3_get_ext_by_OBJ(a->extensions, obj, lastpos);
209 int TS_REQ_get_ext_by_critical(TS_REQ *a, int crit, int lastpos) argument
211 return X509v3_get_ext_by_critical(a->extensions, crit, lastpos);
H A Dts_rsp_utils.c363 int TS_TST_INFO_get_ext_by_NID(TS_TST_INFO *a, int nid, int lastpos) argument
365 return X509v3_get_ext_by_NID(a->extensions, nid, lastpos);
368 int TS_TST_INFO_get_ext_by_OBJ(TS_TST_INFO *a, ASN1_OBJECT *obj, int lastpos) argument
370 return X509v3_get_ext_by_OBJ(a->extensions, obj, lastpos);
373 int TS_TST_INFO_get_ext_by_critical(TS_TST_INFO *a, int crit, int lastpos) argument
375 return X509v3_get_ext_by_critical(a->extensions, crit, lastpos);
H A Dts.h388 int TS_REQ_get_ext_by_NID(TS_REQ *a, int nid, int lastpos);
389 int TS_REQ_get_ext_by_OBJ(TS_REQ *a, ASN1_OBJECT *obj, int lastpos);
390 int TS_REQ_get_ext_by_critical(TS_REQ *a, int crit, int lastpos);
449 int TS_TST_INFO_get_ext_by_NID(TS_TST_INFO *a, int nid, int lastpos);
450 int TS_TST_INFO_get_ext_by_OBJ(TS_TST_INFO *a, ASN1_OBJECT *obj, int lastpos);
451 int TS_TST_INFO_get_ext_by_critical(TS_TST_INFO *a, int crit, int lastpos);
/freebsd-11-stable/crypto/openssl/crypto/evp/
H A Devp_pkey.c176 int EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, int lastpos) argument
178 return X509at_get_attr_by_NID(key->attributes, nid, lastpos);
182 int lastpos)
184 return X509at_get_attr_by_OBJ(key->attributes, obj, lastpos);
181 EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, ASN1_OBJECT *obj, int lastpos) argument
/freebsd-11-stable/crypto/openssl/crypto/x509v3/
H A Dv3_lib.c234 int lastpos, i; local
244 lastpos = *idx + 1;
246 lastpos = 0;
247 if (lastpos < 0)
248 lastpos = 0;
249 for (i = lastpos; i < sk_X509_EXTENSION_num(x); i++) {
/freebsd-11-stable/usr.bin/bsdiff/bsdiff/
H A Dbsdiff.c124 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-11-stable/contrib/llvm-project/llvm/lib/Support/
H A Dregengine.inc79 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-11-stable/lib/libc/regex/
H A Dengine.c88 const char **lastpos; /* [nplus+1] */ member in struct:match
232 m->lastpos = NULL;
256 if (m->lastpos != NULL)
257 free((char *)m->lastpos);
292 if (g->nplus > 0 && m->lastpos == NULL)
293 m->lastpos = malloc((g->nplus+1) *
295 if (g->nplus > 0 && m->lastpos == NULL) {
308 assert(g->nplus == 0 || m->lastpos != NULL);
356 if (m->lastpos != NULL)
357 free((char *)m->lastpos);
[all...]
/freebsd-11-stable/contrib/nvi/regex/
H A Dengine.c77 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-11-stable/lib/libfetch/
H A Dcommon.c697 int cnlen, lastpos, loc, ret; local
701 lastpos = -1;
705 while ((lastpos = X509_NAME_get_index_by_NID(subject,
706 NID_commonName, lastpos)) != -1)
707 loc = lastpos;
/freebsd-11-stable/gnu/usr.bin/grep/
H A Ddfa.c1638 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-11-stable/contrib/ntp/ntpd/
H A Drefclock_wwv.c485 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;
/freebsd-11-stable/contrib/groff/src/roff/troff/
H A Denv.cpp2602 hunits lastpos = 0; local
2605 lastpos = tem->pos;
2613 hunits base = lastpos;
2616 lastpos = tem->pos;
2622 assert(lastpos > 0);
2623 base += lastpos;

Completed in 243 milliseconds