Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/x509/
Dx509_ext.c70 int X509_CRL_get_ext_by_NID(X509_CRL *x, int nid, int lastpos) in X509_CRL_get_ext_by_NID() argument
72 return (X509v3_get_ext_by_NID(x->crl->extensions, nid, lastpos)); in X509_CRL_get_ext_by_NID()
75 int X509_CRL_get_ext_by_OBJ(X509_CRL *x, ASN1_OBJECT *obj, int lastpos) in X509_CRL_get_ext_by_OBJ() argument
77 return (X509v3_get_ext_by_OBJ(x->crl->extensions, obj, lastpos)); in X509_CRL_get_ext_by_OBJ()
80 int X509_CRL_get_ext_by_critical(X509_CRL *x, int crit, int lastpos) in X509_CRL_get_ext_by_critical() argument
82 return (X509v3_get_ext_by_critical(x->crl->extensions, crit, lastpos)); in X509_CRL_get_ext_by_critical()
116 int X509_get_ext_by_NID(X509 *x, int nid, int lastpos) in X509_get_ext_by_NID() argument
118 return (X509v3_get_ext_by_NID(x->cert_info->extensions, nid, lastpos)); in X509_get_ext_by_NID()
121 int X509_get_ext_by_OBJ(X509 *x, ASN1_OBJECT *obj, int lastpos) in X509_get_ext_by_OBJ() argument
123 return (X509v3_get_ext_by_OBJ(x->cert_info->extensions, obj, lastpos)); in X509_get_ext_by_OBJ()
[all …]
Dx509_v3.c73 int lastpos) in X509v3_get_ext_by_NID() argument
80 return (X509v3_get_ext_by_OBJ(x, obj, lastpos)); in X509v3_get_ext_by_NID()
84 const ASN1_OBJECT *obj, int lastpos) in X509v3_get_ext_by_OBJ() argument
91 lastpos++; in X509v3_get_ext_by_OBJ()
92 if (lastpos < 0) in X509v3_get_ext_by_OBJ()
93 lastpos = 0; in X509v3_get_ext_by_OBJ()
95 for (; lastpos < n; lastpos++) { in X509v3_get_ext_by_OBJ()
96 ex = sk_X509_EXTENSION_value(sk, lastpos); in X509v3_get_ext_by_OBJ()
98 return (lastpos); in X509v3_get_ext_by_OBJ()
104 int lastpos) in X509v3_get_ext_by_critical() argument
[all …]
Dx509_att.c71 int lastpos) in X509at_get_attr_by_NID() argument
78 return (X509at_get_attr_by_OBJ(x, obj, lastpos)); in X509at_get_attr_by_NID()
82 const ASN1_OBJECT *obj, int lastpos) in X509at_get_attr_by_OBJ() argument
89 lastpos++; in X509at_get_attr_by_OBJ()
90 if (lastpos < 0) in X509at_get_attr_by_OBJ()
91 lastpos = 0; in X509at_get_attr_by_OBJ()
93 for (; lastpos < n; lastpos++) { in X509at_get_attr_by_OBJ()
94 ex = sk_X509_ATTRIBUTE_value(sk, lastpos); in X509at_get_attr_by_OBJ()
96 return (lastpos); in X509at_get_attr_by_OBJ()
201 ASN1_OBJECT *obj, int lastpos, int type) in X509at_get0_data_by_OBJ() argument
[all …]
Dx509name.c104 int X509_NAME_get_index_by_NID(X509_NAME *name, int nid, int lastpos) in X509_NAME_get_index_by_NID() argument
111 return (X509_NAME_get_index_by_OBJ(name, obj, lastpos)); in X509_NAME_get_index_by_NID()
116 int lastpos) in X509_NAME_get_index_by_OBJ() argument
124 if (lastpos < 0) in X509_NAME_get_index_by_OBJ()
125 lastpos = -1; in X509_NAME_get_index_by_OBJ()
128 for (lastpos++; lastpos < n; lastpos++) { in X509_NAME_get_index_by_OBJ()
129 ne = sk_X509_NAME_ENTRY_value(sk, lastpos); in X509_NAME_get_index_by_OBJ()
131 return (lastpos); in X509_NAME_get_index_by_OBJ()
Dx509_req.c266 int X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos) in X509_REQ_get_attr_by_NID() argument
268 return X509at_get_attr_by_NID(req->req_info->attributes, nid, lastpos); in X509_REQ_get_attr_by_NID()
272 int lastpos) in X509_REQ_get_attr_by_OBJ() argument
274 return X509at_get_attr_by_OBJ(req->req_info->attributes, obj, lastpos); in X509_REQ_get_attr_by_OBJ()
/external/bsdiff/
Dbsdiff.cc70 size_t lastscan,lastpos,lastoffset; in bsdiff() local
99 lastscan=0;lastpos=0;lastoffset=0; in bsdiff()
142 for(i=0;(lastscan+i<scan)&&(lastpos+i<oldsize);) { in bsdiff()
143 if(old_buf[lastpos+i]==new_buf[lastscan+i]) s++; in bsdiff()
162 old_buf[lastpos+lenf-overlap+i]) s++; in bsdiff()
175 (pos - lenb) - (lastpos + lenf)))) in bsdiff()
179 lastpos=pos-lenb; in bsdiff()
/external/python/cpython2/Lib/
Dmultifile.py55 return self.lastpos
65 pos = pos + self.lastpos
69 self.level > 0 and pos > self.lastpos:
106 self.lastpos = self.tell() - len(line)
147 abslastpos = self.lastpos + self.start
153 self.lastpos = abslastpos - self.start
Dtarfile.py1325 lastpos = 0L
1335 if offset > lastpos:
1336 sp.append(_hole(lastpos, offset - lastpos))
1339 lastpos = offset + numbytes
1356 if offset > lastpos:
1357 sp.append(_hole(lastpos, offset - lastpos))
1360 lastpos = offset + numbytes
1364 if lastpos < origsize:
1365 sp.append(_hole(lastpos, origsize - lastpos))
/external/boringssl/src/crypto/x509v3/
Dv3_lib.c236 int lastpos; in X509V3_get_d2i() local
247 lastpos = *idx + 1; in X509V3_get_d2i()
249 lastpos = 0; in X509V3_get_d2i()
250 if (lastpos < 0) in X509V3_get_d2i()
251 lastpos = 0; in X509V3_get_d2i()
252 for (i = lastpos; i < sk_X509_EXTENSION_num(x); i++) { in X509V3_get_d2i()
/external/icu/android_icu4j/src/main/java/android/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()
/external/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()
/external/boringssl/src/include/openssl/
Dx509.h858 int lastpos);
860 int lastpos);
952 OPENSSL_EXPORT int X509_NAME_get_index_by_NID(X509_NAME *name,int nid,int lastpos);
954 int lastpos);
981 int nid, int lastpos);
983 const ASN1_OBJECT *obj,int lastpos);
985 int crit, int lastpos);
992 OPENSSL_EXPORT int X509_get_ext_by_NID(X509 *x, int nid, int lastpos);
993 OPENSSL_EXPORT int X509_get_ext_by_OBJ(X509 *x,ASN1_OBJECT *obj,int lastpos);
994 OPENSSL_EXPORT int X509_get_ext_by_critical(X509 *x, int crit, int lastpos);
[all …]
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dlog.py81 lastpos = _log_file.tell()
82 creator = lastpos == 0
84 _note("trace_event: Opened new tracelog, lastpos=%i", lastpos)
/external/minijail/
Dutil.c252 char *group, *lastpos = constant_str; in parse_constant() local
311 lastpos = end; in parse_constant()
318 lastpos = end; in parse_constant()
325 *endptr = lastpos; in parse_constant()
/external/icu/icu4c/source/test/intltest/
Dtokiter.cpp22 pos = lastpos = -1; in TokenIterator()
42 lastpos = pos; in next()
Dtokiter.h70 int32_t lastpos; variable
/external/eigen/demos/mandelbrot/
Dmandelbrot.cpp177 lastpos = event->pos(); in mousePressEvent()
190 QPoint delta = event->pos() - lastpos; in mouseMoveEvent()
191 lastpos = event->pos(); in mouseMoveEvent()
Dmandelbrot.h43 QPoint lastpos; variable
/external/swiftshader/third_party/LLVM/lib/Support/
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 != NULL);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
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 != NULL);
[all …]
/external/swiftshader/third_party/llvm-subzero/lib/Support/
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 != NULL);
[all …]
/external/llvm/lib/Support/
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 != NULL);
[all …]
/external/python/cpython3/Lib/
Dtarfile.py630 lastpos = 0
633 if offset > lastpos:
634 self.map.append((False, lastpos, offset, None))
637 lastpos = offset + size
638 if lastpos < self.size:
639 self.map.append((False, lastpos, self.size, None))
/external/u-boot/scripts/
Dcheckpatch.pl619 my $lastpos = 0;
624 last if ($lastpos > 0 && ($curpos - length($omatch) != $lastpos));
625 $lastpos = $curpos;
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc9035 static int _X509v3_get_ext_by_OBJ(X509_EXTENSIONS* exts, ASN1_OBJECT* obj, int lastpos) { in _X509v3_get_ext_by_OBJ() argument
9036 return X509v3_get_ext_by_OBJ(exts, obj, lastpos); in _X509v3_get_ext_by_OBJ()