Home
last modified time | relevance | path

Searched refs:FT_ASSERT (Results 1 – 25 of 33) sorted by relevance

12

/external/freetype/src/psaux/
Dpsft.c71 FT_ASSERT( unitsPerEm > 0 ); in cf2_checkTransform()
76 FT_ASSERT( transform->b == 0 && transform->c == 0 ); in cf2_checkTransform()
77 FT_ASSERT( transform->tx == 0 && transform->ty == 0 ); in cf2_checkTransform()
98 FT_ASSERT( decoder ); in cf2_setGlyphWidth()
141 FT_ASSERT( outline && outline->decoder ); in cf2_builder_moveTo()
142 FT_ASSERT( params->op == CF2_PathOpMoveTo ); in cf2_builder_moveTo()
163 FT_ASSERT( outline && outline->decoder ); in cf2_builder_lineTo()
164 FT_ASSERT( params->op == CF2_PathOpLineTo ); in cf2_builder_lineTo()
207 FT_ASSERT( outline && outline->decoder ); in cf2_builder_cubeTo()
208 FT_ASSERT( params->op == CF2_PathOpCubeTo ); in cf2_builder_cubeTo()
[all …]
Dpsarrst.c61 FT_ASSERT( arrstack ); in cf2_arrstack_init()
81 FT_ASSERT( arrstack ); in cf2_arrstack_finalize()
98 FT_ASSERT( arrstack ); in cf2_arrstack_setNumElements()
111 FT_ASSERT( newSize > 0 ); /* avoid realloc with zero size */ in cf2_arrstack_setNumElements()
143 FT_ASSERT( arrstack ); in cf2_arrstack_setCount()
160 FT_ASSERT( arrstack ); in cf2_arrstack_clear()
170 FT_ASSERT( arrstack ); in cf2_arrstack_size()
179 FT_ASSERT( arrstack ); in cf2_arrstack_getBuffer()
193 FT_ASSERT( arrstack ); in cf2_arrstack_getPointer()
215 FT_ASSERT( arrstack ); in cf2_arrstack_push()
[all …]
Dpshints.c348 FT_ASSERT( hintmap->lastIndex < CF2_MAX_HINT_EDGES ); in cf2_hintmap_map()
422 FT_ASSERT( j < hintmap->count ); in cf2_hintmap_adjustHints()
423 FT_ASSERT( cf2_hint_isValid( &hintmap->edge[i] ) ); in cf2_hintmap_adjustHints()
424 FT_ASSERT( cf2_hint_isValid( &hintmap->edge[j] ) ); in cf2_hintmap_adjustHints()
425 FT_ASSERT( cf2_hint_isLocked( &hintmap->edge[i] ) == in cf2_hintmap_adjustHints()
538 FT_ASSERT( i == 0 || in cf2_hintmap_adjustHints()
540 FT_ASSERT( i < j || in cf2_hintmap_adjustHints()
578 FT_ASSERT( j < hintmap->count - 1 ); in cf2_hintmap_adjustHints()
591 FT_ASSERT( j > 0 ); in cf2_hintmap_adjustHints()
616 FT_ASSERT( cf2_hint_isValid( bottomHintEdge ) || in cf2_hintmap_insertHint()
[all …]
Dt1cmap.c48 FT_ASSERT( cmap->code_to_sid ); in t1_cmap_std_init()
204 FT_ASSERT( cmap->indices ); in t1_cmap_custom_init()
205 FT_ASSERT( encoding->code_first <= encoding->code_last ); in t1_cmap_custom_init()
Dpsintrp.c149 FT_ASSERT( hintmask->byteCount > 0 ); in cf2_hintmask_read()
166 FT_ASSERT( ( hintmask->mask[hintmask->byteCount - 1] & mask ) == 0 || in cf2_hintmask_read()
184 FT_ASSERT( hintmask->byteCount > 0 ); in cf2_hintmask_setAll()
185 FT_ASSERT( hintmask->byteCount <= in cf2_hintmask_setAll()
627 FT_ASSERT( known_othersubr_result_cnt == 0 || in cf2_interpT2CharString()
1219 FT_ASSERT( cf2_stack_count( opStack ) == 6 ); in cf2_interpT2CharString()
1661 FT_ASSERT( (CF2_UInt)arg_cnt <= count ); in cf2_interpT2CharString()
Dt1decode.c477 FT_ASSERT( ( decoder->len_buildchar == 0 ) == in t1_decoder_parse_charstrings()
506 FT_ASSERT( known_othersubr_result_cnt == 0 || in t1_decoder_parse_charstrings()
1133 FT_ASSERT( num_args >= 0 ); in t1_decoder_parse_charstrings()
1865 FT_ASSERT( num_args >= 0 ); in t1_decoder_parse_metrics()
Dpsstack.c190 FT_ASSERT( cf2_stack_count( stack ) <= stack->stackSize ); in cf2_stack_getReal()
Dpsblues.c483 FT_ASSERT( !cf2_hint_isTop( bottomHintEdge ) && in cf2_blues_capture()
/external/freetype/src/base/
Dftstream.c243 FT_ASSERT( stream && stream->cursor == 0 ); in FT_Stream_EnterFrame()
326 FT_ASSERT( stream ); in FT_Stream_ExitFrame()
350 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetChar()
367 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetUShort()
386 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetUShortLE()
405 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetUOffset()
423 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetULong()
441 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetULongLE()
459 FT_ASSERT( stream ); in FT_Stream_ReadChar()
498 FT_ASSERT( stream ); in FT_Stream_ReadUShort()
[all …]
Dftstroke.c359 FT_ASSERT( border->start >= 0 ); in ft_stroke_border_close()
425 FT_ASSERT( border->start >= 0 ); in ft_stroke_border_lineto()
467 FT_ASSERT( border->start >= 0 ); in ft_stroke_border_conicto()
500 FT_ASSERT( border->start >= 0 ); in ft_stroke_border_cubicto()
753 FT_ASSERT( FT_Outline_Check( outline ) == 0 ); in ft_stroke_border_export()
1828 FT_ASSERT( left->start >= 0 ); in ft_stroker_add_reverse_left()
Dftutil.c144 FT_ASSERT( !block ); in ft_mem_qrealloc()
Dftobjs.c479 FT_ASSERT( (slot->internal->flags & FT_GLYPH_OWN_BITMAP) == 0 ); in ft_glyphslot_set_bitmap()
1200 FT_ASSERT( face ); in find_unicode_charmap()
1289 FT_ASSERT( face ); in find_variant_selector_charmap()
3558 FT_ASSERT( i < charmap->face->num_charmaps ); in FT_Get_Charmap_Index()
4985 FT_ASSERT( module->clazz && module->clazz->get_interface ); in ft_module_get_service()
5003 FT_ASSERT( cur[0]->clazz ); in ft_module_get_service()
/external/freetype/src/cache/
Dftcmru.c79 FT_ASSERT( first ); in FTC_MruNode_Up()
129 FT_ASSERT( first ); in FTC_MruNode_Remove()
158 FT_ASSERT( first == node ); in FTC_MruNode_Remove()
159 FT_ASSERT( prev == node ); in FTC_MruNode_Remove()
190 FT_ASSERT( list->num_nodes == 0 ); in FTC_MruList_Reset()
249 FT_ASSERT( node ); in FTC_MruList_New()
Dftccmap.c277 FT_ASSERT( (FT_UInt)( char_code - FTC_CMAP_NODE( node )->first ) < in FTC_CMapCache_Lookup()
Dftcsbits.c293 FT_ASSERT( snode->count <= FTC_SBIT_ITEMS_PER_NODE ); in ftc_snode_weight()
/external/freetype/include/freetype/internal/
Dftdebug.h219 #define FT_ASSERT( condition ) \ macro
235 #define FT_ASSERT( condition ) do { } while ( 0 ) macro
/external/freetype/src/sfnt/
Dttkern.c223 FT_ASSERT( p + 8 <= next ); /* tested in tt_face_load_kern */ in tt_face_get_kerning()
Dsfobjs.c153 FT_ASSERT( name ); in tt_face_get_name()
441 FT_ASSERT( stream == face->root.stream ); in woff_open_font()
442 FT_ASSERT( FT_STREAM_POS() == 0 ); in woff_open_font()
/external/freetype/src/type1/
Dt1gload.c223 FT_ASSERT( ( face->len_buildchar == 0 ) == ( face->buildchar == NULL ) ); in T1_Compute_Max_Advance()
386 FT_ASSERT( ( face->len_buildchar == 0 ) == ( face->buildchar == NULL ) ); in T1_Load_Glyph()
Dt1objs.c215 FT_ASSERT( ( face->len_buildchar == 0 ) == ( face->buildchar == NULL ) ); in T1_Face_Done()
/external/freetype/docs/
DDEBUG69 2. FT_ASSERT( condition )
77 FT_ASSERT( ptr != NULL );
/external/freetype/src/lzw/
Dftzopen.c393 FT_ASSERT( state->free_ent < state->prefix_size ); in ft_lzwstate_io()
/external/freetype/src/bdf/
Dbdfdrivr.c877 FT_ASSERT( face && face->bdffont ); in bdf_get_bdf_property()
/external/freetype/src/truetype/
Dttinterp.c135 FT_ASSERT( range >= 1 && range <= 3 ); in TT_Goto_CodeRange()
139 FT_ASSERT( coderange->base ); in TT_Goto_CodeRange()
145 FT_ASSERT( IP <= coderange->size ); in TT_Goto_CodeRange()
182 FT_ASSERT( range >= 1 && range <= 3 ); in TT_Set_CodeRange()
209 FT_ASSERT( range >= 1 && range <= 3 ); in TT_Clear_CodeRange()
/external/freetype/src/cff/
Dcffparse.c561 FT_ASSERT( scaling ); in cff_parse_fixed_dynamic()

12