Lines Matching refs:offset

148         int offset, platformID, encodingID=-1;
165 offset = cmapBuffer.getInt();
167 case 0: three0 = offset; break; // MS Symbol encoding
168 case 1: three1 = offset; break; // MS Unicode cmap
169 case 2: three2 = offset; break; // ShiftJIS cmap.
170 case 3: three3 = offset; break; // GBK cmap
171 case 4: three4 = offset; break; // Big 5 cmap
172 case 5: three5 = offset; break; // Wansung
173 case 6: three6 = offset; break; // Johab
174 case 10: three10 = offset; break; // MS Unicode surrogates
398 static CMap createCMap(ByteBuffer buffer, int offset, char[] xlat) {
402 int subtableFormat = buffer.getChar(offset);
405 subtableLength = buffer.getChar(offset+2);
407 subtableLength = buffer.getInt(offset+4) & INTMASK;
409 if (offset+subtableLength > buffer.capacity()) {
415 case 0: return new CMapFormat0(buffer, offset);
416 case 2: return new CMapFormat2(buffer, offset, xlat);
417 case 4: return new CMapFormat4(buffer, offset, xlat);
418 case 6: return new CMapFormat6(buffer, offset, xlat);
419 case 8: return new CMapFormat8(buffer, offset, xlat);
420 case 10: return new CMapFormat10(buffer, offset, xlat);
421 case 12: return new CMapFormat12(buffer, offset, xlat);
423 (int)buffer.getChar(offset));
463 CMapFormat4(ByteBuffer bbuffer, int offset, char[] xlat) {
467 bbuffer.position(offset);
479 if (offset+subtableLength > bbuffer.capacity()) {
480 subtableLength = bbuffer.capacity() - offset;
620 CMapFormat0(ByteBuffer buffer, int offset) {
623 int len = buffer.getChar(offset+2);
625 buffer.position(offset+6);
645 // static CMap createSymbolCMap(ByteBuffer buffer, int offset, char[] syms) {
647 // CMap cmap = createCMap(buffer, offset, null);
734 CMapFormat2(ByteBuffer buffer, int offset, char[] xlat) {
738 int tableLen = buffer.getChar(offset+2);
739 buffer.position(offset+6);
765 // " offset="+(int)idRangeOffSetArray[i]);
809 /* "address" arithmetic is needed to calculate the offset
814 * idRangeOffSetArray field is at offset 6 in the entry.
842 CMapFormat6(ByteBuffer bbuffer, int offset, char[] xlat) {
844 bbuffer.position(offset+6);
884 CMapFormat8(ByteBuffer bbuffer, int offset, char[] xlat) {
914 CMapFormat10(ByteBuffer bbuffer, int offset, char[] xlat) {
918 bbuffer.position(offset+20);
953 CMapFormat12(ByteBuffer buffer, int offset, char[] xlat) {
958 numGroups = buffer.getInt(offset+12);
962 buffer.position(offset+16);