Home
last modified time | relevance | path

Searched refs:FT_ASSERT (Results 1 – 25 of 34) 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()
1218 FT_ASSERT( cf2_stack_count( opStack ) == 6 ); in cf2_interpT2CharString()
1659 FT_ASSERT( (CF2_UInt)arg_cnt <= count ); in cf2_interpT2CharString()
Dt1decode.c463 FT_ASSERT( ( decoder->len_buildchar == 0 ) == in t1_decoder_parse_charstrings()
495 FT_ASSERT( known_othersubr_result_cnt == 0 || in t1_decoder_parse_charstrings()
1121 FT_ASSERT( num_args >= 0 ); in t1_decoder_parse_charstrings()
1845 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.c242 FT_ASSERT( stream && stream->cursor == 0 ); in FT_Stream_EnterFrame()
325 FT_ASSERT( stream ); in FT_Stream_ExitFrame()
349 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetChar()
366 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetUShort()
385 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetUShortLE()
404 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetUOffset()
422 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetULong()
440 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetULongLE()
458 FT_ASSERT( stream ); in FT_Stream_ReadChar()
497 FT_ASSERT( stream ); in FT_Stream_ReadUShort()
[all …]
Dftstroke.c364 FT_ASSERT( border->start >= 0 ); in ft_stroke_border_close()
430 FT_ASSERT( border->start >= 0 ); in ft_stroke_border_lineto()
472 FT_ASSERT( border->start >= 0 ); in ft_stroke_border_conicto()
505 FT_ASSERT( border->start >= 0 ); in ft_stroke_border_cubicto()
758 FT_ASSERT( FT_Outline_Check( outline ) == 0 ); in ft_stroke_border_export()
1833 FT_ASSERT( left->start >= 0 ); in ft_stroker_add_reverse_left()
Dftutil.c144 FT_ASSERT( !block ); in ft_mem_qrealloc()
Dftobjs.c473 FT_ASSERT( (slot->internal->flags & FT_GLYPH_OWN_BITMAP) == 0 ); in ft_glyphslot_set_bitmap()
1187 FT_ASSERT( face ); in find_unicode_charmap()
1276 FT_ASSERT( face ); in find_variant_selector_charmap()
3546 FT_ASSERT( i < charmap->face->num_charmaps ); in FT_Get_Charmap_Index()
4889 FT_ASSERT( module->clazz && module->clazz->get_interface ); in ft_module_get_service()
4907 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.h195 #define FT_ASSERT( condition ) \ macro
211 #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.c222 FT_ASSERT( ( face->len_buildchar == 0 ) == ( face->buildchar == NULL ) ); in T1_Compute_Max_Advance()
368 FT_ASSERT( ( face->len_buildchar == 0 ) == ( face->buildchar == NULL ) ); in T1_Load_Glyph()
Dt1objs.c214 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.c878 FT_ASSERT( face && face->bdffont ); in bdf_get_bdf_property()
/external/freetype/src/truetype/
Dttinterp.c132 FT_ASSERT( range >= 1 && range <= 3 ); in TT_Goto_CodeRange()
136 FT_ASSERT( coderange->base ); in TT_Goto_CodeRange()
142 FT_ASSERT( IP <= coderange->size ); in TT_Goto_CodeRange()
175 FT_ASSERT( range >= 1 && range <= 3 ); in TT_Set_CodeRange()
200 FT_ASSERT( range >= 1 && range <= 3 ); in TT_Clear_CodeRange()
/external/freetype/src/autofit/
Dafhints.c1568 FT_ASSERT( point <= end_point && in af_glyph_hints_align_weak_points()

12