annotate src/proto/time.pro @ 19783:546bdeef35f1 v8.2.0448

patch 8.2.0448: various functions not properly tested Commit: https://github.com/vim/vim/commit/0e05de46226eb4e5ea580beefa71831f92d613d3 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Mar 25 22:23:46 2020 +0100 patch 8.2.0448: various functions not properly tested Problem: Various functions not properly tested. Solution: Add more tests, especially for failures. (Yegappan Lakshmanan, closes #5843)
author Bram Moolenaar <Bram@vim.org>
date Wed, 25 Mar 2020 22:30:04 +0100
parents a961efb326e5
children f103da6ba95f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19396
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 /* time.c */
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 char *get_ctime(time_t thetime, int add_newline);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 time_T vim_time(void);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 void f_localtime(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 void f_reltime(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 void f_reltimefloat(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 void f_reltimestr(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 void f_strftime(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 void f_strptime(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 long proftime_time_left(proftime_T *due, proftime_T *now);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 timer_T *create_timer(long msec, int repeat);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 long check_due_timer(void);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 void stop_timer(timer_T *timer);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 int set_ref_in_timer(int copyID);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 void timer_free_all(void);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
16 void f_timer_info(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
17 void f_timer_pause(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
18 void f_timer_start(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
19 void f_timer_stop(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
20 void f_timer_stopall(typval_T *argvars, typval_T *rettv);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
21 void time_push(void *tv_rel, void *tv_start);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
22 void time_pop(void *tp);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
23 void time_msg(char *mesg, void *tv_start);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
24 time_T get8ctime(FILE *fd);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
25 int put_time(FILE *fd, time_T the_time);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
26 void time_to_bytes(time_T the_time, char_u *buf);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
27 void add_time(char_u *buf, size_t buflen, time_t tt);
a961efb326e5 patch 8.2.0256: time and timer related code is spread out
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
28 /* vim: set ft=c : */