Home
last modified time | relevance | path

Searched refs:BufferCapacity (Results 1 – 6 of 6) sorted by relevance

/external/clang/lib/AST/
DNestedNameSpecifier.cpp451 unsigned &BufferCapacity) { in Append() argument
455 if (BufferSize + (End - Start) > BufferCapacity) { in Append()
458 (unsigned)(BufferCapacity ? BufferCapacity * 2 : sizeof(void *) * 2), in Append()
461 if (BufferCapacity) { in Append()
466 BufferCapacity = NewCapacity; in Append()
475 unsigned &BufferSize, unsigned &BufferCapacity) { in SaveSourceLocation() argument
479 Buffer, BufferSize, BufferCapacity); in SaveSourceLocation()
484 unsigned &BufferCapacity) { in SavePointer() argument
487 Buffer, BufferSize, BufferCapacity); in SavePointer()
494 BufferSize(0), BufferCapacity(0) in NestedNameSpecifierLocBuilder()
[all …]
/external/libcxxabi/src/demangle/
DUtility.h29 size_t BufferCapacity; variable
33 if (N + CurrentPosition >= BufferCapacity) { in grow()
34 BufferCapacity *= 2; in grow()
35 if (BufferCapacity < N + CurrentPosition) in grow()
36 BufferCapacity = N + CurrentPosition; in grow()
37 Buffer = static_cast<char *>(std::realloc(Buffer, BufferCapacity)); in grow()
66 : Buffer(StartBuf), CurrentPosition(0), BufferCapacity(Size) {} in OutputStream()
71 BufferCapacity = BufferCapacity_; in reset()
139 size_t getBufferCapacity() { return BufferCapacity; } in getBufferCapacity()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Demangle/
DUtility.h28 size_t BufferCapacity; variable
32 if (N + CurrentPosition >= BufferCapacity) { in grow()
33 BufferCapacity *= 2; in grow()
34 if (BufferCapacity < N + CurrentPosition) in grow()
35 BufferCapacity = N + CurrentPosition; in grow()
36 Buffer = static_cast<char *>(std::realloc(Buffer, BufferCapacity)); in grow()
65 : Buffer(StartBuf), CurrentPosition(0), BufferCapacity(Size) {} in OutputStream()
70 BufferCapacity = BufferCapacity_; in reset()
154 size_t getBufferCapacity() { return BufferCapacity; } in getBufferCapacity()
/external/compiler-rt/lib/esan/
Desan_circular_buffer.h29 CircularBuffer(uptr BufferCapacity) { in CircularBuffer() argument
30 initialize(BufferCapacity); in CircularBuffer()
37 void initialize(uptr BufferCapacity) { in initialize() argument
38 Capacity = BufferCapacity; in initialize()
/external/clang/include/clang/AST/
DNestedNameSpecifier.h358 unsigned BufferCapacity; variable
363 BufferCapacity(0) {} in NestedNameSpecifierLocBuilder()
371 if (BufferCapacity) in ~NestedNameSpecifierLocBuilder()
/external/vixl/src/aarch64/
Dassembler-aarch64.h4072 VIXL_DEPRECATED("GetBuffer().GetCapacity()", size_t BufferCapacity() const) {