Home
last modified time | relevance | path

Searched refs:SIZEOF (Results 1 – 25 of 26) 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()
DResTable_config.java111 public static final int SIZEOF = SCREEN_CONFIG_EXTENSION_MIN_SIZE; field in ResTable_config
/external/u-boot/arch/arm/cpu/armv8/
Du-boot.lds45 AT(ADDR(.__secure_start) + SIZEOF(.__secure_start))
50 .secure_data : AT(LOADADDR(.secure_text) + SIZEOF(.secure_text))
55 .secure_stack ALIGN(ADDR(.secure_data) + SIZEOF(.secure_data),
60 AT(LOADADDR(.secure_data) + SIZEOF(.secure_data))
/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/
Du-boot.lds66 AT(ADDR(.__secure_start) + SIZEOF(.__secure_start))
71 .secure_data : AT(LOADADDR(.secure_text) + SIZEOF(.secure_text))
77 .secure_stack ALIGN(ADDR(.secure_data) + SIZEOF(.secure_data),
82 AT(LOADADDR(.secure_data) + SIZEOF(.secure_data))
/external/mesa3d/src/mesa/x86/
Dgen_matypes.c96 #define SIZEOF( s, t ) \ macro
233 SIZEOF( "SIZEOF_GL_LIGHT ", struct gl_light ); in main()
/external/libchrome/base/android/library_loader/
Danchor_functions.lds7 PROVIDE_HIDDEN(linker_script_end_of_text = ADDR(.text) + SIZEOF(.text));
/external/tensorflow/tensorflow/lite/experimental/micro/tools/make/targets/ecm3531/
Decm3531.lds64 AT (ADDR(.text) + SIZEOF(.text) )
/external/libdrm/tests/ttmtest/src/
Dxf86dri.c505 if (rep.length != ((((SIZEOF(xXF86DRIGetDrawableInfoReply) - in uniDRIGetDrawableInfo()
506 SIZEOF(xGenericReply) + in uniDRIGetDrawableInfo()
/external/mesa3d/src/glx/
DXF86dri.c516 if (rep.length != ((((SIZEOF(xXF86DRIGetDrawableInfoReply) - in XF86DRIGetDrawableInfo()
517 SIZEOF(xGenericReply) + in XF86DRIGetDrawableInfo()
/external/u-boot/arch/xtensa/include/asm/
Dldscript.h23 AT(((LOADADDR(sec) + SIZEOF(sec) + ALIGN_LMA-1)) & ~(ALIGN_LMA-1))
/external/ImageMagick/MagickCore/
Dxwdfile.h_vms51 /* header_size = SIZEOF(XWDheader) + length of null-terminated
/external/lzma/Asm/x86/
DLzmaDecOpt.asm606 ; LocalSize equ ((((SIZEOF CLzmaDec_Asm_Loc) + 7) / 16 * 16) + 8)
616 lea r0, [RSP - (SIZEOF CLzmaDec_Asm_Loc)]
/external/mesa3d/src/compiler/glsl/
Dglsl_lexer.ll630 sizeof KEYWORD(110, 100, 0, 0, SIZEOF);
Dglsl_parser.yy177 %token SIZEOF CAST NAMESPACE USING
/external/curl/packages/vms/
Dconfig_h.com1481 $! Process SIZEOF directives found in SAMBA and others

12