Home
last modified time | relevance | path

Searched refs:NumItems (Results 1 – 4 of 4) sorted by relevance

/external/llvm/include/llvm/ADT/
DStringMap.h49 unsigned NumItems; variable
57 NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {} in StringMapImpl()
60 NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones), in StringMapImpl()
64 RHS.NumItems = 0; in StringMapImpl()
100 unsigned getNumItems() const { return NumItems; } in getNumItems()
102 bool empty() const { return NumItems == 0; } in empty()
103 unsigned size() const { return NumItems; } in size()
108 std::swap(NumItems, Other.NumItems); in swap()
319 ++NumItems; in insert()
320 assert(NumItems + NumTombstones <= NumBuckets); in insert()
[all …]
/external/llvm/lib/Support/
DStringMap.cpp32 NumItems = 0; in StringMapImpl()
40 NumItems = 0; in init()
173 --NumItems; in RemoveKey()
175 assert(NumItems + NumTombstones <= NumBuckets); in RemoveKey()
191 if (LLVM_UNLIKELY(NumItems * 4 > NumBuckets * 3)) { in RehashTable()
193 } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <= in RehashTable()
/external/clang/lib/CodeGen/
DCGObjC.cpp1484 static const unsigned NumItems = 16; in EmitObjCForCollectionStmt() local
1497 llvm::APInt(32, NumItems), in EmitObjCForCollectionStmt()
1533 llvm::Constant *Count = llvm::ConstantInt::get(UnsignedLongLTy, NumItems); in EmitObjCForCollectionStmt()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4561 unsigned NumItems = Record[CurIdx++]; in parseFunctionBody() local
4562 for (unsigned ci = 0; ci != NumItems; ++ci) { in parseFunctionBody()