Home | History | Annotate | Download | only in type42

Lines Matching refs:cur

298     FT_Byte*    cur;
305 cur = parser->root.cursor;
306 if ( cur >= limit )
315 if ( ft_isdigit( *cur ) || *cur == '[' )
326 if ( *cur == '[' )
401 cur = parser->root.cursor;
404 if ( *cur == 'd' && cur + 3 < limit )
406 if ( cur[1] == 'e' &&
407 cur[2] == 'f' &&
408 t42_is_space( cur[3] ) )
411 cur += 3;
415 if ( *cur == ']' )
418 cur++;
423 if ( ft_isdigit( *cur ) || only_immediates )
436 if ( cur == parser->root.cursor )
443 cur = parser->root.cursor;
445 if ( cur + 2 < limit && *cur == '/' && n < count )
450 cur++;
452 parser->root.cursor = cur;
459 len = (FT_UInt)( parser->root.cursor - cur );
462 cur, len + 1 );
494 parser->root.cursor = cur;
501 if ( cur + 17 < limit &&
502 ft_strncmp( (const char*)cur, "StandardEncoding", 16 ) == 0 )
505 else if ( cur + 15 < limit &&
506 ft_strncmp( (const char*)cur, "ExpertEncoding", 14 ) == 0 )
509 else if ( cur + 18 < limit &&
510 ft_strncmp( (const char*)cur, "ISOLatin1Encoding", 17 ) == 0 )
534 FT_Byte* cur;
581 cur = parser->root.cursor;
583 if ( *cur == ']' )
589 else if ( *cur == '<' )
596 string_size = (FT_ULong)( ( parser->root.cursor - cur - 2 + 1 ) / 2 );
608 parser->root.cursor = cur;
614 else if ( ft_isdigit( *cur ) )
786 FT_Byte* cur;
836 cur = parser->root.cursor;
845 parser->root.cursor = cur; /* rewind */
912 cur = parser->root.cursor;
913 if ( cur >= limit )
917 if ( *cur == 'e' &&
918 cur + 3 < limit &&
919 cur[1] == 'n' &&
920 cur[2] == 'd' &&
921 t42_is_space( cur[3] ) )
923 if ( *cur == '>' )
936 if ( *cur == '/' || *cur == '(' )
939 FT_Bool have_literal = FT_BOOL( *cur == '(' );
942 if ( cur + ( have_literal ? 3 : 2 ) >= limit )
949 cur++; /* skip `/' */
950 len = (FT_UInt)( parser->root.cursor - cur );
954 error = T1_Add_Table( name_table, n, cur, len + 1 );
962 if ( *cur == '.' &&
975 cur = parser->root.cursor;
985 len = (FT_UInt)( parser->root.cursor - cur );
987 error = T1_Add_Table( code_table, n, cur, len + 1 );
1156 FT_Byte* cur;
1159 cur = parser->root.cursor;
1162 if ( *cur == 'F' && cur + 25 < limit &&
1163 ft_strncmp( (char*)cur, "FontDirectory", 13 ) == 0 )
1171 cur = cur2 = parser->root.cursor;
1174 while ( cur < limit )
1176 if ( *cur == 'k' && cur + 5 < limit &&
1177 ft_strncmp( (char*)cur, "known", 5 ) == 0 )
1184 cur = parser->root.cursor;
1187 if ( cur < limit )
1204 else if ( *cur == '/' && cur + 2 < limit )
1209 cur++;
1211 parser->root.cursor = cur;
1216 len = (FT_UInt)( parser->root.cursor - cur );
1235 if ( cur[0] == name[0] &&
1237 ft_memcmp( cur, name, len ) == 0 )