/third_party/lwip/src/apps/http/makefsdata/ |
D | makefsdata.c | 1030 size_t cur_len; in file_write_http_header() local 1062 cur_len = strlen(cur_string); in file_write_http_header() 1063 fprintf(data_file, NEWLINE "/* \"%s\" (%"SZT_F" bytes) */" NEWLINE, cur_string, cur_len); in file_write_http_header() 1064 written += file_put_ascii(data_file, cur_string, cur_len, &i); in file_write_http_header() 1067 memcpy(&hdr_buf[hdr_len], cur_string, cur_len); in file_write_http_header() 1068 hdr_len += cur_len; in file_write_http_header() 1072 cur_len = strlen(cur_string); in file_write_http_header() 1073 fprintf(data_file, NEWLINE "/* \"%s\" (%"SZT_F" bytes) */" NEWLINE, cur_string, cur_len); in file_write_http_header() 1074 written += file_put_ascii(data_file, cur_string, cur_len, &i); in file_write_http_header() 1077 memcpy(&hdr_buf[hdr_len], cur_string, cur_len); in file_write_http_header() [all …]
|
/third_party/python/Lib/ |
D | textwrap.py | 200 def _handle_long_word(self, reversed_chunks, cur_line, cur_len, width): argument 213 space_left = width - cur_len 274 cur_len = 0 294 if cur_len + l <= width: 296 cur_len += l 305 self._handle_long_word(chunks, cur_line, cur_len, width) 306 cur_len = sum(map(len, cur_line)) 310 cur_len -= len(cur_line[-1]) 319 not chunks[0].strip()) and cur_len <= width): 326 cur_len + len(self.placeholder) <= width): [all …]
|
/third_party/ffmpeg/libavformat/ |
D | rtpdec_latm.c | 46 int ret, cur_len; in latm_parse_packet() local 72 cur_len = 0; in latm_parse_packet() 75 cur_len += val; in latm_parse_packet() 79 if (data->pos + cur_len > data->len) { in latm_parse_packet() 84 if ((ret = av_new_packet(pkt, cur_len)) < 0) in latm_parse_packet() 86 memcpy(pkt->data, data->buf + data->pos, cur_len); in latm_parse_packet() 87 data->pos += cur_len; in latm_parse_packet()
|
D | rtpdec_asf.c | 258 int cur_len = start_off + len_off - off; in asfrtp_parse_packet() local 260 out_len += cur_len; in asfrtp_parse_packet() 261 if (FFMIN(cur_len, len - off) < 0) in asfrtp_parse_packet() 266 FFMIN(cur_len, len - off)); in asfrtp_parse_packet() 267 avio_skip(pb, cur_len); in asfrtp_parse_packet()
|
/third_party/mindspore/mindspore/ccsrc/debug/ |
D | common.cc | 144 auto cur_len = i - left_pos; in IsEveryFilenameValid() local 145 if (cur_len > length_limit) { in IsEveryFilenameValid() 146 …OG(WARNING) << error_message << "The name length of '" << path.substr(left_pos, cur_len) << "' is " in IsEveryFilenameValid() 147 << cur_len << ". It is out of the limit which is " << length_limit << "."; in IsEveryFilenameValid() 155 auto cur_len = len_path - left_pos; in IsEveryFilenameValid() local 156 if (cur_len > length_limit) { in IsEveryFilenameValid() 157 … << error_message << "The name length of '" << path.substr(left_pos, cur_len) << "' is " << cur_len in IsEveryFilenameValid()
|
/third_party/node/deps/uvwasi/src/ |
D | path_resolver.c | 43 size_t cur_len; in uvwasi__normalize_path() local 54 cur_len = (next == NULL) ? strlen(cur) : (size_t) (next - cur); in uvwasi__normalize_path() 56 if (cur_len == 0) { in uvwasi__normalize_path() 63 } else if (cur_len == 1 && cur[0] == '.') { in uvwasi__normalize_path() 65 } else if (cur_len == 2 && cur[0] == '.' && cur[1] == '.') { in uvwasi__normalize_path() 103 memcpy(ptr, cur, cur_len); in uvwasi__normalize_path() 104 ptr += cur_len; in uvwasi__normalize_path()
|
/third_party/node/deps/brotli/c/enc/ |
D | hash_to_binary_tree_inc.h | 154 const size_t cur_len = BROTLI_MIN(size_t, best_len_left, best_len_right); in FN() local 156 BROTLI_DCHECK(cur_len <= MAX_TREE_COMP_LENGTH); in FN() 157 len = cur_len + in FN() 158 FindMatchLengthWithLimit(&data[cur_ix_masked + cur_len], in FN() 159 &data[prev_ix_masked + cur_len], in FN() 160 max_length - cur_len); in FN()
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
D | hash_to_binary_tree_inc.h | 154 const size_t cur_len = BROTLI_MIN(size_t, best_len_left, best_len_right); in FN() local 156 BROTLI_DCHECK(cur_len <= MAX_TREE_COMP_LENGTH); in FN() 157 len = cur_len + in FN() 158 FindMatchLengthWithLimit(&data[cur_ix_masked + cur_len], in FN() 159 &data[prev_ix_masked + cur_len], in FN() 160 max_length - cur_len); in FN()
|
/third_party/gn/src/gn/ |
D | substitution_pattern.cc | 60 size_t cur_len = strlen(cur_pattern); in Parse() local 61 if (str.compare(next, cur_len, cur_pattern) == 0) { in Parse() 63 cur = next + cur_len; in Parse()
|
/third_party/python/Lib/distutils/ |
D | fancy_getopt.py | 394 cur_len = 0 # length of current line 398 if cur_len + l <= width: # can squeeze (at least) this chunk in 401 cur_len = cur_len + l 412 if cur_len == 0:
|
/third_party/flutter/skia/third_party/externals/freetype/src/pshinter/ |
D | pshalgo.c | 411 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 …]
|
/third_party/skia/third_party/externals/freetype/src/pshinter/ |
D | pshalgo.c | 411 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 …]
|
D | pshalgo.h | 56 FT_Pos cur_len; member
|
/third_party/freetype/src/pshinter/ |
D | pshalgo.c | 410 hint->cur_len = FT_MulFix( hint->org_len, scale ); in ps_simple_scale() 461 hint->cur_len = len; in psh_hint_align() 473 hint->cur_len = fit_len = len; in psh_hint_align() 500 hint->cur_len = align.align_top - align.align_bot; in psh_hint_align() 522 par_cur_center = parent->cur_pos + ( parent->cur_len >> 1 ); in psh_hint_align() 530 hint->cur_len = fit_len; in psh_hint_align() 605 hint->cur_len = len; in psh_hint_align() 612 len = hint->cur_len; in psh_hint_align() 623 hint->cur_len = len; in psh_hint_align() 627 hint->cur_len = len; in psh_hint_align() [all …]
|
/third_party/mesa3d/src/gallium/drivers/swr/rasterizer/codegen/templates/ |
D | gen_llvm.hpp | 105 def pad(cur_len, max_len): 106 pad_amt = max_len - cur_len
|
/third_party/freetype/src/autofit/ |
D | aflatin2.c | 1968 FT_Pos org_len, org_center, cur_len; in af_latin2_hint_edges() local 1973 cur_len = af_latin2_compute_stem_width( hints, dim, org_len, in af_latin2_hint_edges() 1976 if ( cur_len <= 64 ) in af_latin2_hint_edges() 1984 if ( cur_len < 96 ) in af_latin2_hint_edges() 2003 edge->pos = cur_pos1 - cur_len / 2; in af_latin2_hint_edges() 2004 edge2->pos = edge->pos + cur_len; in af_latin2_hint_edges() 2029 FT_Pos org_pos, org_len, org_center, cur_center, cur_len; in af_latin2_hint_edges() local 2037 cur_len = af_latin2_compute_stem_width( hints, dim, org_len, in af_latin2_hint_edges() 2041 org_left = org_pos + ( ( org_len - cur_len ) >> 1 ); in af_latin2_hint_edges() 2042 org_right = org_pos + ( ( org_len + cur_len ) >> 1 ); in af_latin2_hint_edges() [all …]
|
D | aflatin.c | 3140 FT_Pos org_len, org_center, cur_len; in af_latin_hint_edges() local 3145 cur_len = af_latin_compute_stem_width( hints, dim, in af_latin_hint_edges() 3153 if ( cur_len <= 64 ) in af_latin_hint_edges() 3166 if ( cur_len < 96 ) in af_latin_hint_edges() 3184 edge->pos = cur_pos1 - cur_len / 2; in af_latin_hint_edges() 3185 edge2->pos = edge->pos + cur_len; in af_latin_hint_edges() 3207 FT_Pos org_pos, org_len, org_center, cur_len; in af_latin_hint_edges() local 3215 cur_len = af_latin_compute_stem_width( hints, dim, in af_latin_hint_edges() 3224 ( edge2->pos - cur_len ) / 64.0 )); in af_latin_hint_edges() 3226 edge->pos = edge2->pos - cur_len; in af_latin_hint_edges() [all …]
|
D | afcjk.c | 1691 FT_Pos org_len, cur_len, org_center; in af_hint_normal_stem() local 1718 cur_len = af_cjk_compute_stem_width( hints, dim, org_len, in af_hint_normal_stem() 1723 cur_pos1 = org_center - cur_len / 2; in af_hint_normal_stem() 1724 cur_pos2 = cur_pos1 + cur_len; in af_hint_normal_stem() 1735 if ( cur_len <= threshold ) in af_hint_normal_stem() 1737 if ( d_off2 < cur_len ) in af_hint_normal_stem() 1755 offset = cur_len & 63; in af_hint_normal_stem() 1798 edge2->pos = cur_pos1 + cur_len; in af_hint_normal_stem() 1802 edge->pos = cur_pos1 + cur_len; in af_hint_normal_stem()
|
/third_party/flutter/skia/third_party/externals/freetype/src/autofit/ |
D | aflatin2.c | 1968 FT_Pos org_len, org_center, cur_len; in af_latin2_hint_edges() local 1973 cur_len = af_latin2_compute_stem_width( hints, dim, org_len, in af_latin2_hint_edges() 1976 if ( cur_len <= 64 ) in af_latin2_hint_edges() 1984 if ( cur_len < 96 ) in af_latin2_hint_edges() 2003 edge->pos = cur_pos1 - cur_len / 2; in af_latin2_hint_edges() 2004 edge2->pos = edge->pos + cur_len; in af_latin2_hint_edges() 2029 FT_Pos org_pos, org_len, org_center, cur_center, cur_len; in af_latin2_hint_edges() local 2037 cur_len = af_latin2_compute_stem_width( hints, dim, org_len, in af_latin2_hint_edges() 2041 org_left = org_pos + ( ( org_len - cur_len ) >> 1 ); in af_latin2_hint_edges() 2042 org_right = org_pos + ( ( org_len + cur_len ) >> 1 ); in af_latin2_hint_edges() [all …]
|
D | aflatin.c | 3141 FT_Pos org_len, org_center, cur_len; in af_latin_hint_edges() local 3146 cur_len = af_latin_compute_stem_width( hints, dim, in af_latin_hint_edges() 3154 if ( cur_len <= 64 ) in af_latin_hint_edges() 3167 if ( cur_len < 96 ) in af_latin_hint_edges() 3185 edge->pos = cur_pos1 - cur_len / 2; in af_latin_hint_edges() 3186 edge2->pos = edge->pos + cur_len; in af_latin_hint_edges() 3208 FT_Pos org_pos, org_len, org_center, cur_len; in af_latin_hint_edges() local 3216 cur_len = af_latin_compute_stem_width( hints, dim, in af_latin_hint_edges() 3225 ( edge2->pos - cur_len ) / 64.0 )); in af_latin_hint_edges() 3227 edge->pos = edge2->pos - cur_len; in af_latin_hint_edges() [all …]
|
D | afcjk.c | 1692 FT_Pos org_len, cur_len, org_center; in af_hint_normal_stem() local 1719 cur_len = af_cjk_compute_stem_width( hints, dim, org_len, in af_hint_normal_stem() 1724 cur_pos1 = org_center - cur_len / 2; in af_hint_normal_stem() 1725 cur_pos2 = cur_pos1 + cur_len; in af_hint_normal_stem() 1736 if ( cur_len <= threshold ) in af_hint_normal_stem() 1738 if ( d_off2 < cur_len ) in af_hint_normal_stem() 1756 offset = cur_len & 63; in af_hint_normal_stem() 1799 edge2->pos = cur_pos1 + cur_len; in af_hint_normal_stem() 1803 edge->pos = cur_pos1 + cur_len; in af_hint_normal_stem()
|
/third_party/skia/third_party/externals/freetype/src/autofit/ |
D | aflatin.c | 3149 FT_Pos org_len, org_center, cur_len; in af_latin_hint_edges() local 3154 cur_len = af_latin_compute_stem_width( hints, dim, in af_latin_hint_edges() 3162 if ( cur_len <= 64 ) in af_latin_hint_edges() 3175 if ( cur_len < 96 ) in af_latin_hint_edges() 3193 edge->pos = cur_pos1 - cur_len / 2; in af_latin_hint_edges() 3194 edge2->pos = edge->pos + cur_len; in af_latin_hint_edges() 3216 FT_Pos org_pos, org_len, org_center, cur_len; in af_latin_hint_edges() local 3224 cur_len = af_latin_compute_stem_width( hints, dim, in af_latin_hint_edges() 3233 ( edge2->pos - cur_len ) / 64.0 )); in af_latin_hint_edges() 3235 edge->pos = edge2->pos - cur_len; in af_latin_hint_edges() [all …]
|
D | afcjk.c | 1674 FT_Pos org_len, cur_len, org_center; in af_hint_normal_stem() local 1701 cur_len = af_cjk_compute_stem_width( hints, dim, org_len, in af_hint_normal_stem() 1706 cur_pos1 = org_center - cur_len / 2; in af_hint_normal_stem() 1707 cur_pos2 = cur_pos1 + cur_len; in af_hint_normal_stem() 1718 if ( cur_len <= threshold ) in af_hint_normal_stem() 1720 if ( d_off2 < cur_len ) in af_hint_normal_stem() 1738 offset = cur_len & 63; in af_hint_normal_stem() 1781 edge2->pos = cur_pos1 + cur_len; in af_hint_normal_stem() 1785 edge->pos = cur_pos1 + cur_len; in af_hint_normal_stem()
|
/third_party/ffmpeg/libavcodec/ |
D | ralf.c | 81 int i, cur_len; in init_ralf_vlc() local 88 cur_len = (nb ? *data & 0xF : *data >> 4) + 1; in init_ralf_vlc() 89 counts[cur_len]++; in init_ralf_vlc() 90 max_bits = FFMAX(max_bits, cur_len); in init_ralf_vlc() 91 lens[i] = cur_len; in init_ralf_vlc()
|
/third_party/mindspore/mindspore/explainer/explanation/_counterfactual/ |
D | hierarchical_occlusion.py | 754 cur_len = int(short_side/AUTO_WIN_SIZE_DIV) 755 while len(win_sizes) < AUTO_LAYER_MAX and cur_len >= AUTO_WIN_SIZE_MIN: 756 stride = int(cur_len/AUTO_STRIDE_DIV) 759 win_sizes.append(cur_len) 761 cur_len = int(cur_len/AUTO_WIN_SIZE_DIV)
|