Home
last modified time | relevance | path

Searched refs:getSize (Results 1 – 25 of 1127) sorted by relevance

12345678910>>...46

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DArrayRecyclerTest.cpp28 EXPECT_LT(0u, Cap.getSize()); in TEST()
30 size_t PrevSize = Cap.getSize(); in TEST()
33 EXPECT_LE(N, Cap.getSize()); in TEST()
35 EXPECT_EQ(PrevSize, Cap.getSize()); in TEST()
37 EXPECT_LT(PrevSize, Cap.getSize()); in TEST()
38 PrevSize = Cap.getSize(); in TEST()
43 PrevSize = Cap.getSize(); in TEST()
46 EXPECT_LT(PrevSize, Cap.getSize()); in TEST()
47 PrevSize = Cap.getSize(); in TEST()
/external/llvm/unittests/Support/
DArrayRecyclerTest.cpp28 EXPECT_LT(0u, Cap.getSize()); in TEST()
30 size_t PrevSize = Cap.getSize(); in TEST()
33 EXPECT_LE(N, Cap.getSize()); in TEST()
35 EXPECT_EQ(PrevSize, Cap.getSize()); in TEST()
37 EXPECT_LT(PrevSize, Cap.getSize()); in TEST()
38 PrevSize = Cap.getSize(); in TEST()
43 PrevSize = Cap.getSize(); in TEST()
46 EXPECT_LT(PrevSize, Cap.getSize()); in TEST()
47 PrevSize = Cap.getSize(); in TEST()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCallingConvEmitter.cpp53 for (unsigned i = 0, e = CCActions->getSize(); i != e; ++i) { in EmitCallingConv()
71 for (unsigned i = 0, e = VTs->getSize(); i != e; ++i) { in EmitAction()
95 if (RegList->getSize() == 1) { in EmitAction()
102 for (unsigned i = 0, e = RegList->getSize(); i != e; ++i) { in EmitAction()
108 << Counter << ", " << RegList->getSize() << ")) {\n"; in EmitAction()
117 if (ShadowRegList->getSize() >0 && in EmitAction()
118 ShadowRegList->getSize() != RegList->getSize()) in EmitAction()
121 if (RegList->getSize() == 1) { in EmitAction()
133 for (unsigned i = 0, e = RegList->getSize(); i != e; ++i) { in EmitAction()
142 for (unsigned i = 0, e = ShadowRegList->getSize(); i != e; ++i) { in EmitAction()
[all …]
/external/swiftshader/third_party/LLVM/lib/Object/
DArchive.cpp44 uint64_t getSize() const { in getSize() function
58 ToHeader(Data.data())->getSize(); in getNext()
70 ToHeader(NextLoc)->getSize(); in getNext()
100 + Parent->StringTable->getSize())) in getName()
113 uint64_t Archive::Child::getSize() const { in getSize() function in Archive::Child
114 return ToHeader(Data.data())->getSize(); in getSize()
121 getSize()), in getBuffer()
162 ToHeader(Loc)->getSize(); in begin_children()
/external/swiftshader/third_party/LLVM/lib/Archive/
DArchiveReader.cpp285 At += mbr->getSize(); in loadArchive()
293 strtab.assign(At, mbr->getSize()); in loadArchive()
294 At += mbr->getSize(); in loadArchive()
306 if (!parseSymbolTable(mbr->getData(), mbr->getSize(), error)) in loadArchive()
309 At += mbr->getSize(); in loadArchive()
321 At += mbr->getSize(); in loadArchive()
351 MemoryBuffer::getMemBufferCopy(StringRef(I->getData(), I->getSize()), in getAllModules()
389 At += mbr->getSize(); in loadSymbolTable()
405 strtab.assign((const char*)mbr->getData(), mbr->getSize()); in loadSymbolTable()
406 At += mbr->getSize(); in loadSymbolTable()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/util/
DLruCache.java50 protected int getSize(Y item) { in getSize() method in LruCache
110 final int itemSize = getSize(item); in put()
118 currentSize += getSize(item); in put()
122 currentSize -= getSize(result); in put()
137 currentSize -= getSize(value); in remove()
159 currentSize -= getSize(toRemove); in trimToSize()
/external/llvm/lib/Target/XCore/
DXCoreMachineFunctionInfo.cpp42 LRSpillSlot = MFI->CreateFixedObject(RC->getSize(), 0, true); in createLRSpillSlot()
44 LRSpillSlot = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createLRSpillSlot()
56 FPSpillSlot = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createFPSpillSlot()
67 EHSpillSlot[0] = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createEHSpillSlot()
68 EHSpillSlot[1] = MFI->CreateStackObject(RC->getSize(), RC->getAlignment(), true); in createEHSpillSlot()
/external/parameter-framework/upstream/parameter/
DBitParameterBlock.cpp52 return getSize(); in getFootPrint()
56 size_t CBitParameterBlock::getSize() const in getSize() function in CBitParameterBlock
58 return static_cast<const CBitParameterBlockType *>(getTypeElement())->getSize(); in getSize()
74 pBlackboard->writeInteger(&uiDefaultValue, getSize(), in setDefaultValues()
DParameter.cpp75 return getSize(); in getFootPrint()
78 size_t CParameter::getSize() const in getSize() function in CParameter
80 return static_cast<const CParameterType *>(getTypeElement())->getSize(); in getSize()
94 pBlackboard->writeInteger(&uiDefaultValue, getSize(), in setDefaultValues()
186 pBlackboard->writeInteger(&uiData, getSize(), offset); in doSet()
201 pBlackboard->readInteger(&uiData, getSize(), offset); in doGet()
DArrayParameter.cpp51 return getSize() * getArrayLength(); in getFootPrint()
112 CParameter::doGetValue(strValue, getOffset() + index * getSize(), in accessValue()
189 size_t size = getSize(); in setDefaultValues()
271 size_t size = getSize(); in setValues()
294 size_t size = getSize(); in getValues()
356 size_t size = getSize(); in setValues()
380 size_t size = getSize(); in getValues()
415 pBlackboard->writeInteger(&uiData, getSize(), offset); in doSet()
430 pBlackboard->readInteger(&uiData, getSize(), offset); in doGet()
DParameterType.cpp59 size_t CParameterType::getSize() const in getSize() function in CParameterType
119 strResult += "Scalar size: " + std::to_string(getSize()) + " byte(s) \n"; in showProperties()
154 size_t shift = CHAR_BIT * (sizeof(data) - getSize()); in doSignExtend()
179 if (getSize() == sizeof(data)) { in doIsEncodable()
184 size_t shift = getSize() * 8; in doIsEncodable()
204 size_t sizeInBits = getSize() * 8; in makeEncodable()
DStringParameter.cpp52 return getSize(); in getFootPrint()
55 size_t CStringParameter::getSize() const in getSize() function in CStringParameter
73 if (strValue.length() >= getSize()) { in doSetValue()
77 std::to_string(getSize() - 1)); in doSetValue()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZip64ExtendedInformationExtraFieldTest.java92 assertEquals(SIZE, f.getSize()); in testReadLFHSizesOnly()
107 assertEquals(SIZE, f.getSize()); in testReadLFHSizesAndOffset()
123 assertEquals(SIZE, f.getSize()); in testReadLFHSizesOffsetAndDisk()
138 assertEquals(SIZE, f.getSize()); in testReadLFHSizesAndDisk()
154 assertEquals(SIZE, f.getSize()); in testReadCDSizesOffsetAndDisk()
169 assertEquals(SIZE, f.getSize()); in testReadCDSizesAndOffset()
183 assertNull(f.getSize()); in testReadCDSomethingAndDisk()
197 assertEquals(SIZE, f.getSize()); in testReparseCDSingleEightByteData()
203 assertNull(f.getSize()); in testReparseCDSingleEightByteData()
209 assertNull(f.getSize()); in testReparseCDSingleEightByteData()
/external/clang/test/Parser/
Dobjcxx11-attributes.mm6 - (int) getSize; method
13 int a[ [noreturn getSize] ];
18 int c[ [noreturn getSize] + 1 ];
25 [ [ int(), noreturn getSelf ] getSize ]; // expected-warning {{unused}}
30 [[[[] { return [ X alloc ]; } () init] getSelf] getSize];
52 int(g)([[noreturn getSelf] getSize]);
53 int(h)([[noreturn]{return noreturn;}() getSize]);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DMachOUniversal.cpp151 bigSize += A.getSize(); in MachOUniversalBinary()
194 A.getOffset() < B.getOffset() + B.getSize()) || in MachOUniversalBinary()
195 (A.getOffset() + A.getSize() > B.getOffset() && in MachOUniversalBinary()
196 A.getOffset() + A.getSize() < B.getOffset() + B.getSize()) || in MachOUniversalBinary()
198 A.getOffset() + A.getSize() >= B.getOffset() + B.getSize())) { in MachOUniversalBinary()
202 Twine(A.getSize()) + ", overlaps cputype (" + Twine(B.getCPUType()) + in MachOUniversalBinary()
205 + Twine(B.getSize())); in MachOUniversalBinary()
/external/xz-java/src/org/tukaani/xz/
DBlockInputStream.java83 - headerSize - check.getSize(); in BlockInputStream()
130 int headerAndCheckSize = headerSize + check.getSize(); in BlockInputStream()
220 long compressedSize = inCounted.getSize(); in read()
251 long compressedSize = inCounted.getSize(); in validate()
267 byte[] storedCheck = new byte[check.getSize()]; in validate()
299 return headerSize + inCounted.getSize() + check.getSize(); in getUnpaddedSize()
DBlockOutputStream.java85 - headerSize - check.getSize(); in BlockOutputStream()
111 for (long i = outCounted.getSize(); (i & 3) != 0; ++i) in finish()
119 long compressedSize = outCounted.getSize(); in validate()
129 return headerSize + outCounted.getSize() + check.getSize(); in getUnpaddedSize()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/
DArrayRecycler.h50 __asan_unpoison_memory_region(Entry, Capacity::get(Idx).getSize()); in pop()
52 __msan_allocated_memory(Entry, Capacity::get(Idx).getSize()); in pop()
64 __asan_poison_memory_region(Ptr, Capacity::get(Idx).getSize()); in push()
85 size_t getSize() const { return size_t(1u) << Index; } in getSize() function
131 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align)); in allocate()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DZipArchiveOutputStream.java531 entry.bytesRead = entry.entry.getSize(); in closeCopiedEntry()
585 && ae.getSize() != ArchiveEntry.SIZE_UNKNOWN in addRawArchiveEntry()
628 if (entry.entry.getSize() != bytesWritten) { in handleSizesAndCrc()
631 + entry.entry.getSize() in handleSizesAndCrc()
663 …return zipArchiveEntry.getSize() >= ZIP64_MAGIC || zipArchiveEntry.getCompressedSize() >= ZIP64_MA… in isTooLageForZip32()
679 writeOut(ZipLong.getBytes(entry.entry.getSize())); in rewriteSizesAndCrc()
693 writeOut(ZipEightByteInteger.getBytes(entry.entry.getSize())); in rewriteSizesAndCrc()
767 size = new ZipEightByteInteger(entry.entry.getSize()); in putArchiveEntry()
770 && entry.entry.getSize() != ArchiveEntry.SIZE_UNKNOWN) { in putArchiveEntry()
772 compressedSize = size = new ZipEightByteInteger(entry.entry.getSize()); in putArchiveEntry()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/
DESDescriptor.java107 if (getSize() > baseSize + 2) { in parseDetail()
110 … - ESDescriptor1 read: " + read + ", size: " + (descriptor != null ? descriptor.getSize() : null)); in parseDetail()
112 final int size = descriptor.getSize(); in parseDetail()
124 if (getSize() > baseSize + 2) { in parseDetail()
127 … - ESDescriptor2 read: " + read + ", size: " + (descriptor != null ? descriptor.getSize() : null)); in parseDetail()
129 final int size = descriptor.getSize(); in parseDetail()
142 while (getSize() - baseSize > 2) { in parseDetail()
146 … - ESDescriptor3 read: " + read + ", size: " + (descriptor != null ? descriptor.getSize() : null)); in parseDetail()
148 final int size = descriptor.getSize(); in parseDetail()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/verifier/structurals/
DInstConstraintVisitor.java271 if ((idx < 0) || (idx >= cpg.getSize())) { in visitCPInstruction()
328 if (locals().maxLocals() <= (o.getType(cpg).getSize()==1? o.getIndex() : o.getIndex()+1) ) { in visitLocalVariableInstruction()
348 if (o.getType(cpg).getSize() == 2) { in visitLoadInstruction()
373 if ((stack().maxStack() - stack().slotsUsed()) < o.getType(cpg).getSize()) { in visitLoadInstruction()
927 if (stack().peek().getSize() != 1) { in visitDUP()
929 "' because it must occupy exactly one slot, not '"+stack().peek().getSize()+"'."); in visitDUP()
938 if (stack().peek().getSize() != 1) { in visitDUP_X1()
940 …ack top '"+stack().peek()+"' should occupy exactly one slot, not '"+stack().peek().getSize()+"'."); in visitDUP_X1()
942 if (stack().peek(1).getSize() != 1) { in visitDUP_X1()
945 "' should occupy exactly one slot, not '"+stack().peek(1).getSize()+"'."); in visitDUP_X1()
[all …]
/external/clang/lib/CodeGen/
DCGBuilder.h61 llvm::ConstantInt *getSize(CharUnits N) { in getSize() function
64 llvm::ConstantInt *getSize(uint64_t N) { in getSize() function
209 {getSize(CharUnits::Zero()),
210 getSize(Index)},
226 getSize(Index), Name),
240 getSize(Index), Name),
248 return Address(CreateInBoundsGEP(Addr.getPointer(), getSize(Offset), Name),
254 return Address(CreateGEP(Addr.getPointer(), getSize(Offset), Name),
261 return CreateInBoundsGEP(Ptr, getSize(Offset), Name);
266 return CreateGEP(Ptr, getSize(Offset), Name);
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemYCbCrConversionTests.cpp397 ? imageData.getSize().x() / formatDesc.planes[planeNdx].widthDivisor in uploadYCbCrImage()
398 : imageData.getSize().x(); in uploadYCbCrImage()
400 ? imageData.getSize().y() / formatDesc.planes[planeNdx].heightDivisor in uploadYCbCrImage()
401 : imageData.getSize().y(); in uploadYCbCrImage()
1025 for (int y = 0; y < rChannelAccess.getSize().y(); y++) in generateYCbCrImage()
1026 for (int x = 0; x < rChannelAccess.getSize().x(); x++) in generateYCbCrImage()
1027 rChannelAccess.setChannel(tcu::IVec3(x, y, 0), (float)x / (float)rChannelAccess.getSize().x()); in generateYCbCrImage()
1032 for (int y = 0; y < gChannelAccess.getSize().y(); y++) in generateYCbCrImage()
1033 for (int x = 0; x < gChannelAccess.getSize().x(); x++) in generateYCbCrImage()
1034 gChannelAccess.setChannel(tcu::IVec3(x, y, 0), (float)y / (float)gChannelAccess.getSize().y()); in generateYCbCrImage()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gifbitmap/
DGifBitmapWrapper.java30 public int getSize() { in getSize() method in GifBitmapWrapper
32 return bitmapResource.getSize(); in getSize()
34 return gifResource.getSize(); in getSize()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DPrettyTypeDumper.cpp41 return S1->getSize() < S2->getSize(); in CompareSizes()
49 double Pct1 = (double)S1->deepPaddingSize() / (double)S1->getSize(); in ComparePaddingPct()
50 double Pct2 = (double)S2->deepPaddingSize() / (double)S2->getSize(); in ComparePaddingPct()
60 double Pct1 = (double)S1->immediatePadding() / (double)S1->getSize(); in ComparePaddingPctImmediate()
61 double Pct2 = (double)S2->immediatePadding() / (double)S2->getSize(); in ComparePaddingPctImmediate()

12345678910>>...46