Home
last modified time | relevance | path

Searched refs:cur_len (Results 1 – 9 of 9) 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/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/freetype/src/autofit/
Daflatin.c2444 FT_Pos org_len, org_center, cur_len; in af_latin_hint_edges() local
2449 cur_len = af_latin_compute_stem_width( hints, dim, org_len, in af_latin_hint_edges()
2456 if ( cur_len <= 64 ) in af_latin_hint_edges()
2469 if ( cur_len < 96 ) in af_latin_hint_edges()
2487 edge->pos = cur_pos1 - cur_len / 2; in af_latin_hint_edges()
2488 edge2->pos = edge->pos + cur_len; in af_latin_hint_edges()
2510 FT_Pos org_pos, org_len, org_center, cur_len; in af_latin_hint_edges() local
2518 cur_len = af_latin_compute_stem_width( hints, dim, org_len, in af_latin_hint_edges()
2526 ( edge2->pos - cur_len ) / 64.0 )); in af_latin_hint_edges()
2528 edge->pos = edge2->pos - cur_len; in af_latin_hint_edges()
[all …]
Daflatin2.c1943 FT_Pos org_len, org_center, cur_len; in af_latin2_hint_edges() local
1948 cur_len = af_latin2_compute_stem_width( hints, dim, org_len, in af_latin2_hint_edges()
1951 if ( cur_len <= 64 ) in af_latin2_hint_edges()
1959 if ( cur_len < 96 ) in af_latin2_hint_edges()
1978 edge->pos = cur_pos1 - cur_len / 2; in af_latin2_hint_edges()
1979 edge2->pos = edge->pos + cur_len; in af_latin2_hint_edges()
2004 FT_Pos org_pos, org_len, org_center, cur_center, cur_len; in af_latin2_hint_edges() local
2012 cur_len = af_latin2_compute_stem_width( hints, dim, org_len, in af_latin2_hint_edges()
2016 org_left = org_pos + ( ( org_len - cur_len ) >> 1 ); in af_latin2_hint_edges()
2017 org_right = org_pos + ( ( org_len + cur_len ) >> 1 ); in af_latin2_hint_edges()
[all …]
Dafcjk.c1591 FT_Pos org_len, cur_len, org_center; in af_hint_normal_stem() local
1618 cur_len = af_cjk_compute_stem_width( hints, dim, org_len, in af_hint_normal_stem()
1623 cur_pos1 = org_center - cur_len / 2; in af_hint_normal_stem()
1624 cur_pos2 = cur_pos1 + cur_len; in af_hint_normal_stem()
1635 if ( cur_len <= threshold ) in af_hint_normal_stem()
1637 if ( d_off2 < cur_len ) in af_hint_normal_stem()
1655 offset = cur_len & 63; in af_hint_normal_stem()
1698 edge2->pos = cur_pos1 + cur_len; in af_hint_normal_stem()
1702 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()