Home
last modified time | relevance | path

Searched refs:tpset (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/open_posix_testsuite/functional/timers/clocks/
Dinvaliddates.c35 struct timespec tpset, tpget, tsreset; in main() local
46 tpset.tv_sec = testtimes[i][0]; in main()
47 tpset.tv_nsec = testtimes[i][1]; in main()
51 if (clock_settime(CLOCK_REALTIME, &tpset) == 0) { in main()
56 secdelta = tpget.tv_sec - tpset.tv_sec; in main()
57 nsecdelta = tpget.tv_nsec - tpset.tv_nsec; in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/
D1-1.c31 struct timespec tpset, tpget, tpreset, tpres; in main() local
47 tpset.tv_sec = TESTTIME; in main()
48 tpset.tv_nsec = 0; in main()
49 if (clock_settime(CLOCK_REALTIME, &tpset) == 0) { in main()
55 delta = tpget.tv_sec - tpset.tv_sec; in main()
D6-1.c22 struct timespec tpset; in main() local
24 tpset.tv_sec = TESTTIME; in main()
25 tpset.tv_nsec = 0; in main()
26 if (clock_settime(CLOCK_MONOTONIC, &tpset) == -1) { in main()
D17-1.c26 struct timespec tpset; in main() local
28 tpset.tv_sec = TESTTIME; in main()
29 tpset.tv_nsec = 0; in main()
34 if (clock_settime(BOGUSCLOCKID, &tpset) == -1) { in main()
D20-1.c24 struct timespec tpset; in main() local
26 tpset.tv_sec = TESTTIME; in main()
27 tpset.tv_nsec = 0; in main()
32 if (clock_settime(CLOCK_MONOTONIC, &tpset) == -1) { in main()
D17-2.c42 struct timespec tpset; in main() local
46 tpset.tv_sec = TESTTIME; in main()
47 tpset.tv_nsec = 0; in main()
55 if (clock_settime(invalid_tests[i], &tpset) == -1) { in main()
Dhelpers.h25 int setBackTime(struct timespec tpset) in setBackTime() argument
27 if (clock_settime(CLOCK_REALTIME, &tpset) != 0) { in setBackTime()
/external/iw/
Dinterface.c176 int tpset; in handle_interface_add() local
187 tpset = get_if_type(&argc, &argv, &type, true); in handle_interface_add()
188 if (tpset) in handle_interface_add()
189 return tpset; in handle_interface_add()
463 int tpset; in handle_interface_type() local
465 tpset = get_if_type(&argc, &argv, &type, false); in handle_interface_type()
466 if (tpset) in handle_interface_type()
467 return tpset; in handle_interface_type()