Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DStringPool.cpp180 #define ENCODE_LENGTH(str, chrsz, strSize) \ argument
184 if (strSize > maxSize) { \
185 *str++ = maxMask | ((strSize>>(chrsz*8))&maxSize); \
187 *str++ = strSize; \
243 const size_t strSize = (ent.value.size()); in writeStringBlock() local
244 const size_t lenSize = strSize > (size_t)(1<<((charSize*8)-1))-1 ? in writeStringBlock()
260 ((mUTF8 ? encSize : strSize)+1)*charSize; in writeStringBlock()
271 ENCODE_LENGTH(strings, sizeof(uint8_t), strSize) in writeStringBlock()
279 ENCODE_LENGTH(strings, sizeof(uint16_t), strSize) in writeStringBlock()