/aosp12/system/chre/chpp/platform/linux/ |
H A D | memory.c | 75 void *chppRealloc(void *oldPtr, const size_t newSize, const size_t oldSize) { in chppRealloc() argument 76 UNUSED_VAR(oldSize); in chppRealloc() 78 if (newSize != oldSize) { in chppRealloc() 90 if (newSize > oldSize) { in chppRealloc() 91 gTotalAllocBytes += (newSize - oldSize); in chppRealloc() 93 gTotalAllocBytes -= (oldSize - newSize); in chppRealloc()
|
/aosp12/packages/apps/TV/src/com/android/tv/menu/ |
H A D | ItemListRowView.java | 179 int oldSize = mItemList.size(); in setItemList() local 182 if (oldSize > newSize) { in setItemList() 184 notifyItemRangeRemoved(newSize, oldSize - newSize); in setItemList() 185 } else if (oldSize < newSize) { in setItemList() 186 notifyItemRangeChanged(0, oldSize); in setItemList() 187 notifyItemRangeInserted(oldSize, newSize - oldSize); in setItemList() 189 notifyItemRangeChanged(0, oldSize); in setItemList()
|
/aosp12/frameworks/base/graphics/java/android/graphics/ |
H A D | Paint.java | 2229 final float oldSize = getTextSize(); in measureText() local 2233 setTextSize(oldSize); in measureText() 2260 final float oldSize = getTextSize(); in measureText() local 2264 setTextSize(oldSize); in measureText() 2350 final float oldSize = getTextSize(); in breakText() local 2354 setTextSize(oldSize); in breakText() 2438 final float oldSize = getTextSize(); in breakText() local 2442 setTextSize(oldSize); in breakText() 2478 setTextSize(oldSize); in getTextWidths() 2561 setTextSize(oldSize); in getTextWidths() [all …]
|
/aosp12/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | LevelListDrawable.java | 226 public void growArray(int oldSize, int newSize) { in growArray() argument 227 super.growArray(oldSize, newSize); in growArray() 229 System.arraycopy(mLows, 0, newInts, 0, oldSize); in growArray() 232 System.arraycopy(mHighs, 0, newInts, 0, oldSize); in growArray()
|
H A D | AnimationDrawable.java | 421 public void growArray(int oldSize, int newSize) { in growArray() argument 422 super.growArray(oldSize, newSize); in growArray() 424 System.arraycopy(mDurations, 0, newDurations, 0, oldSize); in growArray()
|
H A D | StateListDrawable.java | 374 public void growArray(int oldSize, int newSize) { in growArray() argument 375 super.growArray(oldSize, newSize); in growArray() 377 System.arraycopy(mStateSets, 0, newStateSets, 0, oldSize); in growArray()
|
/aosp12/frameworks/base/core/java/android/util/ |
H A D | MapCollections.java | 177 int oldSize = colGetSize(); in addAll() local 181 return oldSize != colGetSize(); in addAll() 471 int oldSize = map.size(); in removeAllHelper() local 476 return oldSize != map.size(); in removeAllHelper() 480 int oldSize = map.size(); in retainAllHelper() local 487 return oldSize != map.size(); in retainAllHelper()
|
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/ |
H A D | FullScreenMagnificationGestureHandler.java | 241 final int oldSize = (mTempPointerCoords != null) ? mTempPointerCoords.length : 0; in getTempPointerCoordsWithMinSize() local 242 if (oldSize < size) { in getTempPointerCoordsWithMinSize() 246 System.arraycopy(oldTempPointerCoords, 0, mTempPointerCoords, 0, oldSize); in getTempPointerCoordsWithMinSize() 249 for (int i = oldSize; i < size; i++) { in getTempPointerCoordsWithMinSize() 256 final int oldSize = (mTempPointerProperties != null) ? mTempPointerProperties.length in getTempPointerPropertiesWithMinSize() local 258 if (oldSize < size) { in getTempPointerPropertiesWithMinSize() 263 oldSize); in getTempPointerPropertiesWithMinSize() 266 for (int i = oldSize; i < size; i++) { in getTempPointerPropertiesWithMinSize()
|
/aosp12/frameworks/av/services/camera/libcameraservice/tests/ |
H A D | NV12Compressor.cpp | 256 size_t oldSize = manager->mBuffer.size(); in emptyOutputBuffer() local 257 manager->mBuffer.resize(oldSize * 2); in emptyOutputBuffer() 258 manager->next_output_byte = &manager->mBuffer[oldSize]; in emptyOutputBuffer() 259 manager->free_in_buffer = manager->mBuffer.size() - oldSize; in emptyOutputBuffer()
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | TokenWatcher.java | 87 int oldSize = mTokens.size(); in acquire() local 97 if (oldSize == 0 && !mAcquired) { in acquire()
|
/aosp12/system/chre/chpp/include/chpp/ |
H A D | memory.h | 61 void *chppRealloc(void *oldPtr, const size_t newSize, const size_t oldSize);
|
/aosp12/frameworks/av/media/libstagefright/id3/ |
H A D | ID3.cpp | 421 size_t oldSize = mSize; in removeUnsynchronizationV2_4() local 481 if (readOffset <= oldSize) { in removeUnsynchronizationV2_4() 482 memmove(&mData[writeOffset], &mData[readOffset], oldSize - readOffset); in removeUnsynchronizationV2_4() 484 ALOGE("b/34618607 (%zu %zu %zu %zu)", readOffset, writeOffset, oldSize, mSize); in removeUnsynchronizationV2_4() 498 memset(&mData[mSize], 0, oldSize - mSize); in removeUnsynchronizationV2_4()
|
/aosp12/frameworks/av/media/bufferpool/1.0/vts/ |
H A D | allocator.cpp | 152 size_t oldSize = oldParams.size(); in compatible() local 153 if (newSize == oldSize) { in compatible()
|
/aosp12/packages/modules/adb/client/ |
H A D | incremental_utils.cpp | 150 auto oldSize = blocks->size(); in appendBlocks() local 151 blocks->resize(oldSize + count); in appendBlocks() 152 std::iota(blocks->begin() + oldSize, blocks->end(), start); in appendBlocks()
|
/aosp12/frameworks/compile/slang/tests/P_reduce_general_input/ |
H A D | ScriptField_MyStruct.java.expect | 190 int oldSize = mItemArray.length; 191 int copySize = Math.min(oldSize, newSize); 192 if (newSize == oldSize) return;
|
/aosp12/frameworks/compile/slang/tests/P_reduce_general_inputs/ |
H A D | ScriptField_MyStruct.java.expect | 190 int oldSize = mItemArray.length; 191 int copySize = Math.min(oldSize, newSize); 192 if (newSize == oldSize) return;
|
/aosp12/frameworks/compile/slang/tests/P_reduce_general_result/ |
H A D | ScriptField_MyStruct.java.expect | 190 int oldSize = mItemArray.length; 191 int copySize = Math.min(oldSize, newSize); 192 if (newSize == oldSize) return;
|
/aosp12/frameworks/compile/slang/tests/P_reflection3264_divergent/ |
H A D | ScriptField_NonDivergent.java.expect | 188 int oldSize = mItemArray.length; 189 int copySize = Math.min(oldSize, newSize); 190 if (newSize == oldSize) return;
|
H A D | ScriptField_Divergent.java.expect | 221 int oldSize = mItemArray.length; 222 int copySize = Math.min(oldSize, newSize); 223 if (newSize == oldSize) return;
|
H A D | ScriptField_DivergentNest.java.expect | 234 int oldSize = mItemArray.length; 235 int copySize = Math.min(oldSize, newSize); 236 if (newSize == oldSize) return;
|
/aosp12/frameworks/av/media/bufferpool/2.0/tests/ |
H A D | allocator.cpp | 170 size_t oldSize = oldParams.size(); in compatible() local 171 if (newSize == oldSize) { in compatible()
|
/aosp12/frameworks/compile/slang/tests/P_struct_field/ |
H A D | ScriptField_InnerTwo.java.expect | 198 int oldSize = mItemArray.length; 199 int copySize = Math.min(oldSize, newSize); 200 if (newSize == oldSize) return;
|
H A D | ScriptField_InnerOne.java.expect | 211 int oldSize = mItemArray.length; 212 int copySize = Math.min(oldSize, newSize); 213 if (newSize == oldSize) return;
|
H A D | ScriptField_Outer.java.expect | 398 int oldSize = mItemArray.length; 399 int copySize = Math.min(oldSize, newSize); 400 if (newSize == oldSize) return;
|
/aosp12/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 1433 size_t oldSize = (size_t)ftell(fp); in preProcessImage() local 1435 float factor = ((float)newSize)/oldSize; in preProcessImage() 1515 size_t oldSize = (size_t)ftell(fp); in preProcessImageToCache() local 1571 float factor = ((float)newSize)/oldSize; in preProcessImageToCache()
|