OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:NewCapacity
(Results
1 - 8
of
8
) sorted by null
/external/clang/lib/Sema/
TypeLocBuilder.cpp
45
void TypeLocBuilder::grow(size_t
NewCapacity
) {
46
assert(
NewCapacity
> Capacity);
49
char *NewBuffer = new char[
NewCapacity
];
50
unsigned NewIndex = Index +
NewCapacity
- Capacity;
59
Capacity =
NewCapacity
;
76
size_t
NewCapacity
= Capacity * 2;
77
while (RequiredCapacity >
NewCapacity
)
78
NewCapacity
*= 2;
79
grow(
NewCapacity
);
/external/clang/include/clang/AST/
ASTVector.h
376
size_t
NewCapacity
= 2*CurCapacity;
377
if (
NewCapacity
< MinSize)
378
NewCapacity
= MinSize;
381
T *NewElts = new (C, llvm::alignOf<T>()) T[
NewCapacity
];
397
Capacity = Begin+
NewCapacity
;
/external/clang/include/clang/Analysis/Support/
BumpVector.h
218
size_t
NewCapacity
= 2*CurCapacity;
219
if (
NewCapacity
< MinSize)
220
NewCapacity
= MinSize;
223
T *NewElts = C.getAllocator().template Allocate<T>(
NewCapacity
);
240
Capacity = Begin+
NewCapacity
;
/external/clang/lib/AST/
NestedNameSpecifier.cpp
403
unsigned
NewCapacity
407
char *NewBuffer = static_cast<char *>(malloc(
NewCapacity
));
413
BufferCapacity =
NewCapacity
;
/external/llvm/include/llvm/ADT/
SmallVector.h
272
size_t
NewCapacity
= size_t(NextPowerOf2(CurCapacity+2));
273
if (
NewCapacity
< MinSize)
274
NewCapacity
= MinSize;
275
T *NewElts = static_cast<T*>(malloc(
NewCapacity
*sizeof(T)));
289
this->CapacityX = this->begin()+
NewCapacity
;
/external/chromium_org/v8/src/
scanner.h
268
inline int
NewCapacity
(int min_capacity) {
275
Vector<byte> new_store = Vector<byte>::New(
NewCapacity
(kInitialCapacity));
288
new_store = Vector<byte>::New(
NewCapacity
(new_content_size));
/external/clang/lib/CodeGen/
CGCleanup.cpp
106
unsigned
NewCapacity
= CurrentCapacity;
108
NewCapacity
*= 2;
109
} while (
NewCapacity
< UsedCapacity + Size);
111
char *NewStartOfBuffer = new char[
NewCapacity
];
112
char *NewEndOfBuffer = NewStartOfBuffer +
NewCapacity
;
[
all
...]
/external/v8/src/
scanner.h
229
inline int
NewCapacity
(int min_capacity) {
236
Vector<byte> new_store = Vector<byte>::New(
NewCapacity
(kInitialCapacity));
249
new_store = Vector<byte>::New(
NewCapacity
(new_content_size));
Completed in 4065 milliseconds