Lines Matching refs:mnStackIdx
473 void push( ValType nVal) { mnValStack[ mnStackIdx++] = nVal;} in push()
474 ValType popVal( void) { return ((mnStackIdx>0) ? mnValStack[ --mnStackIdx] : 0);} in popVal()
475 ValType peekVal( void) const { return ((mnStackIdx>0) ? mnValStack[ mnStackIdx-1] : 0);} in peekVal()
480 int size( void) const { return mnStackIdx;} in size()
481 bool empty( void) const { return !mnStackIdx;} in empty()
482 void clear( void) { mnStackIdx = 0;} in clear()
501 int mnStackIdx; member in CffSubsetterContext
519 , mnStackIdx(0) in CffSubsetterContext()
577 --mnStackIdx; in updateWidth()
578 for( int i = 0; i < mnStackIdx; ++i) in updateWidth()
590 updateWidth( (mnStackIdx & 1) != 0); in addHints()
592 if( !mnStackIdx) in addHints()
597 if( mnStackIdx & 1) --mnStackIdx;//####### in addHints()
600 assert( (mnHintSize + mnStackIdx) <= 2*NMAXHINTS); in addHints()
603 mnHintSize += mnStackIdx; in addHints()
606 for( int i = 0; i < mnStackIdx; ++i) { in addHints()
615 mnStackIdx = 0; in addHints()
877 for( int i = 0; i < mnStackIdx;) { in pop2MultiWrite()
894 for( int i = 0; i < mnStackIdx; ++i) { in popAll2Write()
1068 while( (i += 6) <= mnStackIdx) in convertOneTypeOp()
1071 while( (i += 2) <= mnStackIdx) { in convertOneTypeOp()
1080 while( (i += 2) <= mnStackIdx-6) { in convertOneTypeOp()
1086 while( (i += 6) <= mnStackIdx) in convertOneTypeOp()
1096 if( mnStackIdx & 1 ) in convertOneTypeOp()
1097 nInt = static_cast<int>(mnValStack[ --mnStackIdx ]); in convertOneTypeOp()
1098 while( (i += 4) <= mnStackIdx) { in convertOneTypeOp()
1105 if( !bVert ) writeType1Val( static_cast<ValType>((i==mnStackIdx) ? nInt : 0) ); in convertOneTypeOp()
1107 if( bVert ) writeType1Val( static_cast<ValType>((i==mnStackIdx) ? nInt : 0) ); in convertOneTypeOp()
1115 i = (mnStackIdx & 1); in convertOneTypeOp()
1116 while( (i += 4) <= mnStackIdx) { in convertOneTypeOp()
1125 i = (mnStackIdx & 1); in convertOneTypeOp()
1126 while( (i += 4) <= mnStackIdx) { in convertOneTypeOp()
1159 ValType* pTop = &mnValStack[ mnStackIdx-1]; in convertOneTypeEsc()
1163 assert( mnStackIdx >= 2 ); in convertOneTypeEsc()
1165 --mnStackIdx; in convertOneTypeEsc()
1168 assert( mnStackIdx >= 2 ); in convertOneTypeEsc()
1170 --mnStackIdx; in convertOneTypeEsc()
1173 assert( mnStackIdx >= 1 ); in convertOneTypeEsc()
1177 assert( mnStackIdx >= 1 ); in convertOneTypeEsc()
1182 assert( mnStackIdx >= 1 ); in convertOneTypeEsc()
1186 assert( mnStackIdx >= 2 ); in convertOneTypeEsc()
1188 --mnStackIdx; in convertOneTypeEsc()
1191 assert( mnStackIdx >= 2 ); in convertOneTypeEsc()
1193 --mnStackIdx; in convertOneTypeEsc()
1196 assert( mnStackIdx >= 2 ); in convertOneTypeEsc()
1199 --mnStackIdx; in convertOneTypeEsc()
1202 assert( mnStackIdx >= 2 ); in convertOneTypeEsc()
1205 --mnStackIdx; in convertOneTypeEsc()
1208 assert( mnStackIdx >= 2 ); in convertOneTypeEsc()
1210 --mnStackIdx; in convertOneTypeEsc()
1213 assert( mnStackIdx >= 1 ); in convertOneTypeEsc()
1214 --mnStackIdx; in convertOneTypeEsc()
1217 assert( mnStackIdx >= 2 ); in convertOneTypeEsc()
1222 mnStackIdx -= 2; in convertOneTypeEsc()
1226 assert( mnStackIdx >= 1 ); in convertOneTypeEsc()
1234 assert( mnStackIdx >= 4 ); in convertOneTypeEsc()
1237 mnStackIdx -= 3; in convertOneTypeEsc()
1242 ++mnStackIdx; in convertOneTypeEsc()
1248 assert( mnStackIdx >= 1 ); in convertOneTypeEsc()
1250 ++mnStackIdx; in convertOneTypeEsc()
1253 assert( mnStackIdx >= 2 ); in convertOneTypeEsc()
1260 assert( mnStackIdx >= 1 ); in convertOneTypeEsc()
1263 assert( nVal < mnStackIdx-1 ); in convertOneTypeEsc()
1268 assert( mnStackIdx >= 1 ); in convertOneTypeEsc()
1271 assert( nNum < mnStackIdx-2 ); in convertOneTypeEsc()
1274 mnStackIdx -= 2; in convertOneTypeEsc()
1279 assert( mnStackIdx == 9); in convertOneTypeEsc()
1281 const ValType* pX = &mnValStack[ mnStackIdx]; in convertOneTypeEsc()
1286 writeCurveTo( mnStackIdx, -9, -8, -7, -6, -5, 0); in convertOneTypeEsc()
1287 writeCurveTo( mnStackIdx, -4, 0, -3, -2, -1, 0); in convertOneTypeEsc()
1290 mnStackIdx -= 9; in convertOneTypeEsc()
1294 assert( mnStackIdx == 7); in convertOneTypeEsc()
1295 ValType* pX = &mnValStack[ mnStackIdx]; in convertOneTypeEsc()
1302 writeCurveTo( mnStackIdx, -7, 0, -6, -5, -4, 0); in convertOneTypeEsc()
1303 writeCurveTo( mnStackIdx, -3, 0, -2, +1, -1, 0); in convertOneTypeEsc()
1306 mnStackIdx -= 7; in convertOneTypeEsc()
1310 assert( mnStackIdx == 13 ); in convertOneTypeEsc()
1311 writeCurveTo( mnStackIdx, -13, -12, -11, -10, -9, -8 ); in convertOneTypeEsc()
1312 writeCurveTo( mnStackIdx, -7, -6, -5, -4, -3, -2 ); in convertOneTypeEsc()
1313 const ValType nFlexDepth = mnValStack[ mnStackIdx-1 ]; in convertOneTypeEsc()
1315 mnStackIdx -= 13; in convertOneTypeEsc()
1319 assert( mnStackIdx == 11 ); in convertOneTypeEsc()
1321 writeCurveTo( mnStackIdx, -11, -10, -9, -8, -7, -6 ); in convertOneTypeEsc()
1324 const int i = mnStackIdx; in convertOneTypeEsc()
1333 writeCurveTo( mnStackIdx, -5, -4, -3, -2, -1, 0); in convertOneTypeEsc()
1335 writeCurveTo( mnStackIdx, -5, -4, -3, -2, 0, -1); in convertOneTypeEsc()
1336 mnStackIdx -= 11; in convertOneTypeEsc()
1404 mnHintSize=mnHorzHintSize=mnStackIdx=0; maCharWidth=-1;//####### in convert2Type1Ops()