Searched refs:ts (Results 1 – 4 of 4) sorted by relevance
/optee_test/host/xtest/ |
A D | sock_server.c | 200 ts->error = true; in sock_server() 269 p = realloc(ts->bind, sizeof(*p) * (ts->num_binds + 1)); in sock_server_add_fd() 273 ts->bind = p; in sock_server_add_fd() 275 ts->num_binds++; in sock_server_add_fd() 305 free(ts->bind); in sock_server_uninit() 306 if (ts->quit_fd != -1 && close(ts->quit_fd)) in sock_server_uninit() 308 memset(ts, 0, sizeof(*ts)); in sock_server_uninit() 322 memset(ts, 0, sizeof(*ts)); in sock_server_init() 325 ts->cb = cb; in sock_server_init() 356 e = pthread_create(&ts->thr, NULL, sock_server_stream, ts); in sock_server_init() [all …]
|
A D | regression_2000.c | 294 TEE_IP_VERSION_DC, ts.bind->host, ts.bind->port, in xtest_tee_test_2001() 343 TEE_IP_VERSION_DC, ts.bind->host, ts.bind->port, in xtest_tee_test_2001() 358 TEE_IP_VERSION_DC, ts.bind->host, ts.bind->port, in xtest_tee_test_2001() 374 TEE_IP_VERSION_DC, ts.bind->host, ts.bind->port, in xtest_tee_test_2001() 388 sock_server_uninit(&ts); in xtest_tee_test_2001() 583 TEE_IP_VERSION_DC, ts.bind->host, ts.bind->port, in xtest_tee_test_2003() 778 TEE_IP_VERSION_DC, ts.bind->host, ts.bind->port, in xtest_tee_test_2004() 815 TEE_IP_VERSION_DC, ts.bind->host, ts.bind->port, in xtest_tee_test_2004() 830 TEE_IP_VERSION_DC, ts.bind->host, ts.bind->port, in xtest_tee_test_2004() 846 TEE_IP_VERSION_DC, ts.bind->host, ts.bind->port, in xtest_tee_test_2004() [all …]
|
A D | aes_perf.c | 334 static void get_current_time(struct timespec *ts) in get_current_time() argument 336 if (clock_gettime(CLOCK_MONOTONIC, ts) < 0) { in get_current_time() 342 static uint64_t timespec_to_ns(struct timespec *ts) in timespec_to_ns() argument 344 return ((uint64_t)ts->tv_sec * 1000000000) + ts->tv_nsec; in timespec_to_ns() 431 struct timespec ts = { }; in aes_perf_run_test() local 448 if (clock_getres(CLOCK_MONOTONIC, &ts) < 0) { in aes_perf_run_test() 453 (intmax_t)ts.tv_sec * 1000000000 + ts.tv_nsec); in aes_perf_run_test()
|
A D | sha_perf.c | 193 static long get_current_time(struct timespec *ts) in get_current_time() argument 195 if (clock_gettime(CLOCK_MONOTONIC, ts) < 0) { in get_current_time() 294 struct timespec ts = { }; in sha_perf_run_test() local 298 if (clock_getres(CLOCK_MONOTONIC, &ts) < 0) { in sha_perf_run_test() 303 (intmax_t)ts.tv_sec * 1000000000 + ts.tv_nsec); in sha_perf_run_test()
|
Completed in 10 milliseconds