Home
last modified time | relevance | path

Searched refs:NBytes (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/compiler-rt/lib/scudo/standalone/benchmarks/
Dmalloc_benchmark.cpp27 const size_t NBytes = State.range(0); in BM_malloc_free() local
31 void *Ptr = Allocator->allocate(NBytes, scudo::Chunk::Origin::Malloc); in BM_malloc_free()
33 for (size_t I = 0; I < NBytes; I += PageSize) in BM_malloc_free()
39 State.SetBytesProcessed(uint64_t(State.iterations()) * uint64_t(NBytes)); in BM_malloc_free()
/external/scudo/standalone/benchmarks/
Dmalloc_benchmark.cpp34 const size_t NBytes = State.range(0); in BM_malloc_free() local
38 void *Ptr = Allocator->allocate(NBytes, scudo::Chunk::Origin::Malloc); in BM_malloc_free()
40 for (size_t I = 0; I < NBytes; I += PageSize) in BM_malloc_free()
46 State.SetBytesProcessed(uint64_t(State.iterations()) * uint64_t(NBytes)); in BM_malloc_free()
/external/llvm-project/libcxxabi/src/
Dcxa_demangle.cpp264 void* allocateMassive(size_t NBytes) { in allocateMassive() argument
265 NBytes += sizeof(BlockMeta); in allocateMassive()
266 BlockMeta* NewMeta = reinterpret_cast<BlockMeta*>(std::malloc(NBytes)); in allocateMassive()
/external/libcxxabi/src/
Dcxa_demangle.cpp268 void* allocateMassive(size_t NBytes) { in allocateMassive() argument
269 NBytes += sizeof(BlockMeta); in allocateMassive()
270 BlockMeta* NewMeta = reinterpret_cast<BlockMeta*>(std::malloc(NBytes)); in allocateMassive()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/
DItaniumDemangle.cpp267 void* allocateMassive(size_t NBytes) { in allocateMassive() argument
268 NBytes += sizeof(BlockMeta); in allocateMassive()
269 BlockMeta* NewMeta = reinterpret_cast<BlockMeta*>(std::malloc(NBytes)); in allocateMassive()
/external/llvm-project/llvm/lib/Demangle/
DItaniumDemangle.cpp265 void* allocateMassive(size_t NBytes) { in allocateMassive() argument
266 NBytes += sizeof(BlockMeta); in allocateMassive()
267 BlockMeta* NewMeta = reinterpret_cast<BlockMeta*>(std::malloc(NBytes)); in allocateMassive()
/external/llvm-project/clang/include/clang/Sema/
DOverload.h1040 unsigned NBytes = sizeof(T) * N; in slabAllocate() local
1041 if (NBytes > NumInlineBytes - NumInlineBytesUsed) in slabAllocate()
1047 NumInlineBytesUsed += NBytes; in slabAllocate()
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp9255 uint64_t NBytes = NElems * TSize; in VisitBuiltinCallExpr() local
9262 if (DestOffset >= SrcOffset && DestOffset - SrcOffset < NBytes) { in VisitBuiltinCallExpr()
9274 SrcOffset - DestOffset < NBytes) { in VisitBuiltinCallExpr()