Home
last modified time | relevance | path

Searched refs:tl (Results 1 – 25 of 266) sorted by relevance

1234567891011

/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl11.c243 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 …]
Dfcntl21.c289 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 …]
Dfcntl19.c282 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 …]
Dfcntl20.c281 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 …]
/external/toolchain-utils/cros_utils/
Dtimeline_test.py18 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/webrtc/webrtc/modules/video_coding/codecs/vp8/
Ddefault_temporal_layers_unittest.cc54 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/
Dreporter.c92 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 …]
Dtag_report.c120 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/aac/libAACenc/src/
Dtransform.cpp122 int tl, fl, nl, fr, nr; in FDKaacEnc_Transform_Real() local
134 tl = frameLength; in FDKaacEnc_Transform_Real()
155 tl >>= 3; in FDKaacEnc_Transform_Real()
165 nr = (tl - fr)>>1; in FDKaacEnc_Transform_Real()
166 nl = (tl - fl)>>1; in FDKaacEnc_Transform_Real()
178 mdctData[(tl/2)+i] = - (FIXP_DBL) timeData[tl-i-1] >> ( 1 ); in FDKaacEnc_Transform_Real()
180 mdctData[(tl/2)+i] = - (FIXP_DBL) timeData[tl-i-1] << (DFRACT_BITS - SAMPLE_BITS - 1); in FDKaacEnc_Transform_Real()
188 …mdctData[(tl/2)+i+nl] = fMultSubDiv2(tmp0, (FIXP_PCM)timeData[tl-nl-i-1], pLeftWindowPart[i].v.re); in FDKaacEnc_Transform_Real()
195 mdctData[(tl/2)-1-i] = - (FIXP_DBL) timeData[tl+i] >> (1); in FDKaacEnc_Transform_Real()
197 mdctData[(tl/2)-1-i] = - (FIXP_DBL) timeData[tl+i] << (DFRACT_BITS - SAMPLE_BITS - 1); in FDKaacEnc_Transform_Real()
[all …]
/external/aac/libFDK/src/
Dmdct.cpp112 void imdct_gain(FIXP_DBL *pGain_m, int *pGain_e, int tl) in imdct_gain() argument
118 log2_tl = DFRACT_BITS-1-fNormz((FIXP_DBL)tl); in imdct_gain()
124 switch ( (tl) >> (log2_tl - 2) ) { in imdct_gain()
199 void imdct_adapt_parameters(H_MDCT hMdct, int *pfl, int *pnl, int tl, const FIXP_WTP *wls, int noOu… in imdct_adapt_parameters() argument
255 const INT tl, in imdct_block() argument
269 nr = (tl - fr)>>1; in imdct_block()
270 nl = (tl - fl)>>1; in imdct_block()
273 imdct_gain(&gain, &transform_gain_e, tl); in imdct_block()
277 imdct_adapt_parameters(hMdct, &fl, &nl, tl, wls, noOutSamples); in imdct_block()
303 pSpec = spectrum+w*tl; in imdct_block()
[all …]
/external/eigen/unsupported/test/
Dcxx11_meta.cpp161 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/libvpx/libvpx/vpx_dsp/ppc/
Dintrapred_vsx.c238 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/libvpx/libvpx/examples/
Dvp9_spatial_svc_encoder.c418 unsigned int sl, tl; in set_rate_control_stats() local
424 for (tl = 0; tl < cfg->ts_number_layers; ++tl) { in set_rate_control_stats()
425 const int layer = sl * cfg->ts_number_layers + tl; in set_rate_control_stats()
429 rc->layer_framerate[layer] = framerate / cfg->ts_rate_decimator[tl]; in set_rate_control_stats()
430 if (tl > 0) { in set_rate_control_stats()
456 unsigned int sl, tl; in printout_rate_control_summary() local
464 for (tl = 0; tl < cfg->ts_number_layers; ++tl) { in printout_rate_control_summary()
465 const int layer = sl * cfg->ts_number_layers + tl; in printout_rate_control_summary()
467 (tl > 0) in printout_rate_control_summary()
480 printf("For layer#: sl%d tl%d \n", sl, tl); in printout_rate_control_summary()
[all …]
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/
DTimeline.java84 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/webrtc/webrtc/modules/video_coding/
Dvideo_sender_unittest.cc52 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/blktrace/btt/
Dplat.c27 double first_ts, last_ts, tl; member
39 pp->first_ts = pp->last_ts = pp->tl = -1.0; in plat_alloc()
62 pp->first_ts + (delta / 2), pp->tl / pp->nl); in plat_free()
78 pp->tl = lat; in plat_x2c()
83 pp->first_ts + (delta / 2), pp->tl / pp->nl); in plat_x2c()
87 pp->tl = lat; in plat_x2c()
91 pp->tl += lat; in plat_x2c()
/external/syslinux/memdisk/
Dinflate.c492 STATIC int inflate_codes(tl, td, bl, bd) in inflate_codes() argument
493 struct huft *tl, *td; /* literal/length and distance decoder tables */ in inflate_codes()
516 if ((e = (t = tl + ((unsigned)b & ml))->e) > 16)
646 struct huft *tl; /* literal/length code table */ in inflate_fixed() local
664 if ((i = huft_build(l, 288, 257, cplens, cplext, &tl, &bl)) != 0) in inflate_fixed()
672 huft_free(tl); in inflate_fixed()
679 if (inflate_codes(tl, td, bl, bd)) in inflate_fixed()
683 huft_free(tl); in inflate_fixed()
696 struct huft *tl; /* literal/length code table */ in inflate_dynamic() local
749 if ((i = huft_build(ll, 19, 19, NULL, NULL, &tl, &bl)) != 0) { in inflate_dynamic()
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_svc_layercontext.c27 int sl, tl, i; in vp9_init_layer_context() local
67 for (tl = 0; tl < oxcf->ts_number_layers; ++tl) { in vp9_init_layer_context()
68 int layer = LAYER_IDS_TO_IDX(sl, tl, oxcf->ts_number_layers); in vp9_init_layer_context()
118 if (oxcf->ss_number_layers > 1 && tl == 0) { in vp9_init_layer_context()
152 int sl, tl, layer = 0, spatial_layer_target; in vp9_update_layer_context_change_config() local
157 for (tl = 0; tl < oxcf->ts_number_layers; ++tl) { in vp9_update_layer_context_change_config()
158 layer = LAYER_IDS_TO_IDX(sl, tl, oxcf->ts_number_layers); in vp9_update_layer_context_change_config()
170 for (tl = 0; tl < oxcf->ts_number_layers; ++tl) { in vp9_update_layer_context_change_config()
172 &svc->layer_context[sl * oxcf->ts_number_layers + tl]; in vp9_update_layer_context_change_config()
186 lc->framerate = cpi->framerate / oxcf->ts_rate_decimator[tl]; in vp9_update_layer_context_change_config()
[all …]
/external/llvm/test/MC/Sparc/
Dsparc-v9-traps.s72 ! CHECK: tl %icc, %i5 ! encoding: [0x87,0xd0,0x00,0x1d]
73 ! CHECK: tl %icc, 82 ! encoding: [0x87,0xd0,0x20,0x52]
74 ! CHECK: tl %icc, %g1 + %i2 ! encoding: [0x87,0xd0,0x40,0x1a]
75 ! CHECK: tl %icc, %i5 + 41 ! encoding: [0x87,0xd7,0x60,0x29]
76 tl %icc, %i5
77 tl %icc, 82
78 tl %icc, %g1 + %i2
79 tl %icc, %i5 + 41
223 ! CHECK: tl %xcc, %i5 ! encoding: [0x87,0xd0,0x10,0x1d]
224 ! CHECK: tl %xcc, 82 ! encoding: [0x87,0xd0,0x30,0x52]
[all …]
Dsparc-traps.s72 ! CHECK: tl %i5 ! encoding: [0x87,0xd0,0x00,0x1d]
73 ! CHECK: tl 82 ! encoding: [0x87,0xd0,0x20,0x52]
74 ! CHECK: tl %g1 + %i2 ! encoding: [0x87,0xd0,0x40,0x1a]
75 ! CHECK: tl %i5 + 41 ! encoding: [0x87,0xd7,0x60,0x29]
76 tl %i5
77 tl 82
78 tl %g1 + %i2
79 tl %i5 + 41
/external/llvm/test/CodeGen/XCore/
Dthreads.ll70 @tl = thread_local global [3 x i32] zeroinitializer
76 ; CHECK: ldaw [[R0:r[0-9]]], dp[tl]
79 ; r0 = id*12 + 8 + &tl
81 ret i32* getelementptr inbounds ([3 x i32], [3 x i32]* @tl, i32 0, i32 2)
89 ; r0 = &tl + id*8
116 %ptr = phi i32* [ getelementptr inbounds ([3 x i32], [3 x i32]* @tl, i32 0, i32 0), %entry ],
117 … [ getelementptr inbounds ([3 x i32], [3 x i32]* @tl, i32 0, i32 0), %ConstantExpPhiNode ]
137 %ptr = phi i32* [ getelementptr inbounds ([3 x i32], [3 x i32]* @tl, i32 0, i32 0), %entry ],
138 … [ getelementptr inbounds ([3 x i32], [3 x i32]* @tl, i32 0, i32 0), %ConstantExpPhiNode ]
144 ; CHECK-LABEL: tl:
/external/syslinux/core/lwip/src/netif/ppp/
Dipcp.c880 u32_t tl, ciaddr1; /* Parsed address values */ in ipcp_reqci() local
936 GETLONG(tl, p); /* Parse source address (his) */ in ipcp_reqci()
937 ciaddr1 = htonl(tl); in ipcp_reqci()
944 tl = ntohl(wo->hisaddr); in ipcp_reqci()
945 PUTLONG(tl, p); in ipcp_reqci()
960 GETLONG(tl, p); /* Parse desination address (ours) */ in ipcp_reqci()
961 ciaddr2 = htonl(tl); in ipcp_reqci()
968 tl = ntohl(wo->ouraddr); in ipcp_reqci()
969 PUTLONG(tl, p); in ipcp_reqci()
1000 GETLONG(tl, p); /* Parse source address (his) */ in ipcp_reqci()
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/GC/
Dbadwriteproto.ll9 define %list* @cons(i32 %hd, %list* %tl) gc "example" {
16 %tl.ptr = getelementptr %list* %cell, i32 0, i32 0
17 call void @llvm.gcwrite(%list* %tl, %list* %cell, %list** %tl.ptr)
/external/libnl/lib/
Dutils.c959 struct trans_list *tl; in __trans_list_add() local
961 tl = calloc(1, sizeof(*tl)); in __trans_list_add()
962 if (!tl) in __trans_list_add()
965 tl->i = i; in __trans_list_add()
966 tl->a = strdup(a); in __trans_list_add()
968 nl_list_add_tail(&tl->list, head); in __trans_list_add()
975 struct trans_list *tl, *next; in __trans_list_clear() local
977 nl_list_for_each_entry_safe(tl, next, head, list) { in __trans_list_clear()
978 free(tl->a); in __trans_list_clear()
979 free(tl); in __trans_list_clear()
[all …]
/external/llvm/test/CodeGen/X86/GC/
Dbadwriteproto.ll9 define %list* @cons(i32 %hd, %list* %tl) gc "example" {
16 %tl.ptr = getelementptr %list, %list* %cell, i32 0, i32 0
17 call void @llvm.gcwrite(%list* %tl, %list* %cell, %list** %tl.ptr)

1234567891011