Searched defs:newSize (Results 1 - 3 of 3) sorted by relevance

/system/media/mca/filterfw/native/core/
H A Dnative_frame.cpp52 bool NativeFrame::Resize(int newSize) { argument
53 if (newSize <= capacity_ && newSize >= 0) {
54 size_ = newSize;
/system/core/libcutils/
H A Darray.c120 int newSize = array->size - 1; local
123 if (index != newSize) {
125 (sizeof(void*)) * (newSize - index));
128 array->size = newSize;
140 int arraySetSize(Array* array, int newSize) { argument
142 assert(newSize >= 0);
146 if (newSize > oldSize) {
148 int result = ensureCapacity(array, newSize);
155 sizeof(void*) * (newSize - oldSize));
158 array->size = newSize;
[all...]
/system/core/libpixelflinger/codeflinger/
H A DCodeCache.cpp77 ssize_t Assembly::resize(size_t newSize) argument
79 mBase = (uint32_t*)mspace_realloc(getMspace(), mBase, newSize);
80 mSize = newSize;

Completed in 113 milliseconds