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.cpp106 const ResStringPool_span* spans = osb->styleAt(idx); in android_content_StringBlock_nativeGetStyle()
111 const ResStringPool_span* pos = spans; in android_content_StringBlock_nativeGetStyle()
113 while (pos->name.index != ResStringPool_span::END) { in android_content_StringBlock_nativeGetStyle()
122 jintArray array = env->NewIntArray((num*sizeof(ResStringPool_span))/sizeof(jint)); in android_content_StringBlock_nativeGetStyle()
128 static const int numInts = sizeof(ResStringPool_span)/sizeof(jint); in android_content_StringBlock_nativeGetStyle()
129 while (spans->name.index != ResStringPool_span::END) { in android_content_StringBlock_nativeGetStyle()
/frameworks/base/tools/aapt/
DStringPool.cpp479 const size_t totalSize = (N*sizeof(ResStringPool_span)) in writeStringBlock()
488 ResStringPool_span* span = (ResStringPool_span*)(dat+preSize+styPos); in writeStringBlock()
495 span->name.index = htodl(ResStringPool_span::END); in writeStringBlock()
504 size_t extra = sizeof(ResStringPool_span)-sizeof(ResStringPool_ref); in writeStringBlock()
512 *p++ = htodl(ResStringPool_span::END); in writeStringBlock()
DStringPool.h70 ResStringPool_span span;
/frameworks/base/include/androidfw/
DResourceTypes.h416 struct ResStringPool_span struct
461 const ResStringPool_span* styleAt(const ResStringPool_ref& ref) const;
462 const ResStringPool_span* styleAt(size_t idx) const;
/frameworks/base/libs/androidfw/
DResourceTypes.cpp483 const ResStringPool_span endSpan = { in setTo()
484 { htodl(ResStringPool_span::END) }, in setTo()
485 htodl(ResStringPool_span::END), htodl(ResStringPool_span::END) in setTo()
671 const ResStringPool_span* ResStringPool::styleAt(const ResStringPool_ref& ref) const in styleAt()
676 const ResStringPool_span* ResStringPool::styleAt(size_t idx) const in styleAt()
681 return (const ResStringPool_span*)(mStyles+off); in styleAt()