OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:NewCapacity
(Results
1 - 7
of
7
) 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
378
size_t
NewCapacity
= 2*CurCapacity;
379
if (
NewCapacity
< MinSize)
380
NewCapacity
= MinSize;
383
T *NewElts = new (C, llvm::alignOf<T>()) T[
NewCapacity
];
399
Capacity.setPointer(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
405
unsigned
NewCapacity
409
char *NewBuffer = static_cast<char *>(malloc(
NewCapacity
));
415
BufferCapacity =
NewCapacity
;
/external/llvm/include/llvm/ADT/
SmallVector.h
251
size_t
NewCapacity
= size_t(NextPowerOf2(CurCapacity+2));
252
if (
NewCapacity
< MinSize)
253
NewCapacity
= MinSize;
254
T *NewElts = static_cast<T*>(malloc(
NewCapacity
*sizeof(T)));
268
this->CapacityX = this->begin()+
NewCapacity
;
/external/chromium_org/v8/src/
scanner.h
253
inline int
NewCapacity
(int min_capacity) {
260
Vector<byte> new_store = Vector<byte>::New(
NewCapacity
(kInitialCapacity));
273
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
...]
Completed in 1142 milliseconds