/external/flac/oss-fuzz/fuzzing/datasource/ |
D | datasource.hpp | 135 uint32_t getSize; in get() local 136 if ( left < sizeof(getSize) ) { in get() 139 memcpy(&getSize, data + idx, sizeof(getSize)); in get() 140 idx += sizeof(getSize); in get() 141 left -= sizeof(getSize); in get() 143 if ( getSize < min ) { in get() 144 getSize = min; in get() 146 if ( max && getSize > max ) { in get() 147 getSize = max; in get() 150 if ( left < getSize ) { in get() [all …]
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
D | quarantine_test.cpp | 77 EXPECT_EQ(ToDeallocate.getSize(), 0UL); in TEST() 85 EXPECT_EQ(BlockSize + sizeof(scudo::QuarantineBatch), Cache.getSize()); in TEST() 92 EXPECT_EQ(BlockSize + sizeof(scudo::QuarantineBatch), Cache.getSize()); in TEST() 94 EXPECT_EQ(ToDeallocate.getSize(), 0UL); in TEST() 111 Cache.getSize()); in TEST() 118 EXPECT_EQ(BlockSize * 2 + sizeof(scudo::QuarantineBatch), Cache.getSize()); in TEST() 119 EXPECT_EQ(ToDeallocate.getSize(), sizeof(scudo::QuarantineBatch)); in TEST() 139 Cache.getSize()); in TEST() 147 Cache.getSize()); in TEST() 148 EXPECT_EQ(ToDeallocate.getSize(), 0UL); in TEST() [all …]
|
/external/scudo/standalone/tests/ |
D | quarantine_test.cpp | 77 EXPECT_EQ(ToDeallocate.getSize(), 0UL); in TEST() 85 EXPECT_EQ(BlockSize + sizeof(scudo::QuarantineBatch), Cache.getSize()); in TEST() 92 EXPECT_EQ(BlockSize + sizeof(scudo::QuarantineBatch), Cache.getSize()); in TEST() 94 EXPECT_EQ(ToDeallocate.getSize(), 0UL); in TEST() 111 Cache.getSize()); in TEST() 118 EXPECT_EQ(BlockSize * 2 + sizeof(scudo::QuarantineBatch), Cache.getSize()); in TEST() 119 EXPECT_EQ(ToDeallocate.getSize(), sizeof(scudo::QuarantineBatch)); in TEST() 139 Cache.getSize()); in TEST() 147 Cache.getSize()); in TEST() 148 EXPECT_EQ(ToDeallocate.getSize(), 0UL); in TEST() [all …]
|
/external/llvm/unittests/Support/ |
D | ArrayRecyclerTest.cpp | 28 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-project/llvm/unittests/Support/ |
D | ArrayRecyclerTest.cpp | 27 EXPECT_LT(0u, Cap.getSize()); in TEST() 29 size_t PrevSize = Cap.getSize(); in TEST() 32 EXPECT_LE(N, Cap.getSize()); in TEST() 34 EXPECT_EQ(PrevSize, Cap.getSize()); in TEST() 36 EXPECT_LT(PrevSize, Cap.getSize()); in TEST() 37 PrevSize = Cap.getSize(); in TEST() 42 PrevSize = Cap.getSize(); in TEST() 45 EXPECT_LT(PrevSize, Cap.getSize()); in TEST() 46 PrevSize = Cap.getSize(); in TEST()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BTFDebug.h | 47 virtual uint32_t getSize() { return BTF::CommonTypeSize; } in getSize() function 87 uint32_t getSize() { return BTFTypeBase::getSize() + sizeof(uint32_t); } in getSize() function 99 uint32_t getSize() { in getSize() function 100 return BTFTypeBase::getSize() + EnumValues.size() * BTF::BTFEnumSize; in getSize() 112 uint32_t getSize() { return BTFTypeBase::getSize() + BTF::BTFArraySize; } in getSize() function 126 uint32_t getSize() { in getSize() function 127 return BTFTypeBase::getSize() + Members.size() * BTF::BTFMemberSize; in getSize() 143 uint32_t getSize() { in getSize() function 144 return BTFTypeBase::getSize() + Parameters.size() * BTF::BTFParamSize; in getSize() 156 uint32_t getSize() { return BTFTypeBase::getSize(); } in getSize() function [all …]
|
/external/llvm-project/llvm/lib/Target/BPF/ |
D | BTFDebug.h | 53 virtual uint32_t getSize() { return BTF::CommonTypeSize; } in getSize() function 93 uint32_t getSize() override { return BTFTypeBase::getSize() + sizeof(uint32_t); } in getSize() function 105 uint32_t getSize() override { in getSize() function 106 return BTFTypeBase::getSize() + EnumValues.size() * BTF::BTFEnumSize; in getSize() 118 uint32_t getSize() override { return BTFTypeBase::getSize() + BTF::BTFArraySize; } in getSize() function 132 uint32_t getSize() override { in getSize() function 133 return BTFTypeBase::getSize() + Members.size() * BTF::BTFMemberSize; in getSize() 149 uint32_t getSize() override { in getSize() function 150 return BTFTypeBase::getSize() + Parameters.size() * BTF::BTFParamSize; in getSize() 162 uint32_t getSize() override { return BTFTypeBase::getSize(); } in getSize() function [all …]
|
/external/llvm-project/lld/ELF/ |
D | SyntheticSections.h | 50 virtual size_t getSize() const = 0; 74 size_t getSize() const override { return size; } in getSize() function 127 size_t getSize() const override { return size; } in getSize() function 157 size_t getSize() const override { return 0; } in getSize() function 164 size_t getSize() const override; 176 size_t getSize() const override { return headerSize + hashSize; } in getSize() function 194 size_t getSize() const override { return size; } in getSize() function 204 size_t getSize() const override { return size; } in getSize() function 381 size_t getSize() const override; 401 size_t getSize() const override; [all …]
|
/external/llvm-project/lld/COFF/ |
D | Chunks.h | 61 size_t getSize() const; 149 virtual size_t getSize() const = 0; 203 size_t getSize() const { return header->SizeOfRawData; } in getSize() function 349 inline size_t Chunk::getSize() const { in getSize() function 351 return static_cast<const SectionChunk *>(this)->getSize(); in getSize() 353 return static_cast<const NonSectionChunk *>(this)->getSize(); in getSize() 410 size_t getSize() const override; 425 size_t getSize() const override { return sym.getValue(); } in getSize() function 437 size_t getSize() const override { return str.size() + 1; } in getSize() function 476 size_t getSize() const override { return sizeof(importThunkX86); } in getSize() function [all …]
|
D | DLL.cpp | 43 size_t getSize() const override { in getSize() function in lld::coff::__anond8d7b50b0111::HintNameChunk 50 memset(buf, 0, getSize()); in writeTo() 66 size_t getSize() const override { return config->wordsize; } in getSize() function in lld::coff::__anond8d7b50b0111::LookupChunk 86 size_t getSize() const override { return config->wordsize; } in getSize() function in lld::coff::__anond8d7b50b0111::OrdinalOnlyChunk 105 size_t getSize() const override { return sizeof(ImportDirectoryTableEntry); } in getSize() function in lld::coff::__anond8d7b50b0111::ImportDirectoryChunk 108 memset(buf, 0, getSize()); in writeTo() 126 size_t getSize() const override { return size; } in getSize() function in lld::coff::__anond8d7b50b0111::NullChunk 169 size_t getSize() const override { in getSize() function in lld::coff::__anond8d7b50b0111::DelayDirectoryChunk 174 memset(buf, 0, getSize()); in writeTo() 299 size_t getSize() const override { return sizeof(thunkX64); } in getSize() function in lld::coff::__anond8d7b50b0111::ThunkChunkX64 [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/util/ |
D | LruCache.java | 50 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/ |
D | XCoreMachineFunctionInfo.cpp | 42 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/ |
D | BitParameterBlock.cpp | 52 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()
|
D | Parameter.cpp | 75 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()
|
D | ParameterType.cpp | 59 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()
|
D | StringParameter.cpp | 52 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()
|
D | ArrayParameter.cpp | 51 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()
|
/external/llvm-project/lld/MachO/ |
D | Writer.cpp | 78 uint32_t getSize() const override { return sizeof(dyld_info_command); } in getSize() function in __anon898e87d60111::LCDyldInfo 83 c->cmdsize = getSize(); in writeTo() 120 uint32_t getSize() const override { return sizeof(dysymtab_command); } in getSize() function in __anon898e87d60111::LCDysymtab 125 c->cmdsize = getSize(); in writeTo() 145 uint32_t getSize() const override { in getSize() function in __anon898e87d60111::LCSegment 155 c->cmdsize = getSize(); in writeTo() 166 seg->lastSection()->addr + seg->lastSection()->getSize() - c->vmaddr; in writeTo() 189 sectHdr->size = osec->getSize(); in writeTo() 201 uint32_t getSize() const override { return sizeof(entry_point_command); } in getSize() function in __anon898e87d60111::LCMain 206 c->cmdsize = getSize(); in writeTo() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/ |
D | Zip64ExtendedInformationExtraFieldTest.java | 92 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/llvm-project/clang/test/Parser/ |
D | objcxx11-attributes.mm | 6 - (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/clang/test/Parser/ |
D | objcxx11-attributes.mm | 6 - (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/llvm-project/llvm/include/llvm/Support/ |
D | ArrayRecycler.h | 49 __asan_unpoison_memory_region(Entry, Capacity::get(Idx).getSize()); in pop() 51 __msan_allocated_memory(Entry, Capacity::get(Idx).getSize()); in pop() 63 __asan_poison_memory_region(Ptr, Capacity::get(Idx).getSize()); in push() 84 size_t getSize() const { return size_t(1u) << Index; } in getSize() function 130 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align)); in allocate()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | ArrayRecycler.h | 49 __asan_unpoison_memory_region(Entry, Capacity::get(Idx).getSize()); in pop() 51 __msan_allocated_memory(Entry, Capacity::get(Idx).getSize()); in pop() 63 __asan_poison_memory_region(Ptr, Capacity::get(Idx).getSize()); in push() 84 size_t getSize() const { return size_t(1u) << Index; } in getSize() function 130 return static_cast<T*>(Allocator.Allocate(sizeof(T)*Cap.getSize(), Align)); in allocate()
|
/external/xz-java/src/org/tukaani/xz/ |
D | BlockInputStream.java | 83 - 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()
|
D | BlockOutputStream.java | 85 - 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()
|