3#ifndef __CPROVER_TIME_H_INCLUDED
5#define __CPROVER_TIME_H_INCLUDED
20#ifndef __CPROVER_TIME_H_INCLUDED
22# define __CPROVER_TIME_H_INCLUDED
39# ifndef __CPROVER_TIME_H_INCLUDED
41# define __CPROVER_TIME_H_INCLUDED
46time_t _time64(time_t *tloc)
58#if defined(_WIN32) && defined(_USE_32BIT_TIME_T)
60# ifndef __CPROVER_TIME_H_INCLUDED
62# define __CPROVER_TIME_H_INCLUDED
65__time32_t __VERIFIER_nondet_time32_t(
void);
67__time32_t _time32(__time32_t *tloc)
69 __time32_t res = __VERIFIER_nondet_time32_t();
79#ifndef __CPROVER_TIME_H_INCLUDED
81#define __CPROVER_TIME_H_INCLUDED
86struct tm *
gmtime(
const time_t *clock)
91 #ifdef __CPROVER_CUSTOM_BITVECTOR_ANALYSIS
92 __CPROVER_event(
"invalidate_pointer",
"gmtime_result");
93 struct tm *gmtime_result;
97 static struct tm return_value;
104#ifndef __CPROVER_TIME_H_INCLUDED
106#define __CPROVER_TIME_H_INCLUDED
111struct tm *
gmtime_r(
const time_t *clock,
struct tm *result)
120#ifndef __CPROVER_TIME_H_INCLUDED
122#define __CPROVER_TIME_H_INCLUDED
132 #ifdef __CPROVER_CUSTOM_BITVECTOR_ANALYSIS
133 __CPROVER_event(
"invalidate_pointer",
"localtime_result");
134 struct tm *localtime_result;
136 return localtime_result;
138 static struct tm return_value;
139 return &return_value;
145#ifndef __CPROVER_TIME_H_INCLUDED
147#define __CPROVER_TIME_H_INCLUDED
161#ifndef __CPROVER_TIME_H_INCLUDED
163#define __CPROVER_TIME_H_INCLUDED
179#ifndef __CPROVER_TIME_H_INCLUDED
181#define __CPROVER_TIME_H_INCLUDED
197#ifndef __CPROVER_TIME_H_INCLUDED
199#define __CPROVER_TIME_H_INCLUDED
205 #ifdef __CPROVER_CUSTOM_BITVECTOR_ANALYSIS
206 __CPROVER_event(
"invalidate_pointer",
"asctime_result");
207 char *asctime_result;
209 return asctime_result;
211 static char asctime_result[1];
212 return asctime_result;
218#ifndef __CPROVER_TIME_H_INCLUDED
220#define __CPROVER_TIME_H_INCLUDED
226 #ifdef __CPROVER_CUSTOM_BITVECTOR_ANALYSIS
227 __CPROVER_event(
"invalidate_pointer",
"ctime_result");
232 static char ctime_result[1];
239#ifndef __CPROVER_TIME_H_INCLUDED
241# define __CPROVER_TIME_H_INCLUDED
261#ifndef __CPROVER_TIME_H_INCLUDED
263# define __CPROVER_TIME_H_INCLUDED
270 __CPROVER_size_t max,
286#ifndef __CPROVER_TIME_H_INCLUDED
288# define __CPROVER_TIME_H_INCLUDED
291#ifndef __CPROVER_ERRNO_H_INCLUDED
293# define __CPROVER_ERRNO_H_INCLUDED
301typedef int clockid_t;
313#pragma GCC diagnostic push
314#pragma GCC diagnostic ignored "-Wnonnull-compare"
320#pragma GCC diagnostic pop
336 tp->tv_nsec = nanosec;
346 error_code == EINVAL || error_code == EACCES || error_code == ENODEV ||
347 error_code == ENOTSUP || error_code == EOVERFLOW || error_code == EPERM);
int __VERIFIER_nondet_int(void)
char * asctime(const struct tm *timeptr)
char * ctime(const time_t *clock)
time_t __VERIFIER_nondet_time_t(void)
time_t timegm(struct tm *timeptr)
struct tm * gmtime(const time_t *clock)
struct tm * gmtime_r(const time_t *clock, struct tm *result)
__CPROVER_size_t strftime(char *s, __CPROVER_size_t max, const char *format, const struct tm *tm)
struct tm * localtime_r(const time_t *clock, struct tm *result)
time_t time(time_t *tloc)
__CPROVER_size_t __VERIFIER_nondet_size_t(void)
struct tm * localtime(const time_t *clock)
time_t __time64(time_t *)
int clock_gettime(clockid_t clockid, struct timespec *tp)
__CPROVER_size_t _strftime(char *s, __CPROVER_size_t max, const char *format, const struct tm *tm)
time_t mktime(struct tm *timeptr)
long __VERIFIER_nondet_long(void)