Home
last modified time | relevance | path

Searched refs:type_chunk (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DLoadedArsc.java368 ResTable_entry GetEntry(ResTable_type type_chunk, in GetEntry() argument
370 int entry_offset = GetEntryOffset(type_chunk, entry_index); in GetEntry()
374 return GetEntryFromOffset(type_chunk, entry_offset); in GetEntry()
377 static int GetEntryOffset(ResTable_type type_chunk, int entry_index) { in GetEntryOffset() argument
380 int entry_count = dtohl(type_chunk.entryCount); in GetEntryOffset()
381 int offsets_offset = dtohs(type_chunk.header.headerSize); in GetEntryOffset()
385 if (isTruthy(type_chunk.flags & ResTable_type.FLAG_SPARSE)) { in GetEntryOffset()
398 ResTable_sparseTypeEntry entry = new ResTable_sparseTypeEntry(type_chunk.myBuf(), in GetEntryOffset()
399 type_chunk.myOffset() + offsets_offset); in GetEntryOffset()
426 return dtohl(type_chunk.entryOffset(entry_index)); in GetEntryOffset()
[all …]
DCppAssetManager2.java702 ResTable_type type_chunk = filtered_group.types.get(i); in FindEntry() local
703 int offset = LoadedPackage.GetEntryOffset(type_chunk, local_entry_idx); in FindEntry()
710 best_type = type_chunk; in FindEntry()