Home
last modified time | relevance | path

Searched refs:CurSize (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm/include/llvm/ADT/
DSmallVector.h232 size_t CurSize = this->size(); in grow() local
249 this->setEnd(NewElts+CurSize); in grow()
719 size_t CurSize = this->size(); variable
720 if (CurSize >= RHSSize) {
743 CurSize = 0;
745 } else if (CurSize) {
747 std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin());
751 this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
752 this->begin()+CurSize);
778 size_t CurSize = this->size(); variable
[all …]
DIntervalMap.h332 unsigned CurSize[], const unsigned NewSize[]) { in adjustSiblingSizes() argument
335 if (CurSize[n] == NewSize[n]) in adjustSiblingSizes()
338 int d = Node[n]->adjustFromLeftSib(CurSize[n], *Node[m], CurSize[m], in adjustSiblingSizes()
339 NewSize[n] - CurSize[n]); in adjustSiblingSizes()
340 CurSize[m] -= d; in adjustSiblingSizes()
341 CurSize[n] += d; in adjustSiblingSizes()
343 if (CurSize[n] >= NewSize[n]) in adjustSiblingSizes()
353 if (CurSize[n] == NewSize[n]) in adjustSiblingSizes()
356 int d = Node[m]->adjustFromLeftSib(CurSize[m], *Node[n], CurSize[n], in adjustSiblingSizes()
357 CurSize[n] - NewSize[n]); in adjustSiblingSizes()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSmallVector.h235 size_t CurSize = this->size(); in grow() local
252 this->setEnd(NewElts+CurSize); in grow()
721 size_t CurSize = this->size(); variable
722 if (CurSize >= RHSSize) {
745 CurSize = 0;
747 } else if (CurSize) {
749 std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin());
753 this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
754 this->begin()+CurSize);
780 size_t CurSize = this->size(); variable
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
DIntervalMap.h338 unsigned CurSize[], const unsigned NewSize[]) { in adjustSiblingSizes() argument
341 if (CurSize[n] == NewSize[n]) in adjustSiblingSizes()
344 int d = Node[n]->adjustFromLeftSib(CurSize[n], *Node[m], CurSize[m], in adjustSiblingSizes()
345 NewSize[n] - CurSize[n]); in adjustSiblingSizes()
346 CurSize[m] -= d; in adjustSiblingSizes()
347 CurSize[n] += d; in adjustSiblingSizes()
349 if (CurSize[n] >= NewSize[n]) in adjustSiblingSizes()
359 if (CurSize[n] == NewSize[n]) in adjustSiblingSizes()
362 int d = Node[m]->adjustFromLeftSib(CurSize[m], *Node[n], CurSize[n], in adjustSiblingSizes()
363 CurSize[n] - NewSize[n]); in adjustSiblingSizes()
[all …]
DSmallVector.h837 size_t CurSize = this->size(); variable
838 if (CurSize >= RHSSize) {
861 CurSize = 0;
863 } else if (CurSize) {
865 std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin());
869 this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
870 this->begin()+CurSize);
896 size_t CurSize = this->size(); variable
897 if (CurSize >= RHSSize) {
921 CurSize = 0;
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DIntervalMap.h338 unsigned CurSize[], const unsigned NewSize[]) { in adjustSiblingSizes() argument
341 if (CurSize[n] == NewSize[n]) in adjustSiblingSizes()
344 int d = Node[n]->adjustFromLeftSib(CurSize[n], *Node[m], CurSize[m], in adjustSiblingSizes()
345 NewSize[n] - CurSize[n]); in adjustSiblingSizes()
346 CurSize[m] -= d; in adjustSiblingSizes()
347 CurSize[n] += d; in adjustSiblingSizes()
349 if (CurSize[n] >= NewSize[n]) in adjustSiblingSizes()
359 if (CurSize[n] == NewSize[n]) in adjustSiblingSizes()
362 int d = Node[m]->adjustFromLeftSib(CurSize[m], *Node[n], CurSize[n], in adjustSiblingSizes()
363 CurSize[n] - NewSize[n]); in adjustSiblingSizes()
[all …]
DSmallVector.h714 size_t CurSize = this->size(); variable
715 if (CurSize >= RHSSize) {
738 CurSize = 0;
740 } else if (CurSize) {
742 std::copy(RHS.begin(), RHS.begin()+CurSize, this->begin());
746 this->uninitialized_copy(RHS.begin()+CurSize, RHS.end(),
747 this->begin()+CurSize);
773 size_t CurSize = this->size(); variable
774 if (CurSize >= RHSSize) {
798 CurSize = 0;
[all …]
/external/lzma/CPP/7zip/UI/Common/
DHashCalc.cpp109 CurSize = 0; in InitForNewFile()
120 CurSize += size; in Update()
127 CurSize = size; in SetSize()
148 AltStreamsSize += CurSize; in Final()
153 FilesSize += CurSize; in Final()
DHashCalc.h52 UInt64 CurSize; member
/external/clang/include/clang/Analysis/Support/
DBumpVector.h222 size_t CurSize = size(); in grow() local
238 memcpy(NewElts, Begin, CurSize * sizeof(T)); in grow()
245 End = NewElts+CurSize; in grow()
/external/llvm-project/clang/include/clang/Analysis/Support/
DBumpVector.h227 size_t CurSize = size(); in grow() local
243 memcpy(NewElts, Begin, CurSize * sizeof(T)); in grow()
250 End = NewElts+CurSize; in grow()
/external/llvm/lib/MC/MCParser/
DELFAsmParser.cpp239 unsigned CurSize; in ParseSectionName() local
241 CurSize = getTok().getIdentifier().size() + 2; in ParseSectionName()
244 CurSize = getTok().getIdentifier().size(); in ParseSectionName()
247 CurSize = getTok().getString().size(); in ParseSectionName()
250 Size += CurSize; in ParseSectionName()
254 if (PrevLoc.getPointer() + CurSize != getTok().getLoc().getPointer()) in ParseSectionName()
/external/llvm-project/llvm/lib/MC/MCParser/
DELFAsmParser.cpp257 unsigned CurSize; in ParseSectionName() local
259 CurSize = getTok().getIdentifier().size() + 2; in ParseSectionName()
262 CurSize = getTok().getIdentifier().size(); in ParseSectionName()
265 CurSize = getTok().getString().size(); in ParseSectionName()
268 Size += CurSize; in ParseSectionName()
272 if (PrevLoc.getPointer() + CurSize != getTok().getLoc().getPointer()) in ParseSectionName()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCParser/
DELFAsmParser.cpp257 unsigned CurSize; in ParseSectionName() local
259 CurSize = getTok().getIdentifier().size() + 2; in ParseSectionName()
262 CurSize = getTok().getIdentifier().size(); in ParseSectionName()
265 CurSize = getTok().getString().size(); in ParseSectionName()
268 Size += CurSize; in ParseSectionName()
272 if (PrevLoc.getPointer() + CurSize != getTok().getLoc().getPointer()) in ParseSectionName()
/external/llvm-project/llvm/lib/FuzzMutate/
DIRMutator.cpp54 void IRMutator::mutateModule(Module &M, int Seed, size_t CurSize, in mutateModule() argument
64 Strategy->getWeight(CurSize, MaxSize, RS.totalWeight())); in mutateModule()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DIRMutator.cpp54 void IRMutator::mutateModule(Module &M, int Seed, size_t CurSize, in mutateModule() argument
64 Strategy->getWeight(CurSize, MaxSize, RS.totalWeight())); in mutateModule()
/external/clang/include/clang/AST/
DASTVector.h378 size_t CurSize = size(); in grow() local
394 memcpy(NewElts, Begin, CurSize * sizeof(T)); in grow()
400 End = NewElts+CurSize; in grow()
/external/llvm-project/clang/include/clang/AST/
DASTVector.h382 size_t CurSize = size(); in grow() local
398 memcpy(NewElts, Begin, CurSize * sizeof(T)); in grow()
404 End = NewElts+CurSize; in grow()
/external/llvm-project/llvm/include/llvm/FuzzMutate/
DIRMutator.h70 void mutateModule(Module &M, int Seed, size_t CurSize, size_t MaxSize);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/FuzzMutate/
DIRMutator.h70 void mutateModule(Module &M, int Seed, size_t CurSize, size_t MaxSize);
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DIntervalMap.cpp120 const unsigned *CurSize, unsigned NewSize[], in distribute() argument
/external/llvm-project/llvm/lib/Support/
DIntervalMap.cpp121 const unsigned *CurSize, unsigned NewSize[], in distribute() argument
/external/llvm/lib/Support/
DIntervalMap.cpp121 const unsigned *CurSize, unsigned NewSize[], in distribute() argument
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidyOptions.cpp251 auto CurSize = CurOptions.size(); in addRawFileOptions() local
285 std::reverse(CurOptions.begin() + CurSize, CurOptions.end()); in addRawFileOptions()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp665 unsigned CurSize = CGM.getDataLayout().getTypeAllocSize(C->getType()); in VisitCastExpr() local
668 assert(CurSize <= TotalSize && "Union size mismatch!"); in VisitCastExpr()
669 if (unsigned NumPadBytes = TotalSize - CurSize) { in VisitCastExpr()

12