Home
last modified time | relevance | path

Searched refs:newpos (Results 1 – 11 of 11) sorted by relevance

/external/bsdiff/
Dbspatch.cc177 uint64_t newpos = 0; in bspatch() local
179 while (newpos < newsize) { in bspatch()
194 if (newpos + ctrl[0] > newsize) in bspatch()
198 lenread = BZ2_bzRead(&dbz2err, dpfbz2, new_buf + newpos, ctrl[0]); in bspatch()
205 j = newpos; in bspatch()
232 newpos += ctrl[0]; in bspatch()
236 if (newpos + ctrl[1] > newsize) in bspatch()
240 lenread = BZ2_bzRead(&ebz2err, epfbz2, new_buf + newpos, ctrl[1]); in bspatch()
246 newpos += ctrl[1]; in bspatch()
Dfile.cc72 off_t newpos = lseek(fd_, pos, SEEK_SET); in Seek() local
73 if (newpos < 0) in Seek()
75 if (newpos != pos) { in Seek()
/external/libcxx/src/
Dstrstream.cpp270 char* newpos = eback() + newoff; in seekoff() local
272 setg(eback(), newpos, _VSTD::max(newpos, egptr())); in seekoff()
276 __off = epptr() - newpos; in seekoff()
277 setp(min(pbase(), newpos), epptr()); in seekoff()
300 char* newpos = eback() + newoff; in seekpos() local
302 setg(eback(), newpos, _VSTD::max(newpos, egptr())); in seekpos()
306 off_type temp = epptr() - newpos; in seekpos()
307 setp(min(pbase(), newpos), epptr()); in seekpos()
/external/fonttools/Lib/fontTools/ttLib/tables/
DotBase.py140 newpos = pos + 2
141 value, = struct.unpack(">H", self.data[pos:newpos])
142 self.pos = newpos
147 newpos = pos + 2
148 value, = struct.unpack(">h", self.data[pos:newpos])
149 self.pos = newpos
154 newpos = pos + 4
155 value, = struct.unpack(">l", self.data[pos:newpos])
156 self.pos = newpos
161 newpos = pos + 3
[all …]
/external/opencv3/3rdparty/libjasper/
Djas_stream.c651 long newpos; in jas_stream_seek() local
673 if ((newpos = (*stream->ops_->seek_)(stream->obj_, offset, origin)) in jas_stream_seek()
678 return newpos; in jas_stream_seek()
1018 long newpos; in mem_write() local
1020 newpos = m->pos_ + cnt; in mem_write()
1021 if (newpos > m->bufsize_ && m->growable_) { in mem_write()
1023 while (newbufsize < newpos) { in mem_write()
1060 long newpos; in mem_seek() local
1064 newpos = offset; in mem_seek()
1067 newpos = m->len_ - offset; in mem_seek()
[all …]
/external/opencv/cv/src/
D_cvlist.h291 CVPOS newpos;\
302 newpos.m_pos = element;\
303 return newpos;\
309 CVPOS newpos;\
320 newpos.m_pos = element;\
321 return newpos;\
/external/eigen/Eigen/src/IterativeLinearSolvers/
DIncompleteLUT.h368 Index newpos; in factorize() local
371 newpos = ii + sizeu; in factorize()
377 newpos = sizel; in factorize()
381 ju(newpos) = j; in factorize()
382 u(newpos) = -prod; in factorize()
383 jr(j) = newpos; in factorize()
/external/icu/icu4c/source/tools/genrb/
Dreslist.cpp502 return map[start].newpos; in mapKey()
1326 return compareInt32(((const KeyMapEntry *)l)->newpos, ((const KeyMapEntry *)r)->newpos); in compareKeyNewpos()
1352 map[i].newpos = 0; in compactKeys()
1359 map[i].newpos = 0; in compactKeys()
1381 map[i].newpos = map[i].oldpos; in compactKeys()
1403 map[j].newpos = map[i].oldpos + offset; /* yes, point to the earlier key */ in compactKeys()
1420 int32_t oldpos, newpos, limit; in compactKeys() local
1421 oldpos = newpos = fKeysBottom; in compactKeys()
1424 for (i = 0; i < keysCount && map[i].newpos < 0; ++i) {} in compactKeys()
1431 while (i < keysCount && map[i].newpos == oldpos) { in compactKeys()
[all …]
Dreslist.h64 int32_t oldpos, newpos; member
/external/chromium-trace/catapult/third_party/Paste/paste/util/
DPySourceColor.py1334 newpos = self.lines[srow] + scol
1335 self.pos = newpos + len(toktext)
1351 if newpos > oldpos:
1352 if self.raw[oldpos:newpos].isspace():
1358 self.out.write(self.raw[oldpos:newpos])
1360 self.out.write(self.raw[oldpos+1:newpos])
1362 slash = self.raw[oldpos:newpos].find('\\')+oldpos
1369 self.out.write(self.raw[slash+1:newpos])
1373 self.pos = newpos
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DH264TrackImpl.java243 long newpos = reader.getPos(); in readSamples() local
244 int size = (int) (newpos - pos - prevScSize); in readSamples()
302 pos = newpos; in readSamples()