• Home
  • Raw
  • Download

Lines Matching refs:cef_time

26 void cef_time_to_basetime(const cef_time_t& cef_time, base::Time& time) {  in cef_time_to_basetime()  argument
28 exploded.year = cef_time.year; in cef_time_to_basetime()
29 exploded.month = cef_time.month; in cef_time_to_basetime()
30 exploded.day_of_week = cef_time.day_of_week; in cef_time_to_basetime()
31 exploded.day_of_month = cef_time.day_of_month; in cef_time_to_basetime()
32 exploded.hour = cef_time.hour; in cef_time_to_basetime()
33 exploded.minute = cef_time.minute; in cef_time_to_basetime()
34 exploded.second = cef_time.second; in cef_time_to_basetime()
35 exploded.millisecond = cef_time.millisecond; in cef_time_to_basetime()
39 void cef_time_from_basetime(const base::Time& time, cef_time_t& cef_time) { in cef_time_from_basetime() argument
48 cef_time.year = exploded.year; in cef_time_from_basetime()
49 cef_time.month = exploded.month; in cef_time_from_basetime()
50 cef_time.day_of_week = exploded.day_of_week; in cef_time_from_basetime()
51 cef_time.day_of_month = exploded.day_of_month; in cef_time_from_basetime()
52 cef_time.hour = exploded.hour; in cef_time_from_basetime()
53 cef_time.minute = exploded.minute; in cef_time_from_basetime()
54 cef_time.second = exploded.second; in cef_time_from_basetime()
55 cef_time.millisecond = exploded.millisecond; in cef_time_from_basetime()
58 CEF_EXPORT int cef_time_to_timet(const cef_time_t* cef_time, time_t* time) { in cef_time_to_timet() argument
59 if (!cef_time || !time) in cef_time_to_timet()
63 cef_time_to_basetime(*cef_time, base_time); in cef_time_to_timet()
68 CEF_EXPORT int cef_time_from_timet(time_t time, cef_time_t* cef_time) { in cef_time_from_timet() argument
69 if (!cef_time) in cef_time_from_timet()
73 cef_time_from_basetime(base_time, *cef_time); in cef_time_from_timet()
77 CEF_EXPORT int cef_time_to_doublet(const cef_time_t* cef_time, double* time) { in cef_time_to_doublet() argument
78 if (!cef_time || !time) in cef_time_to_doublet()
82 cef_time_to_basetime(*cef_time, base_time); in cef_time_to_doublet()
87 CEF_EXPORT int cef_time_from_doublet(double time, cef_time_t* cef_time) { in cef_time_from_doublet() argument
88 if (!cef_time) in cef_time_from_doublet()
92 cef_time_from_basetime(base_time, *cef_time); in cef_time_from_doublet()
96 CEF_EXPORT int cef_time_now(cef_time_t* cef_time) { in cef_time_now() argument
97 if (!cef_time) in cef_time_now()
101 cef_time_from_basetime(base_time, *cef_time); in cef_time_now()