Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DStringMap.h57 unsigned NumItems; variable
65 NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {} in StringMapImpl()
68 NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones), in StringMapImpl()
72 RHS.NumItems = 0; in StringMapImpl()
111 unsigned getNumItems() const { return NumItems; } in getNumItems()
113 bool empty() const { return NumItems == 0; } in empty()
114 unsigned size() const { return NumItems; } in size()
119 std::swap(NumItems, Other.NumItems); in swap()
268 NumItems = RHS.NumItems; in StringMap()
357 ++NumItems; in insert()
[all …]
/external/llvm/include/llvm/ADT/
DStringMap.h50 unsigned NumItems; variable
58 NumBuckets(0), NumItems(0), NumTombstones(0), ItemSize(itemSize) {} in StringMapImpl()
61 NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones), in StringMapImpl()
65 RHS.NumItems = 0; in StringMapImpl()
104 unsigned getNumItems() const { return NumItems; } in getNumItems()
106 bool empty() const { return NumItems == 0; } in empty()
107 unsigned size() const { return NumItems; } in size()
112 std::swap(NumItems, Other.NumItems); in swap()
262 NumItems = RHS.NumItems; in StringMap()
353 ++NumItems; in insert()
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
DStringMap.h37 unsigned NumItems = 0; variable
45 NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones), in StringMapImpl()
49 RHS.NumItems = 0; in StringMapImpl()
90 unsigned getNumItems() const { return NumItems; } in getNumItems()
92 bool empty() const { return NumItems == 0; } in empty()
93 unsigned size() const { return NumItems; } in size()
98 std::swap(NumItems, Other.NumItems); in swap()
149 NumItems = RHS.NumItems; in StringMap()
285 ++NumItems; in insert()
286 assert(NumItems + NumTombstones <= NumBuckets); in insert()
[all …]
DSmallVector.h498 void pop_back_n(size_type NumItems) { in pop_back_n() argument
499 assert(this->size() >= NumItems); in pop_back_n()
500 this->destroy_range(this->end() - NumItems, this->end()); in pop_back_n()
501 this->set_size(this->size() - NumItems); in pop_back_n()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DStringMap.h56 unsigned NumItems = 0; variable
65 NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones), in StringMapImpl()
69 RHS.NumItems = 0; in StringMapImpl()
108 unsigned getNumItems() const { return NumItems; } in getNumItems()
110 bool empty() const { return NumItems == 0; } in empty()
111 unsigned size() const { return NumItems; } in size()
116 std::swap(NumItems, Other.NumItems); in swap()
282 NumItems = RHS.NumItems; in StringMap()
402 ++NumItems; in insert()
403 assert(NumItems + NumTombstones <= NumBuckets); in insert()
[all …]
/external/llvm/lib/Support/
DStringMap.cpp46 NumItems = 0; in StringMapImpl()
54 NumItems = 0; in init()
187 --NumItems; in RemoveKey()
189 assert(NumItems + NumTombstones <= NumBuckets); in RemoveKey()
205 if (LLVM_UNLIKELY(NumItems * 4 > NumBuckets * 3)) { in RehashTable()
207 } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <= in RehashTable()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DStringMap.cpp48 NumItems = 0; in StringMapImpl()
56 NumItems = 0; in init()
187 --NumItems; in RemoveKey()
189 assert(NumItems + NumTombstones <= NumBuckets); in RemoveKey()
203 if (LLVM_UNLIKELY(NumItems * 4 > NumBuckets * 3)) { in RehashTable()
205 } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <= in RehashTable()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DStringMap.cpp48 NumItems = 0; in StringMapImpl()
57 NumItems = 0; in init()
191 --NumItems; in RemoveKey()
193 assert(NumItems + NumTombstones <= NumBuckets); in RemoveKey()
207 if (LLVM_UNLIKELY(NumItems * 4 > NumBuckets * 3)) { in RehashTable()
209 } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <= in RehashTable()
/external/llvm-project/llvm/lib/Support/
DStringMap.cpp46 NumItems = 0; in StringMapImpl()
55 NumItems = 0; in init()
191 --NumItems; in RemoveKey()
193 assert(NumItems + NumTombstones <= NumBuckets); in RemoveKey()
207 if (LLVM_UNLIKELY(NumItems * 4 > NumBuckets * 3)) { in RehashTable()
209 } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <= in RehashTable()
/external/llvm/include/llvm/DebugInfo/CodeView/
DStreamReader.h83 Error readArray(FixedStreamArray<T> &Array, uint32_t NumItems) { in readArray() argument
84 if (NumItems == 0) { in readArray()
88 uint32_t Length = NumItems * sizeof(T); in readArray()
89 if (Length / sizeof(T) != NumItems) in readArray()
/external/llvm-project/llvm/include/llvm/Support/
DBinaryStreamReader.h236 Error readArray(FixedStreamArray<T> &Array, uint32_t NumItems) { in readArray() argument
237 if (NumItems == 0) { in readArray()
242 if (NumItems > UINT32_MAX / sizeof(T)) in readArray()
247 if (auto EC = readStreamRef(View, NumItems * sizeof(T))) in readArray()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DBinaryStreamReader.h235 Error readArray(FixedStreamArray<T> &Array, uint32_t NumItems) { in readArray() argument
236 if (NumItems == 0) { in readArray()
241 if (NumItems > UINT32_MAX / sizeof(T)) in readArray()
246 if (auto EC = readStreamRef(View, NumItems * sizeof(T))) in readArray()
/external/llvm-project/llvm/tools/llvm-rc/
DResourceFileWriter.cpp906 uint16_t NumItems = Header->ResCount; in visitIconOrCursorResource() local
910 ItemEntries.reserve(NumItems); in visitIconOrCursorResource()
911 std::vector<uint32_t> ItemOffsets(NumItems); in visitIconOrCursorResource()
912 for (size_t ID = 0; ID < NumItems; ++ID) { in visitIconOrCursorResource()
921 for (size_t ID = 0; ID < NumItems; ++ID) { in visitIconOrCursorResource()
933 for (size_t ID = 0; ID < NumItems; ++ID) { in visitIconOrCursorResource()
/external/capstone/bindings/vb6/
DForm1.frm93 NumItems = 1
/external/clang/lib/CodeGen/
DCGObjC.cpp1478 static const unsigned NumItems = 16; in EmitObjCForCollectionStmt() local
1491 llvm::APInt(32, NumItems), in EmitObjCForCollectionStmt()
1529 llvm::Constant *Count = llvm::ConstantInt::get(UnsignedLongLTy, NumItems); in EmitObjCForCollectionStmt()
/external/llvm-project/clang/lib/CodeGen/
DCGObjC.cpp1735 static const unsigned NumItems = 16; in EmitObjCForCollectionStmt() local
1748 llvm::APInt(32, NumItems), nullptr, in EmitObjCForCollectionStmt()
1784 llvm::Constant *Count = llvm::ConstantInt::get(NSUIntegerTy, NumItems); in EmitObjCForCollectionStmt()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4384 unsigned NumItems = Record[CurIdx++]; in parseFunctionBody() local
4385 for (unsigned ci = 0; ci != NumItems; ++ci) { in parseFunctionBody()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4999 unsigned NumItems = Record[CurIdx++]; in parseFunctionBody() local
5000 for (unsigned ci = 0; ci != NumItems; ++ci) { in parseFunctionBody()
/external/llvm-project/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4486 unsigned NumItems = Record[CurIdx++]; in parseFunctionBody() local
4487 for (unsigned ci = 0; ci != NumItems; ++ci) { in parseFunctionBody()