/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | uvectr64.cpp | 137 int32_t newCap = capacity * 2; in expandCapacity() local 138 if (newCap < minimumCapacity) { in expandCapacity() 139 newCap = minimumCapacity; in expandCapacity() 141 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity() 142 newCap = maxCapacity; in expandCapacity() 144 if (newCap > (int32_t)(INT32_MAX / sizeof(int64_t))) { // integer overflow check in expandCapacity() 149 int64_t* newElems = (int64_t *)uprv_realloc(elements, sizeof(int64_t)*newCap); in expandCapacity() 156 capacity = newCap; in expandCapacity()
|
D | uvectr32.cpp | 219 int32_t newCap = capacity * 2; in expandCapacity() local 220 if (newCap < minimumCapacity) { in expandCapacity() 221 newCap = minimumCapacity; in expandCapacity() 223 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity() 224 newCap = maxCapacity; in expandCapacity() 226 if (newCap > (int32_t)(INT32_MAX / sizeof(int32_t))) { // integer overflow check in expandCapacity() 231 int32_t* newElems = (int32_t *)uprv_realloc(elements, sizeof(int32_t)*newCap); in expandCapacity() 238 capacity = newCap; in expandCapacity()
|
D | uvector.cpp | 341 int32_t newCap = capacity * 2; in ensureCapacity() local 342 if (newCap < minimumCapacity) { in ensureCapacity() 343 newCap = minimumCapacity; in ensureCapacity() 345 if (newCap > (int32_t)(INT32_MAX / sizeof(UElement))) { // integer overflow check in ensureCapacity() 350 UElement* newElems = (UElement *)uprv_realloc(elements, sizeof(UElement)*newCap); in ensureCapacity() 357 capacity = newCap; in ensureCapacity()
|
/third_party/node/deps/icu-small/source/common/ |
D | uvectr64.cpp | 137 int32_t newCap = capacity * 2; in expandCapacity() local 138 if (newCap < minimumCapacity) { in expandCapacity() 139 newCap = minimumCapacity; in expandCapacity() 141 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity() 142 newCap = maxCapacity; in expandCapacity() 144 if (newCap > (int32_t)(INT32_MAX / sizeof(int64_t))) { // integer overflow check in expandCapacity() 149 int64_t* newElems = (int64_t *)uprv_realloc(elements, sizeof(int64_t)*newCap); in expandCapacity() 156 capacity = newCap; in expandCapacity()
|
D | uvectr32.cpp | 219 int32_t newCap = capacity * 2; in expandCapacity() local 220 if (newCap < minimumCapacity) { in expandCapacity() 221 newCap = minimumCapacity; in expandCapacity() 223 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity() 224 newCap = maxCapacity; in expandCapacity() 226 if (newCap > (int32_t)(INT32_MAX / sizeof(int32_t))) { // integer overflow check in expandCapacity() 231 int32_t* newElems = (int32_t *)uprv_realloc(elements, sizeof(int32_t)*newCap); in expandCapacity() 238 capacity = newCap; in expandCapacity()
|
D | uvector.cpp | 344 int32_t newCap = capacity * 2; in ensureCapacityX() local 345 if (newCap < minimumCapacity) { in ensureCapacityX() 346 newCap = minimumCapacity; in ensureCapacityX() 348 if (newCap > (int32_t)(INT32_MAX / sizeof(UElement))) { // integer overflow check in ensureCapacityX() 353 UElement* newElems = (UElement *)uprv_realloc(elements, sizeof(UElement)*newCap); in ensureCapacityX() 360 capacity = newCap; in ensureCapacityX() 379 int32_t newCap = capacity * 2; in ensureCapacity() local 380 if (newCap < minimumCapacity) { in ensureCapacity() 381 newCap = minimumCapacity; in ensureCapacity() 383 if (newCap > (int32_t)(INT32_MAX / sizeof(UElement))) { // integer overflow check in ensureCapacity() [all …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | uvectr64.cpp | 137 int32_t newCap = capacity * 2; in expandCapacity() local 138 if (newCap < minimumCapacity) { in expandCapacity() 139 newCap = minimumCapacity; in expandCapacity() 141 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity() 142 newCap = maxCapacity; in expandCapacity() 144 if (newCap > (int32_t)(INT32_MAX / sizeof(int64_t))) { // integer overflow check in expandCapacity() 149 int64_t* newElems = (int64_t *)uprv_realloc(elements, sizeof(int64_t)*newCap); in expandCapacity() 156 capacity = newCap; in expandCapacity()
|
D | uvectr32.cpp | 219 int32_t newCap = capacity * 2; in expandCapacity() local 220 if (newCap < minimumCapacity) { in expandCapacity() 221 newCap = minimumCapacity; in expandCapacity() 223 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity() 224 newCap = maxCapacity; in expandCapacity() 226 if (newCap > (int32_t)(INT32_MAX / sizeof(int32_t))) { // integer overflow check in expandCapacity() 231 int32_t* newElems = (int32_t *)uprv_realloc(elements, sizeof(int32_t)*newCap); in expandCapacity() 238 capacity = newCap; in expandCapacity()
|
D | uvector.cpp | 341 int32_t newCap = capacity * 2; in ensureCapacity() local 342 if (newCap < minimumCapacity) { in ensureCapacity() 343 newCap = minimumCapacity; in ensureCapacity() 345 if (newCap > (int32_t)(INT32_MAX / sizeof(UElement))) { // integer overflow check in ensureCapacity() 350 UElement* newElems = (UElement *)uprv_realloc(elements, sizeof(UElement)*newCap); in ensureCapacity() 357 capacity = newCap; in ensureCapacity()
|
/third_party/icu/icu4c/source/common/ |
D | uvectr64.cpp | 137 int32_t newCap = capacity * 2; in expandCapacity() local 138 if (newCap < minimumCapacity) { in expandCapacity() 139 newCap = minimumCapacity; in expandCapacity() 141 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity() 142 newCap = maxCapacity; in expandCapacity() 144 if (newCap > (int32_t)(INT32_MAX / sizeof(int64_t))) { // integer overflow check in expandCapacity() 149 int64_t* newElems = (int64_t *)uprv_realloc(elements, sizeof(int64_t)*newCap); in expandCapacity() 156 capacity = newCap; in expandCapacity()
|
D | uvectr32.cpp | 219 int32_t newCap = capacity * 2; in expandCapacity() local 220 if (newCap < minimumCapacity) { in expandCapacity() 221 newCap = minimumCapacity; in expandCapacity() 223 if (maxCapacity > 0 && newCap > maxCapacity) { in expandCapacity() 224 newCap = maxCapacity; in expandCapacity() 226 if (newCap > (int32_t)(INT32_MAX / sizeof(int32_t))) { // integer overflow check in expandCapacity() 231 int32_t* newElems = (int32_t *)uprv_realloc(elements, sizeof(int32_t)*newCap); in expandCapacity() 238 capacity = newCap; in expandCapacity()
|
D | uvector.cpp | 341 int32_t newCap = capacity * 2; in ensureCapacity() local 342 if (newCap < minimumCapacity) { in ensureCapacity() 343 newCap = minimumCapacity; in ensureCapacity() 345 if (newCap > (int32_t)(INT32_MAX / sizeof(UElement))) { // integer overflow check in ensureCapacity() 350 UElement* newElems = (UElement *)uprv_realloc(elements, sizeof(UElement)*newCap); in ensureCapacity() 357 capacity = newCap; in ensureCapacity()
|
/third_party/skia/modules/canvaskit/htmlcanvas/ |
D | canvas2dcontext.js | 323 set: function(newCap) { argument 324 switch (newCap) {
|
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/ |
D | canvas2dcontext.js | 342 set: function(newCap) { argument 343 switch (newCap) {
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/ |
D | stylo.hpp | 60977 size_t newCap; in growStorageBy() local 60984 newCap = newSize / sizeof(T); in growStorageBy() 60990 newCap = 1; in growStorageBy() 61004 newCap = mLength * 2; in growStorageBy() 61005 if (detail::CapacityHasExcessSpace<T>(newCap)) { in growStorageBy() 61006 newCap += 1; in growStorageBy() 61022 newCap = newSize / sizeof(T); in growStorageBy() 61027 return convertToHeapStorage(newCap); in growStorageBy() 61031 return Impl::growTo(*this, newCap); in growStorageBy()
|