/external/cronet/base/allocator/partition_allocator/starscan/ |
D | scan_loop_unittest.cc | 48 void TestOnRangeWithAlignment(TestScanLoop& sl, in TestOnRangeWithAlignment() argument 54 sl.Run(reinterpret_cast<uintptr_t>(std::begin(range)), in TestOnRangeWithAlignment() 56 EXPECT_EQ(expected_visited, sl.visited()); in TestOnRangeWithAlignment() 57 sl.Reset(); in TestOnRangeWithAlignment() 65 TestScanLoop sl(SimdSupport::kUnvectorized); in TEST() local 66 TestOnRangeWithAlignment<8>(sl, 0u, kInvalidPtr, kInvalidPtr, kInvalidPtr); in TEST() 69 TestScanLoop sl(SimdSupport::kUnvectorized); in TEST() local 70 TestOnRangeWithAlignment<8>(sl, 1u, kValidPtr, kInvalidPtr, kInvalidPtr); in TEST() 73 TestScanLoop sl(SimdSupport::kUnvectorized); in TEST() local 74 TestOnRangeWithAlignment<8>(sl, 2u, kValidPtr, kValidPtr, kInvalidPtr); in TEST() [all …]
|
/external/libvpx/examples/ |
D | vp9_spatial_svc_encoder.c | 418 unsigned int sl, tl; in set_rate_control_stats() local 423 for (sl = 0; sl < cfg->ss_number_layers; ++sl) { in set_rate_control_stats() 425 const int layer = sl * cfg->ts_number_layers + tl; in set_rate_control_stats() 457 unsigned int sl, tl; in printout_rate_control_summary() local 463 for (sl = 0; sl < cfg->ss_number_layers; ++sl) { in printout_rate_control_summary() 466 const int layer = sl * cfg->ts_number_layers + tl; in printout_rate_control_summary() 481 printf("For layer#: sl%d tl%d \n", sl, tl); in printout_rate_control_summary() 567 int sl; in set_frame_flags_bypass_mode_ex0() local 568 for (sl = 0; sl < num_spatial_layers; ++sl) in set_frame_flags_bypass_mode_ex0() 569 ref_frame_config->update_buffer_slot[sl] = 0; in set_frame_flags_bypass_mode_ex0() [all …]
|
D | svc_encodeframe.c | 291 int sl, tl, spatial_layer_target; in assign_layer_bitrates() local 296 for (sl = 0; sl < svc_ctx->spatial_layers; ++sl) { in assign_layer_bitrates() 297 total_bitrate += si->bitrates[sl * svc_ctx->temporal_layers + in assign_layer_bitrates() 300 enc_cfg->ss_target_bitrate[sl * svc_ctx->temporal_layers] += in assign_layer_bitrates() 301 (unsigned int)si->bitrates[sl * svc_ctx->temporal_layers + tl]; in assign_layer_bitrates() 302 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + tl] = in assign_layer_bitrates() 303 si->bitrates[sl * svc_ctx->temporal_layers + tl]; in assign_layer_bitrates() 304 if (tl > 0 && (si->bitrates[sl * svc_ctx->temporal_layers + tl] <= in assign_layer_bitrates() 305 si->bitrates[sl * svc_ctx->temporal_layers + tl - 1])) in assign_layer_bitrates() 315 for (sl = 0; sl < svc_ctx->spatial_layers; ++sl) { in assign_layer_bitrates() [all …]
|
/external/clang/test/CodeGen/ |
D | zvector.c | 16 volatile vector signed long long sl, sl2; variable 51 sl = sl2; in test_assign() 88 sl = +sl2; in test_pos() 113 sl = -sl2; in test_neg() 349 sl = sl + sl2; in test_add() 353 sl = sl + bl2; in test_add() 357 sl = bl + sl2; in test_add() 435 sl += sl2; in test_add_assign() 439 sl += bl2; in test_add_assign() 537 sl = sl - sl2; in test_sub() [all …]
|
/external/libvpx/test/ |
D | svc_end_to_end_test.cc | 150 int sl; in set_frame_flags_bypass_mode() local 151 for (sl = 0; sl < num_spatial_layers; ++sl) in set_frame_flags_bypass_mode() 152 ref_frame_config->update_buffer_slot[sl] = 0; in set_frame_flags_bypass_mode() 154 for (sl = 0; sl < num_spatial_layers; ++sl) { in set_frame_flags_bypass_mode() 157 ref_frame_config->lst_fb_idx[sl] = sl; in set_frame_flags_bypass_mode() 158 if (sl) { in set_frame_flags_bypass_mode() 160 ref_frame_config->lst_fb_idx[sl] = sl - 1; in set_frame_flags_bypass_mode() 161 ref_frame_config->gld_fb_idx[sl] = sl; in set_frame_flags_bypass_mode() 163 ref_frame_config->gld_fb_idx[sl] = sl - 1; in set_frame_flags_bypass_mode() 166 ref_frame_config->gld_fb_idx[sl] = 0; in set_frame_flags_bypass_mode() [all …]
|
D | svc_test.cc | 80 for (int sl = 0; sl < number_spatial_layers_; ++sl) { in PostEncodeFrameHook() local 82 const int layer = sl * number_temporal_layers_ + tl; in PostEncodeFrameHook() 90 int sl, spatial_layer_target; in AssignLayerBitrates() local 96 for (sl = 0; sl < spatial_layers; ++sl) { in AssignLayerBitrates() 97 if (svc_params_.scaling_factor_den[sl] > 0) { in AssignLayerBitrates() 98 alloc_ratio[sl] = in AssignLayerBitrates() 99 static_cast<float>((svc_params_.scaling_factor_num[sl] * 1.0 / in AssignLayerBitrates() 100 svc_params_.scaling_factor_den[sl])); in AssignLayerBitrates() 101 total += alloc_ratio[sl]; in AssignLayerBitrates() 104 for (sl = 0; sl < spatial_layers; ++sl) { in AssignLayerBitrates() [all …]
|
D | svc_datarate_test.cc | 99 for (int sl = 0; sl < num_spatial_layers; ++sl) in set_frame_flags_bypass_mode() local 100 ref_frame_config->update_buffer_slot[sl] = 0; in set_frame_flags_bypass_mode() 102 for (int sl = 0; sl < num_spatial_layers; ++sl) { in set_frame_flags_bypass_mode() local 104 ref_frame_config->lst_fb_idx[sl] = sl; in set_frame_flags_bypass_mode() 105 if (sl) { in set_frame_flags_bypass_mode() 107 ref_frame_config->lst_fb_idx[sl] = sl - 1; in set_frame_flags_bypass_mode() 108 ref_frame_config->gld_fb_idx[sl] = sl; in set_frame_flags_bypass_mode() 110 ref_frame_config->gld_fb_idx[sl] = sl - 1; in set_frame_flags_bypass_mode() 113 ref_frame_config->gld_fb_idx[sl] = 0; in set_frame_flags_bypass_mode() 115 ref_frame_config->alt_fb_idx[sl] = 0; in set_frame_flags_bypass_mode() [all …]
|
D | vp9_ratectrl_rtc_test.cc | 234 for (int sl = 0; sl < rc_cfg_.ss_number_layers; sl++) sizes_[sl] = 0; in PostEncodeFrameHook() local 238 for (int sl = 0; sl < rc_cfg_.ss_number_layers; sl++) { in PostEncodeFrameHook() local 239 if (sizes_[sl] > 0) { in PostEncodeFrameHook() 240 frame_params_.spatial_layer_id = sl; in PostEncodeFrameHook() 251 rc_api_->PostEncodeUpdate(sizes_[sl]); in PostEncodeFrameHook() 396 for (int sl = 0; sl < number_spatial_layers; sl++) { in SetEncoderConfigSvc() local 399 spatial_bitrate = kSpatialLayerBitrate[sl]; in SetEncoderConfigSvc() 401 int layer = sl * number_temporal_layers + tl; in SetEncoderConfigSvc() 464 for (int sl = 0; sl < number_spatial_layers; sl++) { in SetRCConfigSvc() local 467 spatial_bitrate = kSpatialLayerBitrate[sl]; in SetRCConfigSvc() [all …]
|
/external/libvpx/vpx_dsp/arm/ |
D | fdct8x8_neon.h | 147 int32x4_t sl[8], sr[8], xl[4], xr[4], tl[4], tr[4]; in vpx_highbd_fdct8x8_pass1_notranspose_neon() local 149 sl[0] = vaddq_s32(left[0], left[7]); in vpx_highbd_fdct8x8_pass1_notranspose_neon() 150 sl[1] = vaddq_s32(left[1], left[6]); in vpx_highbd_fdct8x8_pass1_notranspose_neon() 151 sl[2] = vaddq_s32(left[2], left[5]); in vpx_highbd_fdct8x8_pass1_notranspose_neon() 152 sl[3] = vaddq_s32(left[3], left[4]); in vpx_highbd_fdct8x8_pass1_notranspose_neon() 153 sl[4] = vsubq_s32(left[3], left[4]); in vpx_highbd_fdct8x8_pass1_notranspose_neon() 154 sl[5] = vsubq_s32(left[2], left[5]); in vpx_highbd_fdct8x8_pass1_notranspose_neon() 155 sl[6] = vsubq_s32(left[1], left[6]); in vpx_highbd_fdct8x8_pass1_notranspose_neon() 156 sl[7] = vsubq_s32(left[0], left[7]); in vpx_highbd_fdct8x8_pass1_notranspose_neon() 168 xl[0] = vaddq_s32(sl[0], sl[3]); in vpx_highbd_fdct8x8_pass1_notranspose_neon() [all …]
|
D | fdct16x16_neon.h | 437 int32x4_t sl[8]; in vpx_highbd_fdct8x16_body() local 449 sl[0] = vaddq_s32(left[0], left[7]); in vpx_highbd_fdct8x16_body() 451 sl[1] = vaddq_s32(left[1], left[6]); in vpx_highbd_fdct8x16_body() 453 sl[2] = vaddq_s32(left[2], left[5]); in vpx_highbd_fdct8x16_body() 455 sl[3] = vaddq_s32(left[3], left[4]); in vpx_highbd_fdct8x16_body() 457 sl[4] = vsubq_s32(left[3], left[4]); in vpx_highbd_fdct8x16_body() 459 sl[5] = vsubq_s32(left[2], left[5]); in vpx_highbd_fdct8x16_body() 461 sl[6] = vsubq_s32(left[1], left[6]); in vpx_highbd_fdct8x16_body() 463 sl[7] = vsubq_s32(left[0], left[7]); in vpx_highbd_fdct8x16_body() 485 xl[0] = vaddq_s32(sl[0], sl[3]); in vpx_highbd_fdct8x16_body() [all …]
|
/external/libvpx/vp9/encoder/ |
D | vp9_svc_layercontext.c | 35 int sl, tl, i; in vp9_init_layer_context() local 66 for (sl = 0; sl < oxcf->ss_number_layers; ++sl) { in vp9_init_layer_context() 67 svc->last_layer_dropped[sl] = 0; in vp9_init_layer_context() 68 svc->drop_spatial_layer[sl] = 0; in vp9_init_layer_context() 69 svc->ext_frame_flags[sl] = 0; in vp9_init_layer_context() 70 svc->lst_fb_idx[sl] = 0; in vp9_init_layer_context() 71 svc->gld_fb_idx[sl] = 1; in vp9_init_layer_context() 72 svc->alt_fb_idx[sl] = 2; in vp9_init_layer_context() 73 svc->downsample_filter_type[sl] = BILINEAR; in vp9_init_layer_context() 74 svc->downsample_filter_phase[sl] = 8; // Set to 8 for averaging filter. in vp9_init_layer_context() [all …]
|
/external/libwebsockets/lib/cose/ |
D | cose_validate.c | 238 lws_cose_validate_param_stack_t *sl = &cps->st[cps->sp], *sl0 = &cps->st[0]; in create_alg() local 248 ck = lws_cose_key_from_set(cps->info.keyset, sl->kid.buf, sl->kid.len); in create_alg() 251 lwsl_hexdump_notice(sl->kid.buf, sl->kid.len); in create_alg() 326 if (sl->ph_pos[2] < 2) { in create_alg() 328 sl->ph[2][0] = LWS_CBOR_MAJTYP_BSTR; in create_alg() 329 p = &sl->ph[2][0]; in create_alg() 332 if (sl->ph_pos[2] < 24) { in create_alg() 333 sl->ph[2][2] = (uint8_t) in create_alg() 334 (LWS_CBOR_MAJTYP_BSTR | sl->ph_pos[2]); in create_alg() 335 p = &sl->ph[2][2]; in create_alg() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | StatusLine.java | 71 StatusLine sl = (StatusLine) matchObj; in match() 73 if (sl.matchExpression != null) in match() 74 return sl.matchExpression.match(this.encode()); in match() 76 if (sl.sipVersion != null && !sl.sipVersion.equals(sipVersion)) in match() 78 if (sl.statusCode != 0) { in match() 80 int hiscode = sl.statusCode; in match() 81 String codeString = Integer.toString(sl.statusCode); in match() 86 if (statusCode != sl.statusCode) in match() 90 if (sl.reasonPhrase == null || reasonPhrase == sl.reasonPhrase) in match() 92 return reasonPhrase.equals(sl.reasonPhrase); in match()
|
/external/libchromeos-rs/src/sync/ |
D | spin.rs | 140 let sl = SpinLock::new(NonCopy(13)); in it_works() localVariable 142 assert_eq!(*sl.lock(), NonCopy(13)); in it_works() 147 let sl = SpinLock::new(NonCopy(7)); in smoke() localVariable 149 mem::drop(sl.lock()); in smoke() 150 mem::drop(sl.lock()); in smoke() 155 let sl = SpinLock::new(NonCopy(19)); in send() localVariable 158 let value = sl.lock(); in send() 172 let sl = Arc::new(SpinLock::new(0usize)); in high_contention() localVariable 174 let sl2 = sl.clone(); in high_contention() 186 assert_eq!(*sl.lock(), THREADS * ITERATIONS); in high_contention() [all …]
|
/external/crosvm/cros_async/src/sync/ |
D | spin.rs | 150 let sl = SpinLock::new(NonCopy(13)); in it_works() localVariable 152 assert_eq!(*sl.lock(), NonCopy(13)); in it_works() 157 let sl = SpinLock::new(NonCopy(7)); in smoke() localVariable 159 mem::drop(sl.lock()); in smoke() 160 mem::drop(sl.lock()); in smoke() 165 let sl = SpinLock::new(NonCopy(19)); in send() localVariable 168 let value = sl.lock(); in send() 182 let sl = Arc::new(SpinLock::new(0usize)); in high_contention() localVariable 184 let sl2 = sl.clone(); in high_contention() 196 assert_eq!(*sl.lock(), THREADS * ITERATIONS); in high_contention() [all …]
|
/external/clang/test/Sema/ |
D | zvector.c | 17 vector signed long long sl, sl2; variable 58 sl = sl2; in foo() 84 sl = sc2; // expected-error {{incompatible type}} in foo() 123 sl = (vector signed long long)bl2; in foo() 144 sl = (vector signed long long)bc2; in foo() 183 sl++; in foo() 223 sl--; in foo() 245 sl = +sl2; in foo() 271 sl = -sl2; in foo() 297 sl = ~sl2; in foo() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | plurals.txt | 1916 sl 0.0 ure 1917 sl 0.00 ure 1918 sl 0.000 ure 1919 sl 0.001 ure 1920 sl 0.002 ure 1921 sl 0.003 ure 1922 sl 0.005 ure 1923 sl 0.01 ure 1924 sl 0.010 ure 1925 sl 0.011 ure [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | plurals.txt | 1916 sl 0.0 ure 1917 sl 0.00 ure 1918 sl 0.000 ure 1919 sl 0.001 ure 1920 sl 0.002 ure 1921 sl 0.003 ure 1922 sl 0.005 ure 1923 sl 0.01 ure 1924 sl 0.010 ure 1925 sl 0.011 ure [all …]
|
/external/deqp/modules/glshared/ |
D | glsShaderConstExprTests.cpp | 40 static void addOutputVar (glu::sl::ValueBlock* dst, glu::DataType type, float output) in addOutputVar() 42 dst->outputs.push_back(glu::sl::Value()); in addOutputVar() 45 glu::sl::Value& value = dst->outputs.back(); in addOutputVar() 158 glu::sl::ShaderCaseSpecification spec; in createTests() 161 spec.expectResult = glu::sl::EXPECT_PASS; in createTests() 162 spec.caseType = glu::sl::CASETYPE_VERTEX_ONLY; in createTests() 179 glu::sl::ShaderCaseSpecification spec; in createTests() 182 spec.expectResult = glu::sl::EXPECT_PASS; in createTests() 183 spec.caseType = glu::sl::CASETYPE_FRAGMENT_ONLY; in createTests() 212 glu::sl::ShaderCaseSpecification spec; in createTests() [all …]
|
/external/toybox/toys/other/ |
D | lsusb.c | 59 static int scan_uevent(struct dirtree *new, int len, struct scanloop *sl) in scan_uevent() argument 77 if (strchr(sl[ii].pattern, '%')) { in scan_uevent() 78 if (2-!sl[ii].d2!=sscanf(ss, sl[ii].pattern, sl[ii].d1, sl[ii].d2)) in scan_uevent() 80 } else if (strstart(&ss, sl[ii].pattern)) *(void **)sl[ii].d1 = ss; in scan_uevent() 113 struct string_list *sl = 0; in parse_dev_ids() local 124 if ((sl = find_in_path(path, toybuf)) || (sl = find_in_path(path, name))) in parse_dev_ids() 125 s = sl->str; in parse_dev_ids() 127 if (s && strend(s, ".gz")) xpopen((char *[]){"zcat", sl->str, 0}, &fd, 1); in parse_dev_ids() 129 llist_traverse(sl, free); in parse_dev_ids()
|
/external/grpc-grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/ |
D | load_balancer_api.cc | 30 grpc_grpclb_serverlist* sl = static_cast<grpc_grpclb_serverlist*>(*arg); in count_serverlist() local 36 ++sl->num_servers; in count_serverlist() 193 grpc_grpclb_serverlist* sl = static_cast<grpc_grpclb_serverlist*>( in grpc_grpclb_response_parse_serverlist() local 199 res.server_list.servers.arg = sl; in grpc_grpclb_response_parse_serverlist() 202 gpr_free(sl); in grpc_grpclb_response_parse_serverlist() 207 if (sl->num_servers > 0) { in grpc_grpclb_response_parse_serverlist() 208 sl->servers = static_cast<grpc_grpclb_server**>( in grpc_grpclb_response_parse_serverlist() 209 gpr_zalloc(sizeof(grpc_grpclb_server*) * sl->num_servers)); in grpc_grpclb_response_parse_serverlist() 212 decode_arg.serverlist = sl; in grpc_grpclb_response_parse_serverlist() 218 grpc_grpclb_destroy_serverlist(sl); in grpc_grpclb_response_parse_serverlist() [all …]
|
/external/tensorflow/tensorflow/python/autograph/lang/ |
D | special_functions_test.py | 42 sl = list_ops.tensor_list_stack(l, element_dtype=dtypes.int32) 44 self.assertAllEqual(self.evaluate(sl), []) 49 sl = list_ops.tensor_list_stack(l, element_dtype=dtypes.int32) 51 self.assertAllEqual(self.evaluate(sl), []) 56 sl = list_ops.tensor_list_stack(l, element_dtype=dtypes.int32) 58 self.assertAllEqual(self.evaluate(sl), []) 73 sl = list_ops.tensor_list_stack(l, element_dtype=dtypes.int32) 75 self.assertAllEqual(self.evaluate(sl), [[1, 2], [3, 4]]) 81 sl = l.stack() 83 self.assertAllEqual(self.evaluate(sl), [[1, 2], [3, 4]])
|
/external/clang/test/SemaTemplate/ |
D | instantiate-invalid.cpp | 8 template<class Scanline> bool sweep_scanline(Scanline& sl) in sweep_scanline() argument 18 …void render_scanlines_aa_solid(Rasterizer& ras, Scanline& sl, BaseRenderer& ren, const ColorT& col… 20 while(ras.sweep_scanline(sl)) 30 void render_ctrl(Rasterizer& ras, Scanline& sl, Renderer& r, Ctrl& c) 33 render_scanlines_aa_solid(ras, sl, r, c.color(i)); 46 agg::scanline_u8 sl; 48 agg::render_ctrl(ras, sl, ren_base, m_polygons);
|
/external/musl/src/math/ |
D | sqrtl.c | 231 u128 rl, sl, dl, ul; in sqrtl() local 234 sl = mul128(ml, rl); in sqrtl() 235 dl = mul128(sl, rl); in sqrtl() 237 sl = mul128(ul, sl); /* repr: 3.125 */ in sqrtl() 239 sl = rsh(sub64(sl, 4), 125-(LDBL_MANT_DIG-1)); in sqrtl() 244 d0 = sub128(lsh(ml, 2*(LDBL_MANT_DIG-1)-126), mul128_tail(sl,sl)); in sqrtl() 245 d1 = sub128(sl, d0); in sqrtl() 246 d2 = add128(add64(sl, 1), d1); in sqrtl() 247 sl = add64(sl, d1.hi >> 63); in sqrtl() 248 y = mkldbl(top, sl); in sqrtl()
|
/external/pdfium/third_party/agg23/ |
D | agg_render_scanlines.h | 24 void render_scanlines(Rasterizer& ras, Scanline& sl, Renderer& ren, bool no_smooth) in render_scanlines() argument 27 sl.reset(ras.min_x(), ras.max_x()); in render_scanlines() 29 while(ras.sweep_scanline(sl, no_smooth)) { in render_scanlines() 30 ren.render(sl); in render_scanlines() 37 Scanline& sl, in render_all_paths() argument 48 render_scanlines(ras, sl, r); in render_all_paths()
|