/third_party/skia/third_party/externals/tint/tools/src/lut/ |
D | lut.go | 130 newSize := 0 135 cp(newSize, *unplaced[0].offset, unplaced[0].count) 136 *unplaced[0].offset = newSize 137 newSize += unplaced[0].count 159 for shift := -seq.count + 1; shift < newSize; shift++ { 161 dstE := min(shift+seq.count, newSize) 184 dstData.Copy(n, 0, newSize) 185 copy(dstIDs[n:n+newSize], dstIDs) 186 newSize += n 195 newSize = max(newSize, best.dst+best.src.count) [all …]
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluObjectWrapper.cpp | 101 void ObjectVector::resize (size_t newSize) in resize() argument 105 if (newSize == 0) in resize() 109 if (oldSize < newSize) in resize() 111 m_objects.resize(newSize, 0); in resize() 112 (m_gl.*m_traits.genFunc)(glw::GLsizei(newSize - oldSize), &m_objects[oldSize]); in resize() 114 else if (oldSize > newSize) in resize() 116 (m_gl.*m_traits.deleteFunc)(glw::GLsizei(oldSize - newSize), &m_objects[newSize]); in resize() 117 m_objects.resize(newSize); in resize()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/ |
D | GrowableMemoryByteArray.java | 73 private void growTo(int newSize) { in growTo() argument 74 if (newSize <= b.length) { in growTo() 77 newSize = Math.max(newSize, b.length * 2); in growTo() 78 byte[] newArray = new byte[newSize]; in growTo()
|
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/ |
D | GrowableMemoryByteArray.java | 73 private void growTo(int newSize) { in growTo() argument 74 if (newSize <= b.length) { in growTo() 77 newSize = Math.max(newSize, b.length * 2); in growTo() 78 byte[] newArray = new byte[newSize]; in growTo()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CalendarCache.java | 23 private void makeArrays(int newSize) { in makeArrays() argument 24 keys = new long[newSize]; in makeArrays() 25 values = new long[newSize]; in makeArrays() 27 for (int i = 0; i < newSize; i++) { in makeArrays() 30 arraySize = newSize; in makeArrays()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
D | CalendarCache.java | 25 private void makeArrays(int newSize) { in makeArrays() argument 26 keys = new long[newSize]; in makeArrays() 27 values = new long[newSize]; in makeArrays() 29 for (int i = 0; i < newSize; i++) { in makeArrays() 32 arraySize = newSize; in makeArrays()
|
/third_party/vk-gl-cts/framework/platform/lnx/ |
D | tcuLnxVulkanPlatform.cpp | 72 void resize (const UVec2& newSize) in resize() argument 74 m_window->setDimensions((int)newSize.x(), (int)newSize.y()); in resize() 120 void resize (const UVec2& newSize) in resize() argument 122 m_window->setDimensions((int)newSize.x(), (int)newSize.y()); in resize() 166 void resize (const UVec2& newSize) in resize() argument 168 m_window->setDimensions((int)newSize.x(), (int)newSize.y()); in resize()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | CompactCharArray.java | 201 int newSize = 0; in compact() local 228 newSize); in compact() 231 dest = newSize; in compact() 234 if (limit > newSize) { in compact() 235 for (int j = newSize; j < limit; ++j) { in compact() 238 newSize = limit; in compact() 250 char[] result = new char[newSize]; in compact() 251 System.arraycopy(target, 0, result, 0, newSize); in compact()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | CompactCharArray.java | 203 int newSize = 0; in compact() local 230 newSize); in compact() 233 dest = newSize; in compact() 236 if (limit > newSize) { in compact() 237 for (int j = newSize; j < limit; ++j) { in compact() 240 newSize = limit; in compact() 252 char[] result = new char[newSize]; in compact() 253 System.arraycopy(target, 0, result, 0, newSize); in compact()
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | uvectr64.cpp | 196 void UVector64::setSize(int32_t newSize) { in setSize() argument 198 if (newSize < 0) { in setSize() 201 if (newSize > count) { in setSize() 203 if (!ensureCapacity(newSize, ec)) { in setSize() 206 for (i=count; i<newSize; ++i) { in setSize() 210 count = newSize; in setSize()
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | uvectr64.cpp | 196 void UVector64::setSize(int32_t newSize) { in setSize() argument 198 if (newSize < 0) { in setSize() 201 if (newSize > count) { in setSize() 203 if (!ensureCapacity(newSize, ec)) { in setSize() 206 for (i=count; i<newSize; ++i) { in setSize() 210 count = newSize; in setSize()
|
/third_party/node/deps/icu-small/source/common/ |
D | uvectr64.cpp | 196 void UVector64::setSize(int32_t newSize) { in setSize() argument 198 if (newSize < 0) { in setSize() 201 if (newSize > count) { in setSize() 203 if (!ensureCapacity(newSize, ec)) { in setSize() 206 for (i=count; i<newSize; ++i) { in setSize() 210 count = newSize; in setSize()
|
/third_party/icu/icu4c/source/common/ |
D | uvectr64.cpp | 196 void UVector64::setSize(int32_t newSize) { in setSize() argument 198 if (newSize < 0) { in setSize() 201 if (newSize > count) { in setSize() 203 if (!ensureCapacity(newSize, ec)) { in setSize() 206 for (i=count; i<newSize; ++i) { in setSize() 210 count = newSize; in setSize()
|
/third_party/flutter/skia/third_party/externals/icu/source/samples/layout/ |
D | FontTableCache.cpp | 79 le_int32 newSize = fTableCacheSize + TABLE_CACHE_GROW; in add() local 81 fTableCache = (FontTableCacheEntry *) LE_GROW_ARRAY(fTableCache, newSize); in add() 83 for (le_int32 i = fTableCacheSize; i < newSize; i += 1) { in add() 88 fTableCacheSize = newSize; in add()
|
/third_party/skia/third_party/externals/icu/source/samples/layout/ |
D | FontTableCache.cpp | 79 le_int32 newSize = fTableCacheSize + TABLE_CACHE_GROW; in add() local 81 fTableCache = (FontTableCacheEntry *) LE_GROW_ARRAY(fTableCache, newSize); in add() 83 for (le_int32 i = fTableCacheSize; i < newSize; i += 1) { in add() 88 fTableCacheSize = newSize; in add()
|
/third_party/icu/icu4c/source/samples/layout/ |
D | FontTableCache.cpp | 79 le_int32 newSize = fTableCacheSize + TABLE_CACHE_GROW; in add() local 81 fTableCache = (FontTableCacheEntry *) LE_GROW_ARRAY(fTableCache, newSize); in add() 83 for (le_int32 i = fTableCacheSize; i < newSize; i += 1) { in add() 88 fTableCacheSize = newSize; in add()
|
/third_party/vk-gl-cts/framework/delibs/decpp/ |
D | deRingBuffer.hpp | 42 void resize (int newSize); 95 void RingBuffer<T>::resize (int newSize) in resize() argument 97 DE_ASSERT(newSize >= m_numElements); in resize() 98 T* buf = new T[newSize]; in resize() 109 m_size = newSize; in resize()
|
D | dePoolArray.hpp | 250 inline void PoolArray<T, Alignment>::resize (deUintptr newSize) in resize() argument 252 if (newSize < m_numElements) in resize() 255 for (deUintptr ndx = newSize; ndx < m_numElements; ndx++) in resize() 258 m_numElements = newSize; in resize() 260 else if (newSize > m_numElements) in resize() 264 reserve(newSize); in resize() 265 m_numElements = newSize; in resize() 274 inline void PoolArray<T, Alignment>::resize (deUintptr newSize, const T& value) in resize() argument 276 if (newSize < m_numElements) in resize() 277 resize(newSize); // value is not used in resize() [all …]
|
/third_party/gettext/gnulib-local/lib/libxml/ |
D | buf.c | 776 unsigned int newSize; in xmlBufResize() local 804 newSize = (buf->size ? buf->size*2 : size + 10); in xmlBufResize() 805 while (size > newSize) { in xmlBufResize() 806 if (newSize > UINT_MAX / 2) { in xmlBufResize() 810 newSize *= 2; in xmlBufResize() 814 newSize = size+10; in xmlBufResize() 818 newSize = size; in xmlBufResize() 820 newSize = buf->size * 2; in xmlBufResize() 821 while (size > newSize) { in xmlBufResize() 822 if (newSize > UINT_MAX / 2) { in xmlBufResize() [all …]
|
/third_party/icu/icu4c/source/test/letest/ |
D | FontTableCache.cpp | 81 le_int32 newSize = fTableCacheSize + TABLE_CACHE_GROW; in add() local 83 fTableCache = (FontTableCacheEntry *) LE_GROW_ARRAY(fTableCache, newSize); in add() 85 for (le_int32 i = fTableCacheSize; i < newSize; i += 1) { in add() 91 fTableCacheSize = newSize; in add()
|
/third_party/icu/icu4c/source/test/perf/leperf/ |
D | FontTableCache.cpp | 83 le_int32 newSize = fTableCacheSize + TABLE_CACHE_GROW; in add() local 85 fTableCache = (FontTableCacheEntry *) LE_GROW_ARRAY(fTableCache, newSize); in add() 87 for (le_int32 i = fTableCacheSize; i < newSize; i += 1) { in add() 93 fTableCacheSize = newSize; in add()
|
/third_party/libxml2/ |
D | buf.c | 748 size_t newSize; in xmlBufResize() local 777 newSize = (size > SIZE_MAX - 10 ? SIZE_MAX : size + 10); in xmlBufResize() 779 newSize = buf->size; in xmlBufResize() 781 while (size > newSize) { in xmlBufResize() 782 if (newSize > SIZE_MAX / 2) { in xmlBufResize() 786 newSize *= 2; in xmlBufResize() 790 newSize = (size > SIZE_MAX - 10 ? SIZE_MAX : size + 10); in xmlBufResize() 794 newSize = size; in xmlBufResize() 796 newSize = buf->size; in xmlBufResize() 797 while (size > newSize) { in xmlBufResize() [all …]
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
D | psarrst.c | 103 size_t newSize = numElements * arrstack->sizeItem; in cf2_arrstack_setNumElements() local 110 FT_ASSERT( newSize > 0 ); /* avoid realloc with zero size */ in cf2_arrstack_setNumElements() 112 if ( !FT_QREALLOC( arrstack->ptr, arrstack->totalSize, newSize ) ) in cf2_arrstack_setNumElements() 115 arrstack->totalSize = newSize; in cf2_arrstack_setNumElements()
|
/third_party/freetype/src/psaux/ |
D | psarrst.c | 104 size_t newSize = numElements * arrstack->sizeItem; in cf2_arrstack_setNumElements() local 111 FT_ASSERT( newSize > 0 ); /* avoid realloc with zero size */ in cf2_arrstack_setNumElements() 113 if ( !FT_REALLOC( arrstack->ptr, arrstack->totalSize, newSize ) ) in cf2_arrstack_setNumElements() 116 arrstack->totalSize = newSize; in cf2_arrstack_setNumElements()
|
/third_party/flutter/skia/third_party/externals/freetype/src/psaux/ |
D | psarrst.c | 104 size_t newSize = numElements * arrstack->sizeItem; in cf2_arrstack_setNumElements() local 111 FT_ASSERT( newSize > 0 ); /* avoid realloc with zero size */ in cf2_arrstack_setNumElements() 113 if ( !FT_REALLOC( arrstack->ptr, arrstack->totalSize, newSize ) ) in cf2_arrstack_setNumElements() 116 arrstack->totalSize = newSize; in cf2_arrstack_setNumElements()
|