Searched refs:ResChunk_header (Results 1 – 8 of 8) sorted by relevance
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/ |
D | ResourceTypes.java | 28 static int validate_chunk(ResChunk_header chunk, in validate_chunk() 93 public static class ResChunk_header extends WithOffset class in ResourceTypes 113 public ResChunk_header(ByteBuffer buf, int offset) { in ResChunk_header() method in ResourceTypes.ResChunk_header 461 public static final int SIZEOF = ResChunk_header.SIZEOF + 20; 463 final ResChunk_header header; 493 this.header = new ResChunk_header(buf, offset); in ResStringPool_header() 494 this.stringCount = buf.getInt(offset + ResChunk_header.SIZEOF); in ResStringPool_header() 495 this.styleCount = buf.getInt(offset + ResChunk_header.SIZEOF + 4); in ResStringPool_header() 496 this.flags = buf.getInt(offset + ResChunk_header.SIZEOF + 8); in ResStringPool_header() 497 this.stringsStart = buf.getInt(offset + ResChunk_header.SIZEOF + 12); in ResStringPool_header() [all …]
|
D | Chunk.java | 8 import org.robolectric.res.android.ResourceTypes.ResChunk_header; 27 Chunk(ResChunk_header chunk) { in Chunk() 72 private ResChunk_header device_chunk_; 123 private ResChunk_header next_chunk_; 129 this.next_chunk_ = new ResChunk_header(buf.myBuf(), buf.myOffset()); in Iterator() 146 ResChunk_header this_chunk = next_chunk_; in Next() 155 next_chunk_ = new ResChunk_header( in Next() 172 if (len_ < ResChunk_header.SIZEOF) { in VerifyNextChunkNonFatal() 199 if (len_ < ResChunk_header.SIZEOF) { in VerifyNextChunk() 206 if (header_size < ResChunk_header.SIZEOF) { in VerifyNextChunk()
|
D | ResStringPoolHeader.java | 3 import org.robolectric.res.android.ResourceTypes.ResChunk_header; 22 public static final int SIZEOF = ResChunk_header.SIZEOF + 20; 24 ResChunk_header header;
|
D | ResXMLTree.java | 28 import org.robolectric.res.android.ResourceTypes.ResChunk_header; 121 ResChunk_header chunk = in setTo() 123 new ResChunk_header(mBuffer.buf, mHeader.header.headerSize); in setTo() 125 ResChunk_header lastChunk = chunk; in setTo() 126 …while (chunk.myOffset() /*((final uint8_t*)chunk)*/ < (mDataLen- ResChunk_header.SIZEOF /*sizeof(R… in setTo() 128 …int err = validate_chunk(chunk, ResChunk_header.SIZEOF /*sizeof(ResChunk_header)*/, mDataLen, "XML… in setTo() 178 chunk = new ResChunk_header(mBuffer.buf, chunk.myOffset() + size1); in setTo()
|
D | ResTable.java | 38 import org.robolectric.res.android.ResourceTypes.ResChunk_header; 207 ResChunk_header.write(buf, (short) RES_TABLE_TYPE, () -> {}, () -> {}); in addEmpty() 297 ResChunk_header chunk = in addInternal() 298 new ResChunk_header(buf, dtohs(header.header.header.headerSize)); in addInternal() 299 while (chunk != null && (chunk.myOffset()) <= (header.dataEnd -ResChunk_header.SIZEOF) && in addInternal() 301 int err = validate_chunk(chunk, ResChunk_header.SIZEOF, header.dataEnd, "ResTable"); in addInternal() 341 ? new ResChunk_header(chunk.myBuf(), chunk.myOffset() + csize) in addInternal() 843 ResChunk_header chunk = 844 new ResChunk_header(pkg.myBuf(), pkg.myOffset() + dtohs(pkg.header.headerSize)); 849 while (chunk != null && (chunk.myOffset()) <= (endPos-ResChunk_header.SIZEOF) && [all …]
|
D | ResStringPool.java | 22 import org.robolectric.res.android.ResourceTypes.ResChunk_header; 128 if (validate_chunk(new ResChunk_header(buf, offset), ResStringPool_header.SIZEOF, in setTo()
|
D | ResXMLParser.java | 29 import org.robolectric.res.android.ResourceTypes.ResChunk_header; 39 static final int SIZEOF_RESXMLTREE_NODE = ResChunk_header.SIZEOF + 8;
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/ |
D | AttributeSetBuilderImpl.java | 36 import org.robolectric.res.android.ResourceTypes.ResChunk_header; 359 ResChunk_header.write(buf, (short) RES_XML_RESOURCE_MAP_TYPE, () -> {}, () -> { in build()
|