Home
last modified time | relevance | path

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

/external/bsdiff/
Dbspatch.c68 off_t oldpos,newpos; in main() local
144 oldpos=0;newpos=0; in main()
145 while(newpos<newsize) { in main()
161 if(newpos+ctrl[0]>newsize) in main()
165 lenread = BZ2_bzRead(&dbz2err, dpfbz2, new + newpos, ctrl[0]); in main()
173 new[newpos+i]+=old[oldpos+i]; in main()
176 newpos+=ctrl[0]; in main()
180 if(newpos+ctrl[1]>newsize) in main()
184 lenread = BZ2_bzRead(&ebz2err, epfbz2, new + newpos, ctrl[1]); in main()
190 newpos+=ctrl[1]; in main()
/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/chromium_org/chrome/installer/mac/third_party/bsdiff/
Dgoobspatch.c375 off_t oldpos,newpos; in main() local
464 oldpos=0;newpos=0; in main()
465 while(newpos<newsize) { in main()
477 if(newpos+ctrl[0]>newsize) in main()
481 cfread(&df, new + newpos, ctrl[0]); in main()
486 new[newpos+i]+=old[oldpos+i]; in main()
489 newpos+=ctrl[0]; in main()
493 if(newpos+ctrl[1]>newsize) in main()
497 cfread(&ef, new + newpos, ctrl[1]); in main()
500 newpos+=ctrl[1]; in main()
/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/stlport/test/unit/
Drope_test.cpp175 int newpos = pos; in test_saved_rope_iterators() local
179 CPPUNIT_ASSERT(*i == expected[newpos]); in test_saved_rope_iterators()
181 ++newpos; in test_saved_rope_iterators()
/external/qemu/distrib/sdl-1.2.15/src/file/
DSDL_rwops.c369 Uint8 *newpos; in mem_seek() local
373 newpos = context->hidden.mem.base+offset; in mem_seek()
376 newpos = context->hidden.mem.here+offset; in mem_seek()
379 newpos = context->hidden.mem.stop+offset; in mem_seek()
385 if ( newpos < context->hidden.mem.base ) { in mem_seek()
386 newpos = context->hidden.mem.base; in mem_seek()
388 if ( newpos > context->hidden.mem.stop ) { in mem_seek()
389 newpos = context->hidden.mem.stop; in mem_seek()
391 context->hidden.mem.here = newpos; in mem_seek()
/external/chromium_org/ppapi/native_client/src/trusted/plugin/
Dtemporary_file.cc85 nacl_off64_t newpos = read_wrapper_->Seek(0, SEEK_SET); in Reset() local
86 return newpos == 0; in Reset()
/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/chromium_org/third_party/tcmalloc/chromium/src/tests/
Dpagemap_unittest.cc53 const size_t newpos = rand() % (i + 1); in Permute() local
55 (*elements)[i] = (*elements)[newpos]; in Permute()
56 (*elements)[newpos] = tmp; in Permute()
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Dpagemap_unittest.cc53 const size_t newpos = rand() % (i + 1); in Permute() local
55 (*elements)[i] = (*elements)[newpos]; in Permute()
56 (*elements)[newpos] = tmp; in Permute()
/external/eigen/Eigen/src/IterativeLinearSolvers/
DIncompleteLUT.h367 Index newpos; in factorize() local
370 newpos = ii + sizeu; in factorize()
376 newpos = sizel; in factorize()
380 ju(newpos) = j; in factorize()
381 u(newpos) = -prod; in factorize()
382 jr(j) = newpos; in factorize()
/external/chromium_org/third_party/icu/source/tools/genrb/
Dreslist.c200 return map[start].newpos; in mapKey()
1468 return compareInt32(((const KeyMapEntry *)l)->newpos, ((const KeyMapEntry *)r)->newpos); in compareKeyNewpos()
1494 map[i].newpos = 0; in bundle_compactKeys()
1501 map[i].newpos = 0; in bundle_compactKeys()
1523 map[i].newpos = map[i].oldpos; in bundle_compactKeys()
1545 map[j].newpos = map[i].oldpos + offset; /* yes, point to the earlier key */ in bundle_compactKeys()
1562 int32_t oldpos, newpos, limit; in bundle_compactKeys() local
1563 oldpos = newpos = bundle->fKeysBottom; in bundle_compactKeys()
1566 for (i = 0; i < keysCount && map[i].newpos < 0; ++i) {} in bundle_compactKeys()
1573 while (i < keysCount && map[i].newpos == oldpos) { in bundle_compactKeys()
[all …]
Dreslist.h37 int32_t oldpos, newpos; member
/external/icu/icu4c/source/tools/genrb/
Dreslist.c302 return map[start].newpos; in mapKey()
1506 return compareInt32(((const KeyMapEntry *)l)->newpos, ((const KeyMapEntry *)r)->newpos); in compareKeyNewpos()
1532 map[i].newpos = 0; in bundle_compactKeys()
1539 map[i].newpos = 0; in bundle_compactKeys()
1561 map[i].newpos = map[i].oldpos; in bundle_compactKeys()
1583 map[j].newpos = map[i].oldpos + offset; /* yes, point to the earlier key */ in bundle_compactKeys()
1600 int32_t oldpos, newpos, limit; in bundle_compactKeys() local
1601 oldpos = newpos = bundle->fKeysBottom; in bundle_compactKeys()
1604 for (i = 0; i < keysCount && map[i].newpos < 0; ++i) {} in bundle_compactKeys()
1611 while (i < keysCount && map[i].newpos == oldpos) { in bundle_compactKeys()
[all …]
Dreslist.h36 int32_t oldpos, newpos; member
/external/qemu/distrib/sdl-1.2.15/src/video/qtopia/
DSDL_QWin.h77 void setMousePos(const QPoint& 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()