Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt/
DStringPool.cpp353 #define ENCODE_LENGTH(str, chrsz, strSize) \ argument
357 if (strSize > maxSize) { \
358 *str++ = maxMask | ((strSize>>(chrsz*8))&maxSize); \
360 *str++ = strSize; \
416 const size_t strSize = (ent.value.size()); in writeStringBlock() local
417 const size_t lenSize = strSize > (size_t)(1<<((charSize*8)-1))-1 ? in writeStringBlock()
433 ((mUTF8 ? encSize : strSize)+1)*charSize; in writeStringBlock()
444 ENCODE_LENGTH(strings, sizeof(uint8_t), strSize) in writeStringBlock()
452 ENCODE_LENGTH(strings, sizeof(uint16_t), strSize) in writeStringBlock()