Home
last modified time | relevance | path

Searched refs:SIZEOF (Results 1 – 25 of 41) sorted by relevance

12

/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DResourceTypes.java95 static int SIZEOF = 8; field in ResourceTypes.ResChunk_header
190 static final int SIZEOF = 8; field in ResourceTypes.Res_value
350 buf.putShort((short) SIZEOF); // size in write()
391 public static final int SIZEOF = 4; field in ResourceTypes.ResTable_ref
414 public static final int SIZEOF = 4; field in ResourceTypes.ResStringPool_ref
461 public static final int SIZEOF = ResChunk_header.SIZEOF + 20; field in ResourceTypes.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 …]
DChunk.java75 if (header_size() >= ResTable_header.SIZEOF) { in asResTable_header()
83 if (header_size() >= ResStringPool_header.SIZEOF) { in asResStringPool_header()
107 if (header_size() >= ResTable_lib_header.SIZEOF) { in asResTable_lib_header()
115 if (header_size() >= ResTable_lib_entry.SIZEOF) { in asResTable_lib_entry()
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()
DLoadedArsc.java81 public static final int SIZEOF = ResTable_typeSpec.SIZEOF + IdmapEntry_header.SIZEOF; field in LoadedArsc.TypeSpec
195 if ((Integer.MAX_VALUE - TypeSpec.SIZEOF) / 4 < types_.size()) { in Build()
278 if (entry_offset > chunk_size - ResTable_entry.SIZEOF) { in VerifyResTableEntry()
290 if (entry_size < ResTable_entry.SIZEOF) { in VerifyResTableEntry()
304 if (entry_offset + entry_size > chunk_size - Res_value.SIZEOF) { in VerifyResTableEntry()
313 new Res_value(entry.myBuf(), entry.myOffset() + ResTable_entry.SIZEOF); in VerifyResTableEntry()
315 if (value_size < Res_value.SIZEOF) { in VerifyResTableEntry()
335 if (map_entry_count > ((chunk_size - map_entries_start) / ResTable_map.SIZEOF)) { in VerifyResTableEntry()
554 final int kMinPackageSize = ResTable_package.SIZEOF - 4; in Load()
577 if (header.header.headerSize >= ResTable_package.SIZEOF) { in Load()
[all …]
DResStringPoolHeader.java22 public static final int SIZEOF = ResChunk_header.SIZEOF + 20; field in ResStringPoolHeader
DResTable.java204 header.ownedData = new byte[ResTable_header.SIZEOF]; in addEmpty()
228 if (dataSize < ResTable_header.SIZEOF) { in addInternal()
230 (int) dataSize, (int) ResTable_header.SIZEOF); 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()
500 int count = (last.myOffset() - first.myOffset()) / ResTable_sparseTypeEntry.SIZEOF;
506 itOffset += step * ResTable_sparseTypeEntry.SIZEOF;
508 itOffset += ResTable_sparseTypeEntry.SIZEOF;
690 if (bestOffset > (dtohl(bestType.header.size)- ResTable_entry.SIZEOF)) {
704 if (dtohs(entry.size) < ResTable_entry.SIZEOF) {
[all …]
DCppAssetManager2.java980 curOffset + dtohl(map.count) * ResTable_map.SIZEOF; in GetBag()
993 final int entry_count = (map_entry_end - curOffset) / ResTable_map.SIZEOF; in GetBag()
1034 curOffset += size + ResTable_map.SIZEOF-Res_value.SIZEOF; in GetBag()
1111 …try.myBuf(), map_entry.myOffset() + map_entry.value.size + ResTable_map.SIZEOF - Res_value.SIZEOF); in GetBag()
1159 …try.myBuf(), map_entry.myOffset() + map_entry.value.size + ResTable_map.SIZEOF - Res_value.SIZEOF); in GetBag()
1380 static final int SIZEOF = 8 + Res_value.SIZEOF; field in CppAssetManager2.Theme.ThemeEntry
DResXMLParser.java39 static final int SIZEOF_RESXMLTREE_NODE = ResChunk_header.SIZEOF + 8;
41 static final int SIZEOF_RESXMLTREE_CDATA_EXT = 4 + ResourceTypes.Res_value.SIZEOF;
128 return ResourceTypes.Res_value.SIZEOF /* sizeof(Res_value) */; in getTextValue()
379 return ResourceTypes.Res_value.SIZEOF /* sizeof(Res_value) */; in getAttributeValue()
562 minExtSize = ResXMLTree_endElementExt.SIZEOF /*sizeof(ResXMLTree_endElementExt)*/; in nextNode()
DResStringPool.java120 if (size < ResStringPool_header.SIZEOF) { in setTo()
128 if (validate_chunk(new ResChunk_header(buf, offset), ResStringPool_header.SIZEOF, in setTo()
298 mHeader.myOffset() + mStyles + (mStylePoolSize - ResStringPool_span.SIZEOF /* / 4 */)); in setTo()
/external/llvm-project/lld/test/ELF/linkerscript/
Dsynthetic-symbols1.test19 size_foo_1 = SIZEOF(.foo);
20 size_foo_1_abs = ABSOLUTE(SIZEOF(.foo));
25 size_foo_2 = SIZEOF(.foo);
28 size_foo_3 = SIZEOF(.foo);
Dsynthetic-symbols4.test10 PROVIDE_HIDDEN(_end_sec = ADDR(.text) + SIZEOF(.text));
Dsynthetic-symbols3.test8 PROVIDE_HIDDEN(_end_sec = ADDR(.text) + SIZEOF(.text));
Dempty-section-size.test16 foo = SIZEOF(.bss);
Dalign4.test23 __end_bbb = ALIGN(__start_bbb + SIZEOF(.bbb), VAR);
Dsizeof.s25 ## SIZEOF(.not_exist) has a value of 0.
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowStringBlock.java65 pos = new ResStringPool_span(pos.myBuf(), pos.myOffset() + ResStringPool_span.SIZEOF); in nativeGetStyle()
73 int[] array = new int[num * ResStringPool_span.SIZEOF / SIZEOF_INT]; in nativeGetStyle()
79 final int numInts = ResStringPool_span.SIZEOF / SIZEOF_INT; in nativeGetStyle()
86 spans = new ResStringPool_span(spans.myBuf(), spans.myOffset() + ResStringPool_span.SIZEOF); in nativeGetStyle()
/external/arm-trusted-firmware/lib/romlib/
Dromlib.ld.S36 __DATA_SIZE__ = SIZEOF(.data);
43 __BSS_SIZE__ = SIZEOF(.bss);
/external/arm-trusted-firmware/plat/marvell/armada/a8k/common/ble/
Dble.ld.S62 .fill LOADADDR(.bss) + SIZEOF(.bss) : {
75 __BSS_SIZE__ = SIZEOF(.bss);
/external/arm-trusted-firmware/bl1/
Dbl1.ld.S131 __DATA_SIZE__ = SIZEOF(.data);
141 __BSS_SIZE__ = SIZEOF(.bss);
/external/arm-trusted-firmware/bl2/
Dbl2_el3.ld.S150 __DATA_SIZE__ = SIZEOF(.data);
160 __BSS_SIZE__ = SIZEOF(.bss);
Dbl2.ld.S113 __BSS_SIZE__ = SIZEOF(.bss);
/external/arm-trusted-firmware/include/plat/arm/common/
Darm_reclaim_init.ld.S34 OFFSET = ABS(SIZEOF(.init) - (. - __STACKS_START__)); \
/external/libchrome/base/android/library_loader/
Danchor_functions.lds7 PROVIDE_HIDDEN(linker_script_end_of_text = ADDR(.text) + SIZEOF(.text));
/external/arm-trusted-firmware/plat/mediatek/mt6795/
Dbl31.ld.S109 __BSS_SIZE__ = SIZEOF(.bss);
/external/arm-trusted-firmware/bl32/tsp/
Dtsp.ld.S116 __BSS_SIZE__ = SIZEOF(.bss);
/external/arm-trusted-firmware/bl2u/
Dbl2u.ld.S115 __BSS_SIZE__ = SIZEOF(.bss);

12