/external/perfetto/test/trace_processor/diff_tests/camera/ |
D | camera-ion-mem-trace_android_camera_unagg.out | 3 ts: 686109156135 7 ts: 686161655118 11 ts: 686167624031 15 ts: 698897318454 19 ts: 698898242852 23 ts: 698898244399 27 ts: 698899686130 31 ts: 698899712213 35 ts: 698899943210 39 ts: 698900190403 [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_graphlib.py | 10 def static_order_with_groups(ts): argument 11 ts.prepare() 12 while ts.is_active(): 13 nodes = ts.get_ready() 15 ts.done(node) 18 ts = graphlib.TopologicalSorter(graph) 19 self.assertEqual(list(static_order_with_groups(ts)), list(expected)) 21 ts = graphlib.TopologicalSorter(graph) 25 it = iter(ts.static_order()) 31 ts = graphlib.TopologicalSorter() [all …]
|
D | test_structmembers.py | 15 ts=_test_structmembersType(False, # T_BOOL variable 33 ts.T_BOOL = True 34 self.assertEqual(ts.T_BOOL, True) 35 ts.T_BOOL = False 36 self.assertEqual(ts.T_BOOL, False) 37 self.assertRaises(TypeError, setattr, ts, 'T_BOOL', 1) 40 ts.T_BYTE = CHAR_MAX 41 self.assertEqual(ts.T_BYTE, CHAR_MAX) 42 ts.T_BYTE = CHAR_MIN 43 self.assertEqual(ts.T_BYTE, CHAR_MIN) [all …]
|
/external/libxaac/decoder/ |
D | ixheaacd_mps_pre_mix.c | 332 WORD32 ts, qs, row; in ixheaacd_mps_apply_pre_matrix() local 338 for (ts = 0; ts < self->time_slots; ts++) { in ixheaacd_mps_apply_pre_matrix() 343 self->hyb_in[0][qs][ts].re * self->r_out_re_in_m1[ts][indx][0][0]; in ixheaacd_mps_apply_pre_matrix() 345 self->hyb_in[0][qs][ts].im * self->r_out_re_in_m1[ts][indx][0][0]; in ixheaacd_mps_apply_pre_matrix() 348 self->v[row][ts][qs].re = real; in ixheaacd_mps_apply_pre_matrix() 349 self->v[row][ts][qs].im = imag; in ixheaacd_mps_apply_pre_matrix() 355 self->hyb_in[0][qs][ts].re * self->r_out_re_in_m1[ts][indx][0][0]; in ixheaacd_mps_apply_pre_matrix() 357 self->hyb_in[0][qs][ts].im * self->r_out_re_in_m1[ts][indx][0][0]; in ixheaacd_mps_apply_pre_matrix() 360 self->v[row][ts][qs].re = real; in ixheaacd_mps_apply_pre_matrix() 361 self->v[row][ts][qs].im = imag; in ixheaacd_mps_apply_pre_matrix() [all …]
|
/external/strace/tests-m32/ |
D | clock_nanosleep.c | 50 struct timespec ts; in main() member 53 .ts.tv_nsec = 0xc0de1, in main() 56 .ts = { .tv_sec = 0xc0de2, .tv_nsec = 0xc0de3 }, in main() 66 if (syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, NULL)) in main() 70 (long long) req.ts.tv_sec, in main() 71 zero_extend_signed_to_ull(req.ts.tv_nsec)); in main() 74 NULL, &rem.ts) == -1); in main() 76 " = -1 EFAULT (%m)\n", &rem.ts); in main() 79 &req.ts, &rem.ts) == 0); in main() 82 (long long) req.ts.tv_sec, in main() [all …]
|
D | nanosleep.c | 48 struct timespec ts; in main() member 51 .ts.tv_nsec = 0xc0de1, in main() 54 .ts = { .tv_sec = 0xc0de2, .tv_nsec = 0xc0de3 }, in main() 61 if (nanosleep(&req.ts, NULL)) in main() 64 (long long) req.ts.tv_sec, in main() 65 zero_extend_signed_to_ull(req.ts.tv_nsec)); in main() 67 assert(nanosleep(NULL, &rem.ts) == -1); in main() 68 printf("nanosleep(NULL, %p) = -1 EFAULT (%m)\n", &rem.ts); in main() 70 if (nanosleep(&req.ts, &rem.ts)) in main() 73 (long long) req.ts.tv_sec, in main() [all …]
|
D | utimensat.c | 83 print_ts(const struct timespec *ts) in print_ts() argument 85 printf("{tv_sec=%lld, tv_nsec=%llu}", (long long) ts->tv_sec, in print_ts() 86 zero_extend_signed_to_ull(ts->tv_nsec)); in print_ts() 87 print_time_t_nsec(ts->tv_sec, in print_ts() 88 zero_extend_signed_to_ull(ts->tv_nsec), 1); in print_ts() 116 struct timespec *const ts = tail_alloc(sizeof(*ts) * 2); in main() local 153 k_utimensat(kfdcwd, kfname, (uintptr_t) (ts + 1), 0); in main() 155 qname, ts + 1, errstr); in main() 157 k_utimensat(kfdcwd, kfname, (uintptr_t) (ts + 2), 0); in main() 159 " = %s\n", qname, ts + 2, errstr); in main() [all …]
|
/external/strace/tests-mx32/ |
D | clock_nanosleep.c | 50 struct timespec ts; in main() member 53 .ts.tv_nsec = 0xc0de1, in main() 56 .ts = { .tv_sec = 0xc0de2, .tv_nsec = 0xc0de3 }, in main() 66 if (syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, NULL)) in main() 70 (long long) req.ts.tv_sec, in main() 71 zero_extend_signed_to_ull(req.ts.tv_nsec)); in main() 74 NULL, &rem.ts) == -1); in main() 76 " = -1 EFAULT (%m)\n", &rem.ts); in main() 79 &req.ts, &rem.ts) == 0); in main() 82 (long long) req.ts.tv_sec, in main() [all …]
|
D | nanosleep.c | 48 struct timespec ts; in main() member 51 .ts.tv_nsec = 0xc0de1, in main() 54 .ts = { .tv_sec = 0xc0de2, .tv_nsec = 0xc0de3 }, in main() 61 if (nanosleep(&req.ts, NULL)) in main() 64 (long long) req.ts.tv_sec, in main() 65 zero_extend_signed_to_ull(req.ts.tv_nsec)); in main() 67 assert(nanosleep(NULL, &rem.ts) == -1); in main() 68 printf("nanosleep(NULL, %p) = -1 EFAULT (%m)\n", &rem.ts); in main() 70 if (nanosleep(&req.ts, &rem.ts)) in main() 73 (long long) req.ts.tv_sec, in main() [all …]
|
D | utimensat.c | 83 print_ts(const struct timespec *ts) in print_ts() argument 85 printf("{tv_sec=%lld, tv_nsec=%llu}", (long long) ts->tv_sec, in print_ts() 86 zero_extend_signed_to_ull(ts->tv_nsec)); in print_ts() 87 print_time_t_nsec(ts->tv_sec, in print_ts() 88 zero_extend_signed_to_ull(ts->tv_nsec), 1); in print_ts() 116 struct timespec *const ts = tail_alloc(sizeof(*ts) * 2); in main() local 153 k_utimensat(kfdcwd, kfname, (uintptr_t) (ts + 1), 0); in main() 155 qname, ts + 1, errstr); in main() 157 k_utimensat(kfdcwd, kfname, (uintptr_t) (ts + 2), 0); in main() 159 " = %s\n", qname, ts + 2, errstr); in main() [all …]
|
/external/strace/tests/ |
D | clock_nanosleep.c | 50 struct timespec ts; in main() member 53 .ts.tv_nsec = 0xc0de1, in main() 56 .ts = { .tv_sec = 0xc0de2, .tv_nsec = 0xc0de3 }, in main() 66 if (syscall(__NR_clock_nanosleep, CLOCK_REALTIME, 0, &req.ts, NULL)) in main() 70 (long long) req.ts.tv_sec, in main() 71 zero_extend_signed_to_ull(req.ts.tv_nsec)); in main() 74 NULL, &rem.ts) == -1); in main() 76 " = -1 EFAULT (%m)\n", &rem.ts); in main() 79 &req.ts, &rem.ts) == 0); in main() 82 (long long) req.ts.tv_sec, in main() [all …]
|
D | nanosleep.c | 48 struct timespec ts; in main() member 51 .ts.tv_nsec = 0xc0de1, in main() 54 .ts = { .tv_sec = 0xc0de2, .tv_nsec = 0xc0de3 }, in main() 61 if (nanosleep(&req.ts, NULL)) in main() 64 (long long) req.ts.tv_sec, in main() 65 zero_extend_signed_to_ull(req.ts.tv_nsec)); in main() 67 assert(nanosleep(NULL, &rem.ts) == -1); in main() 68 printf("nanosleep(NULL, %p) = -1 EFAULT (%m)\n", &rem.ts); in main() 70 if (nanosleep(&req.ts, &rem.ts)) in main() 73 (long long) req.ts.tv_sec, in main() [all …]
|
D | utimensat.c | 83 print_ts(const struct timespec *ts) in print_ts() argument 85 printf("{tv_sec=%lld, tv_nsec=%llu}", (long long) ts->tv_sec, in print_ts() 86 zero_extend_signed_to_ull(ts->tv_nsec)); in print_ts() 87 print_time_t_nsec(ts->tv_sec, in print_ts() 88 zero_extend_signed_to_ull(ts->tv_nsec), 1); in print_ts() 116 struct timespec *const ts = tail_alloc(sizeof(*ts) * 2); in main() local 153 k_utimensat(kfdcwd, kfname, (uintptr_t) (ts + 1), 0); in main() 155 qname, ts + 1, errstr); in main() 157 k_utimensat(kfdcwd, kfname, (uintptr_t) (ts + 2), 0); in main() 159 " = %s\n", qname, ts + 2, errstr); in main() [all …]
|
/external/perfetto/src/trace_processor/metrics/sql/chrome/ |
D | rail_modes.sql | 51 MAX(ts + MAX(dur, 0)) AS ts field 54 ts, 61 ts, 76 slice.ts, 80 WHEN dur = -1 THEN max_ts_per_process.ts - slice.ts + 1 107 SELECT ts, dur, track_id, 119 SELECT s.ts, 124 SELECT ts, 125 LEAD(ts, 1, (SELECT MAX(ts + dur) FROM rail_mode_slices)) OVER ( 126 ORDER BY ts [all …]
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_point_sprite.c | 116 struct psprite_transform_context *ts = psprite_transform_context(ctx); in psprite_decl() local 121 ts->point_size_in = decl->Range.First; in psprite_decl() 124 ts->point_pos_in = decl->Range.First; in psprite_decl() 129 ts->point_size_out = decl->Range.First; in psprite_decl() 132 ts->point_pos_out = decl->Range.First; in psprite_decl() 136 ts->point_coord_decl |= 1 << decl->Semantic.Index; in psprite_decl() 137 ts->max_generic = MAX2(ts->max_generic, (int)decl->Semantic.Index); in psprite_decl() 139 ts->num_out = MAX2(ts->num_out, range_end); in psprite_decl() 142 ts->num_tmp = MAX2(ts->num_tmp, range_end); in psprite_decl() 145 ts->num_const = MAX2(ts->num_const, range_end); in psprite_decl() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_structmembers.py | 13 ts=_test_structmembersType(False, 1, 2, 3, 4, 5, 6, 7, 8, variable 19 ts.T_BOOL = True 20 self.assertEqual(ts.T_BOOL, True) 21 ts.T_BOOL = False 22 self.assertEqual(ts.T_BOOL, False) 23 self.assertRaises(TypeError, setattr, ts, 'T_BOOL', 1) 26 ts.T_BYTE = CHAR_MAX 27 self.assertEqual(ts.T_BYTE, CHAR_MAX) 28 ts.T_BYTE = CHAR_MIN 29 self.assertEqual(ts.T_BYTE, CHAR_MIN) [all …]
|
/external/webrtc/modules/audio_processing/transient/ |
D | transient_suppressor_unittest.cc | 42 TransientSuppressorImpl ts(GetParam(), ts::kSampleRate16kHz, in TEST_P() local 43 ts::kSampleRate16kHz, kMono); in TEST_P() 46 EXPECT_FALSE(ts.detection_enabled_); in TEST_P() 47 ts.UpdateKeypress(true); in TEST_P() 48 EXPECT_TRUE(ts.detection_enabled_); in TEST_P() 51 for (int time_ms = 0; time_ms < 3990; time_ms += ts::kChunkSizeMs) { in TEST_P() 52 ts.UpdateKeypress(false); in TEST_P() 53 EXPECT_TRUE(ts.detection_enabled_); in TEST_P() 55 ts.UpdateKeypress(false); in TEST_P() 56 EXPECT_FALSE(ts.detection_enabled_); in TEST_P() [all …]
|
/external/perfetto/test/trace_processor/diff_tests/graphics/ |
D | android_jank_cuj.py | 39 def add_instant_for_track(trace, ts, track, name): argument 40 trace.add_track_event_slice(ts=ts, dur=0, track=track, name=name) 43 def add_main_thread_atrace(trace, ts, ts_end, buf): argument 44 trace.add_atrace_begin(ts=ts, tid=PID, pid=PID, buf=buf) 45 trace.add_atrace_end(ts=ts_end, tid=PID, pid=PID) 48 def add_render_thread_atrace_begin(trace, ts, buf): argument 49 trace.add_atrace_begin(ts=ts, tid=RTID, pid=PID, buf=buf) 53 trace.add_atrace_end(ts=ts_end, tid=RTID, pid=PID) 56 def add_render_thread_atrace(trace, ts, ts_end, buf): argument 57 add_render_thread_atrace_begin(trace, ts, buf) [all …]
|
D | frame_timeline_events.py | 54 trace.add_expected_display_frame_start_event(ts=20, cookie=1, token=2, pid=666) 55 trace.add_frame_end_event(ts=26, cookie=1) 57 ts=20, 66 trace.add_frame_end_event(ts=26, cookie=2) 69 trace.add_expected_display_frame_start_event(ts=40, cookie=3, token=4, pid=666) 70 trace.add_frame_end_event(ts=46, cookie=3) 72 ts=42, 81 trace.add_frame_end_event(ts=47, cookie=4) 83 ts=21, 89 trace.add_frame_end_event(ts=36, cookie=5) [all …]
|
/external/perfetto/test/trace_processor/diff_tests/startup/ |
D | android_startup_process_track.py | 21 def add_startup(trace, ts, pid): argument 24 ts=ts, 28 trace.add_atrace_end(ts=ts + 1, tid=2, pid=2) 30 ts=ts + 2, tid=2, pid=2, buf='launching: com.google.android.calendar') 32 ts=ts + 3, 37 trace.add_atrace_begin(ts=ts + 3, tid=pid, pid=pid, buf='bindApplication') 38 trace.add_atrace_end(ts=ts + 4, tid=pid, pid=pid) 39 trace.add_atrace_begin(ts=ts + 4, tid=pid, pid=pid, buf='activityStart') 40 trace.add_atrace_end(ts=ts + 5, tid=pid, pid=pid) 41 trace.add_atrace_begin(ts=ts + 5, tid=pid, pid=pid, buf='activityResume') [all …]
|
D | android_startup_breakdown_slow.py | 21 def to_s(ts): argument 22 return ts * 1000 * 1000 * 1000 32 ts=100, name='com.google.android.calendar', uid=10001, version_code=123) 38 ts=to_s(102), 42 trace.add_atrace_end(ts=to_s(103), tid=2, pid=2) 45 ts=to_s(110), tid=2, pid=2, buf='launching: com.google.android.calendar') 48 ts=to_s(120), tid=2, pid=2, buf='Start proc: com.google.android.calendar') 49 trace.add_atrace_end(ts=to_s(155), tid=2, pid=2) 52 trace.add_atrace_begin(ts=to_s(125), tid=1, pid=1, buf='bindApplication') 53 trace.add_atrace_end(ts=to_s(195), tid=1, pid=1) [all …]
|
D | android_startup_breakdown.py | 21 def to_s(ts): argument 22 return ts * 1000 * 1000 * 1000 32 ts=100, name='com.google.android.calendar', uid=10001, version_code=123) 38 ts=to_s(102), 42 trace.add_atrace_end(ts=to_s(103), tid=2, pid=2) 45 ts=to_s(110), tid=2, pid=2, buf='launching: com.google.android.calendar') 48 ts=to_s(120), tid=2, pid=2, buf='Start proc: com.google.android.calendar') 49 trace.add_atrace_end(ts=to_s(155), tid=2, pid=2) 52 trace.add_atrace_begin(ts=to_s(125), tid=1, pid=1, buf='bindApplication') 53 trace.add_atrace_end(ts=to_s(195), tid=1, pid=1) [all …]
|
D | android_startup_attribution.py | 51 trace.add_package_list(ts=99, name='com.some.app', uid=10001, version_code=123) 56 ts=LAUNCH_START_TS, 61 ts=LAUNCH_START_TS + 1, tid=SYSTEM_SERVER_TID, pid=SYSTEM_SERVER_PID) 65 ts=LAUNCH_START_TS + 2, 71 trace.add_atrace_begin(ts=125, tid=APP_TID, pid=APP_PID, buf='activityResume') 72 trace.add_atrace_end(ts=130, tid=APP_TID, pid=APP_PID) 76 ts=150, pid=APP_PID, tid=APP_TID, buf='OpenDexFilesFromOat(something)') 77 trace.add_atrace_end(ts=165, pid=APP_PID, tid=APP_TID) 80 ts=170, pid=APP_PID, tid=APP_TID, buf='OpenDexFilesFromOat(something else)') 81 trace.add_atrace_end(ts=5*10**8, pid=APP_PID, tid=APP_TID) [all …]
|
D | android_startup_slow.py | 21 def to_s(ts): argument 22 return ts * 1000 * 1000 * 1000 33 ts=to_s(1), name='com.google.android.calendar', uid=10001, version_code=123) 38 ts=to_s(100), 42 trace.add_atrace_end(ts=to_s(101), tid=2, pid=2) 46 ts=to_s(102), 50 trace.add_atrace_end(ts=to_s(103), tid=2, pid=2) 53 ts=to_s(110), tid=2, pid=2, buf='launching: com.google.android.calendar') 55 trace.add_sched(ts=to_s(110), prev_pid=0, next_pid=3) 60 trace.add_atrace_begin(ts=to_s(115), tid=3, pid=3, buf='activityStart') [all …]
|
/external/chromium-trace/catapult/systrace/systrace/test_data/ |
D | profile-chrome_systrace_perf_chrome_data | 1 …ts": 196489505302, "cat": "toplevel", "tid": 13956, "ph": "X", "dur": 463}, {"tdur": 412, "name": …
|