Home
last modified time | relevance | path

Searched refs:cur_len (Results 1 – 16 of 16) 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/qemu/
Ddma-helpers.c85 hwaddr cur_addr, cur_len; in dma_bdrv_cb() local
102 cur_len = dbs->sg->sg[dbs->sg_cur_index].len - dbs->sg_cur_byte; in dma_bdrv_cb()
103 mem = cpu_physical_memory_map(cur_addr, &cur_len, !dbs->is_write); in dma_bdrv_cb()
106 qemu_iovec_add(&dbs->iov, mem, cur_len); in dma_bdrv_cb()
107 dbs->sg_cur_byte += cur_len; in dma_bdrv_cb()
/external/chromium_org/tools/gn/
Dsubstitution_pattern.cc62 size_t cur_len = strlen(cur_pattern); in Parse() local
63 if (str.compare(next, cur_len, cur_pattern) == 0) { in Parse()
65 cur = next + cur_len; in Parse()
/external/chromium_org/third_party/freetype/src/pshinter/
Dpshalgo.c413 hint->cur_len = FT_MulFix( hint->org_len, scale ); in ps_simple_scale()
464 hint->cur_len = len; in psh_hint_align()
476 hint->cur_len = fit_len = len; in psh_hint_align()
503 hint->cur_len = align.align_top - align.align_bot; in psh_hint_align()
525 par_cur_center = parent->cur_pos + ( parent->cur_len >> 1 ); in psh_hint_align()
533 hint->cur_len = fit_len; in psh_hint_align()
608 hint->cur_len = len; in psh_hint_align()
615 len = hint->cur_len; in psh_hint_align()
626 hint->cur_len = len; in psh_hint_align()
630 hint->cur_len = len; in psh_hint_align()
[all …]
Dpshalgo.h58 FT_Pos cur_len; member
/external/freetype/src/pshinter/
Dpshalgo.c413 hint->cur_len = FT_MulFix( hint->org_len, scale ); in ps_simple_scale()
464 hint->cur_len = len; in psh_hint_align()
476 hint->cur_len = fit_len = len; in psh_hint_align()
503 hint->cur_len = align.align_top - align.align_bot; in psh_hint_align()
525 par_cur_center = parent->cur_pos + ( parent->cur_len >> 1 ); in psh_hint_align()
533 hint->cur_len = fit_len; in psh_hint_align()
608 hint->cur_len = len; in psh_hint_align()
615 len = hint->cur_len; in psh_hint_align()
626 hint->cur_len = len; in psh_hint_align()
630 hint->cur_len = len; in psh_hint_align()
[all …]
Dpshalgo.h58 FT_Pos cur_len; member
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/pshinter/
Dpshalgo.c413 hint->cur_len = FT_MulFix( hint->org_len, scale ); in ps_simple_scale()
464 hint->cur_len = len; in psh_hint_align()
476 hint->cur_len = fit_len = len; in psh_hint_align()
503 hint->cur_len = align.align_top - align.align_bot; in psh_hint_align()
525 par_cur_center = parent->cur_pos + ( parent->cur_len >> 1 ); in psh_hint_align()
533 hint->cur_len = fit_len; in psh_hint_align()
608 hint->cur_len = len; in psh_hint_align()
615 len = hint->cur_len; in psh_hint_align()
626 hint->cur_len = len; in psh_hint_align()
630 hint->cur_len = len; in psh_hint_align()
[all …]
Dpshalgo.h58 FT_Pos cur_len; member
/external/chromium_org/third_party/freetype/src/autofit/
Daflatin.c1987 FT_Pos org_len, org_center, cur_len; in af_latin_hint_edges() local
1992 cur_len = af_latin_compute_stem_width( in af_latin_hint_edges()
2000 if ( cur_len <= 64 ) in af_latin_hint_edges()
2013 if ( cur_len < 96 ) in af_latin_hint_edges()
2031 edge->pos = cur_pos1 - cur_len / 2; in af_latin_hint_edges()
2032 edge2->pos = edge->pos + cur_len; in af_latin_hint_edges()
2054 FT_Pos org_pos, org_len, org_center, cur_len; in af_latin_hint_edges() local
2062 cur_len = af_latin_compute_stem_width( in af_latin_hint_edges()
2071 ( edge2->pos - cur_len ) / 64.0 )); in af_latin_hint_edges()
2073 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( in af_latin2_hint_edges()
1952 if ( cur_len <= 64 ) in af_latin2_hint_edges()
1960 if ( cur_len < 96 ) in af_latin2_hint_edges()
1979 edge->pos = cur_pos1 - cur_len / 2; in af_latin2_hint_edges()
1980 edge2->pos = edge->pos + cur_len; in af_latin2_hint_edges()
2005 FT_Pos org_pos, org_len, org_center, cur_center, cur_len; in af_latin2_hint_edges() local
2013 cur_len = af_latin2_compute_stem_width( in af_latin2_hint_edges()
2018 org_left = org_pos + ( ( org_len - cur_len ) >> 1 ); in af_latin2_hint_edges()
2019 org_right = org_pos + ( ( org_len + cur_len ) >> 1 ); in af_latin2_hint_edges()
[all …]
Dafcjk.c1554 FT_Pos org_len, cur_len, org_center; in af_hint_normal_stem() local
1581 cur_len = af_cjk_compute_stem_width( hints, dim, org_len, in af_hint_normal_stem()
1586 cur_pos1 = org_center - cur_len / 2; in af_hint_normal_stem()
1587 cur_pos2 = cur_pos1 + cur_len; in af_hint_normal_stem()
1598 if ( cur_len <= threshold ) in af_hint_normal_stem()
1600 if ( d_off2 < cur_len ) in af_hint_normal_stem()
1618 offset = cur_len & 63; in af_hint_normal_stem()
1661 edge2->pos = cur_pos1 + cur_len; in af_hint_normal_stem()
1665 edge->pos = cur_pos1 + cur_len; in af_hint_normal_stem()
/external/freetype/src/autofit/
Daflatin.c2438 FT_Pos org_len, org_center, cur_len; in af_latin_hint_edges() local
2443 cur_len = af_latin_compute_stem_width( in af_latin_hint_edges()
2451 if ( cur_len <= 64 ) in af_latin_hint_edges()
2464 if ( cur_len < 96 ) in af_latin_hint_edges()
2482 edge->pos = cur_pos1 - cur_len / 2; in af_latin_hint_edges()
2483 edge2->pos = edge->pos + cur_len; in af_latin_hint_edges()
2505 FT_Pos org_pos, org_len, org_center, cur_len; in af_latin_hint_edges() local
2513 cur_len = af_latin_compute_stem_width( in af_latin_hint_edges()
2522 ( edge2->pos - cur_len ) / 64.0 )); in af_latin_hint_edges()
2524 edge->pos = edge2->pos - cur_len; in af_latin_hint_edges()
[all …]
Daflatin2.c1944 FT_Pos org_len, org_center, cur_len; in af_latin2_hint_edges() local
1949 cur_len = af_latin2_compute_stem_width( in af_latin2_hint_edges()
1953 if ( cur_len <= 64 ) in af_latin2_hint_edges()
1961 if ( cur_len < 96 ) in af_latin2_hint_edges()
1980 edge->pos = cur_pos1 - cur_len / 2; in af_latin2_hint_edges()
1981 edge2->pos = edge->pos + cur_len; in af_latin2_hint_edges()
2006 FT_Pos org_pos, org_len, org_center, cur_center, cur_len; in af_latin2_hint_edges() local
2014 cur_len = af_latin2_compute_stem_width( in af_latin2_hint_edges()
2019 org_left = org_pos + ( ( org_len - cur_len ) >> 1 ); in af_latin2_hint_edges()
2020 org_right = org_pos + ( ( org_len + cur_len ) >> 1 ); in af_latin2_hint_edges()
[all …]
Dafcjk.c1589 FT_Pos org_len, cur_len, org_center; in af_hint_normal_stem() local
1616 cur_len = af_cjk_compute_stem_width( hints, dim, org_len, in af_hint_normal_stem()
1621 cur_pos1 = org_center - cur_len / 2; in af_hint_normal_stem()
1622 cur_pos2 = cur_pos1 + cur_len; in af_hint_normal_stem()
1633 if ( cur_len <= threshold ) in af_hint_normal_stem()
1635 if ( d_off2 < cur_len ) in af_hint_normal_stem()
1653 offset = cur_len & 63; in af_hint_normal_stem()
1696 edge2->pos = cur_pos1 + cur_len; in af_hint_normal_stem()
1700 edge->pos = cur_pos1 + cur_len; in af_hint_normal_stem()
/external/fio/
Dserver.c356 size_t this_len, cur_len = 0; in fio_net_send_cmd() local
371 if (!cmd || cur_len < sizeof(*cmd) + this_len) { in fio_net_send_cmd()
375 cur_len = sizeof(*cmd) + this_len; in fio_net_send_cmd()
376 cmd = malloc(cur_len); in fio_net_send_cmd()