/third_party/libsnd/src/ |
D | pcm.c | 665 sf_count_t total = 0 ; in pcm_read_sc2s() local 673 sc2s_array (ubuf.scbuf, readcount, ptr + total) ; in pcm_read_sc2s() 674 total += readcount ; in pcm_read_sc2s() 680 return total ; in pcm_read_sc2s() 687 sf_count_t total = 0 ; in pcm_read_uc2s() local 695 uc2s_array (ubuf.ucbuf, readcount, ptr + total) ; in pcm_read_uc2s() 696 total += readcount ; in pcm_read_uc2s() 702 return total ; in pcm_read_uc2s() 707 { int total ; in pcm_read_bes2s() local 709 total = (int) psf_fread (ptr, sizeof (short), len, psf) ; in pcm_read_bes2s() [all …]
|
D | ulaw.c | 869 sf_count_t total = 0 ; in ulaw_read_ulaw2s() local 877 ulaw2s_array (ubuf.ucbuf, readcount, ptr + total) ; in ulaw_read_ulaw2s() 878 total += readcount ; in ulaw_read_ulaw2s() 884 return total ; in ulaw_read_ulaw2s() 891 sf_count_t total = 0 ; in ulaw_read_ulaw2i() local 899 ulaw2i_array (ubuf.ucbuf, readcount, ptr + total) ; in ulaw_read_ulaw2i() 900 total += readcount ; in ulaw_read_ulaw2i() 906 return total ; in ulaw_read_ulaw2i() 913 sf_count_t total = 0 ; in ulaw_read_ulaw2f() local 924 ulaw2f_array (ubuf.ucbuf, readcount, ptr + total, normfact) ; in ulaw_read_ulaw2f() [all …]
|
D | float32.c | 516 sf_count_t total = 0 ; in host_read_f2s() local 532 convert (ubuf.fbuf, readcount, ptr + total, scale) ; in host_read_f2s() 533 total += readcount ; in host_read_f2s() 539 return total ; in host_read_f2s() 547 sf_count_t total = 0 ; in host_read_f2i() local 562 convert (ubuf.fbuf, readcount, ptr + total, scale) ; in host_read_f2i() 563 total += readcount ; in host_read_f2i() 569 return total ; in host_read_f2i() 576 sf_count_t total = 0 ; in host_read_f() local 588 endswap_int_copy ((int*) (ptr + total), ubuf.ibuf, readcount) ; in host_read_f() [all …]
|
D | alaw.c | 368 sf_count_t total = 0 ; in alaw_read_alaw2s() local 376 alaw2s_array (ubuf.ucbuf, readcount, ptr + total) ; in alaw_read_alaw2s() 377 total += readcount ; in alaw_read_alaw2s() 383 return total ; in alaw_read_alaw2s() 390 sf_count_t total = 0 ; in alaw_read_alaw2i() local 398 alaw2i_array (ubuf.ucbuf, readcount, ptr + total) ; in alaw_read_alaw2i() 399 total += readcount ; in alaw_read_alaw2i() 405 return total ; in alaw_read_alaw2i() 412 sf_count_t total = 0 ; in alaw_read_alaw2f() local 423 alaw2f_array (ubuf.ucbuf, readcount, ptr + total, normfact) ; in alaw_read_alaw2f() [all …]
|
D | double64.c | 565 sf_count_t total = 0 ; in host_read_d2s() local 580 convert (ubuf.dbuf, readcount, ptr + total, scale) ; in host_read_d2s() 581 total += readcount ; in host_read_d2s() 587 return total ; in host_read_d2s() 595 sf_count_t total = 0 ; in host_read_d2i() local 610 convert (ubuf.dbuf, readcount, ptr + total, scale) ; in host_read_d2i() 611 total += readcount ; in host_read_d2i() 617 return total ; in host_read_d2i() 624 sf_count_t total = 0 ; in host_read_d2f() local 636 d2f_array (ubuf.dbuf, readcount, ptr + total) ; in host_read_d2f() [all …]
|
D | xi.c | 221 int total, bufferlen, len ; in dpcm_seek() local 251 { total = offset ; in dpcm_seek() 253 while (total > 0) in dpcm_seek() 254 { len = (total > bufferlen) ? bufferlen : total ; in dpcm_seek() 255 total -= (int) dpcm_read_dles2s (psf, ubuf.sbuf, len) ; in dpcm_seek() 259 { total = offset ; in dpcm_seek() 261 while (total > 0) in dpcm_seek() 262 { len = (total > bufferlen) ? bufferlen : total ; in dpcm_seek() 263 total -= (int) dpcm_read_dsc2s (psf, ubuf.sbuf, len) ; in dpcm_seek() 509 sf_count_t total = 0 ; in dpcm_read_dsc2s() local [all …]
|
D | vox_adpcm.c | 154 sf_count_t total = 0 ; in vox_read_s() local 165 total += count ; in vox_read_s() 171 return total ; in vox_read_s() 180 sf_count_t total = 0 ; in vox_read_i() local 192 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in vox_read_i() 193 total += count ; in vox_read_i() 199 return total ; in vox_read_i() 208 sf_count_t total = 0 ; in vox_read_f() local 223 ptr [total + k] = normfact * (float) (sptr [k]) ; in vox_read_f() 224 total += count ; in vox_read_f() [all …]
|
D | g72x.c | 204 { int count, total = 0, indx = 0 ; in g72x_read_block() local 209 return total ; in g72x_read_block() 221 total = indx ; in g72x_read_block() 224 return total ; in g72x_read_block() 231 sf_count_t total = 0 ; in g72x_read_s() local 242 total += count ; in g72x_read_s() 249 return total ; in g72x_read_s() 258 sf_count_t total = 0 ; in g72x_read_i() local 271 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in g72x_read_i() 273 total += count ; in g72x_read_i() [all …]
|
D | gsm610.c | 242 { int count, total = 0, indx = 0 ; in gsm610_read_block() local 247 return total ; in gsm610_read_block() 259 total = indx ; in gsm610_read_block() 262 return total ; in gsm610_read_block() 269 sf_count_t total = 0 ; in gsm610_read_s() local 280 total += count ; in gsm610_read_s() 287 return total ; in gsm610_read_s() 296 sf_count_t total = 0 ; in gsm610_read_i() local 308 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in gsm610_read_i() 310 total += count ; in gsm610_read_i() [all …]
|
D | paf.c | 515 { int count, total = 0 ; in paf24_read() local 517 while (total < len) in paf24_read() 519 { memset (&(ptr [total]), 0, (len - total) * sizeof (int)) ; in paf24_read() 520 return total ; in paf24_read() 527 count = (len - total > count) ? count : len - total ; in paf24_read() 529 …memcpy (&(ptr [total]), &(ppaf24->samples [ppaf24->read_count * ppaf24->channels]), count * sizeof… in paf24_read() 530 total += count ; in paf24_read() 534 return total ; in paf24_read() 543 sf_count_t total = 0 ; in paf24_read_s() local 555 ptr [total + k] = iptr [k] >> 16 ; in paf24_read_s() [all …]
|
D | txw.c | 243 sf_count_t total = 0 ; in txw_read_s() local 254 ptr [total + k] = sample ; in txw_read_s() 256 ptr [total + k + 1] = sample ; in txw_read_s() 260 total += count ; in txw_read_s() 264 return total ; in txw_read_s() 273 sf_count_t total = 0 ; in txw_read_i() local 284 ptr [total + k] = sample << 16 ; in txw_read_i() 286 ptr [total + k + 1] = sample << 16 ; in txw_read_i() 290 total += count ; in txw_read_i() 294 return total ; in txw_read_i() [all …]
|
D | ms_adpcm.c | 321 { int count, total = 0, indx = 0 ; in msadpcm_read_block() local 326 return total ; in msadpcm_read_block() 331 return total ; in msadpcm_read_block() 339 total = indx ; in msadpcm_read_block() 342 return total ; in msadpcm_read_block() 349 sf_count_t total = 0 ; in msadpcm_read_s() local 361 total += count ; in msadpcm_read_s() 367 return total ; in msadpcm_read_s() 376 sf_count_t total = 0 ; in msadpcm_read_i() local 391 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in msadpcm_read_i() [all …]
|
D | mpeg_l3_encode.c | 464 sf_count_t total = 0 ; in mpeg_l3_encode_write_short_mono() local 473 …nbytes = lame_encode_buffer (pmpeg->lamef, ptr + total, NULL, writecount, pmpeg->block, pmpeg->blo… in mpeg_l3_encode_write_short_mono() 486 total += writecount ; in mpeg_l3_encode_write_short_mono() 490 return total ; in mpeg_l3_encode_write_short_mono() 498 sf_count_t total = 0 ; in mpeg_l3_encode_write_short_stereo() local 511 memcpy (ubuf.sbuf, ptr + total, writecount) ; in mpeg_l3_encode_write_short_stereo() 525 total += writecount ; in mpeg_l3_encode_write_short_stereo() 529 return total ; in mpeg_l3_encode_write_short_stereo() 536 sf_count_t total = 0 ; in mpeg_l3_encode_write_int_mono() local 545 …nbytes = lame_encode_buffer_int (pmpeg->lamef, ptr + total, NULL, writecount, pmpeg->block, pmpeg-… in mpeg_l3_encode_write_int_mono() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | functionWithSameNameAsField.symbols | 5 public total: number; 6 >total : Symbol(TestProgressBar.total, Decl(functionWithSameNameAsField.ts, 0, 23)) 8 public total(total: number) { 9 >total : Symbol(TestProgressBar.total, Decl(functionWithSameNameAsField.ts, 1, 25)) 10 >total : Symbol(total, Decl(functionWithSameNameAsField.ts, 2, 17)) 12 this.total = total; 13 >this.total : Symbol(TestProgressBar.total, Decl(functionWithSameNameAsField.ts, 0, 23)) 15 >total : Symbol(TestProgressBar.total, Decl(functionWithSameNameAsField.ts, 0, 23)) 16 >total : Symbol(total, Decl(functionWithSameNameAsField.ts, 2, 17))
|
D | functionWithSameNameAsField.types | 5 public total: number; 6 >total : number 8 public total(total: number) { 9 >total : (total: number) => this 10 >total : number 12 this.total = total; 13 >this.total = total : number 14 >this.total : number 16 >total : number 17 >total : number
|
D | functionWithSameNameAsField.js | 3 public total: number; 4 public total(total: number) { method in TestProgressBar 5 this.total = total; 15 TestProgressBar.prototype.total = function (total) { argument 16 this.total = total;
|
D | functionWithSameNameAsField.errors.txt | 1 …ts/cases/compiler/functionWithSameNameAsField.ts(2,12): error TS2300: Duplicate identifier 'total'. 2 …ts/cases/compiler/functionWithSameNameAsField.ts(3,12): error TS2300: Duplicate identifier 'total'. 7 public total: number; 9 !!! error TS2300: Duplicate identifier 'total'. 10 public total(total: number) { 12 !!! error TS2300: Duplicate identifier 'total'. 13 this.total = total;
|
/third_party/glib/patch/ |
D | backport-regex-Perform-more-tests-both-with-and-without-optimizations.patch | 19 - path = g_strdup_printf ("/regex/match-%s/%d", _name, ++total); \ 20 + total++; \ 22 + path = g_strdup_printf ("/regex/match-%s-optimized/%d", _name, total); \ 24 + path = g_strdup_printf ("/regex/match-%s/%d", _name, total); \ 31 + path = g_strdup_printf ("/regex/match-%s/%d", _name, total); \ 36 + path = g_strdup_printf ("/regex/match-%s-optimized/%d", _name, total); \ 45 - path = g_strdup_printf ("/regex/match/%d", ++total); \ 46 + total++; \ 48 + path = g_strdup_printf ("/regex/match-optimized/%d", total); \ 50 + path = g_strdup_printf ("/regex/match/%d", total); \ [all …]
|
/third_party/skia/third_party/externals/harfbuzz/test/api/ |
D | test-ot-layout.c | 37 unsigned int total = 0; in test_ot_layout_table_get_script_tags() local 43 total = hb_ot_layout_table_get_script_tags (face, HB_OT_TAG_GSUB, offset, &count, tags); in test_ot_layout_table_get_script_tags() 44 g_assert_cmpuint (3, ==, total); in test_ot_layout_table_get_script_tags() 58 total = hb_ot_layout_table_get_script_tags (face, HB_OT_TAG_GPOS, offset, &count, tags); in test_ot_layout_table_get_script_tags() 59 g_assert_cmpuint (1, ==, total); in test_ot_layout_table_get_script_tags() 99 unsigned int total = 0; in test_ot_layout_table_get_feature_tags() local 105 total = hb_ot_layout_table_get_feature_tags (face, HB_OT_TAG_GSUB, offset, &count, tags); in test_ot_layout_table_get_feature_tags() 106 g_assert_cmpuint (14, ==, total); in test_ot_layout_table_get_feature_tags() 120 total = hb_ot_layout_table_get_feature_tags (face, HB_OT_TAG_GPOS, offset, &count, tags); in test_ot_layout_table_get_feature_tags() 121 g_assert_cmpuint (3, ==, total); in test_ot_layout_table_get_feature_tags() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | opus_rc.c | 68 uint32_t total) in opus_rc_dec_update() argument 70 rc->value -= scale * (total - high); in opus_rc_dec_update() 72 : rc->range - scale * (total - high); in opus_rc_dec_update() 92 unsigned int k, scale, total, symbol, low, high; in ff_opus_rc_dec_cdf() local 94 total = *cdf++; in ff_opus_rc_dec_cdf() 96 scale = rc->range / total; in ff_opus_rc_dec_cdf() 98 symbol = total - FFMIN(symbol, total); in ff_opus_rc_dec_cdf() 104 opus_rc_dec_update(rc, scale, low, high, total); in ff_opus_rc_dec_cdf() 184 uint32_t bits, k, scale, total; in ff_opus_rc_dec_uint() local 187 total = (bits > 8) ? ((size - 1) >> (bits - 8)) + 1 : size; in ff_opus_rc_dec_uint() [all …]
|
/third_party/spirv-tools/utils/vscode/src/lsp/jsonrpc2/ |
D | stream.go | 104 var total, length int64 108 total += int64(len(line)) 110 return nil, total, fmt.Errorf("failed reading header line %q", err) 119 return nil, total, fmt.Errorf("invalid header line %q", line) 125 return nil, total, fmt.Errorf("failed parsing Content-Length: %v", value) 128 return nil, total, fmt.Errorf("invalid Content-Length: %v", length) 135 return nil, total, fmt.Errorf("missing Content-Length header") 139 return nil, total, err 141 total += length 142 return data, total, nil [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/jsonrpc2/ |
D | stream.go | 104 var total, length int64 108 total += int64(len(line)) 110 return nil, total, fmt.Errorf("failed reading header line %q", err) 119 return nil, total, fmt.Errorf("invalid header line %q", line) 125 return nil, total, fmt.Errorf("failed parsing Content-Length: %v", value) 128 return nil, total, fmt.Errorf("invalid Content-Length: %v", length) 135 return nil, total, fmt.Errorf("missing Content-Length header") 139 return nil, total, err 141 total += length 142 return data, total, nil [all …]
|
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/jsonrpc2/ |
D | stream.go | 104 var total, length int64 108 total += int64(len(line)) 110 return nil, total, fmt.Errorf("failed reading header line %q", err) 119 return nil, total, fmt.Errorf("invalid header line %q", line) 125 return nil, total, fmt.Errorf("failed parsing Content-Length: %v", value) 128 return nil, total, fmt.Errorf("invalid Content-Length: %v", length) 135 return nil, total, fmt.Errorf("missing Content-Length header") 139 return nil, total, err 141 total += length 142 return data, total, nil [all …]
|
/third_party/ltp/testcases/kernel/security/dirtypipe/ |
D | dirtypipe.c | 71 unsigned int pipe_size, total, n, len; in prepare_pipe() local 81 for (total = pipe_size; total > 0;) { in prepare_pipe() 82 n = total > sizeof(buffer) ? sizeof(buffer) : total; in prepare_pipe() 84 total -= len; in prepare_pipe() 91 for (total = pipe_size; total > 0;) { in prepare_pipe() 92 n = total > sizeof(buffer) ? sizeof(buffer) : total; in prepare_pipe() 94 total -= len; in prepare_pipe()
|
/third_party/skia/third_party/externals/brotli/research/ |
D | durchschlag.cc | 263 TextIdx total = 0; in durchschlag_prepare() local 270 TextIdx next_total = total + delta; in durchschlag_prepare() 271 if (next_total <= total) fatal("corpus is too large"); in durchschlag_prepare() 272 total = next_total; in durchschlag_prepare() 273 offsets.push_back(total); in durchschlag_prepare() 276 if (total < sliceLen) fatal("slice_len is larger than corpus size"); in durchschlag_prepare() 277 TextIdx end = total - static_cast<TextIdx>(sliceLen) + 1; in durchschlag_prepare() 330 return {total, sliceLen, static_cast<TextIdx>(map.size()), in durchschlag_prepare() 343 TextIdx total = 0; in durchschlag_prepare() local 350 TextIdx next_total = total + delta; in durchschlag_prepare() [all …]
|