/external/bison/lib/ |
H A D | getdelim.c | 60 size_t cur_len = 0; local 95 if (cur_len + 1 >= *n) 104 if (cur_len + 1 >= needed) 122 (*lineptr)[cur_len] = i; 123 cur_len++; 128 (*lineptr)[cur_len] = '\0'; 129 result = cur_len ? cur_len : result;
|
/external/python/cpython2/Lib/ |
H A D | textwrap.py | 210 def _handle_long_word(self, reversed_chunks, cur_line, cur_len, width): 213 cur_len : int, width : int) 223 space_left = width - cur_len 240 # cur_len will be zero, so the next line will be entirely 267 # cur_len is just the length of all the chunks in cur_line. 269 cur_len = 0 289 if cur_len + l <= width: 291 cur_len += l 300 self._handle_long_word(chunks, cur_line, cur_len, width)
|
H A D | mailbox.py | 658 cur_len = self._file.tell() 659 if cur_len != self._file_length: 662 (self._file_length, cur_len))
|
/external/brotli/enc/ |
H A D | hash_to_binary_tree_inc.h | 153 const size_t cur_len = BROTLI_MIN(size_t, best_len_left, best_len_right); local 155 assert(cur_len <= MAX_TREE_COMP_LENGTH); 156 len = cur_len + 157 FindMatchLengthWithLimit(&data[cur_ix_masked + cur_len], 158 &data[prev_ix_masked + cur_len], 159 max_length - cur_len);
|
/external/python/cpython2/Lib/distutils/ |
H A D | fancy_getopt.py | 431 cur_len = 0 # length of current line 435 if cur_len + l <= width: # can squeeze (at least) this chunk in 438 cur_len = cur_len + l 450 if cur_len == 0:
|
/external/freetype/src/pshinter/ |
H A D | pshalgo.c | 411 hint->cur_len = FT_MulFix( hint->org_len, scale ); 462 hint->cur_len = len; 474 hint->cur_len = fit_len = len; 501 hint->cur_len = align.align_top - align.align_bot; 523 par_cur_center = parent->cur_pos + ( parent->cur_len >> 1 ); 531 hint->cur_len = fit_len; 606 hint->cur_len = len; 613 len = hint->cur_len; 624 hint->cur_len = len; 628 hint->cur_len [all...] |
H A D | pshalgo.h | 56 FT_Pos cur_len; member in struct:PSH_HintRec_
|
/external/pdfium/third_party/freetype/src/pshinter/ |
H A D | pshalgo.c | 411 hint->cur_len = FT_MulFix( hint->org_len, scale ); 462 hint->cur_len = len; 474 hint->cur_len = fit_len = len; 501 hint->cur_len = align.align_top - align.align_bot; 523 par_cur_center = parent->cur_pos + ( parent->cur_len >> 1 ); 531 hint->cur_len = fit_len; 606 hint->cur_len = len; 613 len = hint->cur_len; 624 hint->cur_len = len; 628 hint->cur_len [all...] |
H A D | pshalgo.h | 56 FT_Pos cur_len; member in struct:PSH_HintRec_
|
/external/freetype/src/autofit/ |
H A D | aflatin2.c | 1964 FT_Pos org_len, org_center, cur_len; local 1969 cur_len = af_latin2_compute_stem_width( hints, dim, org_len, 1972 if ( cur_len <= 64 ) 1980 if ( cur_len < 96 ) 1999 edge->pos = cur_pos1 - cur_len / 2; 2000 edge2->pos = edge->pos + cur_len; 2025 FT_Pos org_pos, org_len, org_center, cur_center, cur_len; local 2033 cur_len = af_latin2_compute_stem_width( hints, dim, org_len, 2037 org_left = org_pos + ( ( org_len - cur_len ) >> 1 ); 2038 org_right = org_pos + ( ( org_len + cur_len ) >> [all...] |
H A D | aflatin.c | 3086 FT_Pos org_len, org_center, cur_len; local 3091 cur_len = af_latin_compute_stem_width( hints, dim, 3099 if ( cur_len <= 64 ) 3112 if ( cur_len < 96 ) 3130 edge->pos = cur_pos1 - cur_len / 2; 3131 edge2->pos = edge->pos + cur_len; 3153 FT_Pos org_pos, org_len, org_center, cur_len; local 3161 cur_len = af_latin_compute_stem_width( hints, dim, 3170 ( edge2->pos - cur_len ) / 64.0 )); 3172 edge->pos = edge2->pos - cur_len; [all...] |
H A D | afcjk.c | 1665 FT_Pos org_len, cur_len, org_center; local 1692 cur_len = af_cjk_compute_stem_width( hints, dim, org_len, 1697 cur_pos1 = org_center - cur_len / 2; 1698 cur_pos2 = cur_pos1 + cur_len; 1709 if ( cur_len <= threshold ) 1711 if ( d_off2 < cur_len ) 1729 offset = cur_len & 63; 1772 edge2->pos = cur_pos1 + cur_len; 1776 edge->pos = cur_pos1 + cur_len;
|
/external/fio/ |
H A D | server.c | 475 size_t this_len, cur_len = 0; local 490 if (!cmd || cur_len < sizeof(*cmd) + this_len) { 494 cur_len = sizeof(*cmd) + this_len; 495 cmd = malloc(cur_len);
|