OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:newCap
(Results
1 - 5
of
5
) sorted by null
/external/icu/icu4c/source/common/
uvectr64.cpp
137
int32_t
newCap
= capacity * 2;
138
if (
newCap
< minimumCapacity) {
139
newCap
= minimumCapacity;
141
if (maxCapacity > 0 &&
newCap
> maxCapacity) {
142
newCap
= maxCapacity;
144
if (
newCap
> (int32_t)(INT32_MAX / sizeof(int64_t))) { // integer overflow check
149
int64_t* newElems = (int64_t *)uprv_realloc(elements, sizeof(int64_t)*
newCap
);
156
capacity =
newCap
;
uvectr32.cpp
219
int32_t
newCap
= capacity * 2;
220
if (
newCap
< minimumCapacity) {
221
newCap
= minimumCapacity;
223
if (maxCapacity > 0 &&
newCap
> maxCapacity) {
224
newCap
= maxCapacity;
226
if (
newCap
> (int32_t)(INT32_MAX / sizeof(int32_t))) { // integer overflow check
231
int32_t* newElems = (int32_t *)uprv_realloc(elements, sizeof(int32_t)*
newCap
);
238
capacity =
newCap
;
uvector.cpp
341
int32_t
newCap
= capacity * 2;
342
if (
newCap
< minimumCapacity) {
343
newCap
= minimumCapacity;
345
if (
newCap
> (int32_t)(INT32_MAX / sizeof(UElement))) { // integer overflow check
350
UElement* newElems = (UElement *)uprv_realloc(elements, sizeof(UElement)*
newCap
);
357
capacity =
newCap
;
/external/lzma/CPP/Common/
DynamicBuffer.h
20
size_t
newCap
= _size + delta;
21
if (
newCap
< delta)
23
newCap
= _size + size;
24
if (
newCap
< size)
28
T *newBuffer = new T[
newCap
];
33
_size =
newCap
;
/external/kotlinc/lib/
trove4j.jar
Completed in 1218 milliseconds