Home
last modified time | relevance | path

Searched refs:ResStringPool_span (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/jni/
Dandroid_util_StringBlock.cpp107 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()
/frameworks/base/tools/aapt/
DStringPool.cpp499 const size_t totalSize = (N*sizeof(ResStringPool_span)) in writeStringBlock()
508 ResStringPool_span* span = (ResStringPool_span*)(dat+preSize+styPos); in writeStringBlock()
515 span->name.index = htodl(ResStringPool_span::END); in writeStringBlock()
524 size_t extra = sizeof(ResStringPool_span)-sizeof(ResStringPool_ref); in writeStringBlock()
532 *p++ = htodl(ResStringPool_span::END); in writeStringBlock()
DStringPool.h72 ResStringPool_span span;
/frameworks/base/include/androidfw/
DResourceTypes.h461 struct ResStringPool_span struct
507 const ResStringPool_span* styleAt(const ResStringPool_ref& ref) const;
508 const ResStringPool_span* styleAt(size_t idx) const;
/frameworks/base/libs/androidfw/
DResourceTypes.cpp606 const ResStringPool_span endSpan = { in setTo()
607 { htodl(ResStringPool_span::END) }, in setTo()
608 htodl(ResStringPool_span::END), htodl(ResStringPool_span::END) in setTo()
817 const ResStringPool_span* ResStringPool::styleAt(const ResStringPool_ref& ref) const in styleAt()
822 const ResStringPool_span* ResStringPool::styleAt(size_t idx) const in styleAt()
827 return (const ResStringPool_span*)(mStyles+off); in styleAt()