Home
last modified time | relevance | path

Searched refs:ns (Results 1 – 3 of 3) sorted by relevance

/optee_test/host/xtest/
A Dxtest_uuid_helpers.c86 TEEC_Result xtest_uuid_v5(TEEC_UUID *uuid, const TEEC_UUID *ns, in xtest_uuid_v5() argument
100 be32 = htobe32(ns->timeLow); in xtest_uuid_v5()
102 be16 = htobe16(ns->timeMid); in xtest_uuid_v5()
104 be16 = htobe16(ns->timeHiAndVersion); in xtest_uuid_v5()
106 memcpy(&nsbe[8], &ns->clockSeqAndNode, sizeof(ns->clockSeqAndNode)); in xtest_uuid_v5()
A Dsha_perf.c204 uint64_t ns = 0; in timespec_diff_ns() local
207 ns += 1000000000 * (end->tv_sec - start->tv_sec - 1); in timespec_diff_ns()
208 ns += 1000000000 - start->tv_nsec + end->tv_nsec; in timespec_diff_ns()
210 ns += 1000000000 * (end->tv_sec - start->tv_sec); in timespec_diff_ns()
211 ns += end->tv_nsec - start->tv_nsec; in timespec_diff_ns()
213 return ns; in timespec_diff_ns()
A Dxtest_uuid_helpers.h22 TEEC_Result xtest_uuid_v5(TEEC_UUID *uuid, const TEEC_UUID *ns,

Completed in 4 milliseconds