Home
last modified time | relevance | path

Searched refs:NewCapacityInBytes (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-subzero/lib/Support/
DSmallVector.cpp22 size_t NewCapacityInBytes = 2 * capacity_in_bytes() + TSize; // Always grow. in grow_pod() local
23 if (NewCapacityInBytes < MinSizeInBytes) in grow_pod()
24 NewCapacityInBytes = MinSizeInBytes; in grow_pod()
28 NewElts = malloc(NewCapacityInBytes); in grow_pod()
34 NewElts = realloc(this->BeginX, NewCapacityInBytes); in grow_pod()
40 this->CapacityX = (char*)this->BeginX + NewCapacityInBytes; in grow_pod()
/external/llvm/lib/Support/
DSmallVector.cpp22 size_t NewCapacityInBytes = 2 * capacity_in_bytes() + TSize; // Always grow. in grow_pod() local
23 if (NewCapacityInBytes < MinSizeInBytes) in grow_pod()
24 NewCapacityInBytes = MinSizeInBytes; in grow_pod()
28 NewElts = malloc(NewCapacityInBytes); in grow_pod()
34 NewElts = realloc(this->BeginX, NewCapacityInBytes); in grow_pod()
40 this->CapacityX = (char*)this->BeginX + NewCapacityInBytes; in grow_pod()