Searched refs:charSize (Results 1 – 2 of 2) sorted by relevance
438 const size_t charSize = mUTF8 ? sizeof(uint8_t) : sizeof(uint16_t); in writeStringBlock() local444 const size_t lenSize = strSize > (size_t)(1<<((charSize*8)-1))-1 ? in writeStringBlock()445 charSize*2 : charSize; in writeStringBlock()454 (encSize > (size_t)(1<<((charSize*8)-1))-1 ? in writeStringBlock()455 charSize*2 : charSize) : 0; in writeStringBlock()460 ((mUTF8 ? encSize : strSize)+1)*charSize; in writeStringBlock()
525 size_t charSize; in setTo() local527 charSize = sizeof(uint8_t); in setTo()529 charSize = sizeof(uint16_t); in setTo()544 mStringPoolSize = (mSize - mHeader->stringsStart) / charSize; in setTo()559 (mHeader->stylesStart-mHeader->stringsStart)/charSize; in setTo()