Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/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()
80 FT_ASSERT( arrstack ); in cf2_arrstack_finalize()
97 FT_ASSERT( arrstack ); in cf2_arrstack_setNumElements()
110 FT_ASSERT( newSize > 0 ); /* avoid realloc with zero size */ in cf2_arrstack_setNumElements()
142 FT_ASSERT( arrstack ); in cf2_arrstack_setCount()
159 FT_ASSERT( arrstack ); in cf2_arrstack_clear()
169 FT_ASSERT( arrstack ); in cf2_arrstack_size()
178 FT_ASSERT( arrstack ); in cf2_arrstack_getBuffer()
192 FT_ASSERT( arrstack ); in cf2_arrstack_getPointer()
214 FT_ASSERT( arrstack ); in cf2_arrstack_push()
[all …]
Dpshints.c345 FT_ASSERT( hintmap->lastIndex < CF2_MAX_HINT_EDGES ); in cf2_hintmap_map()
425 FT_ASSERT( j < hintmap->count ); in cf2_hintmap_adjustHints()
426 FT_ASSERT( cf2_hint_isValid( &hintmap->edge[i] ) ); in cf2_hintmap_adjustHints()
427 FT_ASSERT( cf2_hint_isValid( &hintmap->edge[j] ) ); in cf2_hintmap_adjustHints()
428 FT_ASSERT( cf2_hint_isLocked( &hintmap->edge[i] ) == in cf2_hintmap_adjustHints()
538 FT_ASSERT( i == 0 || in cf2_hintmap_adjustHints()
542 FT_ASSERT( i < j || in cf2_hintmap_adjustHints()
582 FT_ASSERT( j < hintmap->count - 1 ); in cf2_hintmap_adjustHints()
595 FT_ASSERT( j > 0 ); in cf2_hintmap_adjustHints()
620 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()
Dt1decode.c488 FT_ASSERT( ( decoder->len_buildchar == 0 ) == in t1_decoder_parse_charstrings()
517 FT_ASSERT( known_othersubr_result_cnt == 0 || in t1_decoder_parse_charstrings()
1142 FT_ASSERT( num_args >= 0 ); in t1_decoder_parse_charstrings()
1903 FT_ASSERT( num_args >= 0 ); in t1_decoder_parse_metrics()
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()
1221 FT_ASSERT( cf2_stack_count( opStack ) == 6 ); in cf2_interpT2CharString()
Dpsstack.c188 FT_ASSERT( cf2_stack_count( stack ) <= stack->stackSize ); in cf2_stack_getReal()
Dpsblues.c483 FT_ASSERT( !cf2_hint_isTop( bottomHintEdge ) && in cf2_blues_capture()
/third_party/skia/third_party/externals/freetype/src/base/
Dftstream.c244 FT_ASSERT( stream && stream->cursor == 0 ); in FT_Stream_EnterFrame()
330 FT_ASSERT( stream ); in FT_Stream_ExitFrame()
356 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetByte()
373 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetUShort()
392 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetUShortLE()
411 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetUOffset()
429 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetULong()
447 FT_ASSERT( stream && stream->cursor ); in FT_Stream_GetULongLE()
465 FT_ASSERT( stream ); in FT_Stream_ReadByte()
505 FT_ASSERT( stream ); in FT_Stream_ReadUShort()
[all …]
Dftstroke.c364 FT_ASSERT( border->start >= 0 ); in ft_stroke_border_close()
431 FT_ASSERT( border->start >= 0 ); in ft_stroke_border_lineto()
473 FT_ASSERT( border->start >= 0 ); in ft_stroke_border_conicto()
506 FT_ASSERT( border->start >= 0 ); in ft_stroke_border_cubicto()
748 FT_ASSERT( FT_Outline_Check( outline ) == 0 ); in ft_stroke_border_export()
1804 FT_ASSERT( left->start >= 0 ); in ft_stroker_add_reverse_left()
Dftutil.c143 FT_ASSERT( !block ); in ft_mem_qrealloc()
Dftobjs.c521 FT_ASSERT( (slot->internal->flags & FT_GLYPH_OWN_BITMAP) == 0 ); in ft_glyphslot_set_bitmap()
1293 FT_ASSERT( face ); in find_unicode_charmap()
1382 FT_ASSERT( face ); in find_variant_selector_charmap()
3679 FT_ASSERT( i < charmap->face->num_charmaps ); in FT_Get_Charmap_Index()
5106 FT_ASSERT( module->clazz && module->clazz->get_interface ); in ft_module_get_service()
5124 FT_ASSERT( cur[0]->clazz ); in ft_module_get_service()
/third_party/skia/third_party/externals/freetype/src/cache/
Dftcmru.c78 FT_ASSERT( first ); in FTC_MruNode_Up()
128 FT_ASSERT( first ); in FTC_MruNode_Remove()
157 FT_ASSERT( first == node ); in FTC_MruNode_Remove()
158 FT_ASSERT( prev == node ); in FTC_MruNode_Remove()
189 FT_ASSERT( list->num_nodes == 0 ); in FTC_MruList_Reset()
248 FT_ASSERT( node ); in FTC_MruList_New()
Dftccmap.c276 FT_ASSERT( char_code - FTC_CMAP_NODE( node )->first < in FTC_CMapCache_Lookup()
Dftcsbits.c297 FT_ASSERT( snode->count <= FTC_SBIT_ITEMS_PER_NODE ); in ftc_snode_weight()
/third_party/skia/third_party/externals/freetype/include/freetype/internal/
Dftdebug.h311 #define FT_ASSERT( condition ) \ macro
327 #define FT_ASSERT( condition ) do { } while ( 0 ) macro
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dsfwoff.c140 FT_ASSERT( stream == face->root.stream ); in woff_open_font()
141 FT_ASSERT( FT_STREAM_POS() == 0 ); in woff_open_font()
Dttkern.c222 FT_ASSERT( p + 8 <= next ); /* tested in tt_face_load_kern */ in tt_face_get_kerning()
Dsfwoff2.c1557 FT_ASSERT( FT_STREAM_POS() == 0 ); in reconstruct_font()
1795 FT_ASSERT( stream == face->root.stream ); in woff2_open_font()
1796 FT_ASSERT( FT_STREAM_POS() == 0 ); in woff2_open_font()
/third_party/skia/third_party/externals/freetype/src/type1/
Dt1gload.c222 FT_ASSERT( ( face->len_buildchar == 0 ) == ( face->buildchar == NULL ) ); in T1_Compute_Max_Advance()
385 FT_ASSERT( ( face->len_buildchar == 0 ) == ( face->buildchar == NULL ) ); in T1_Load_Glyph()
Dt1objs.c219 FT_ASSERT( ( face->len_buildchar == 0 ) == ( face->buildchar == NULL ) ); in T1_Face_Done()
/third_party/skia/third_party/externals/freetype/src/lzw/
Dftzopen.c398 FT_ASSERT( state->free_ent < state->prefix_size ); in ft_lzwstate_io()
/third_party/skia/third_party/externals/freetype/docs/
DDEBUG84 2. FT_ASSERT( condition )
92 FT_ASSERT( ptr != NULL );
/third_party/skia/third_party/externals/freetype/src/bdf/
Dbdfdrivr.c887 FT_ASSERT( face && face->bdffont ); in bdf_get_bdf_property()
/third_party/skia/third_party/externals/freetype/src/truetype/
Dttinterp.c134 FT_ASSERT( range >= 1 && range <= 3 ); in TT_Goto_CodeRange()
138 FT_ASSERT( coderange->base ); in TT_Goto_CodeRange()
144 FT_ASSERT( IP <= coderange->size ); in TT_Goto_CodeRange()
181 FT_ASSERT( range >= 1 && range <= 3 ); in TT_Set_CodeRange()
208 FT_ASSERT( range >= 1 && range <= 3 ); in TT_Clear_CodeRange()

12