Lines Matching refs:mpReadPtr
405 long getReadOfs( void) const { return (long)(mpReadPtr - mpBasePtr);} in getReadOfs()
413 const U8* mpReadPtr; member in CffSubsetterContext
651 const U8 c = *mpReadPtr; in readDictOp()
653 int nOpId = *(mpReadPtr++); in readDictOp()
658 const U8 nExtId = *(mpReadPtr++); in readDictOp()
760 ++mpReadPtr; // skip 29 in readDictOp()
761 int nS32 = mpReadPtr[0] << 24; in readDictOp()
762 nS32 += mpReadPtr[1] << 16; in readDictOp()
763 nS32 += mpReadPtr[2] << 8; in readDictOp()
764 nS32 += mpReadPtr[3] << 0; in readDictOp()
767 mpReadPtr += 4; in readDictOp()
771 ++mpReadPtr; // skip 30 in readDictOp()
785 const U8*& p = mpReadPtr; in read2push()
931 const int nType2Op = *(mpReadPtr++); in convertOneTypeOp()
958 mpReadPtr += (mnHintSize + 15) / 16; in convertOneTypeOp()
966 nMaskByte = *(mpReadPtr++); in convertOneTypeOp()
983 mpReadPtr += (mnHintSize + 15) / 16; in convertOneTypeOp()
992 nMaskByte = *(mpReadPtr++); in convertOneTypeOp()
1144 --mpReadPtr; in convertOneTypeOp()
1158 const int nType2Esc = *(mpReadPtr++); in convertOneTypeEsc()
1350 const U8* const pOldReadPtr = mpReadPtr; in callType2Subr()
1361 while( mpReadPtr < mpReadEnd) in callType2Subr()
1364 mpReadPtr = pOldReadPtr; in callType2Subr()
1393 mpReadPtr = pT2Ops; in convert2Type1Ops()
1406 while( mpReadPtr < mpReadEnd) in convert2Type1Ops()
1462 const U8 c = *(mpReadPtr++); // read nibbles in readRealVal()
1530 mpReadPtr = mpBasePtr + nIndexBase; in seekIndexData()
1531 const int nDataCount = (mpReadPtr[0]<<8) + mpReadPtr[1]; in seekIndexData()
1534 const int nDataOfsSz = mpReadPtr[2]; in seekIndexData()
1535 mpReadPtr += 3 + (nDataOfsSz * nDataIndex); in seekIndexData()
1539 case 1: nOfs1 = mpReadPtr[0]; break; in seekIndexData()
1540 case 2: nOfs1 = (mpReadPtr[0]<<8) + mpReadPtr[1]; break; in seekIndexData()
1541 case 3: nOfs1 = (mpReadPtr[0]<<16) + (mpReadPtr[1]<<8) + mpReadPtr[2]; break; in seekIndexData()
1542 case 4: nOfs1 = (mpReadPtr[0]<<24) + (mpReadPtr[1]<<16) + (mpReadPtr[2]<<8) + mpReadPtr[3]; break; in seekIndexData()
1544 mpReadPtr += nDataOfsSz; in seekIndexData()
1548 case 1: nOfs2 = mpReadPtr[0]; break; in seekIndexData()
1549 case 2: nOfs2 = (mpReadPtr[0]<<8) + mpReadPtr[1]; break; in seekIndexData()
1550 case 3: nOfs2 = (mpReadPtr[0]<<16) + (mpReadPtr[1]<<8) + mpReadPtr[2]; break; in seekIndexData()
1551 case 4: nOfs2 = (mpReadPtr[0]<<24) + (mpReadPtr[1]<<16) + (mpReadPtr[2]<<8) + mpReadPtr[3]; break; in seekIndexData()
1554 mpReadPtr = mpBasePtr + (nIndexBase + 2) + nDataOfsSz * (nDataCount + 1) + nOfs1; in seekIndexData()
1555 mpReadEnd = mpReadPtr + (nOfs2 - nOfs1); in seekIndexData()
1558 assert( mpReadPtr <= mpBaseEnd); in seekIndexData()
1568 mpReadPtr = mpBasePtr + nIndexBase; in seekIndexEnd()
1569 const int nDataCount = (mpReadPtr[0]<<8) + mpReadPtr[1]; in seekIndexEnd()
1570 const int nDataOfsSz = mpReadPtr[2]; in seekIndexEnd()
1571 mpReadPtr += 3 + nDataOfsSz * nDataCount; in seekIndexEnd()
1572 assert( mpReadPtr <= mpBaseEnd); in seekIndexEnd()
1576 case 1: nEndOfs = mpReadPtr[0]; break; in seekIndexEnd()
1577 case 2: nEndOfs = (mpReadPtr[0]<<8) + mpReadPtr[1]; break; in seekIndexEnd()
1578 case 3: nEndOfs = (mpReadPtr[0]<<16) + (mpReadPtr[1]<<8) + mpReadPtr[2];break; in seekIndexEnd()
1579 …case 4: nEndOfs = (mpReadPtr[0]<<24) + (mpReadPtr[1]<<16) + (mpReadPtr[2]<<8) + mpReadPtr[3]; brea… in seekIndexEnd()
1581 mpReadPtr += nDataOfsSz; in seekIndexEnd()
1582 mpReadPtr += nEndOfs - 1; in seekIndexEnd()
1648 mpReadPtr = mpBasePtr; in initialCffRead()
1649 const U8 nVerMajor = *(mpReadPtr++); in initialCffRead()
1650 const U8 nVerMinor = *(mpReadPtr++); in initialCffRead()
1651 const U8 nHeaderSize = *(mpReadPtr++); in initialCffRead()
1652 const U8 nOffsetSize = *(mpReadPtr++); in initialCffRead()
1659 mpReadPtr = mpBasePtr + nHeaderSize; in initialCffRead()
1660 mnNameIdxCount = (mpReadPtr[0]<<8) + mpReadPtr[1]; in initialCffRead()
1665 const int nTopDictCount = (mpReadPtr[0]<<8) + mpReadPtr[1]; in initialCffRead()
1669 while( mpReadPtr < mpReadEnd) in initialCffRead()
1671 assert( mpReadPtr == mpReadEnd); in initialCffRead()
1677 mnStringIdxCount = (mpReadPtr[0]<<8) + mpReadPtr[1]; in initialCffRead()
1682 mnGlobalSubrCount = (mpReadPtr[0]<<8) + mpReadPtr[1]; in initialCffRead()
1694 mpReadPtr = mpBasePtr + mnCharStrBase; in initialCffRead()
1695 mnCharStrCount = (mpReadPtr[0]<<8) + mpReadPtr[1]; in initialCffRead()
1701 mpReadPtr = mpBasePtr + mnFontDictBase; in initialCffRead()
1702 mnFDAryCount = (mpReadPtr[0]<<8) + mpReadPtr[1]; in initialCffRead()
1710 while( mpReadPtr < mpReadEnd) in initialCffRead()
1712 assert( mpReadPtr == mpReadEnd); in initialCffRead()
1724 mpReadPtr = mpBasePtr + mpCffLocal->mnPrivDictBase; in initialCffRead()
1725 mpReadEnd = mpReadPtr + mpCffLocal->mnPrivDictSize; in initialCffRead()
1728 while( mpReadPtr < mpReadEnd) in initialCffRead()
1736 mpReadPtr = mpBasePtr + mpCffLocal->mnLocalSubrBase; in initialCffRead()
1737 const int nSubrCount = (mpReadPtr[0] << 8) + mpReadPtr[1]; in initialCffRead()
1758 const U8* pReadPtr = mpReadPtr; in getString()
1773 aNameBuf[i] = *(mpReadPtr++); in getString()
1776 mpReadPtr = pReadPtr; in getString()
2363 const int nT1Len = convert2Type1Ops( mpCffLocal, mpReadPtr, nT2Len, aType1Ops); in emitAsType1()