Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Support/
DStringMap.cpp197 ItemBucket *NewTableArray =(ItemBucket*)calloc(NewSize+1, sizeof(ItemBucket)); in RehashTable() local
198 NewTableArray[NewSize].Item = (StringMapEntryBase*)2; in RehashTable()
207 if (NewTableArray[NewBucket].Item == 0) { in RehashTable()
208 NewTableArray[FullHash & (NewSize-1)].Item = IB->Item; in RehashTable()
209 NewTableArray[FullHash & (NewSize-1)].FullHashValue = FullHash; in RehashTable()
217 } while (NewTableArray[NewBucket].Item); in RehashTable()
220 NewTableArray[NewBucket].Item = IB->Item; in RehashTable()
221 NewTableArray[NewBucket].FullHashValue = FullHash; in RehashTable()
227 TheTable = NewTableArray; in RehashTable()
/external/llvm/lib/Support/
DStringMap.cpp217 StringMapEntryBase **NewTableArray = in RehashTable() local
220 unsigned *NewHashArray = (unsigned *)(NewTableArray + NewSize + 1); in RehashTable()
221 NewTableArray[NewSize] = (StringMapEntryBase*)2; in RehashTable()
231 if (!NewTableArray[NewBucket]) { in RehashTable()
232 NewTableArray[FullHash & (NewSize-1)] = Bucket; in RehashTable()
243 } while (NewTableArray[NewBucket]); in RehashTable()
246 NewTableArray[NewBucket] = Bucket; in RehashTable()
255 TheTable = NewTableArray; in RehashTable()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DStringMap.cpp220 auto NewTableArray = static_cast<StringMapEntryBase **>( in RehashTable() local
223 unsigned *NewHashArray = (unsigned *)(NewTableArray + NewSize + 1); in RehashTable()
224 NewTableArray[NewSize] = (StringMapEntryBase*)2; in RehashTable()
234 if (!NewTableArray[NewBucket]) { in RehashTable()
235 NewTableArray[FullHash & (NewSize-1)] = Bucket; in RehashTable()
246 } while (NewTableArray[NewBucket]); in RehashTable()
249 NewTableArray[NewBucket] = Bucket; in RehashTable()
258 TheTable = NewTableArray; in RehashTable()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DStringMap.cpp215 StringMapEntryBase **NewTableArray = in RehashTable() local
218 unsigned *NewHashArray = (unsigned *)(NewTableArray + NewSize + 1); in RehashTable()
219 NewTableArray[NewSize] = (StringMapEntryBase*)2; in RehashTable()
229 if (!NewTableArray[NewBucket]) { in RehashTable()
230 NewTableArray[FullHash & (NewSize-1)] = Bucket; in RehashTable()
241 } while (NewTableArray[NewBucket]); in RehashTable()
244 NewTableArray[NewBucket] = Bucket; in RehashTable()
253 TheTable = NewTableArray; in RehashTable()