Home
last modified time | relevance | path

Searched refs:writeSize (Results 1 – 25 of 32) sorted by relevance

12

/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DOffsettedItem.java32 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 …]
DMixedItemSection.java76 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()
DUniformItemSection.java45 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()
DUniformListItem.java56 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()
DStringDataItem.java38 super(1, writeSize(value)); in StringDataItem()
49 private static int writeSize(CstString value) { in writeSize() method in StringDataItem
DAnnotationSetItem.java50 super(ALIGNMENT, writeSize(annotations)); in AnnotationSetItem()
68 private static int writeSize(Annotations annotations) { in writeSize() method in AnnotationSetItem
DHeaderItem.java44 public int writeSize() { in writeSize() method in HeaderItem
62 lastDataSection.writeSize() - dataOff; in writeTo()
DStatistics.java134 int size = item.writeSize(); in Data()
149 int size = item.writeSize(); in add()
DItem.java55 public abstract int writeSize(); in writeSize() method in Item
DTypeIdItem.java46 public int writeSize() { in writeSize() method in TypeIdItem
DStringIdItem.java80 public int writeSize() { in writeSize() method in StringIdItem
DMemberIdItem.java46 public int writeSize() { in writeSize() method in MemberIdItem
DSection.java236 public abstract int writeSize(); in writeSize() method in Section
DProtoIdItem.java105 public int writeSize() { in writeSize() method in ProtoIdItem
DCatchStructs.java182 public int writeSize() { in writeSize() method in CatchStructs
DCodeItem.java212 catchesSize = catches.writeSize(); in place0()
DClassDefItem.java122 public int writeSize() { in writeSize() method in ClassDefItem
DDexFile.java546 offset = placedAt + one.writeSize(); in toDex0()
/external/deqp/framework/delibs/destream/
DdeRingbuffer.c130 deInt32 writeSize = 0; in producerStream_write() local
140 writeSize = deMin32(ringbuffer->blockSize - ringbuffer->inPos, bufSize - *written); in producerStream_write()
144 deMemcpy(dst, src, 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
237writeSize = deMin32(ringbuffer->blockUsage[ringbuffer->outBlock] - ringbuffer->outPos, bufSize - *… in consumerStream_read()
241 deMemcpy(dst, src, writeSize); in consumerStream_read()
243 ringbuffer->outPos += writeSize; in consumerStream_read()
[all …]
/external/okhttp/okio/src/test/java/okio/
DOkBufferTest.java178 int writeSize = Segment.SIZE / 2 + 1; in writeSplitSourceBufferLeft() local
185 sink.write(source, writeSize); in writeSplitSourceBufferLeft()
187 assertEquals(asList(Segment.SIZE - 10, writeSize), sink.segmentSizes()); in writeSplitSourceBufferLeft()
188 assertEquals(asList(Segment.SIZE - writeSize, Segment.SIZE), source.segmentSizes()); in writeSplitSourceBufferLeft()
193 int writeSize = Segment.SIZE / 2 - 1; in writeSplitSourceBufferRight() local
200 sink.write(source, writeSize); in writeSplitSourceBufferRight()
202 assertEquals(asList(Segment.SIZE - 10, writeSize), sink.segmentSizes()); in writeSplitSourceBufferRight()
203 assertEquals(asList(Segment.SIZE - writeSize, Segment.SIZE), source.segmentSizes()); in writeSplitSourceBufferRight()
/external/deqp/framework/delibs/decpp/
DdeBlockBuffer.cpp143 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/chromium_org/third_party/skia/src/core/
DSkPathRef.cpp244 SkASSERT(buffer->pos() - beforePos == (size_t) this->writeSize()); in writeToBuffer()
247 uint32_t SkPathRef::writeSize() const { in writeSize() function in SkPathRef
/external/skia/src/core/
DSkPathRef.cpp244 SkASSERT(buffer->pos() - beforePos == (size_t) this->writeSize()); in writeToBuffer()
247 uint32_t SkPathRef::writeSize() const { in writeSize() function in SkPathRef
/external/chromium_org/third_party/skia/include/core/
DSkPathRef.h248 uint32_t writeSize() const;
/external/skia/include/core/
DSkPathRef.h247 uint32_t writeSize() const;

12