OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:oldCapacity
(Results
1 - 25
of
68
) sorted by null
1
2
3
/external/qemu/android/base/containers/
PodVector.cpp
75
size_t
oldCapacity
= itemCapacity(itemSize);
78
if (newSize <
oldCapacity
) {
80
if (newSize <
oldCapacity
/ 2 &&
oldCapacity
> kMinCapacity) {
83
} else if (newSize >
oldCapacity
) {
84
size_t newCapacity =
oldCapacity
;
/sdk/emulator/opengl/shared/emugl/common/
pod_vector.cpp
69
size_t
oldCapacity
= itemCapacity(itemSize);
72
if (newSize <
oldCapacity
) {
74
if (newSize <
oldCapacity
/ 2 &&
oldCapacity
> kMinCapacity) {
77
} else if (newSize >
oldCapacity
) {
78
size_t newCapacity =
oldCapacity
;
id_to_object_map.cpp
188
size_t
oldCapacity
= 1U << mShift;
219
for (size_t n = 0; n <
oldCapacity
; ++n) {
/external/qemu/android/utils/
intmap.c
99
int
oldCapacity
= map->capacity;
110
if (
oldCapacity
< 256)
111
newCapacity =
oldCapacity
*2;
113
newCapacity =
oldCapacity
+ (
oldCapacity
>> 2);
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/misc/
IntArrayList.java
90
int
oldCapacity
= elements.length;
91
if (n>=
oldCapacity
) {
/external/chromium_org/third_party/WebKit/Source/core/html/
CollectionItemsCache.h
95
ptrdiff_t
oldCapacity
= allocationSize();
100
if (ptrdiff_t diff = allocationSize() -
oldCapacity
)
/external/qemu/android/base/
String.cpp
202
size_t
oldCapacity
= capacity();
203
if (newSize <
oldCapacity
) {
204
if (
oldCapacity
>= 256U && newSize <
oldCapacity
/ 2) {
207
} else if (newSize >
oldCapacity
) {
211
size_t newCapacity =
oldCapacity
;
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
ExpandedNameTable.java
247
int
oldCapacity
= m_capacity;
250
int newCapacity = 2 *
oldCapacity
+ 1;
255
for (int i =
oldCapacity
-1; i >=0 ; i--)
/libcore/luni/src/main/java/java/util/
HashMap.java
519
int
oldCapacity
= oldTable.length;
520
if (newCapacity <=
oldCapacity
) {
523
if (newCapacity ==
oldCapacity
* 2) {
532
for (int i = 0; i <
oldCapacity
; i++) {
565
int
oldCapacity
= oldTable.length;
566
if (
oldCapacity
== MAXIMUM_CAPACITY) {
569
int newCapacity =
oldCapacity
* 2;
575
for (int j = 0; j <
oldCapacity
; j++) {
584
int highBit = e.hash &
oldCapacity
;
588
int nextHighBit = n.hash &
oldCapacity
;
[
all
...]
Hashtable.java
442
int
oldCapacity
= oldTable.length;
443
if (newCapacity <=
oldCapacity
) {
449
if (newCapacity ==
oldCapacity
* 2) {
458
for (int i = 0; i <
oldCapacity
; i++) {
502
int
oldCapacity
= oldTable.length;
503
if (
oldCapacity
== MAXIMUM_CAPACITY) {
506
int newCapacity =
oldCapacity
* 2;
512
for (int j = 0; j <
oldCapacity
; j++) {
521
int highBit = e.hash &
oldCapacity
;
525
int nextHighBit = n.hash &
oldCapacity
;
[
all
...]
Scanner.java
[
all
...]
/external/srec/portable/src/
phashtable.c
277
unsigned int
oldCapacity
= table->args.capacity;
278
unsigned int newCapacity = ((
oldCapacity
<< 1) | 0x01);
293
for (i =
oldCapacity
; i < newCapacity; ++i)
298
for (i = 0; i <
oldCapacity
; i++)
/external/chromium_org/third_party/skia/src/core/
SkTDynamicHash.h
251
int
oldCapacity
= fCapacity;
258
for (int i = 0; i <
oldCapacity
; i++) {
/external/skia/src/core/
SkTDynamicHash.h
204
int
oldCapacity
= fCapacity;
211
for (int i = 0; i <
oldCapacity
; i++) {
/external/guava/guava/src/com/google/common/collect/
MinMaxPriorityQueue.java
929
int
oldCapacity
= queue.length;
930
int newCapacity = (
oldCapacity
< 64)
931
? (
oldCapacity
+ 1) * 2
932
: IntMath.checkedMultiply(
oldCapacity
/ 2, 3);
MapMakerInternalMap.java
[
all
...]
/external/chromium_org/third_party/WebKit/Source/wtf/
Deque.h
331
size_t
oldCapacity
= m_buffer.capacity();
333
m_buffer.allocateBuffer(std::max(static_cast<size_t>(16),
oldCapacity
+
oldCapacity
/ 4 + 1));
338
size_t newStart = m_buffer.capacity() - (
oldCapacity
- m_start);
339
TypeOperations::move(oldBuffer + m_start, oldBuffer +
oldCapacity
, m_buffer.buffer() + newStart);
Vector.h
878
size_t
oldCapacity
= capacity();
879
size_t expandedCapacity =
oldCapacity
;
886
RELEASE_ASSERT(expandedCapacity >
oldCapacity
);
[
all
...]
/libcore/luni/src/main/java/java/util/concurrent/
ScheduledThreadPoolExecutor.java
[
all
...]
/external/smack/src/org/jivesoftware/smack/util/collections/
AbstractHashedMap.java
591
int
oldCapacity
= data.length;
592
if (newCapacity <=
oldCapacity
) {
603
for (int i =
oldCapacity
- 1; i >= 0; i--) {
[
all
...]
/frameworks/base/core/java/com/android/internal/widget/
PointerLocationView.java
[
all
...]
/external/chromium_org/third_party/icu/source/i18n/
ucol.cpp
295
int32_t
oldCapacity
;
297
oldCapacity
= data->extendCEsSize;
299
oldCapacity
= LENGTHOF(data->CEs);
301
return reallocCEs(data, 2 *
oldCapacity
);
306
int32_t
oldCapacity
;
308
oldCapacity
= data->extendCEsSize;
310
oldCapacity
= LENGTHOF(data->CEs);
312
if(minCapacity <=
oldCapacity
) {
315
oldCapacity
*= 2;
316
return reallocCEs(data, minCapacity >
oldCapacity
? minCapacity : oldCapacity)
[
all
...]
/external/guava/guava/src/com/google/common/cache/
LocalCache.java
[
all
...]
/prebuilts/tools/common/m2/repository/jdom/jdom/1.0/
jdom-1.0.jar
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.ds_1.2.1.R36x_v20100803.jar
Completed in 2567 milliseconds
1
2
3