Searched refs:ResStringPool_span (Results 1 – 9 of 9) 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()
412 *span_offset = android::ResStringPool_span::END; in Flatten()416 android::ResStringPool_span* span = in Flatten()417 out->NextBlock<android::ResStringPool_span>(entry->spans.size()); in Flatten()426 *spanEnd = android::ResStringPool_span::END; in Flatten()433 const size_t padding_length = sizeof(android::ResStringPool_span) - in Flatten()434 sizeof(android::ResStringPool_span::name); in Flatten()
253 const ResStringPool_span* span = test.styleAt(4); in TEST()261 ASSERT_NE(ResStringPool_span::END, span->name.index); in TEST()268 EXPECT_EQ(ResStringPool_span::END, span->name.index); in TEST()
692 const android::ResStringPool_span* spans = src_pool.styleAt(data); in ParseBinaryResValue()695 if (spans != nullptr && spans->name.index != android::ResStringPool_span::END) { in ParseBinaryResValue()697 while (spans->name.index != android::ResStringPool_span::END) { in ParseBinaryResValue()
513 const size_t totalSize = (N*sizeof(ResStringPool_span)) in writeStringBlock()522 ResStringPool_span* span = (ResStringPool_span*)(dat+preSize+styPos); in writeStringBlock()529 span->name.index = htodl(ResStringPool_span::END); in writeStringBlock()538 size_t extra = sizeof(ResStringPool_span)-sizeof(ResStringPool_ref); in writeStringBlock()546 *p++ = htodl(ResStringPool_span::END); in writeStringBlock()
69 ResStringPool_span span;
188 const android::ResStringPool_span* spans = value_pool_->styleAt(idx); in DeserializeItemFromPb()189 if (spans && spans->name.index != android::ResStringPool_span::END) { in DeserializeItemFromPb()191 while (spans->name.index != android::ResStringPool_span::END) { in DeserializeItemFromPb()
467 struct ResStringPool_span struct513 const ResStringPool_span* styleAt(const ResStringPool_ref& ref) const;514 const ResStringPool_span* styleAt(size_t idx) const;
611 const ResStringPool_span endSpan = { in setTo()612 { htodl(ResStringPool_span::END) }, in setTo()613 htodl(ResStringPool_span::END), htodl(ResStringPool_span::END) in setTo()845 const ResStringPool_span* ResStringPool::styleAt(const ResStringPool_ref& ref) const in styleAt()850 const ResStringPool_span* ResStringPool::styleAt(size_t idx) const in styleAt()855 return (const ResStringPool_span*)(mStyles+off); in styleAt()