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

/freebsd-10.0-release/crypto/openssl/crypto/x509/
H A Dx509_ext.c74 int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos) argument
76 return(X509v3_get_ext_by_NID(x->crl->extensions,nid,lastpos));
79 int X509_CRL_get_ext_by_OBJ(X509_CRL *x, ASN1_OBJECT *obj, int lastpos) argument
81 return(X509v3_get_ext_by_OBJ(x->crl->extensions,obj,lastpos));
84 int X509_CRL_get_ext_by_critical(X509_CRL *x, int crit, int lastpos) argument
86 return(X509v3_get_ext_by_critical(x->crl->extensions,crit,lastpos));
120 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos) argument
122 return(X509v3_get_ext_by_NID(x->cert_info->extensions,nid,lastpos));
125 int X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos) argument
127 return(X509v3_get_ext_by_OBJ(x->cert_info->extensions,obj,lastpos));
130 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.c75 int lastpos)
81 return(X509v3_get_ext_by_OBJ(x,obj,lastpos));
85 int lastpos)
91 lastpos++;
92 if (lastpos < 0)
93 lastpos=0;
95 for ( ; lastpos < n; lastpos++)
97 ex=sk_X509_EXTENSION_value(sk,lastpos);
99 return(lastpos);
[all...]
H A Dx509_att.c74 int lastpos)
80 return(X509at_get_attr_by_OBJ(x,obj,lastpos));
84 int lastpos)
90 lastpos++;
91 if (lastpos < 0)
92 lastpos=0;
94 for ( ; lastpos < n; lastpos++)
96 ex=sk_X509_ATTRIBUTE_value(sk,lastpos);
98 return(lastpos);
[all...]
H A Dx509name.c98 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos) argument
104 return(X509_NAME_get_index_by_OBJ(name,obj,lastpos));
107 /* NOTE: you should be passsing -1, not 0 as lastpos */
109 int lastpos)
116 if (lastpos < 0)
117 lastpos= -1;
120 for (lastpos++; lastpos < n; lastpos++)
122 ne=sk_X509_NAME_ENTRY_value(sk,lastpos);
108 X509_NAME_get_index_by_OBJ(X509_NAME *name, ASN1_OBJECT *obj, int lastpos) argument
[all...]
H A Dx509.h937 int lastpos);
939 int lastpos);
1013 /* NOTE: you should be passsing -1, not 0 as lastpos. The functions that use
1014 * lastpos, search after that position on. */
1015 int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos);
1017 int lastpos);
1044 int nid, int lastpos); variable
1046 ASN1_OBJECT *obj,int lastpos); variable
1048 int crit, int lastpos); variable
1055 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos);
1101 int lastpos); variable
1103 int lastpos); variable
1118 ASN1_OBJECT *obj, int lastpos, int type); variable
[all...]
H A Dx509_req.c264 int lastpos)
266 return X509at_get_attr_by_NID(req->req_info->attributes, nid, lastpos);
270 int lastpos)
272 return X509at_get_attr_by_OBJ(req->req_info->attributes, obj, lastpos);
263 X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos) argument
269 X509_REQ_get_attr_by_OBJ(const X509_REQ *req, ASN1_OBJECT *obj, int lastpos) argument
/freebsd-10.0-release/crypto/openssl/crypto/cms/
H A Dcms_att.c69 int lastpos)
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);
68 CMS_signed_get_attr_by_NID(const CMS_SignerInfo *si, int nid, int lastpos) argument
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
189 CMS_unsigned_get0_data_by_OBJ(CMS_SignerInfo *si, ASN1_OBJECT *oid, int lastpos, int type) argument
[all...]
H A Dcms.h280 int lastpos);
282 int lastpos);
296 int lastpos, int type);
300 int lastpos);
302 int lastpos);
316 int lastpos, int type);
/freebsd-10.0-release/crypto/openssl/crypto/ocsp/
H A Docsp_ext.c81 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos) argument
83 return(X509v3_get_ext_by_NID(x->tbsRequest->requestExtensions,nid,lastpos));
86 int OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, ASN1_OBJECT *obj, int lastpos) argument
88 return(X509v3_get_ext_by_OBJ(x->tbsRequest->requestExtensions,obj,lastpos));
91 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos) argument
93 return(X509v3_get_ext_by_critical(x->tbsRequest->requestExtensions,crit,lastpos));
129 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos) argument
131 return(X509v3_get_ext_by_NID(x->singleRequestExtensions,nid,lastpos));
134 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, ASN1_OBJECT *obj, int lastpos) argument
136 return(X509v3_get_ext_by_OBJ(x->singleRequestExtensions,obj,lastpos));
139 OCSP_ONEREQ_get_ext_by_critical(OCSP_ONEREQ *x, int crit, int lastpos) argument
177 OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos) argument
182 OCSP_BASICRESP_get_ext_by_OBJ(OCSP_BASICRESP *x, ASN1_OBJECT *obj, int lastpos) argument
187 OCSP_BASICRESP_get_ext_by_critical(OCSP_BASICRESP *x, int crit, int lastpos) argument
225 OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos) argument
230 OCSP_SINGLERESP_get_ext_by_OBJ(OCSP_SINGLERESP *x, ASN1_OBJECT *obj, int lastpos) argument
235 OCSP_SINGLERESP_get_ext_by_critical(OCSP_SINGLERESP *x, int crit, int lastpos) argument
[all...]
H A Docsp.h490 int OCSP_REQUEST_get_ext_by_NID(OCSP_REQUEST *x, int nid, int lastpos);
491 int OCSP_REQUEST_get_ext_by_OBJ(OCSP_REQUEST *x, ASN1_OBJECT *obj, int lastpos);
492 int OCSP_REQUEST_get_ext_by_critical(OCSP_REQUEST *x, int crit, int lastpos);
501 int OCSP_ONEREQ_get_ext_by_NID(OCSP_ONEREQ *x, int nid, int lastpos);
502 int OCSP_ONEREQ_get_ext_by_OBJ(OCSP_ONEREQ *x, ASN1_OBJECT *obj, int lastpos);
503 int OCSP_ONEREQ_get_ext_by_critical(OCSP_ONEREQ *x, int crit, int lastpos);
512 int OCSP_BASICRESP_get_ext_by_NID(OCSP_BASICRESP *x, int nid, int lastpos);
513 int OCSP_BASICRESP_get_ext_by_OBJ(OCSP_BASICRESP *x, ASN1_OBJECT *obj, int lastpos);
514 int OCSP_BASICRESP_get_ext_by_critical(OCSP_BASICRESP *x, int crit, int lastpos);
523 int OCSP_SINGLERESP_get_ext_by_NID(OCSP_SINGLERESP *x, int nid, int lastpos);
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/ts/
H A Dts_req_utils.c201 int TS_REQ_get_ext_by_NID(TS_REQ *a, int nid, int lastpos) argument
203 return X509v3_get_ext_by_NID(a->extensions, nid, lastpos);
206 int TS_REQ_get_ext_by_OBJ(TS_REQ *a, ASN1_OBJECT *obj, int lastpos) argument
208 return X509v3_get_ext_by_OBJ(a->extensions, obj, lastpos);
211 int TS_REQ_get_ext_by_critical(TS_REQ *a, int crit, int lastpos) argument
213 return X509v3_get_ext_by_critical(a->extensions, crit, lastpos);
H A Dts_rsp_utils.c376 int TS_TST_INFO_get_ext_by_NID(TS_TST_INFO *a, int nid, int lastpos) argument
378 return X509v3_get_ext_by_NID(a->extensions, nid, lastpos);
381 int TS_TST_INFO_get_ext_by_OBJ(TS_TST_INFO *a, ASN1_OBJECT *obj, int lastpos) argument
383 return X509v3_get_ext_by_OBJ(a->extensions, obj, lastpos);
386 int TS_TST_INFO_get_ext_by_critical(TS_TST_INFO *a, int crit, int lastpos) argument
388 return X509v3_get_ext_by_critical(a->extensions, crit, lastpos);
H A Dts.h396 int TS_REQ_get_ext_by_NID(TS_REQ *a, int nid, int lastpos);
397 int TS_REQ_get_ext_by_OBJ(TS_REQ *a, ASN1_OBJECT *obj, int lastpos);
398 int TS_REQ_get_ext_by_critical(TS_REQ *a, int crit, int lastpos);
457 int TS_TST_INFO_get_ext_by_NID(TS_TST_INFO *a, int nid, int lastpos);
458 int TS_TST_INFO_get_ext_by_OBJ(TS_TST_INFO *a, ASN1_OBJECT *obj, int lastpos);
459 int TS_TST_INFO_get_ext_by_critical(TS_TST_INFO *a, int crit, int lastpos);
/freebsd-10.0-release/crypto/openssl/crypto/x509v3/
H A Dv3_lib.c196 int lastpos, i; local
203 if(idx) lastpos = *idx + 1;
204 else lastpos = 0;
205 if(lastpos < 0) lastpos = 0;
206 for(i = lastpos; i < sk_X509_EXTENSION_num(x); i++)
/freebsd-10.0-release/crypto/openssl/crypto/evp/
H A Devp_pkey.c190 int lastpos)
192 return X509at_get_attr_by_NID(key->attributes, nid, lastpos);
196 int lastpos)
198 return X509at_get_attr_by_OBJ(key->attributes, obj, lastpos);
189 EVP_PKEY_get_attr_by_NID(const EVP_PKEY *key, int nid, int lastpos) argument
195 EVP_PKEY_get_attr_by_OBJ(const EVP_PKEY *key, ASN1_OBJECT *obj, int lastpos) argument
/freebsd-10.0-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-10.0-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-10.0-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-10.0-release/contrib/nvi/regex/
H A Dengine.c81 const RCHAR_T **lastpos; /* [nplus+1] */ member in struct:match
182 m->lastpos = NULL;
230 if (g->nplus > 0 && m->lastpos == NULL)
231 m->lastpos = (const RCHAR_T **)malloc((g->nplus+1) *
233 if (g->nplus > 0 && m->lastpos == NULL) {
246 assert(g->nplus == 0 || m->lastpos != NULL);
292 if (m->lastpos != NULL)
293 free((char *)m->lastpos);
629 assert(m->lastpos != NULL);
631 m->lastpos[le
[all...]
/freebsd-10.0-release/lib/libfetch/
H A Dcommon.c606 int cnlen, lastpos, loc, ret; local
610 lastpos = -1;
614 while ((lastpos = X509_NAME_get_index_by_NID(subject,
615 NID_commonName, lastpos)) != -1)
616 loc = lastpos;
/freebsd-10.0-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-10.0-release/contrib/ntp/ntpd/
H A Drefclock_wwv.c475 long lastpos; /* last max position */ member in struct:sync
1348 sp->lastpos = sp->pos;
1349 epoch = (sp->pos - sp->lastpos) % MINUTE;
1357 sp->mepoch = sp->lastpos = sp->pos;
1359 sp->lastpos = sp->pos;
/freebsd-10.0-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 210 milliseconds