Home
last modified time | relevance | path

Searched refs:SIZEOF (Results 1 – 25 of 35) 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()
DResXMLTree.java126 …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()
DIdmap.java158 while (data_size >= IdmapEntry_header.SIZEOF) { in Load()
/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/u-boot/arch/arm/cpu/armv8/
Du-boot.lds58 AT(ADDR(.__secure_start) + SIZEOF(.__secure_start))
67 .secure_data : AT(LOADADDR(.secure_text) + SIZEOF(.secure_text))
72 .secure_stack ALIGN(ADDR(.secure_data) + SIZEOF(.secure_data),
77 AT(LOADADDR(.secure_data) + SIZEOF(.secure_data))
/external/arm-trusted-firmware/lib/romlib/
Dromlib.ld.S36 __DATA_SIZE__ = SIZEOF(.data);
43 __BSS_SIZE__ = SIZEOF(.bss);
/external/arm-trusted-firmware/plat/marvell/a8k/common/ble/
Dble.ld.S62 .fill LOADADDR(.bss) + SIZEOF(.bss) : {
75 __BSS_SIZE__ = SIZEOF(.bss);
/external/u-boot/arch/arm/cpu/
Du-boot.lds85 AT(ADDR(.__secure_start) + SIZEOF(.__secure_start))
90 .secure_data : AT(LOADADDR(.secure_text) + SIZEOF(.secure_text))
96 .secure_stack ALIGN(ADDR(.secure_data) + SIZEOF(.secure_data),
101 AT(LOADADDR(.secure_data) + SIZEOF(.secure_data))
/external/arm-trusted-firmware/bl1/
Dbl1.ld.S174 __DATA_SIZE__ = SIZEOF(.data);
184 __BSS_SIZE__ = SIZEOF(.bss);
/external/arm-trusted-firmware/bl2/
Dbl2_el3.ld.S238 __DATA_SIZE__ = SIZEOF(.data);
248 __BSS_SIZE__ = SIZEOF(.bss);
Dbl2.ld.S156 __BSS_SIZE__ = SIZEOF(.bss);
/external/libchrome/base/android/library_loader/
Danchor_functions.lds7 PROVIDE_HIDDEN(linker_script_end_of_text = ADDR(.text) + SIZEOF(.text));
/external/arm-trusted-firmware/bl2u/
Dbl2u.ld.S143 __BSS_SIZE__ = SIZEOF(.bss);
/external/arm-trusted-firmware/bl32/tsp/
Dtsp.ld.S170 __BSS_SIZE__ = SIZEOF(.bss);
/external/arm-trusted-firmware/plat/mediatek/mt6795/
Dbl31.ld.S177 __BSS_SIZE__ = SIZEOF(.bss);
/external/tensorflow/tensorflow/lite/micro/tools/make/targets/ecm3531/
Decm3531.lds64 AT (ADDR(.text) + SIZEOF(.text) )
/external/arm-trusted-firmware/bl32/sp_min/
Dsp_min.ld.S209 __BSS_SIZE__ = SIZEOF(.bss);
/external/arm-trusted-firmware/bl31/
Dbl31.ld.S171 . = LOADADDR(spm_shim_exceptions) + SIZEOF(spm_shim_exceptions);

12