Searched refs:ResStringPool_span (Results 1 – 8 of 8) sorted by relevance
107 const ResStringPool_span* spans = osb->styleAt(idx); in android_content_StringBlock_nativeGetStyle()112 const ResStringPool_span* pos = spans; in android_content_StringBlock_nativeGetStyle()114 while (pos->name.index != ResStringPool_span::END) { in android_content_StringBlock_nativeGetStyle()123 jintArray array = env->NewIntArray((num*sizeof(ResStringPool_span))/sizeof(jint)); in android_content_StringBlock_nativeGetStyle()129 static const int numInts = sizeof(ResStringPool_span)/sizeof(jint); in android_content_StringBlock_nativeGetStyle()130 while (spans->name.index != ResStringPool_span::END) { in android_content_StringBlock_nativeGetStyle()
506 const size_t totalSize = (N*sizeof(ResStringPool_span)) in writeStringBlock()515 ResStringPool_span* span = (ResStringPool_span*)(dat+preSize+styPos); in writeStringBlock()522 span->name.index = htodl(ResStringPool_span::END); in writeStringBlock()531 size_t extra = sizeof(ResStringPool_span)-sizeof(ResStringPool_ref); in writeStringBlock()539 *p++ = htodl(ResStringPool_span::END); in writeStringBlock()
69 ResStringPool_span span;
475 android::ResStringPool_span* span = in Flatten()476 out->NextBlock<android::ResStringPool_span>(entry->spans.size()); in Flatten()486 *spanEnd = android::ResStringPool_span::END; in Flatten()493 const size_t padding_length = sizeof(android::ResStringPool_span) - in Flatten()494 sizeof(android::ResStringPool_span::name); in Flatten()
287 const ResStringPool_span* span = test.styleAt(0); in TEST()295 ASSERT_THAT(span->name.index, Ne(ResStringPool_span::END)); in TEST()302 EXPECT_THAT(span->name.index, Eq(ResStringPool_span::END)); in TEST()
748 const android::ResStringPool_span* spans = src_pool.styleAt(data); in ParseBinaryResValue()751 if (spans != nullptr && spans->name.index != android::ResStringPool_span::END) { in ParseBinaryResValue()753 while (spans->name.index != android::ResStringPool_span::END) { in ParseBinaryResValue()
472 struct ResStringPool_span struct518 const ResStringPool_span* styleAt(const ResStringPool_ref& ref) const;519 const ResStringPool_span* styleAt(size_t idx) const;
631 const ResStringPool_span endSpan = { in setTo()632 { htodl(ResStringPool_span::END) }, in setTo()633 htodl(ResStringPool_span::END), htodl(ResStringPool_span::END) in setTo()903 const ResStringPool_span* ResStringPool::styleAt(const ResStringPool_ref& ref) const in styleAt()908 const ResStringPool_span* ResStringPool::styleAt(size_t idx) const in styleAt()913 return (const ResStringPool_span*)(mStyles+off); in styleAt()