Home
last modified time | relevance | path

Searched refs:ResTable_entry (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DLoadedArsc.java30 import org.robolectric.res.android.ResourceTypes.ResTable_entry;
278 if (entry_offset > chunk_size - ResTable_entry.SIZEOF) { in VerifyResTableEntry()
286 ResTable_entry entry = new ResTable_entry(type.myBuf(), type.myOffset() + entry_offset); in VerifyResTableEntry()
290 if (entry_size < ResTable_entry.SIZEOF) { in VerifyResTableEntry()
313 new Res_value(entry.myBuf(), entry.myOffset() + ResTable_entry.SIZEOF); in VerifyResTableEntry()
368 ResTable_entry GetEntry(ResTable_type type_chunk, in GetEntry()
429 static ResTable_entry GetEntryFromOffset(ResTable_type type_chunk, in GetEntryFromOffset()
436 return new ResTable_entry(type_chunk.myBuf(), in GetEntryFromOffset()
530 ResTable_entry entry = in FindEntryByName()
531 new ResTable_entry(type.myBuf(), type.myOffset() + in FindEntryByName()
DResourceTypes.java1279 static class ResTable_entry extends WithOffset class in ResourceTypes
1303 ResTable_entry(ByteBuffer buf, int offset) { in ResTable_entry() method in ResourceTypes.ResTable_entry
1325 static class ResTable_map_entry extends ResTable_entry
1333 public static final int BASE_SIZEOF = ResTable_entry.SIZEOF + 8;
1344 parent = new ResTable_ref(buf, offset + ResTable_entry.SIZEOF); in ResTable_map_entry()
1345 count = buf.getInt(offset + ResTable_entry.SIZEOF + ResTable_ref.SIZEOF); in ResTable_map_entry()
DResTable.java39 import org.robolectric.res.android.ResourceTypes.ResTable_entry;
401 if ((entry.entry.flags & ResTable_entry.FLAG_COMPLEX) != 0) {
690 if (bestOffset > (dtohl(bestType.header.size)- ResTable_entry.SIZEOF)) {
702 final ResTable_entry entry = new ResTable_entry(bestType.myBuf(),
704 if (dtohs(entry.size) < ResTable_entry.SIZEOF) {
956 && dtohl(type.entriesStart) > (typeSize- ResTable_entry.SIZEOF)) {
2628 ResTable_entry entry;
DCppAssetManager2.java37 import org.robolectric.res.android.ResourceTypes.ResTable_entry;
243 ResTable_entry entry;
752 ResTable_entry best_entry = LoadedPackage.GetEntryFromOffset(best_type, best_offset); in FindEntry()
859 if (isTruthy(dtohl(entry.get().entry.flags) & ResTable_entry.FLAG_COMPLEX)) { in GetResource()
967 (dtohs(entry.entry.flags) & ResourceTypes.ResTable_entry.FLAG_COMPLEX) == 0) { in GetBag()