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

/freebsd-9.3-release/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.c285 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos) argument
287 return X509at_get_attr_by_NID(req->req_info->attributes, nid, lastpos);
291 int lastpos)
293 return X509at_get_attr_by_OBJ(req->req_info->attributes, obj, lastpos);
290 X509_REQ_get_attr_by_OBJ(const X509_REQ *req, ASN1_OBJECT *obj, int lastpos) argument
H A Dx509.h1011 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos);
1013 int lastpos);
1085 * NOTE: you should be passsing -1, not 0 as lastpos. The functions that use
1086 * lastpos, search after that position on.
1088 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos);
1090 int lastpos);
1123 int nid, int lastpos); variable
1125 ASN1_OBJECT *obj, int lastpos); variable
1127 int crit, int lastpos); variable
1134 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos);
1182 int lastpos); variable
1184 ASN1_OBJECT *obj, int lastpos); variable
1204 int lastpos, int type); variable
[all...]
/freebsd-9.3-release/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.h262 int lastpos);
264 int lastpos);
278 int lastpos, int type);
282 int lastpos);
284 int lastpos);
298 int lastpos, int type);
/freebsd-9.3-release/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.h485 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos);
487 int lastpos);
488 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos);
498 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos);
499 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, ASN1_OBJECT *obj, int lastpos);
500 int OCSP_ONEREQ_get_ext_by_critical(OCSP_ONEREQ *x, int crit, int lastpos);
509 int OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos);
511 int lastpos);
513 int lastpos);
523 int OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos);
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/x509v3/
H A Dv3_lib.c210 int lastpos, i; local
220 lastpos = *idx + 1;
222 lastpos = 0;
223 if (lastpos < 0)
224 lastpos = 0;
225 for (i = lastpos; i < sk_X509_EXTENSION_num(x); i++) {
/freebsd-9.3-release/contrib/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-9.3-release/usr.bin/bsdiff/bsdiff/
H A Dbsdiff.c206 off_t lastscan,lastpos,lastoffset; local
276 lastscan=0;lastpos=0;lastoffset=0;
299 for(i=0;(lastscan+i<scan)&&(lastpos+i<oldsize);) {
300 if(old[lastpos+i]==new[lastscan+i]) s++;
319 old[lastpos+lenf-overlap+i]) s++;
330 db[dblen+i]=new[lastscan+i]-old[lastpos+i];
347 offtout((pos-lenb)-(lastpos+lenf),buf);
353 lastpos=pos-lenb;
/freebsd-9.3-release/lib/libc/regex/
H A Dengine.c89 const char **lastpos; /* [nplus+1] */ member in struct:match
234 m->lastpos = NULL;
258 if (m->lastpos != NULL)
259 free((char *)m->lastpos);
294 if (g->nplus > 0 && m->lastpos == NULL)
295 m->lastpos = malloc((g->nplus+1) *
297 if (g->nplus > 0 && m->lastpos == NULL) {
310 assert(g->nplus == 0 || m->lastpos != NULL);
358 if (m->lastpos != NULL)
359 free((char *)m->lastpos);
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/evp/
H A Devp_pkey.c729 int EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, int lastpos) argument
731 return X509at_get_attr_by_NID(key->attributes, nid, lastpos);
735 int lastpos)
737 return X509at_get_attr_by_OBJ(key->attributes, obj, lastpos);
734 EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, ASN1_OBJECT *obj, int lastpos) argument
/freebsd-9.3-release/lib/libfetch/
H A Dcommon.c607 int cnlen, lastpos, loc, ret; local
611 lastpos = -1;
615 while ((lastpos = X509_NAME_get_index_by_NID(subject,
616 NID_commonName, lastpos)) != -1)
617 loc = lastpos;
/freebsd-9.3-release/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-9.3-release/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-9.3-release/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 215 milliseconds