/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl11.c | 243 struct flock tl; in main() local 292 do_test(&tl, F_WRLCK, 0, 0, 0); in main() 293 compare_lock(&tl, (short)F_RDLCK, (short)0, 1, 5, parent_pid); in main() 298 do_test(&tl, F_WRLCK, 0, 6, 0); in main() 299 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 5, parent_pid); in main() 304 do_test(&tl, F_WRLCK, 0, 15, 0); in main() 305 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, 0); in main() 330 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 331 compare_lock(&tl, (short)F_RDLCK, (short)0, 5, 5, parent_pid); in main() 336 do_test(&tl, (short)F_WRLCK, (short)0, 10, 0); in main() [all …]
|
D | fcntl21.c | 289 struct flock tl; in main() local 341 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 342 compare_lock(&tl, (short)F_RDLCK, (short)0, 0, 0, parent_pid); in main() 372 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 373 compare_lock(&tl, (short)F_WRLCK, (short)0, 0, 0, parent_pid); in main() 411 do_test(&tl, F_WRLCK, 0, 0, 0); in main() 412 compare_lock(&tl, (short)F_WRLCK, (short)0, 1, 5, parent_pid); in main() 417 do_test(&tl, F_WRLCK, 0, 6, 0); in main() 418 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 5, parent_pid); in main() 423 do_test(&tl, F_WRLCK, 0, 15, 0); in main() [all …]
|
D | fcntl20.c | 281 struct flock tl; in main() local 340 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 341 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 5, parent_pid); in main() 346 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main() 347 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, (pid_t) 0); in main() 383 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 384 compare_lock(&tl, (short)F_RDLCK, (short)0, 11, 4, parent_pid); in main() 389 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main() 390 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, (pid_t) 0); in main() 426 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() [all …]
|
D | fcntl19.c | 282 struct flock tl; in main() local 341 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 342 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 5, parent_pid); in main() 347 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main() 348 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, (pid_t) 0); in main() 384 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() 385 compare_lock(&tl, (short)F_WRLCK, (short)0, 11, 4, parent_pid); in main() 390 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0); in main() 391 compare_lock(&tl, (short)F_UNLCK, (short)0, 15, 0, (pid_t) 0); in main() 428 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0); in main() [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_telnetlib.py | 285 if cmd == tl.SE and self.sb_getter: 289 tl = telnetlib variable 297 b'data sample with' + tl.IAC + b' one IAC', 298 b'a few' + tl.IAC + tl.IAC + b' iacs' + tl.IAC, 299 tl.IAC, 305 self.assertEqual(data.replace(tl.IAC,tl.IAC+tl.IAC), written) 309 cmds = [tl.AO, tl.AYT, tl.BRK, tl.EC, tl.EL, tl.GA, tl.IP, tl.NOP] 321 self.assertEqual(cmd[1:2], tl.NOOPT) 327 self._test_command([tl.IAC, cmd]) 328 self._test_command([b'x' * 100, tl.IAC, cmd, b'y'*100]) [all …]
|
/external/toolchain-utils/cros_utils/ |
D | timeline_test.py | 18 tl = timeline.Timeline() 19 tl.Record('A') 21 t1 = tl.events[0].timestamp 23 self.assertRaises(AssertionError, tl.Record, 'A') 26 tl = timeline.Timeline() 27 tl.Record('A') 28 e = tl.GetEvents() 30 tl.Record('B') 31 e = tl.GetEvents() 35 tl = timeline.Timeline() [all …]
|
/external/aac/libFDK/src/ |
D | mdct.cpp | 137 const INT nSpec, const INT tl, const FIXP_WTP *pRightWindowPart, in mdct_block() argument 156 hMdct->prev_tl = tl; in mdct_block() 160 nr = (tl - fr) >> 1; in mdct_block() 163 timeData += (noInSamples - tl) >> 1; in mdct_block() 177 nl = (tl - fl) >> 1; in mdct_block() 185 mdctData[(tl / 2) + i] = -((FIXP_DBL)timeData[tl - i - 1] >> (1)); in mdct_block() 187 mdctData[(tl / 2) + i] = -(FIXP_DBL)timeData[tl - i - 1] in mdct_block() 211 mdctData[(tl / 2) + i + nl] = in mdct_block() 212 fMultSubDiv2(tmp0, (FIXP_PCM)timeData[tl - nl - i - 1], in mdct_block() 224 mdctData[(tl / 2) - 1 - i] = -((FIXP_DBL)timeData[tl + i] >> (1)); in mdct_block() [all …]
|
/external/tensorflow/tensorflow/python/client/ |
D | timeline_test.py | 56 tl = timeline.Timeline(run_metadata.step_stats) 57 ctf = tl.generate_chrome_trace_format() 75 tl = timeline.Timeline(step_stats) 76 ctf = tl.generate_chrome_trace_format() 78 tl = timeline.Timeline(step_stats) 79 ctf = tl.generate_chrome_trace_format(show_dataflow=False) 81 tl = timeline.Timeline(step_stats) 82 ctf = tl.generate_chrome_trace_format(show_memory=False) 84 tl = timeline.Timeline(step_stats) 85 ctf = tl.generate_chrome_trace_format( [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_telnetlib.py | 326 if cmd == tl.SE and self.sb_getter: 330 tl = telnetlib variable 335 cmds = [tl.AO, tl.AYT, tl.BRK, tl.EC, tl.EL, tl.GA, tl.IP, tl.NOP] 349 self.assertEqual(cmd[1], tl.NOOPT) 362 self._test_command(['x' * 100, tl.IAC + cmd, 'y'*100, EOF_sigil]) 363 self._test_command(['x' * 10, tl.IAC + cmd, 'y'*10, EOF_sigil]) 364 self._test_command([tl.IAC + cmd, EOF_sigil]) 366 self._test_command([tl.IAC + cmd for (cmd) in self.cmds] + [EOF_sigil]) 371 send = [tl.IAC + tl.SB + tl.IAC + tl.SE, 372 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE, [all …]
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
D | default_temporal_layers_unittest.cc | 54 DefaultTemporalLayers tl(2, 0); variable 57 tl.ConfigureBitrates(500, 500, 30, &cfg); 86 EXPECT_EQ(expected_flags[i], tl.EncodeFlags(timestamp)); 87 tl.PopulateCodecSpecific(false, &vp8_info, 0); 95 DefaultTemporalLayers tl(3, 0); variable 98 tl.ConfigureBitrates(500, 500, 30, &cfg); 127 EXPECT_EQ(expected_flags[i], tl.EncodeFlags(timestamp)); 128 tl.PopulateCodecSpecific(false, &vp8_info, 0); 136 DefaultTemporalLayers tl(4, 0); variable 139 tl.ConfigureBitrates(500, 500, 30, &cfg); [all …]
|
/external/ltp/pan/ |
D | reporter.c | 92 char **taglist, **tl; in scanner_reporter() local 106 tl = taglist; in scanner_reporter() 114 tl = taglist + tagcount; in scanner_reporter() 117 *tl++ = Key.data; in scanner_reporter() 125 tl = taglist + tagcount; in scanner_reporter() 128 *tl++ = NULL; in scanner_reporter() 131 for (tl = taglist; *tl != NULL; tl++) { in scanner_reporter() 132 strcpy(key_get, *tl); in scanner_reporter() 150 for (tl = taglist; *tl != NULL; tl++) { in scanner_reporter() 151 if (!strcmp(*tl, "_RTS")) in scanner_reporter() [all …]
|
D | tag_report.c | 120 char **taglist, **tl; in cuts_report() local 141 tl = taglist; in cuts_report() 149 tl = taglist + tagcount; in cuts_report() 156 *tl++ = Key.data; in cuts_report() 164 tl = taglist + tagcount; in cuts_report() 167 *tl++ = NULL; in cuts_report() 173 for (tl = taglist; *tl != NULL; tl++) { in cuts_report() 175 strcpy(key_get, *tl); in cuts_report() 186 test_result(tag, *tl, (char *)Key.data, in cuts_report()
|
/external/eigen/unsupported/test/ |
D | cxx11_meta.cpp | 161 typedef type_list<dummy_a, dummy_a, dummy_b, dummy_b, dummy_c, dummy_c> tl; in test_slice() typedef 164 VERIFY((is_same<typename take<0, tl>::type, type_list<>>::value)); in test_slice() 165 VERIFY((is_same<typename take<1, tl>::type, type_list<dummy_a>>::value)); in test_slice() 166 VERIFY((is_same<typename take<2, tl>::type, type_list<dummy_a, dummy_a>>::value)); in test_slice() 167 VERIFY((is_same<typename take<3, tl>::type, type_list<dummy_a, dummy_a, dummy_b>>::value)); in test_slice() 168 …VERIFY((is_same<typename take<4, tl>::type, type_list<dummy_a, dummy_a, dummy_b, dummy_b>>::value)… in test_slice() 169 …VERIFY((is_same<typename take<5, tl>::type, type_list<dummy_a, dummy_a, dummy_b, dummy_b, dummy_c>… in test_slice() 170 …VERIFY((is_same<typename take<6, tl>::type, type_list<dummy_a, dummy_a, dummy_b, dummy_b, dummy_c,… in test_slice() 180 …VERIFY((is_same<typename skip<0, tl>::type, type_list<dummy_a, dummy_a, dummy_b, dummy_b, dummy_c,… in test_slice() 181 …VERIFY((is_same<typename skip<1, tl>::type, type_list<dummy_a, dummy_b, dummy_b, dummy_c, dummy_c>… in test_slice() [all …]
|
/external/walt/pywalt/pywalt/ |
D | minimization.py | 45 def minimize_lsq(tx, x, ty, y, tl, min_shift, max_shift, step): argument 56 side = ((numpy.arange(len(tl)) + 1) / 2) % 2 62 yl = numpy.interp(tl + shift, ty, y) 63 xl = numpy.interp(tl + shift, tx, x) 80 tl, transition = load_laser_data(fname_laser) 87 tl = tl - t0 95 best_shift_coarse = minimize_lsq(tx, x, ty, y, tl, 0, 0.2, coarse_step) 99 best_shift_fine = minimize_lsq(tx, x, ty, y, tl, lmts[0], lmts[1], fine_step) 103 debug_plot(tx, x, ty, y, tl, best_shift_fine) 108 def debug_plot(tx, x, ty, y, tl, shift): argument [all …]
|
/external/libvpx/libvpx/vpx_dsp/ppc/ |
D | intrapred_vsx.c | 238 const int16x8_t tl = unpack_to_s16_h(vec_splat(vec_vsx_ld(-1, above), 0)); in vpx_tm_predictor_4x4_vsx() local 246 val = vec_sub(vec_add(vec_splat(l, 0), a), tl); in vpx_tm_predictor_4x4_vsx() 252 val = vec_sub(vec_add(vec_splat(l, 1), a), tl); in vpx_tm_predictor_4x4_vsx() 258 val = vec_sub(vec_add(vec_splat(l, 2), a), tl); in vpx_tm_predictor_4x4_vsx() 264 val = vec_sub(vec_add(vec_splat(l, 3), a), tl); in vpx_tm_predictor_4x4_vsx() 270 const int16x8_t tl = unpack_to_s16_h(vec_splat(vec_vsx_ld(-1, above), 0)); in vpx_tm_predictor_8x8_vsx() local 276 val = vec_sub(vec_add(vec_splat(l, 0), a), tl); in vpx_tm_predictor_8x8_vsx() 281 val = vec_sub(vec_add(vec_splat(l, 1), a), tl); in vpx_tm_predictor_8x8_vsx() 286 val = vec_sub(vec_add(vec_splat(l, 2), a), tl); in vpx_tm_predictor_8x8_vsx() 291 val = vec_sub(vec_add(vec_splat(l, 3), a), tl); in vpx_tm_predictor_8x8_vsx() [all …]
|
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/ |
D | Timeline.java | 84 Timeline tl = pool.get(); in createSequence() local 85 tl.setup(Modes.SEQUENCE); in createSequence() 86 return tl; in createSequence() 94 Timeline tl = pool.get(); in createParallel() local 95 tl.setup(Modes.PARALLEL); in createParallel() 96 return tl; in createParallel() 183 Timeline tl = pool.get(); in beginSequence() local 184 tl.parent = current; in beginSequence() 185 tl.mode = Modes.SEQUENCE; in beginSequence() 186 current.children.add(tl); in beginSequence() [all …]
|
/external/libvpx/libvpx/test/ |
D | svc_test.cc | 80 for (int tl = temporal_layer_id_; tl < number_temporal_layers_; ++tl) { in PostEncodeFrameHook() local 81 const int layer = sl * number_temporal_layers_ + tl; in PostEncodeFrameHook() 121 for (int tl = 0; tl < temporal_layers; ++tl) { in AssignLayerBitrates() local 122 const int layer = sl * temporal_layers + tl; in AssignLayerBitrates() 124 if (temporal_layers == 2 && tl == 0) layer_framerate = framerate / 2; in AssignLayerBitrates() 125 if (temporal_layers == 3 && tl == 0) layer_framerate = framerate / 4; in AssignLayerBitrates() 126 if (temporal_layers == 3 && tl == 1) layer_framerate = framerate / 2; in AssignLayerBitrates()
|
/external/aac/libAACdec/src/ |
D | usacdec_fac.cpp | 381 const INT fac_length, INT noOutSamples, const INT tl, in CLpd_FAC_Acelp2Mdct() argument 435 nl = (tl - fl) >> 1; in CLpd_FAC_Acelp2Mdct() 436 nr = (tl - fr) >> 1; in CLpd_FAC_Acelp2Mdct() 517 imdct_gain(&total_gain, &total_gain_e, tl); in CLpd_FAC_Acelp2Mdct() 526 dct_IV(pSpec, tl, &scale); in CLpd_FAC_Acelp2Mdct() 531 dst_III(pSpec, tmp, tl, &scale); in CLpd_FAC_Acelp2Mdct() 537 for (i = 0; i < tl; i++) { in CLpd_FAC_Acelp2Mdct() 542 scaleValuesSaturate(pSpec, tl, loc_scale); in CLpd_FAC_Acelp2Mdct() 545 pCurr = pSpec + tl - fl / 2; in CLpd_FAC_Acelp2Mdct() 576 pCurr = pSpec + tl - fl / 2 - 1; in CLpd_FAC_Acelp2Mdct() [all …]
|
/external/webrtc/webrtc/modules/video_coding/ |
D | video_sender_unittest.cc | 52 for (int tl = 0; tl < kMaxNumberOfTemporalLayers; ++tl) { variable 53 if (fabs(expected.framerate_fps[tl] - arg.framerate_fps[tl]) > 0.5) { 54 *result_listener << " framerate_fps[" << tl 55 << "] = " << arg.framerate_fps[tl] << " (expected " 56 << expected.framerate_fps[tl] << ") "; 59 if (abs(expected.bitrate_kbps[tl] - arg.bitrate_kbps[tl]) > 10) { 60 *result_listener << " bitrate_kbps[" << tl 61 << "] = " << arg.bitrate_kbps[tl] << " (expected " 62 << expected.bitrate_kbps[tl] << ") "; 118 for (int tl = 0; tl < 3; ++tl) { in CalculateVp8StreamInfo() local [all …]
|
/external/tensorflow/tensorflow/python/autograph/utils/ |
D | tensor_list_test.py | 21 from tensorflow.python.autograph.utils import tensor_list as tl unknown 40 l = tl.dynamic_list_append(l, 1) 44 l = tl.dynamic_list_append(l, 1) 49 l = tl.dynamic_list_append(l, 1) 53 l = tl.TensorList(self._shape(()), dtypes.int32) 54 l = tl.dynamic_list_append(l, 1) 60 l = tl.TensorList(a.shape, a.dtype) 75 l = tl.TensorList(a.shape, a.dtype) 84 l = tl.TensorList(a.shape, a.dtype) 103 l = tl.TensorList(a.shape, a.dtype)
|
/external/blktrace/btt/ |
D | plat.c | 27 double first_ts, last_ts, tl; member 39 pp->first_ts = pp->last_ts = pp->tl = -1.0; in plat_alloc() 64 pp->first_ts + (delta / 2), pp->tl / pp->nl); in plat_free() 80 pp->tl = lat; in plat_x2c() 85 pp->first_ts + (delta / 2), pp->tl / pp->nl); in plat_x2c() 89 pp->tl = lat; in plat_x2c() 93 pp->tl += lat; in plat_x2c()
|
/external/libvpx/libvpx/examples/ |
D | vp9_spatial_svc_encoder.c | 450 unsigned int sl, tl; in set_rate_control_stats() local 456 for (tl = 0; tl < cfg->ts_number_layers; ++tl) { in set_rate_control_stats() 457 const int layer = sl * cfg->ts_number_layers + tl; in set_rate_control_stats() 461 rc->layer_framerate[layer] = framerate / cfg->ts_rate_decimator[tl]; in set_rate_control_stats() 462 if (tl > 0) { in set_rate_control_stats() 489 unsigned int sl, tl; in printout_rate_control_summary() local 497 for (tl = 0; tl < cfg->ts_number_layers; ++tl) { in printout_rate_control_summary() 498 const int layer = sl * cfg->ts_number_layers + tl; in printout_rate_control_summary() 500 (tl > 0) in printout_rate_control_summary() 513 printf("For layer#: sl%d tl%d \n", sl, tl); in printout_rate_control_summary() [all …]
|
D | svc_encodeframe.c | 287 int sl, tl, spatial_layer_target; in assign_layer_bitrates() local 295 for (tl = 0; tl < svc_ctx->temporal_layers; ++tl) { in assign_layer_bitrates() 297 (unsigned int)si->bitrates[sl * svc_ctx->temporal_layers + tl]; in assign_layer_bitrates() 298 enc_cfg->layer_target_bitrate[sl * svc_ctx->temporal_layers + tl] = in assign_layer_bitrates() 299 si->bitrates[sl * svc_ctx->temporal_layers + tl]; in assign_layer_bitrates() 300 if (tl > 0 && (si->bitrates[sl * svc_ctx->temporal_layers + tl] <= in assign_layer_bitrates() 301 si->bitrates[sl * svc_ctx->temporal_layers + tl - 1])) in assign_layer_bitrates() 380 int i, sl, tl; in vpx_svc_init() local 430 for (tl = 0; tl < svc_ctx->temporal_layers; ++tl) { in vpx_svc_init() 432 i = sl * svc_ctx->temporal_layers + tl; in vpx_svc_init() [all …]
|
/external/tensorflow/tensorflow/python/autograph/converters/ |
D | lists_test.py | 45 tl = result.test_fn() 47 self.assertTrue(isinstance(tl, ops.Tensor)) 48 self.assertEqual(tl.dtype, dtypes.variant) 69 tl = result.test_fn() 70 r = list_ops.tensor_list_stack(tl, dtypes.int32) 92 ts, tl = result.test_fn() 93 r = list_ops.tensor_list_stack(tl, dtypes.int32)
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_compositor.c | 725 layer->src.tl = calc_topleft(size, src); in calc_src_and_dst() 727 layer->dst.tl = calc_topleft(size, dst); in calc_src_and_dst() 736 struct vertex2f tl, tr, br, bl; in gen_rect_verts() local 743 tl = layer->dst.tl; in gen_rect_verts() 745 tr.y = layer->dst.tl.y; in gen_rect_verts() 747 bl.x = layer->dst.tl.x; in gen_rect_verts() 751 tl.x = layer->dst.br.x; in gen_rect_verts() 752 tl.y = layer->dst.tl.y; in gen_rect_verts() 754 br.x = layer->dst.tl.x; in gen_rect_verts() 756 bl = layer->dst.tl; in gen_rect_verts() [all …]
|