Searched refs:countTrailBytes (Results 1 – 13 of 13) sorted by relevance
581 uint16_t countTrailBytes = U8_COUNT_TRAIL_BYTES(myByte); in ucnv_getNextUChar_UTF8() local582 if (countTrailBytes == 0) { in ucnv_getNextUChar_UTF8()591 if (((const char *)source + countTrailBytes) > args->sourceLimit) in ucnv_getNextUChar_UTF8()594 uint16_t extraBytesToWrite = countTrailBytes + 1; in ucnv_getNextUChar_UTF8()615 if(countTrailBytes == 2) { in ucnv_getNextUChar_UTF8()621 } else if(countTrailBytes == 1) { in ucnv_getNextUChar_UTF8()
16 static int countTrailBytes(byte leadByte) { in countTrailBytes() method in UTF8
81 #define U8_MASK_LEAD_BYTE(leadByte, countTrailBytes) ((leadByte)&=(1<<(6-(countTrailBytes)))-1) argument
311 #define UTF8_MASK_LEAD_BYTE(leadByte, countTrailBytes) ((leadByte)&=(1<<(6-(countTrailBytes)))-1) argument
80 #define U8_MASK_LEAD_BYTE(leadByte, countTrailBytes) ((leadByte)&=(1<<(6-(countTrailBytes)))-1) argument
314 #define UTF8_MASK_LEAD_BYTE(leadByte, countTrailBytes) ((leadByte)&=(1<<(6-(countTrailBytes)))-1) argument