/system/extras/tests/bionic/libc/common/ |
D | test_pthread_join.c | 43 pthread_t t1 = (pthread_t)arg; in thread2_func() local 46 pthread_join(t1, &result); in thread2_func() 55 pthread_t t1 = (pthread_t)arg; in thread3_func() local 58 pthread_join(t1, &result); in thread3_func() 65 pthread_t t1, t2, t3; in main() local 67 pthread_create( &t1, NULL, thread1_func, NULL ); in main() 68 pthread_create( &t2, NULL, thread2_func, (void*)t1 ); in main() 69 pthread_create( &t3, NULL, thread3_func, (void*)t1 ); in main()
|
D | test_pthread_rwlock.c | 259 double t1; in do_rwlock_test_rd3_t1() local 268 t1 = time_now(); in do_rwlock_test_rd3_t1() 270 TTRUE((t1-s->t0) >= s->waitDelay); in do_rwlock_test_rd3_t1() 278 double t1; in do_rwlock_test_rd3_t2() local 289 t1 = time_now(); in do_rwlock_test_rd3_t2() 290 TTRUE((t1-s->t0) >= s->waitDelay); in do_rwlock_test_rd3_t2()
|
D | test_pthread_mutex.c | 288 double t1; in do_mutex_test_3_t1() local 291 t1 = time_now(); in do_mutex_test_3_t1() 293 TTRUE((t1-s->t0) >= s->waitDelay); in do_mutex_test_3_t1() 301 double t1; in do_mutex_test_3_t2() local 312 t1 = time_now(); in do_mutex_test_3_t2() 313 TTRUE((t1-s->t0) >= s->waitDelay); in do_mutex_test_3_t2()
|
/system/core/libpixelflinger/tests/codegen/ |
D | codegen.cpp | 31 static void ggl_test_codegen(uint32_t n, uint32_t p, uint32_t t0, uint32_t t1) in ggl_test_codegen() argument 40 needs.t[1] = t1; in ggl_test_codegen() 62 uint32_t t1; in main() local 63 sscanf(argv[1], "%08x:%08x_%08x_%08x", &p, &n, &t0, &t1); in main() 64 ggl_test_codegen(n, p, t0, t1); in main()
|
/system/extras/tests/bionic/libc/bionic/ |
D | test_pthread_create.c | 22 pthread_t t1, t2; in main() local 24 pthread_create( &t1, NULL, thread1_func, (void *)1 ); in main() 26 pthread_join(t1, NULL); in main()
|
/system/extras/tests/bionic/libc/other/ |
D | bench_locks.c | 16 double t0, t1; in main() local 28 t1 = now() - t0; in main() 29 printf( "pthread_mutex_lock/unlock: %.5g us/op\n", (t1*1000000.0)/ITERATIONS ); in main()
|
/system/core/fastboot/ |
D | usbtest.c | 94 long long t0, t1; in test_null() local 103 t1 = NOW(); in test_null() 104 fprintf(stderr,"%d bytes in %lld uS\n", arg_count * arg_size, (t1 - t0)); in test_null() 112 long long t0, t1; in test_zero() local 121 t1 = NOW(); in test_zero() 122 fprintf(stderr,"%d bytes in %lld uS\n", arg_count * arg_size, (t1 - t0)); in test_zero()
|
/system/extras/tests/timetest/ |
D | timetest.c | 61 struct timespec t1, dtmin, dtminp, dtmax; in main() local 77 clock_gettime(clock_id, &t1); in main() 82 dt = ts_sub(t, t1); in main() 83 t1 = t; in main()
|
/system/bluetooth/tools/ |
D | pipetest.c | 152 pthread_t t1; in do_poll_poll_close() local 158 pthread_create(&t1, NULL, (void *)thread_poll, NULL); in do_poll_poll_close() 165 pthread_join(t1, NULL); in do_poll_poll_close() 268 pthread_t t1; in do_pollin_pollin_write() local 276 pthread_create(&t1, NULL, (void *)thread_pollin, (void *)fd[0]); in do_pollin_pollin_write() 284 pthread_join(t1, NULL); in do_pollin_pollin_write() 317 pthread_t t1; in do_poll_poll_shutdown() 323 pthread_create(&t1, NULL, (void *)thread_poll, (void *)fd[0]); in do_poll_poll_shutdown() 330 pthread_join(t1, NULL); in do_poll_poll_shutdown()
|
D | asocket_test.c | 611 pthread_t t1; in do_connected_read1_shutdown1() local 624 pthread_create(&t1, NULL, (void *)thread_accept_write, (void *)&a1); in do_connected_read1_shutdown1() 633 pthread_join(t1, NULL); in do_connected_read1_shutdown1() 645 pthread_t t1; in do_accept_connect_connect() local 657 pthread_create(&t1, NULL, (void *)thread_delay_connect, (void *)&a1); in do_accept_connect_connect() 662 pthread_join(t1, NULL); in do_accept_connect_connect()
|
D | socktest.c | 683 pthread_t t1; in do_connected_read1_shutdown1() local 696 pthread_create(&t1, NULL, (void *)thread_accept_write, (void *)&a1); in do_connected_read1_shutdown1() 705 pthread_join(t1, NULL); in do_connected_read1_shutdown1() 717 pthread_t t1; in do_accept_connect_connect() local 729 pthread_create(&t1, NULL, (void *)thread_delay_connect, (void *)&a1); in do_accept_connect_connect() 734 pthread_join(t1, NULL); in do_accept_connect_connect()
|
/system/extras/tests/pftest/ |
D | pftest.c | 101 unsigned long long t1 = stop_watch(); in main() local 105 printf("%d, %f\n", numPages, (float) (t1 - t0) / WORKLOAD); in main()
|
/system/core/init/ |
D | devices.c | 819 suseconds_t t0, t1; in device_init() local 836 t1 = get_usecs(); in device_init() 839 log_event_print("coldboot %ld uS\n", ((long) (t1 - t0))); in device_init()
|
/system/core/libcutils/ |
D | tztime.c | 174 static int differ_by_repeat P((time_t t1, time_t t0)); 296 differ_by_repeat(t1, t0) in differ_by_repeat() argument 297 const time_t t1; in differ_by_repeat() 303 return t1 - t0 == SECSPERREPEAT;
|
/system/core/libpixelflinger/codeflinger/ |
D | texturing.cpp | 76 const int t1 = (parts.reload & 2) ? scratches.obtain() : 0; in init_iterated_color() local 91 parts.argb_dx[i].reg = (parts.reload & 2) ? t1 : obtainReg(); in init_iterated_color()
|