Home
last modified time | relevance | path

Searched refs:cur_len (Results 1 – 14 of 14) sorted by relevance

/external/bison/lib/
Dgetdelim.c60 size_t cur_len = 0; in getdelim() local
95 if (cur_len + 1 >= *n) in getdelim()
104 if (cur_len + 1 >= needed) in getdelim()
122 (*lineptr)[cur_len] = i; in getdelim()
123 cur_len++; in getdelim()
128 (*lineptr)[cur_len] = '\0'; in getdelim()
129 result = cur_len ? cur_len : result; in getdelim()
/external/pdfium/third_party/freetype/src/pshinter/
Dpshalgo.c411 hint->cur_len = FT_MulFix( hint->org_len, scale ); in ps_simple_scale()
462 hint->cur_len = len; in psh_hint_align()
474 hint->cur_len = fit_len = len; in psh_hint_align()
501 hint->cur_len = align.align_top - align.align_bot; in psh_hint_align()
523 par_cur_center = parent->cur_pos + ( parent->cur_len >> 1 ); in psh_hint_align()
531 hint->cur_len = fit_len; in psh_hint_align()
606 hint->cur_len = len; in psh_hint_align()
613 len = hint->cur_len; in psh_hint_align()
624 hint->cur_len = len; in psh_hint_align()
628 hint->cur_len = len; in psh_hint_align()
[all …]
Dpshalgo.h56 FT_Pos cur_len; member
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/pshinter/
Dpshalgo.c411 hint->cur_len = FT_MulFix( hint->org_len, scale ); in ps_simple_scale()
462 hint->cur_len = len; in psh_hint_align()
474 hint->cur_len = fit_len = len; in psh_hint_align()
501 hint->cur_len = align.align_top - align.align_bot; in psh_hint_align()
523 par_cur_center = parent->cur_pos + ( parent->cur_len >> 1 ); in psh_hint_align()
531 hint->cur_len = fit_len; in psh_hint_align()
606 hint->cur_len = len; in psh_hint_align()
613 len = hint->cur_len; in psh_hint_align()
624 hint->cur_len = len; in psh_hint_align()
628 hint->cur_len = len; in psh_hint_align()
[all …]
Dpshalgo.h56 FT_Pos cur_len; member
/external/freetype/src/pshinter/
Dpshalgo.c411 hint->cur_len = FT_MulFix( hint->org_len, scale ); in ps_simple_scale()
462 hint->cur_len = len; in psh_hint_align()
474 hint->cur_len = fit_len = len; in psh_hint_align()
501 hint->cur_len = align.align_top - align.align_bot; in psh_hint_align()
523 par_cur_center = parent->cur_pos + ( parent->cur_len >> 1 ); in psh_hint_align()
531 hint->cur_len = fit_len; in psh_hint_align()
606 hint->cur_len = len; in psh_hint_align()
613 len = hint->cur_len; in psh_hint_align()
624 hint->cur_len = len; in psh_hint_align()
628 hint->cur_len = len; in psh_hint_align()
[all …]
Dpshalgo.h56 FT_Pos cur_len; member
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/autofit/
Daflatin.c2545 FT_Pos org_len, org_center, cur_len; in af_latin_hint_edges() local
2550 cur_len = af_latin_compute_stem_width( hints, dim, org_len, in af_latin_hint_edges()
2557 if ( cur_len <= 64 ) in af_latin_hint_edges()
2570 if ( cur_len < 96 ) in af_latin_hint_edges()
2588 edge->pos = cur_pos1 - cur_len / 2; in af_latin_hint_edges()
2589 edge2->pos = edge->pos + cur_len; in af_latin_hint_edges()
2611 FT_Pos org_pos, org_len, org_center, cur_len; in af_latin_hint_edges() local
2619 cur_len = af_latin_compute_stem_width( hints, dim, org_len, in af_latin_hint_edges()
2627 ( edge2->pos - cur_len ) / 64.0 )); in af_latin_hint_edges()
2629 edge->pos = edge2->pos - cur_len; in af_latin_hint_edges()
[all …]
Daflatin2.c1959 FT_Pos org_len, org_center, cur_len; in af_latin2_hint_edges() local
1964 cur_len = af_latin2_compute_stem_width( hints, dim, org_len, in af_latin2_hint_edges()
1967 if ( cur_len <= 64 ) in af_latin2_hint_edges()
1975 if ( cur_len < 96 ) in af_latin2_hint_edges()
1994 edge->pos = cur_pos1 - cur_len / 2; in af_latin2_hint_edges()
1995 edge2->pos = edge->pos + cur_len; in af_latin2_hint_edges()
2020 FT_Pos org_pos, org_len, org_center, cur_center, cur_len; in af_latin2_hint_edges() local
2028 cur_len = af_latin2_compute_stem_width( hints, dim, org_len, in af_latin2_hint_edges()
2032 org_left = org_pos + ( ( org_len - cur_len ) >> 1 ); in af_latin2_hint_edges()
2033 org_right = org_pos + ( ( org_len + cur_len ) >> 1 ); in af_latin2_hint_edges()
[all …]
Dafcjk.c1607 FT_Pos org_len, cur_len, org_center; in af_hint_normal_stem() local
1634 cur_len = af_cjk_compute_stem_width( hints, dim, org_len, in af_hint_normal_stem()
1639 cur_pos1 = org_center - cur_len / 2; in af_hint_normal_stem()
1640 cur_pos2 = cur_pos1 + cur_len; in af_hint_normal_stem()
1651 if ( cur_len <= threshold ) in af_hint_normal_stem()
1653 if ( d_off2 < cur_len ) in af_hint_normal_stem()
1671 offset = cur_len & 63; in af_hint_normal_stem()
1714 edge2->pos = cur_pos1 + cur_len; in af_hint_normal_stem()
1718 edge->pos = cur_pos1 + cur_len; in af_hint_normal_stem()
/external/freetype/src/autofit/
Daflatin2.c1964 FT_Pos org_len, org_center, cur_len; in af_latin2_hint_edges() local
1969 cur_len = af_latin2_compute_stem_width( hints, dim, org_len, in af_latin2_hint_edges()
1972 if ( cur_len <= 64 ) in af_latin2_hint_edges()
1980 if ( cur_len < 96 ) in af_latin2_hint_edges()
1999 edge->pos = cur_pos1 - cur_len / 2; in af_latin2_hint_edges()
2000 edge2->pos = edge->pos + cur_len; in af_latin2_hint_edges()
2025 FT_Pos org_pos, org_len, org_center, cur_center, cur_len; in af_latin2_hint_edges() local
2033 cur_len = af_latin2_compute_stem_width( hints, dim, org_len, in af_latin2_hint_edges()
2037 org_left = org_pos + ( ( org_len - cur_len ) >> 1 ); in af_latin2_hint_edges()
2038 org_right = org_pos + ( ( org_len + cur_len ) >> 1 ); in af_latin2_hint_edges()
[all …]
Daflatin.c2985 FT_Pos org_len, org_center, cur_len; in af_latin_hint_edges() local
2990 cur_len = af_latin_compute_stem_width( hints, dim, in af_latin_hint_edges()
2998 if ( cur_len <= 64 ) in af_latin_hint_edges()
3011 if ( cur_len < 96 ) in af_latin_hint_edges()
3029 edge->pos = cur_pos1 - cur_len / 2; in af_latin_hint_edges()
3030 edge2->pos = edge->pos + cur_len; in af_latin_hint_edges()
3052 FT_Pos org_pos, org_len, org_center, cur_len; in af_latin_hint_edges() local
3060 cur_len = af_latin_compute_stem_width( hints, dim, in af_latin_hint_edges()
3069 ( edge2->pos - cur_len ) / 64.0 )); in af_latin_hint_edges()
3071 edge->pos = edge2->pos - cur_len; in af_latin_hint_edges()
[all …]
Dafcjk.c1665 FT_Pos org_len, cur_len, org_center; in af_hint_normal_stem() local
1692 cur_len = af_cjk_compute_stem_width( hints, dim, org_len, in af_hint_normal_stem()
1697 cur_pos1 = org_center - cur_len / 2; in af_hint_normal_stem()
1698 cur_pos2 = cur_pos1 + cur_len; in af_hint_normal_stem()
1709 if ( cur_len <= threshold ) in af_hint_normal_stem()
1711 if ( d_off2 < cur_len ) in af_hint_normal_stem()
1729 offset = cur_len & 63; in af_hint_normal_stem()
1772 edge2->pos = cur_pos1 + cur_len; in af_hint_normal_stem()
1776 edge->pos = cur_pos1 + cur_len; in af_hint_normal_stem()
/external/fio/
Dserver.c370 size_t this_len, cur_len = 0; in fio_net_send_cmd() local
385 if (!cmd || cur_len < sizeof(*cmd) + this_len) { in fio_net_send_cmd()
389 cur_len = sizeof(*cmd) + this_len; in fio_net_send_cmd()
390 cmd = malloc(cur_len); in fio_net_send_cmd()