/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
D | OffsettedItem.java | 32 private int writeSize; field in OffsettedItem 70 public OffsettedItem(int alignment, int writeSize) { in OffsettedItem() argument 73 if (writeSize < -1) { in OffsettedItem() 78 this.writeSize = writeSize; in OffsettedItem() 136 public final void setWriteSize(int writeSize) { in setWriteSize() argument 137 if (writeSize < 0) { in setWriteSize() 141 if (this.writeSize >= 0) { in setWriteSize() 145 this.writeSize = writeSize; in setWriteSize() 154 public final int writeSize() { in writeSize() method in OffsettedItem 155 if (writeSize < 0) { in writeSize() [all …]
|
D | MixedItemSection.java | 76 private int writeSize; field in MixedItemSection 95 this.writeSize = -1; in MixedItemSection() 106 public int writeSize() { in writeSize() method in MixedItemSection 108 return writeSize; in writeSize() 135 if (writeSize == -1) { in writeHeaderPart() 139 int sz = writeSize; in writeHeaderPart() 319 outAt = placedAt + one.writeSize(); in placeItems() 326 writeSize = outAt; in placeItems() 355 at += one.writeSize(); in writeTo0() 358 if (at != writeSize) { in writeTo0()
|
D | UniformListItem.java | 56 super(getAlignment(items), writeSize(items)); in UniformListItem() 93 private static int writeSize(List<? extends OffsettedItem> items) { in writeSize() method in UniformListItem 99 return (items.size() * first.writeSize()) + getAlignment(items); in writeSize() 167 int size = i.writeSize(); in place0()
|
D | UniformItemSection.java | 45 public final int writeSize() { in writeSize() method in UniformItemSection 54 return sz * items.iterator().next().writeSize(); in writeSize() 100 int relativeOffset = ii.getIndex() * ii.writeSize(); in getAbsoluteItemOffset()
|
D | StringDataItem.java | 38 super(1, writeSize(value)); in StringDataItem() 49 private static int writeSize(CstString value) { in writeSize() method in StringDataItem
|
D | AnnotationSetItem.java | 50 super(ALIGNMENT, writeSize(annotations)); in AnnotationSetItem() 68 private static int writeSize(Annotations annotations) { in writeSize() method in AnnotationSetItem
|
D | HeaderItem.java | 44 public int writeSize() { in writeSize() method in HeaderItem 62 lastDataSection.writeSize() - dataOff; in writeTo()
|
D | Statistics.java | 134 int size = item.writeSize(); in Data() 149 int size = item.writeSize(); in add()
|
D | Item.java | 55 public abstract int writeSize(); in writeSize() method in Item
|
D | TypeIdItem.java | 46 public int writeSize() { in writeSize() method in TypeIdItem
|
D | StringIdItem.java | 80 public int writeSize() { in writeSize() method in StringIdItem
|
D | MemberIdItem.java | 46 public int writeSize() { in writeSize() method in MemberIdItem
|
D | Section.java | 236 public abstract int writeSize(); in writeSize() method in Section
|
D | ProtoIdItem.java | 105 public int writeSize() { in writeSize() method in ProtoIdItem
|
D | CatchStructs.java | 182 public int writeSize() { in writeSize() method in CatchStructs
|
D | CodeItem.java | 212 catchesSize = catches.writeSize(); in place0()
|
D | ClassDefItem.java | 122 public int writeSize() { in writeSize() method in ClassDefItem
|
D | DexFile.java | 546 offset = placedAt + one.writeSize(); in toDex0()
|
/external/deqp/framework/delibs/destream/ |
D | deRingbuffer.c | 130 deInt32 writeSize = 0; in producerStream_write() local 140 writeSize = deMin32(ringbuffer->blockSize - ringbuffer->inPos, bufSize - *written); in producerStream_write() 144 deMemcpy(dst, src, (size_t)writeSize); in producerStream_write() 146 ringbuffer->inPos += writeSize; in producerStream_write() 147 *written += writeSize; in producerStream_write() 148 ringbuffer->blockUsage[ringbuffer->inBlock] += writeSize; in producerStream_write() 206 deInt32 writeSize = 0; in consumerStream_read() local 237 …writeSize = deMin32(ringbuffer->blockUsage[ringbuffer->outBlock] - ringbuffer->outPos, bufSize - *… in consumerStream_read() 241 deMemcpy(dst, src, (size_t)writeSize); in consumerStream_read() 243 ringbuffer->outPos += writeSize; in consumerStream_read() [all …]
|
/external/skia/tests/ |
D | PDFDeflateWStreamTest.cpp | 118 uint32_t writeSize = in DEF_TEST() local 120 if (!deflateWStream.write(&buffer[j], writeSize)) { in DEF_TEST() 124 j += writeSize; in DEF_TEST()
|
/external/okhttp/okio/okio/src/test/java/okio/ |
D | BufferTest.java | 175 int writeSize = Segment.SIZE / 2 + 1; in writeSplitSourceBufferLeft() local 182 sink.write(source, writeSize); in writeSplitSourceBufferLeft() 184 assertEquals(asList(Segment.SIZE - 10, writeSize), sink.segmentSizes()); in writeSplitSourceBufferLeft() 185 assertEquals(asList(Segment.SIZE - writeSize, Segment.SIZE), source.segmentSizes()); in writeSplitSourceBufferLeft() 190 int writeSize = Segment.SIZE / 2 - 1; in writeSplitSourceBufferRight() local 197 sink.write(source, writeSize); in writeSplitSourceBufferRight() 199 assertEquals(asList(Segment.SIZE - 10, writeSize), sink.segmentSizes()); in writeSplitSourceBufferRight() 200 assertEquals(asList(Segment.SIZE - writeSize, Segment.SIZE), source.segmentSizes()); in writeSplitSourceBufferRight()
|
/external/deqp/framework/delibs/decpp/ |
D | deBlockBuffer.cpp | 143 int writeSize = rnd.getInt(1, de::min(m_numMessages-msgNdx, DE_LENGTH_OF_ARRAY(tmpBuf))); in run() local 144 for (int ndx = 0; ndx < writeSize; ndx++) in run() 147 m_buffer.write(writeSize, &tmpBuf[0]); in run()
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | ByteStringTest.java | 429 for (int writeSize : writeSizes) { in testNewOutput_ArrayWrite() 432 for (int i = 0; i < length; i += writeSize) { in testNewOutput_ArrayWrite() 433 output.write(bytes, i, Math.min(writeSize, length - i)); in testNewOutput_ArrayWrite()
|
/external/skia/src/core/ |
D | SkPathRef.cpp | 271 SkASSERT(buffer->pos() - beforePos == (size_t) this->writeSize()); in writeToBuffer() 274 uint32_t SkPathRef::writeSize() const { in writeSize() function in SkPathRef
|
/external/skia/include/core/ |
D | SkPathRef.h | 272 uint32_t writeSize() const;
|