/third_party/ltp/testcases/kernel/syscalls/getitimer/ |
H A D | getitimer02.c | 13 * 1. EFAULT with invalid itimerval pointer 23 static struct itimerval *value; 24 static struct itimerval *invalid; 28 struct itimerval **val; 43 value = SAFE_MALLOC(sizeof(struct itimerval)); in setup() 44 invalid = (struct itimerval *)-1; in setup()
|
H A D | getitimer03.c | 76 struct itimerval *value; in main() 90 if ((value = malloc((size_t)sizeof(struct itimerval))) == in main()
|
H A D | getitimer01.c | 21 static struct itimerval *value; 117 {&value, .size = sizeof(struct itimerval)},
|
/third_party/musl/libc-test/src/functionalext/supplement/signal/ |
H A D | __setitimer_time64.c | 22 extern int __setitimer_time64(int, const struct itimerval *__restrict, struct itimerval *__restrict); 28 struct itimerval val; in expireTimer() 66 struct itimerval it; in setitimer_time64_0100()
|
H A D | getitimer.c | 23 struct itimerval val; in expireTimer() 61 struct itimerval old; in getitimer_0100() 74 struct itimerval old; in getitimer_0200() 87 struct itimerval old; in getitimer_0300()
|
H A D | __getitimer_time64.c | 20 extern int __getitimer_time64(int, struct itimerval *); 25 struct itimerval val; in expireTimer() 63 struct itimerval old; in getitimer_time64_0100()
|
H A D | setitimer.c | 26 struct itimerval val; in expireTimer() 64 struct itimerval it; in setitimer_0100()
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
H A D | time.h | 39 struct itimerval { struct 50 #define itimerval64 itimerval 53 int getitimer (int, struct itimerval *); 54 int setitimer (int, const struct itimerval *__restrict, struct itimerval *__restrict);
|
/third_party/ltp/testcases/kernel/syscalls/setitimer/ |
H A D | setitimer02.c | 13 * 1. EFAULT with invalid itimerval pointer 23 static struct itimerval *value, *ovalue; 58 {&value, .size = sizeof(struct itimerval)}, 59 {&ovalue, .size = sizeof(struct itimerval)},
|
H A D | setitimer03.c | 69 struct itimerval *value, *ovalue; in main() 83 if ((value = malloc((size_t)sizeof(struct itimerval))) == in main() 88 if ((ovalue = malloc((size_t)sizeof(struct itimerval))) == in main()
|
H A D | setitimer01.c | 25 static struct itimerval *value, *ovalue; 168 {&value, .size = sizeof(struct itimerval)}, 169 {&ovalue, .size = sizeof(struct itimerval)},
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | time.h | 17 struct itimerval { struct 22 int getitimer (int, struct itimerval *); 23 int setitimer (int, const struct itimerval *__restrict, struct itimerval *__restrict);
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | time.h | 17 struct itimerval { struct 22 int getitimer (int, struct itimerval *); 23 int setitimer (int, const struct itimerval *__restrict, struct itimerval *__restrict);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | time.h | 17 struct itimerval { struct 22 int getitimer (int, struct itimerval *); 23 int setitimer (int, const struct itimerval *__restrict, struct itimerval *__restrict);
|
/third_party/musl/include/sys/ |
H A D | time.h | 17 struct itimerval { struct 22 int getitimer (int, struct itimerval *); 23 int setitimer (int, const struct itimerval *__restrict, struct itimerval *__restrict);
|
/third_party/musl/src/signal/x32/ |
H A D | setitimer.c | 4 int setitimer(int which, const struct itimerval *restrict new, struct itimerval *restrict old) in setitimer()
|
H A D | getitimer.c | 4 int getitimer(int which, struct itimerval *old) in getitimer()
|
/third_party/musl/porting/liteos_a/user/src/signal/ |
H A D | setitimer.c | 7 int setitimer(int which, const struct itimerval *restrict new, struct itimerval *restrict old) in setitimer()
|
H A D | getitimer.c | 4 int getitimer(int which, struct itimerval *old) in getitimer()
|
/third_party/musl/src/signal/ |
H A D | setitimer.c | 7 int setitimer(int which, const struct itimerval *restrict new, struct itimerval *restrict old) in setitimer()
|
H A D | getitimer.c | 4 int getitimer(int which, struct itimerval *old) in getitimer()
|
/third_party/musl/compat/time32/ |
H A D | setitimer_time32.c | 7 struct itimerval old; in __setitimer_time32() 8 int r = setitimer(which, (&(struct itimerval){ in __setitimer_time32()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_time.cpp | 212 struct itimerval timer; in Bm_function_Setitimer_realtime() 230 struct itimerval timer; in Bm_function_Setitimer_peoftime() 248 struct itimerval timer; in Bm_function_Setitimer_virtualtime()
|
/third_party/musl/src/unistd/ |
H A D | alarm.c | 7 struct itimerval it = { .it_value.tv_sec = seconds }, old = { 0 }; in alarm()
|
H A D | ualarm.c | 7 struct itimerval it = { in ualarm()
|