Lines Matching refs:bmpLength
1487 int32_t bmpLength = (headerSize==1)?data[0]:data[1]; in UnicodeSet() local
1489 int32_t newLength = (((data[0]&0x7FFF)-bmpLength)/2)+bmpLength; in UnicodeSet()
1491 …derSize %d bmpLen %d len %d. data[0]=%X/%X/%X/%X\n", dataLen,headerSize,bmpLength,newLength, data[… in UnicodeSet()
1498 for(i = 0; i< bmpLength;i++) { in UnicodeSet()
1505 for(i=bmpLength;i<newLength;i++) { in UnicodeSet()
1506 list[i] = ((UChar32)data[headerSize+bmpLength+(i-bmpLength)*2+0] << 16) + in UnicodeSet()
1507 ((UChar32)data[headerSize+bmpLength+(i-bmpLength)*2+1]); in UnicodeSet()
1509 printf("<<32@%d+[%d] %lX\n", headerSize+bmpLength+i, i, list[i]); in UnicodeSet()
1521 int32_t bmpLength, length, destLength; in serialize() local
1548 bmpLength=length; in serialize()
1551 bmpLength=0; in serialize()
1555 for (bmpLength=0; bmpLength<length && this->list[bmpLength]<=0xffff; ++bmpLength) {} in serialize()
1556 length=bmpLength+2*(length-bmpLength); in serialize()
1559 printf(">> bmpLength%d length%d len%d\n", bmpLength, length, len); in serialize()
1574 destLength=length+((length>bmpLength)?2:1); in serialize()
1583 if (length>bmpLength) { in serialize()
1585 *++dest=(uint16_t)bmpLength; in serialize()
1591 for (i=0; i<bmpLength; ++i) { in serialize()