Home
last modified time | relevance | path

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

/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/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DStringMap.h57 unsigned NumItems = 0; variable
66 NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones), in StringMapImpl()
70 RHS.NumItems = 0; in StringMapImpl()
109 unsigned getNumItems() const { return NumItems; } in getNumItems()
111 bool empty() const { return NumItems == 0; } in empty()
112 unsigned size() const { return NumItems; } in size()
117 std::swap(NumItems, Other.NumItems); in swap()
260 NumItems = RHS.NumItems; in StringMap()
375 ++NumItems; in insert()
376 assert(NumItems + NumTombstones <= NumBuckets); in insert()
[all …]
/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-7.0/llvm/lib/Support/
DStringMap.cpp49 NumItems = 0; in StringMapImpl()
58 NumItems = 0; in init()
192 --NumItems; in RemoveKey()
194 assert(NumItems + NumTombstones <= NumBuckets); in RemoveKey()
208 if (LLVM_UNLIKELY(NumItems * 4 > NumBuckets * 3)) { in RehashTable()
210 } else if (LLVM_UNLIKELY(NumBuckets - (NumItems + NumTombstones) <= in RehashTable()
/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/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DBinaryStreamReader.h223 Error readArray(FixedStreamArray<T> &Array, uint32_t NumItems) { in readArray() argument
224 if (NumItems == 0) { in readArray()
229 if (NumItems > UINT32_MAX / sizeof(T)) in readArray()
234 if (auto EC = readStreamRef(View, NumItems * sizeof(T))) in readArray()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-rc/
DResourceFileWriter.cpp901 uint16_t NumItems = Header->ResCount; in visitIconOrCursorResource() local
905 ItemEntries.reserve(NumItems); in visitIconOrCursorResource()
906 std::vector<uint32_t> ItemOffsets(NumItems); in visitIconOrCursorResource()
907 for (size_t ID = 0; ID < NumItems; ++ID) { in visitIconOrCursorResource()
916 for (size_t ID = 0; ID < NumItems; ++ID) { in visitIconOrCursorResource()
928 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/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp4011 unsigned NumItems = Record[CurIdx++]; in parseFunctionBody() local
4012 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()