Searched refs:NewSize (Results 1 - 21 of 21) sorted by relevance

/external/llvm/lib/Support/
H A DStringMap.cpp185 unsigned NewSize; local
192 NewSize = NumBuckets*2;
194 NewSize = NumBuckets;
203 (StringMapEntryBase **)calloc(NewSize+1, sizeof(StringMapEntryBase *) +
205 unsigned *NewHashArray = (unsigned *)(NewTableArray + NewSize + 1);
206 NewTableArray[NewSize] = (StringMapEntryBase*)2;
215 unsigned NewBucket = FullHash & (NewSize-1);
217 NewTableArray[FullHash & (NewSize-1)] = Bucket;
218 NewHashArray[FullHash & (NewSize-1)] = FullHash;
227 NewBucket = (NewBucket + ProbeSize++) & (NewSize
[all...]
H A DIntervalMap.cpp121 const unsigned *CurSize, unsigned NewSize[],
134 Sum += NewSize[n] = PerNode + (n < Extra);
136 PosPair = IdxPair(n, Position - (Sum - NewSize[n]));
143 assert(NewSize[PosPair.first] && "Too few elements to need Grow");
144 --NewSize[PosPair.first];
150 assert(NewSize[n] <= Capacity && "Overallocated node");
151 Sum += NewSize[n];
120 distribute(unsigned Nodes, unsigned Elements, unsigned Capacity, const unsigned *CurSize, unsigned NewSize[], unsigned Position, bool Grow) argument
H A DSmallPtrSet.cpp130 void SmallPtrSetImplBase::Grow(unsigned NewSize) {
138 CurArray = (const void**)malloc(sizeof(void*) * NewSize);
140 CurArraySize = NewSize;
141 memset(CurArray, -1, NewSize*sizeof(void*));
/external/llvm/include/llvm/ADT/
H A DIndexedMap.h66 unsigned NewSize = toIndex_(n) + 1; local
67 if (NewSize > storage_.size())
68 resize(NewSize);
H A DIntervalMap.h328 /// @param NewSize Array of desired node sizes.
331 unsigned CurSize[], const unsigned NewSize[]) {
334 if (CurSize[n] == NewSize[n])
338 NewSize[n] - CurSize[n]);
342 if (CurSize[n] >= NewSize[n])
352 if (CurSize[n] == NewSize[n])
356 CurSize[n] - NewSize[n]);
360 if (CurSize[n] >= NewSize[n])
367 assert(CurSize[n] == NewSize[n] && "Insufficient element shuffle");
381 /// NewSize[] wil
330 adjustSiblingSizes(NodeT *Node[], unsigned Nodes, unsigned CurSize[], const unsigned NewSize[]) argument
[all...]
H A DSmallBitVector.h94 void switchToSmall(uintptr_t NewSmallBits, size_t NewSize) { argument
96 setSmallSize(NewSize);
H A DSmallPtrSet.h132 void Grow(unsigned NewSize);
H A DBitVector.h546 void grow(unsigned NewSize) {
547 Capacity = std::max(NumBitWords(NewSize), Capacity * 2);
/external/llvm/lib/Target/MSP430/
H A DMSP430BranchSelector.cpp141 unsigned NewSize; local
146 NewSize = 4;
159 NewSize = 6;
167 // Remember that this instruction is NewSize bytes, increase the size of the
168 // block by NewSize-2, remember to iterate.
169 BlockSizes[MBB.getNumber()] += NewSize-2;
170 MBBStartOffset += NewSize;
/external/llvm/lib/ExecutionEngine/JIT/
H A DJITMemoryManager.cpp97 /// than NewSize, split it into two pieces (where the former is NewSize
100 uint64_t NewSize);
138 void GrowBlock(uintptr_t NewSize);
215 void FreeRangeHeader::GrowBlock(uintptr_t NewSize) { argument
216 assert(NewSize > BlockSize && "Not growing block?");
217 BlockSize = NewSize;
223 /// than NewSize, split it into two pieces (where the former is NewSize
226 TrimAllocationToSize(FreeRangeHeader *FreeList, uint64_t NewSize) { argument
[all...]
/external/deqp/framework/common/
H A DtcuVector.hpp169 template <int NewSize>
170 Vector<T, NewSize> toWidth (void) const;
251 template <int NewSize>
252 inline Vector<T, NewSize> Vector<T, Size>::toWidth (void) const
254 Vector<T, NewSize> res;
256 for (i = 0; i < deMin32(Size, NewSize); i++)
258 for (; i < NewSize; i++)
/external/llvm/tools/llvm-diff/
H A DDifferenceEngine.cpp69 unsigned NewSize = Storage.size() - 1; local
70 if (NewSize) {
73 Storage[0] = Storage[NewSize];
75 std::swap(Storage[0], Storage[NewSize]);
85 if (R >= NewSize) {
87 if (L >= NewSize) break;
/external/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h59 void updateSizeAndTBAAInfo(uint64_t NewSize, const MDNode *NewTBAAInfo) { argument
60 if (NewSize > Size) Size = NewSize;
H A DAliasAnalysis.h129 Location getWithNewSize(uint64_t NewSize) const {
131 Copy.Size = NewSize;
/external/llvm/include/llvm/Support/
H A DOnDiskHashTable.h99 void resize(size_t NewSize) { argument
100 Bucket *NewBuckets = (Bucket *)std::calloc(NewSize, sizeof(Bucket));
106 insert(NewBuckets, NewSize, E);
111 NumBuckets = NewSize;
/external/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp460 unsigned NewSize = 0; local
463 UserChain[NewSize] = *I;
464 NewSize++;
467 UserChain.resize(NewSize);
/external/clang/lib/AST/
H A DRecordLayoutBuilder.cpp750 void setSize(CharUnits NewSize) { Size = Context.toBits(NewSize); } argument
751 void setSize(uint64_t NewSize) { Size = NewSize; } argument
761 void setDataSize(CharUnits NewSize) { DataSize = Context.toBits(NewSize); } argument
762 void setDataSize(uint64_t NewSize) { DataSize = NewSize; } argument
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/include/
H A Dlcms2_plugin.h106 CMSAPI void* CMSEXPORT _cmsRealloc(cmsContext ContextID, void* Ptr, cmsUInt32Number NewSize);
225 typedef void* (* _cmsReallocFnPtrType)(cmsContext ContextID, void* Ptr, cmsUInt32Number NewSize);
/external/llvm/lib/Linker/
H A DLinkModules.cpp850 uint64_t NewSize = DstTy->getNumElements() + SrcTy->getNumElements();
851 ArrayType *NewType = ArrayType::get(EltTy, NewSize);
/external/llvm/lib/Target/ARM/
H A DARMConstantIslandPass.cpp1947 unsigned NewSize = TII->GetInstSizeInBytes(NewJTMI); local
1956 int delta = OrigSize - NewSize;
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
H A DAntlr.Runtime.pas3544 NewSize: Integer;
3546 NewSize := Max(Length(FBits) shl 1,NumWordsToHold(Bit));
3547 SetLength(FBits,NewSize);

Completed in 4009 milliseconds