HomeSort by relevance Sort by last modified time
    Searched refs:SIZEOF (Results 1 - 25 of 28) sorted by null

1 2

  /external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
ResStringPoolHeader.java 22 public static final int SIZEOF = ResChunk_header.SIZEOF + 20;
ResourceTypes.java 95 static int SIZEOF = 8;
190 static final int SIZEOF = 8;
350 buf.putShort((short) SIZEOF); // size
391 public static final int SIZEOF = 4;
414 public static final int SIZEOF = 4;
461 public static final int SIZEOF = ResChunk_header.SIZEOF + 20;
494 this.stringCount = buf.getInt(offset + ResChunk_header.SIZEOF);
495 this.styleCount = buf.getInt(offset + ResChunk_header.SIZEOF + 4);
496 this.flags = buf.getInt(offset + ResChunk_header.SIZEOF + 8)
    [all...]
Chunk.java 47 // template <typename T, int MinSize = sizeof(T)>
75 if (header_size() >= ResTable_header.SIZEOF) {
83 if (header_size() >= ResStringPool_header.SIZEOF) {
107 if (header_size() >= ResTable_lib_header.SIZEOF) {
115 if (header_size() >= ResTable_lib_entry.SIZEOF) {
172 if (len_ < ResChunk_header.SIZEOF) {
199 if (len_ < ResChunk_header.SIZEOF) {
206 if (header_size < ResChunk_header.SIZEOF) {
LoadedArsc.java 81 public static final int SIZEOF = ResTable_typeSpec.SIZEOF + IdmapEntry_header.SIZEOF;
193 // if ((std.numeric_limits<size_t>.max() - sizeof(TypeSpec)) / sizeof(ElementType) <
195 if ((Integer.MAX_VALUE - TypeSpec.SIZEOF) / 4 < types_.size()) {
199 // (TypeSpec*).malloc(sizeof(TypeSpec) + (types_.size() * sizeof(ElementType)));
205 // memcpy(type_spec + 1, types_.data(), types_.size() * sizeof(ElementType));
278 if (entry_offset > chunk_size - ResTable_entry.SIZEOF) {
    [all...]
ResTable.java 193 // memcpy(mPackageMap, src->mPackageMap, sizeof(mPackageMap));
204 header.ownedData = new byte[ResTable_header.SIZEOF];
211 // resHeader.header.headerSize = sizeof(ResTable_header);
212 // resHeader.header.size = sizeof(ResTable_header);
228 if (dataSize < ResTable_header.SIZEOF) {
230 (int) dataSize, (int) ResTable_header.SIZEOF);
299 while (chunk != null && (chunk.myOffset()) <= (header.dataEnd -ResChunk_header.SIZEOF) &&
301 int err = validate_chunk(chunk, ResChunk_header.SIZEOF, header.dataEnd, "ResTable");
500 int count = (last.myOffset() - first.myOffset()) / ResTable_sparseTypeEntry.SIZEOF;
506 itOffset += step * ResTable_sparseTypeEntry.SIZEOF;
    [all...]
ResXMLParser.java 39 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) */;
379 return ResourceTypes.Res_value.SIZEOF /* sizeof(Res_value) */;
455 && (memcmp(attr, curAttr, attrLen*SIZEOF_CHAR/*sizeof(char16_t)*/) == 0)) {
466 if (memcmp(ns, curNs, nsLen*SIZEOF_CHAR/*sizeof(char16_t)*/) == 0) {
556 minExtSize = SIZEOF_RESXMLTREE_NAMESPACE_EXT /*sizeof(ResXMLTree_namespaceExt)*/;
559 minExtSize = SIZEOF_RESXMLTREE_ATTR_EXT /*sizeof(ResXMLTree_attrExt)*/
    [all...]
CppAssetManager2.java 241 // If the size of the entry is > sizeof(ResTable_entry), it can be cast to
264 // AssetManager2() { memset(&configuration_, 0, sizeof(configuration_)); }
    [all...]
ResStringPool.java 120 if (size < ResStringPool_header.SIZEOF) {
128 if (validate_chunk(new ResChunk_header(buf, offset), ResStringPool_header.SIZEOF,
172 if ((mHeader.stringCount*4 /*sizeof(uint32_t)*/ < mHeader.stringCount) // uint32 overflow?
173 || (mHeader.header.headerSize+(mHeader.stringCount*4 /*sizeof(uint32_t)*/))
176 (int)(mHeader.header.headerSize+(mHeader.stringCount*4/*sizeof(uint32_t)*/)),
183 charSize = 1 /*sizeof(uint8_t)*/;
185 charSize = 2 /*sizeof(uint16_t)*/;
190 if (mHeader.stringsStart >= (mSize - 2 /*sizeof(uint16_t)*/)) {
202 if (mHeader.stylesStart >= (mSize - 2 /*sizeof(uint16_t)*/)) {
277 (mHeader.header.size-mHeader.stylesStart) /* / sizeof(uint32_t)*/
    [all...]
Idmap.java 99 // if (data.size() < sizeof(Idmap_header)) {
151 // const byte* data_ptr = reinterpret_cast<const byte*>(idmap_data.data()) + sizeof(*header);
154 // int data_size = idmap_data.size() - sizeof(*header);
158 while (data_size >= IdmapEntry_header.SIZEOF) {
191 // sizeof(*entry_header) + (dtohs(entry_header.entry_count) * SIZEOF_INT);
ResXMLTree.java 126 while (chunk.myOffset() /*((final uint8_t*)chunk)*/ < (mDataLen- ResChunk_header.SIZEOF /*sizeof(ResChunk_header)*/) &&
128 int err = validate_chunk(chunk, ResChunk_header.SIZEOF /*sizeof(ResChunk_header)*/, mDataLen, "XML");
146 mNumResIds = (dtohl(chunk.size)-dtohs(chunk.headerSize))/SIZEOF_INT /*sizeof(int)*/;
217 node.header, SIZEOF_RESXMLTREE_NODE /*sizeof(ResXMLTree_node)*/,
232 if ((size >= headerSize + SIZEOF_RESXMLTREE_ATTR_EXT /*sizeof(ResXMLTree_attrExt)*/)
258 // if (headerSize >= (isStart ? sizeof(ResXMLTree_attrNode) : sizeof(ResXMLTree_node))) {
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowStringBlock.java 65 pos = new ResStringPool_span(pos.myBuf(), pos.myOffset() + ResStringPool_span.SIZEOF);
72 // jintArray array = env->NewIntArray((num*sizeof(ResStringPool_span))/sizeof(jint));
73 int[] array = new int[num * ResStringPool_span.SIZEOF / SIZEOF_INT];
79 final int numInts = ResStringPool_span.SIZEOF / SIZEOF_INT;
86 spans = new ResStringPool_span(spans.myBuf(), spans.myOffset() + ResStringPool_span.SIZEOF);
  /external/tensorflow/tensorflow/lite/experimental/micro/tools/make/targets/ecm3531/
ecm3531.lds 64 AT (ADDR(.text) + SIZEOF(.text) )
  /external/u-boot/arch/arm/cpu/armv8/
u-boot.lds 45 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/u-boot/arch/arm/cpu/
u-boot.lds 66 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))
  /device/linaro/bootloader/arm-trusted-firmware/bl1/
bl1.ld.S 162 __DATA_SIZE__ = SIZEOF(.data);
172 __BSS_SIZE__ = SIZEOF(.bss);
  /device/linaro/bootloader/arm-trusted-firmware/bl2/
bl2.ld.S 144 __BSS_SIZE__ = SIZEOF(.bss);
  /device/linaro/bootloader/arm-trusted-firmware/bl2u/
bl2u.ld.S 131 __BSS_SIZE__ = SIZEOF(.bss);
  /device/linaro/bootloader/arm-trusted-firmware/bl32/tsp/
tsp.ld.S 130 __BSS_SIZE__ = SIZEOF(.bss);
  /device/linaro/bootloader/arm-trusted-firmware/plat/mediatek/mt6795/
bl31.ld.S 173 __BSS_SIZE__ = SIZEOF(.bss);
  /device/linaro/bootloader/arm-trusted-firmware/bl32/sp_min/
sp_min.ld.S 180 __BSS_SIZE__ = SIZEOF(.bss);
  /device/linaro/bootloader/arm-trusted-firmware/bl31/
bl31.ld.S 242 __BSS_SIZE__ = SIZEOF(.bss);
  /external/mesa3d/src/mesa/x86/
gen_matypes.c 96 #define SIZEOF( s, t ) \
97 DEFINE_UL( s, sizeof(t) )
233 SIZEOF( "SIZEOF_GL_LIGHT ", struct gl_light );
  /external/u-boot/arch/xtensa/include/asm/
ldscript.h 23 AT(((LOADADDR(sec) + SIZEOF(sec) + ALIGN_LMA-1)) & ~(ALIGN_LMA-1))
  /external/libdrm/tests/ttmtest/src/
xf86dri.c 205 if (sizeof(drm_handle_t) == 8) {
505 if (rep.length != ((((SIZEOF(xXF86DRIGetDrawableInfoReply) -
506 SIZEOF(xGenericReply) +
507 total_rects * sizeof(drm_clip_rect_t)) +
518 int len = sizeof(drm_clip_rect_t) * (*numClipRects);
528 int len = sizeof(drm_clip_rect_t) * (*numBackClipRects);
576 if (sizeof(drm_handle_t) == 8) {
  /external/mesa3d/src/glx/
XF86dri.c 199 if (sizeof(drm_handle_t) == 8) {
516 if (rep.length != ((((SIZEOF(xXF86DRIGetDrawableInfoReply) -
517 SIZEOF(xGenericReply) +
518 total_rects * sizeof(drm_clip_rect_t)) +
529 int len = sizeof(drm_clip_rect_t) * (*numClipRects);
540 int len = sizeof(drm_clip_rect_t) * (*numBackClipRects);
581 if (sizeof(drm_handle_t) == 8) {

Completed in 2027 milliseconds

1 2