/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) { method in TestProgressBar 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/boost/libs/coroutine/performance/asymmetric/ |
D | performance_switch.cpp | 55 duration_type total = clock_type::now() - start; in measure_time_void() local 56 total -= overhead_clock(); // overhead of measurement in measure_time_void() 57 total /= jobs; // loops in measure_time_void() 58 total /= 2; // 2x jump_fcontext in measure_time_void() 60 return total; in measure_time_void() 72 duration_type total = clock_type::now() - start; in measure_time_int() local 73 total -= overhead_clock(); // overhead of measurement in measure_time_int() 74 total /= jobs; // loops in measure_time_int() 75 total /= 2; // 2x jump_fcontext in measure_time_int() 77 return total; in measure_time_int() [all …]
|
/third_party/boost/libs/coroutine2/performance/segmented/ |
D | performance_switch.cpp | 54 duration_type total = clock_type::now() - start; in measure_time_void() local 55 total -= overhead_clock(); // overhead of measurement in measure_time_void() 56 total /= jobs; // loops in measure_time_void() 57 total /= 2; // 2x jump_fcontext in measure_time_void() 59 return total; in measure_time_void() 71 duration_type total = clock_type::now() - start; in measure_time_int() local 72 total -= overhead_clock(); // overhead of measurement in measure_time_int() 73 total /= jobs; // loops in measure_time_int() 74 total /= 2; // 2x jump_fcontext in measure_time_int() 76 return total; in measure_time_int() [all …]
|
/third_party/libsnd/src/ |
D | pcm.c | 668 sf_count_t total = 0 ; in pcm_read_sc2s() local 676 sc2s_array (ubuf.scbuf, readcount, ptr + total) ; in pcm_read_sc2s() 677 total += readcount ; in pcm_read_sc2s() 683 return total ; in pcm_read_sc2s() 690 sf_count_t total = 0 ; in pcm_read_uc2s() local 698 uc2s_array (ubuf.ucbuf, readcount, ptr + total) ; in pcm_read_uc2s() 699 total += readcount ; in pcm_read_uc2s() 705 return total ; in pcm_read_uc2s() 710 { int total ; in pcm_read_bes2s() local 712 total = 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 | 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 | 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 | 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 | 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 | 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 -= 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 -= dpcm_read_dsc2s (psf, ubuf.sbuf, len) ; in dpcm_seek() 515 sf_count_t total = 0 ; in dpcm_read_dsc2s() local [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 …]
|
/third_party/boost/libs/coroutine/performance/symmetric/ |
D | performance_switch.cpp | 55 duration_type total = clock_type::now() - start; in measure_time_void() local 56 total -= overhead_clock(); // overhead of measurement in measure_time_void() 57 total /= jobs; // loops in measure_time_void() 58 total /= 2; // 2x jump_fcontext in measure_time_void() 60 return total; in measure_time_void() 72 duration_type total = clock_type::now() - start; in measure_time_int() local 73 total -= overhead_clock(); // overhead of measurement in measure_time_int() 74 total /= jobs; // loops in measure_time_int() 75 total /= 2; // 2x jump_fcontext in measure_time_int() 77 return total; in measure_time_int() [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/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/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/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/boost/boost/iostreams/ |
D | copy.hpp | 63 std::streamsize total = in copy_impl() local 67 std::copy(p1.first, p1.first + total, p2.first); in copy_impl() 68 return total; in copy_impl() 81 std::streamsize size, total; in copy_impl() local 82 for ( total = 0, size = static_cast<std::streamsize>(p.second - p.first); in copy_impl() 83 total < size; ) in copy_impl() 86 iostreams::write(snk, p.first + total, size - total); in copy_impl() 87 total += amt; in copy_impl() 89 return total; in copy_impl() 102 std::streamsize total = 0; in copy_impl() local [all …]
|
/third_party/boost/libs/context/performance/callcc/ |
D | performance.cpp | 39 duration_type total = clock_type::now() - start; in measure_time() local 40 total -= overhead_clock(); // overhead of measurement in measure_time() 41 total /= jobs; // loops in measure_time() 42 total /= 2; // 2x jump_fcontext in measure_time() 44 return total; in measure_time() 58 cycle_type total = cycles() - start; in measure_cycles() local 59 total -= overhead_cycle(); // overhead of measurement in measure_cycles() 60 total /= jobs; // loops in measure_cycles() 61 total /= 2; // 2x jump_fcontext in measure_cycles() 63 return total; in measure_cycles()
|