/external/skia/gm/ |
rrect.cpp | 75 static SkScalar prop(SkScalar radius, SkScalar newSize, SkScalar oldSize) { 76 return newSize * radius / oldSize;
|
/external/valgrind/main/callgrind/ |
fn.c | 662 Int i, newsize; local 664 newsize = current_fn_active.size; 665 while (newsize <= CLG_(stat).distinct_fns) newsize *=2; 668 current_fn_active.size, newsize); 670 new_array = (UInt*) CLG_MALLOC("cl.fn.rfa.1", newsize * sizeof(UInt)); 673 while(i<newsize) 677 current_fn_active.size = newsize;
|
/libcore/luni/src/main/java/java/util/ |
ArrayList.java | 195 int newSize = s + newPartSize; // If add overflows, arraycopy will fail 196 if (newSize > a.length) { 197 int newCapacity = newCapacity(newSize - 1); // ~33% growth room 203 size = newSize; 234 int newSize = s + newPartSize; // If add overflows, arraycopy will fail 235 if (newSize <= a.length) { 238 int newCapacity = newCapacity(newSize - 1); // ~33% growth room 245 size = newSize;
|
/sdk/emulator/opengl/shared/emugl/common/ |
id_to_object_map.h | 75 // Resize the map if needed to ensure it can hold at least |newSize| 77 void resize(size_t newSize);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_sys.py | 692 newsize = PySet_MINSIZE variable in class:SizeofTest.test_objecttypes.C 693 while newsize <= minused: 694 newsize = newsize << 1 695 if newsize <= 8: 699 check(set(sample), s + newsize*struct.calcsize('lP')) 700 check(frozenset(sample), s + newsize*struct.calcsize('lP'))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_sys.py | 692 newsize = PySet_MINSIZE variable in class:SizeofTest.test_objecttypes.C 693 while newsize <= minused: 694 newsize = newsize << 1 695 if newsize <= 8: 699 check(set(sample), s + newsize*struct.calcsize('lP')) 700 check(frozenset(sample), s + newsize*struct.calcsize('lP'))
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
nv50_ir_util.cpp | 81 unsigned int newSize = this->size + that.size; 83 while (newSize > that.limit) 87 that.size = newSize;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_tgsi.c | 64 unsigned newsize = emit->size * 2; local 67 new_buf = REALLOC(emit->buf, emit->size, newsize); 78 emit->size = newsize;
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_util.cpp | 81 unsigned int newSize = this->size + that.size; 83 while (newSize > that.limit) 87 that.size = newSize;
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_tgsi.c | 64 unsigned newsize = emit->size * 2; local 67 new_buf = REALLOC(emit->buf, emit->size, newsize); 78 emit->size = newsize;
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
StateListDrawable.java | 317 public void growArray(int oldSize, int newSize) { 318 super.growArray(oldSize, newSize); 319 final int[][] newStateSets = new int[newSize][];
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
VideoUtils.java | 162 int newSize = format.getInteger(MediaFormat.KEY_MAX_INPUT_SIZE); 163 bufferSize = newSize > bufferSize ? newSize : bufferSize;
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
AbstractDirectory.java | 127 * @param newSize the new storage space for the directory in bytes 130 protected final void sizeChanged(long newSize) throws IOException { 131 final long newCount = newSize / FatDirectoryEntry.SIZE;
|
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3bitset.h | 98 void (*grow) (struct ANTLR3_BITSET_struct * bitset, ANTLR3_INT32 newSize);
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3bitset.c | 56 static void grow (pANTLR3_BITSET bitset, ANTLR3_INT32 newSize); 395 grow(pANTLR3_BITSET bitset, ANTLR3_INT32 newSize) 402 newBits = (pANTLR3_BITWORD) ANTLR3_CALLOC(1, (size_t)(newSize * sizeof(ANTLR3_BITWORD))); 417 bitset->blist.length = newSize;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebPopupMenuImpl.cpp | 183 void WebPopupMenuImpl::resize(const WebSize& newSize) 185 if (m_size == newSize) 187 m_size = newSize; 200 m_rootLayer->layer()->setBounds(newSize);
|
/external/chromium_org/third_party/icu/source/common/ |
uvector.h | 193 * Change the size of this vector as follows: If newSize is 195 * elements for i >= newSize. If newSize is larger, grow the 198 void setSize(int32_t newSize, UErrorCode &status);
|
/external/chromium_org/third_party/libevent/ |
evport.c | 239 int newsize = factor * oldsize; local 244 tmp = realloc(epdp->ed_fds, sizeof(struct fd_info) * newsize); 249 (newsize - oldsize)*sizeof(struct fd_info)); 250 epdp->ed_nevents = newsize;
|
/external/icu/icu4c/source/common/ |
uvector.h | 176 * Change the size of this vector as follows: If newSize is 178 * elements for i >= newSize. If newSize is larger, grow the 181 void setSize(int32_t newSize, UErrorCode &status);
|
/external/icu/icu4c/source/layout/ |
LETypes.h | 344 #define LE_GROW_ARRAY(array, newSize) uprv_realloc((void *) (array), (newSize) * sizeof (array)[0]) 388 #define LE_GROW_ARRAY(array, newSize) realloc((void *) (array), (newSize) * sizeof (array)[0])
|
/external/llvm/lib/Support/ |
SmallPtrSet.cpp | 130 void SmallPtrSetImplBase::Grow(unsigned NewSize) { 138 CurArray = (const void**)malloc(sizeof(void*) * NewSize); 140 CurArraySize = NewSize; 141 memset(CurArray, -1, NewSize*sizeof(void*));
|
/external/yaffs2/yaffs2/direct/ |
yaffsfs.h | 180 int yaffs_truncate(int fd, off_t newSize);
|
/external/zopfli/src/zopflipng/ |
zopflipng_bin.cc | 131 void PrintResultSize(const char* label, size_t oldsize, size_t newsize) { 133 label, (int) newsize, (int) newsize / 1024, newsize * 100.0 / oldsize);
|
/hardware/intel/common/libmix/videodecoder/ |
VideoDecoderWMV.cpp | 533 int32_t newSize = 0; 534 status = updateConfigData(data, size, &newData, &newSize); 537 if (newSize) { 538 status = VideoDecoderBase::parseBuffer(newData, newSize, true, (void**)vbpData);
|
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
vbo_exec_api.c | 239 GLuint attr, GLuint newSize ) 281 exec->vtx.attrsz[attr] = newSize; 282 exec->vtx.vertex_size += newSize - oldSize; 310 exec->vtx.vertex_size - newSize; 339 COPY_SZ_4V(dest + new_offset, newSize, tmp); 368 vbo_exec_fixup_vertex(struct gl_context *ctx, GLuint attr, GLuint newSize) 372 if (newSize > exec->vtx.attrsz[attr]) { 376 vbo_exec_wrap_upgrade_vertex( exec, attr, newSize ); 378 else if (newSize < exec->vtx.active_sz[attr]) { 386 for (i = newSize; i <= exec->vtx.attrsz[attr]; i++ [all...] |