Home
last modified time | relevance | path

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

/frameworks/base/core/tests/benchmarks/src/android/text/
DSpannableStringBuilderBenchmark.java41 int strSize = Integer.parseInt(paramStringMult); in setUp() local
43 for (int i = 0; i < strSize; i++) { in setUp()
DSpannableStringInternalCopyBenchmark.java33 int strSize = Integer.parseInt(paramStringMult); in setUp() local
35 for (int i = 0; i < strSize; i++) { in setUp()
/frameworks/base/tools/aapt/
DStringPool.cpp380 #define ENCODE_LENGTH(str, chrsz, strSize) \ argument
384 if ((strSize) > maxSize) { \
385 *(str)++ = maxMask | (((strSize)>>((chrsz)*8))&maxSize); \
387 *(str)++ = strSize; \
443 const size_t strSize = (ent.value.size()); in writeStringBlock() local
444 const size_t lenSize = strSize > (size_t)(1<<((charSize*8)-1))-1 ? in writeStringBlock()
460 ((mUTF8 ? encSize : strSize)+1)*charSize; in writeStringBlock()
471 ENCODE_LENGTH(strings, sizeof(uint8_t), strSize) in writeStringBlock()
479 ENCODE_LENGTH(strings, sizeof(char16_t), strSize) in writeStringBlock()