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
46 time_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
86 struct 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
111 struct 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,
struct tm * gmtime_r(const time_t *clock, struct tm *result)
time_t __VERIFIER_nondet_time_t(void)
struct tm * localtime(const time_t *clock)
time_t timegm(struct tm *timeptr)
char * asctime(const struct tm *timeptr)
__CPROVER_size_t strftime(char *s, __CPROVER_size_t max, const char *format, const struct tm *tm)
char * ctime(const time_t *clock)
time_t time(time_t *tloc)
__CPROVER_size_t __VERIFIER_nondet_size_t(void)
struct tm * gmtime(const time_t *clock)
time_t __time64(time_t *)
__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 mktime(struct tm *timeptr)