/external/bsdiff/ |
D | bsdiff.cc | 54 off_t newsize) { in matchlen() argument 57 for(i=0;(i<oldsize)&&(i<newsize);i++) in matchlen() 64 u_char *new_buf,off_t newsize,off_t st,off_t en,off_t *pos) in search() argument 69 x=matchlen(old+I[st],oldsize-I[st],new_buf,newsize); in search() 70 y=matchlen(old+I[en],oldsize-I[en],new_buf,newsize); in search() 82 if(memcmp(old+I[x],new_buf,std::min(oldsize-I[x],newsize))<=0) { in search() 83 return search(I,old,oldsize,new_buf,newsize,x,en,pos); in search() 85 return search(I,old,oldsize,new_buf,newsize,st,x,pos); in search() 111 off_t oldsize,newsize; in bsdiff() local 144 ((newsize=lseek(fd,0,SEEK_END))==-1) || in bsdiff() [all …]
|
D | bspatch.cc | 191 uint64_t oldsize, newsize; in bspatch() local 195 newsize = signed_newsize; in bspatch() 255 new_file.reset(new MemoryFile(std::move(new_file), newsize)); in bspatch() 262 while (newpos < newsize) { in bspatch() 276 if (newpos + ctrl[0] > newsize) in bspatch() 329 if (newpos + ctrl[1] > newsize) in bspatch()
|
/external/icu/icu4c/source/tools/tzcode/ |
D | ialloc.c | 14 register int oldsize, newsize; in icatalloc() local 16 newsize = (new == NULL) ? 0 : strlen(new); in icatalloc() 19 else if (newsize == 0) in icatalloc() 22 if ((result = realloc(old, oldsize + newsize + 1)) != NULL) in icatalloc()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/ |
D | btAlignedObjectArray.h | 203 SIMD_FORCE_INLINE void resizeNoInitialize(int newsize) in resizeNoInitialize() argument 205 if (newsize > size()) in resizeNoInitialize() 207 reserve(newsize); in resizeNoInitialize() 209 m_size = newsize; in resizeNoInitialize() 212 SIMD_FORCE_INLINE void resize(int newsize, const T& fillData=T()) 216 if (newsize < curSize) 218 for(int i = newsize; i < curSize; i++) 224 if (newsize > curSize) 226 reserve(newsize); 229 for (int i=curSize;i<newsize;i++) [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_dynarray.h | 64 util_dynarray_resize(struct util_dynarray *buf, unsigned newsize) in util_dynarray_resize() argument 67 if(newsize > buf->capacity) in util_dynarray_resize() 70 if(newsize > newcap) in util_dynarray_resize() 71 newcap = newsize; in util_dynarray_resize() 77 buf->size = newsize; in util_dynarray_resize()
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/Gimpact/ |
D | gim_memory.cpp | 110 void * gim_realloc(void *ptr, size_t oldsize, size_t newsize) in gim_realloc() argument 112 void * newptr = gim_alloc(newsize); in gim_realloc() 113 size_t copysize = oldsize<newsize?oldsize:newsize; in gim_realloc()
|
D | gim_array.h | 63 inline bool resizeData(GUINT newsize) in resizeData() argument 65 if(newsize==0) in resizeData() 73 m_data = (T*)gim_realloc(m_data,m_size*sizeof(T),newsize*sizeof(T)); in resizeData() 77 m_data = (T*)gim_alloc(newsize*sizeof(T)); in resizeData() 79 m_allocated_size = newsize; in resizeData()
|
D | btGenericPoolAllocator.cpp | 271 void * btPoolRealloc(void *ptr, size_t oldsize, size_t newsize) in btPoolRealloc() argument 273 void * newptr = btPoolAlloc(newsize); in btPoolRealloc() 274 size_t copysize = oldsize<newsize?oldsize:newsize; in btPoolRealloc()
|
D | gim_bitset.h | 60 inline bool resize(GUINT newsize) in resize() argument 63 m_container.resize(newsize/GUINT_BIT_COUNT + 1,false); in resize()
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/linearmath/com/badlogic/gdx/physics/bullet/linearmath/ |
D | btVector3Array.java | 84 public void resizeNoInitialize(int newsize) { in resizeNoInitialize() argument 85 LinearMathJNI.btVector3Array_resizeNoInitialize(swigCPtr, this, newsize); in resizeNoInitialize() 88 public void resize(int newsize, Vector3 fillData) { in resize() argument 89 LinearMathJNI.btVector3Array_resize__SWIG_0(swigCPtr, this, newsize, fillData); in resize() 92 public void resize(int newsize) { in resize() argument 93 LinearMathJNI.btVector3Array_resize__SWIG_1(swigCPtr, this, newsize); in resize()
|
D | btScalarArray.java | 84 public void resizeNoInitialize(int newsize) { in resizeNoInitialize() argument 85 LinearMathJNI.btScalarArray_resizeNoInitialize(swigCPtr, this, newsize); in resizeNoInitialize() 88 public void resize(int newsize, float fillData) { in resize() argument 89 LinearMathJNI.btScalarArray_resize__SWIG_0(swigCPtr, this, newsize, fillData); in resize() 92 public void resize(int newsize) { in resize() argument 93 LinearMathJNI.btScalarArray_resize__SWIG_1(swigCPtr, this, newsize); in resize()
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/ |
D | btCollisionObjectConstArray.java | 85 public void resizeNoInitialize(int newsize) { in resizeNoInitialize() argument 86 CollisionJNI.btCollisionObjectConstArray_resizeNoInitialize(swigCPtr, this, newsize); in resizeNoInitialize() 89 public void resize(int newsize, btCollisionObject fillData) { in resize() argument 90 …CollisionJNI.btCollisionObjectConstArray_resize__SWIG_0(swigCPtr, this, newsize, btCollisionObject… in resize() 93 public void resize(int newsize) { in resize() argument 94 CollisionJNI.btCollisionObjectConstArray_resize__SWIG_1(swigCPtr, this, newsize); in resize()
|
D | btCollisionObjectArray.java | 85 public void resizeNoInitialize(int newsize) { in resizeNoInitialize() argument 86 CollisionJNI.btCollisionObjectArray_resizeNoInitialize(swigCPtr, this, newsize); in resizeNoInitialize() 89 public void resize(int newsize, btCollisionObject fillData) { in resize() argument 90 …CollisionJNI.btCollisionObjectArray_resize__SWIG_0(swigCPtr, this, newsize, btCollisionObject.getC… in resize() 93 public void resize(int newsize) { in resize() argument 94 CollisionJNI.btCollisionObjectArray_resize__SWIG_1(swigCPtr, this, newsize); in resize()
|
D | btPersistentManifoldArray.java | 86 public void resizeNoInitialize(int newsize) { in resizeNoInitialize() argument 87 CollisionJNI.btPersistentManifoldArray_resizeNoInitialize(swigCPtr, this, newsize); in resizeNoInitialize() 90 public void resize(int newsize, btPersistentManifold fillData) { in resize() argument 91 …CollisionJNI.btPersistentManifoldArray_resize__SWIG_0(swigCPtr, this, newsize, btPersistentManifol… in resize() 94 public void resize(int newsize) { in resize() argument 95 CollisionJNI.btPersistentManifoldArray_resize__SWIG_1(swigCPtr, this, newsize); in resize()
|
/external/libgdx/extensions/gdx-bullet/jni/swig-src/extras/com/badlogic/gdx/physics/bullet/extras/ |
D | btStringArray.java | 87 public void resizeNoInitialize(int newsize) { in resizeNoInitialize() argument 88 ExtrasJNI.btStringArray_resizeNoInitialize(swigCPtr, this, newsize); in resizeNoInitialize() 91 public void resize(int newsize, String fillData) { in resize() argument 92 ExtrasJNI.btStringArray_resize__SWIG_0(swigCPtr, this, newsize, fillData); in resize() 95 public void resize(int newsize) { in resize() argument 96 ExtrasJNI.btStringArray_resize__SWIG_1(swigCPtr, this, newsize); in resize()
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
D | SuballocatedIntVector.java | 166 int newsize=index+m_numblocks; in addElement() local 167 int[][] newMap=new int[newsize][]; in addElement() 206 int newsize=index+m_numblocks; in addElements() local 207 int[][] newMap=new int[newsize][]; in addElements() 264 int newsize=index+m_numblocks; in insertElementAt() local 265 int[][] newMap=new int[newsize][]; in insertElementAt() 398 int newsize=index+m_numblocks; in setElementAt() local 399 int[][] newMap=new int[newsize][]; in setElementAt()
|
/external/tinyxml/ |
D | tinystr.cpp | 74 size_type newsize = length() + len; in append() local 75 if (newsize > capacity()) in append() 77 reserve (newsize + capacity()); in append() 80 set_size(newsize); in append()
|
/external/sfntly/cpp/src/test/tinyxml/ |
D | tinystr.cpp | 70 size_type newsize = length() + len; in append() local 71 if (newsize > capacity()) in append() 73 reserve (newsize + capacity()); in append() 76 set_size(newsize); in append()
|
/external/libopus/src/ |
D | opus_demo.c | 258 int random_framesize=0, newsize=0, delayed_celt=0; in main() local 626 frame_size = newsize; in main() 630 newsize = rand()%6; in main() 631 switch(newsize) in main() 633 case 0: newsize=sampling_rate/400; break; in main() 634 case 1: newsize=sampling_rate/200; break; in main() 635 case 2: newsize=sampling_rate/100; break; in main() 636 case 3: newsize=sampling_rate/50; break; in main() 637 case 4: newsize=sampling_rate/25; break; in main() 638 case 5: newsize=3*sampling_rate/50; break; in main() [all …]
|
/external/curl/tests/ |
D | memanalyze.pl | 187 my ($oldaddr, $newsize, $newaddr) = ($2, $3, $4); 195 $totalmem += $newsize; 196 $sizeataddr{$newaddr}=$newsize; 199 printf("%d more bytes ($source:$linenum)\n", $newsize);
|
/external/curl/tests/server/ |
D | fake_ntlm.c | 54 size_t newsize; in printable() local 86 newsize = outsize + outincr; in printable() 87 newbuf = realloc(outbuf, newsize); in printable() 93 outsize = newsize; in printable()
|
/external/valgrind/none/tests/linux/ |
D | mremap2.c | 127 int newsize = newsizes[nsi] * PAGE; in main() local 146 syscall(__NR_mremap, src, 20*PAGE, newsize, flags, dst, 0 ); in main() 162 tidylen = newsize; in main()
|
/external/e2fsprogs/resize/ |
D | extent.c | 84 __u64 newsize; in ext2fs_add_extent_entry() local 88 newsize = extent->size + 100; in ext2fs_add_extent_entry() 92 newsize, &extent->list); in ext2fs_add_extent_entry() 95 extent->size = newsize; in ext2fs_add_extent_entry()
|
/external/bison/lib/ |
D | vbitset.c | 59 bitset_windex newsize; in vbitset_resize() local 65 newsize = VBITSET_N_WORDS (n_bits); in vbitset_resize() 67 if (oldsize < newsize) in vbitset_resize() 73 if (newsize > VBITSET_ASIZE (src)) in vbitset_resize() 81 size = newsize; in vbitset_resize() 83 size = newsize + newsize / 4; in vbitset_resize() 91 (newsize - oldsize) * sizeof (bitset_word)); in vbitset_resize() 92 VBITSET_SIZE (src) = newsize; in vbitset_resize() 98 if ((oldsize - newsize) >= oldsize / 2) in vbitset_resize() 101 = realloc (VBITSET_WORDS (src), newsize * sizeof (bitset_word)); in vbitset_resize() [all …]
|
D | ebitset.c | 126 bitset_windex newsize; in ebitset_resize() local 132 newsize = EBITSET_N_ELTS (n_bits); in ebitset_resize() 134 if (oldsize < newsize) in ebitset_resize() 140 if (newsize > EBITSET_ASIZE (src)) in ebitset_resize() 148 size = newsize; in ebitset_resize() 150 size = newsize + newsize / 4; in ebitset_resize() 158 (newsize - oldsize) * sizeof (ebitset_elt *)); in ebitset_resize() 164 if ((oldsize - newsize) >= oldsize / 2) in ebitset_resize() 167 = realloc (EBITSET_ELTS (src), newsize * sizeof (ebitset_elt *)); in ebitset_resize() 168 EBITSET_ASIZE (src) = newsize; in ebitset_resize()
|