Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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 …]
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/boost/libs/interprocess/example/
Ddoc_anonymous_semaphore_shared_data.hpp15 enum { NumItems = 10 }; enumerator
18 : mutex(1), nempty(NumItems), nstored(0) in shared_memory_buffer()
26 int items[NumItems];
Dcomp_doc_anonymous_upgradable_mutexA.cpp55 for(int i = 0; i < shared_data::NumItems; ++i){ in main()
58 std::sprintf(data->items[(data->current_line++) % shared_data::NumItems] in main()
60 if(i == (shared_data::NumItems-1)) in main()
Dcomp_doc_anonymous_mutexA.cpp57 for(int i = 0; i < shared_memory_log::NumItems; ++i){ in main()
60 std::sprintf(data->items[(data->current_line++) % shared_memory_log::NumItems] in main()
62 if(i == (shared_memory_log::NumItems-1)) in main()
Ddoc_anonymous_mutex_shared_data.hpp16 enum { NumItems = 100 }; enumerator
29 char items[NumItems][LineSize];
Ddoc_upgradable_mutex_shared_data.hpp14 enum { NumItems = 100 }; enumerator
27 char items[NumItems][LineSize];
Dcomp_doc_anonymous_mutexB.cpp55 std::sprintf(data->items[(data->current_line++) % shared_memory_log::NumItems] in main()
57 if(i == (shared_memory_log::NumItems-1)) in main()
Dcomp_doc_anonymous_upgradable_mutexB.cpp56 std::sprintf(data->items[(data->current_line++) % shared_data::NumItems] in main()
58 if(i == (shared_data::NumItems-1)) in main()
Dcomp_doc_anonymous_semaphoreB.cpp60 extracted_data[i] = data->items[i % shared_memory_buffer::NumItems]; in main()
Dcomp_doc_anonymous_semaphoreA.cpp59 data->items[i % shared_memory_buffer::NumItems] = i; in main()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()