Home
last modified time | relevance | path

Searched refs:day (Results 1 – 20 of 20) sorted by relevance

/FileX-v6.2.1/common/src/
Dfx_system_timer_entry.c78 UINT day; in _fx_system_timer_entry() local
91 day = _fx_system_date & FX_DAY_MASK; in _fx_system_timer_entry()
120 day++; in _fx_system_timer_entry()
130 if (day > 31) in _fx_system_timer_entry()
134 day = 1; in _fx_system_timer_entry()
151 if (day > 29) in _fx_system_timer_entry()
155 day = 1; in _fx_system_timer_entry()
162 if (day > 28) in _fx_system_timer_entry()
166 day = 1; in _fx_system_timer_entry()
177 if (day > 31) in _fx_system_timer_entry()
[all …]
Dfxe_system_date_set.c75 UINT _fxe_system_date_set(UINT year, UINT month, UINT day) in _fxe_system_date_set() argument
88 if (day < 1) in _fxe_system_date_set()
101 if (day > 31) in _fxe_system_date_set()
116 if (day > 29) in _fxe_system_date_set()
126 if (day > 28) in _fxe_system_date_set()
138 if (day > 31) in _fxe_system_date_set()
149 if (day > 30) in _fxe_system_date_set()
160 if (day > 31) in _fxe_system_date_set()
171 if (day > 30) in _fxe_system_date_set()
182 if (day > 31) in _fxe_system_date_set()
[all …]
Dfxe_file_date_time_set.c82 UINT year, UINT month, UINT day, UINT hour, UINT minute, UINT second) in _fxe_file_date_time_set() argument
101 if (day < 1) in _fxe_file_date_time_set()
114 if (day > 31) in _fxe_file_date_time_set()
129 if (day > 29) in _fxe_file_date_time_set()
139 if (day > 28) in _fxe_file_date_time_set()
151 if (day > 31) in _fxe_file_date_time_set()
162 if (day > 30) in _fxe_file_date_time_set()
173 if (day > 31) in _fxe_file_date_time_set()
184 if (day > 30) in _fxe_file_date_time_set()
195 if (day > 31) in _fxe_file_date_time_set()
[all …]
Dfx_system_date_get.c76 UINT _fx_system_date_get(UINT *year, UINT *month, UINT *day) in _fx_system_date_get() argument
102 if (day) in _fx_system_date_get()
106 *day = date & FX_DAY_MASK; in _fx_system_date_get()
110 if (year && month && day) in _fx_system_date_get()
112 …FX_TRACE_IN_LINE_INSERT(FX_TRACE_SYSTEM_DATE_GET, *year, *month, *day, 0, FX_TRACE_INTERNAL_EVENTS… in _fx_system_date_get()
Dfx_system_date_set.c73 UINT _fx_system_date_set(UINT year, UINT month, UINT day) in _fx_system_date_set() argument
78 …FX_TRACE_IN_LINE_INSERT(FX_TRACE_SYSTEM_DATE_SET, year, month, day, 0, FX_TRACE_INTERNAL_EVENTS, 0… in _fx_system_date_set()
82 (month << FX_MONTH_SHIFT) | day; in _fx_system_date_set()
Dfxe_system_date_get.c73 UINT _fxe_system_date_get(UINT *year, UINT *month, UINT *day) in _fxe_system_date_get() argument
80 if ((year == FX_NULL) || (month == FX_NULL) || (day == FX_NULL)) in _fxe_system_date_get()
86 status = _fx_system_date_get(year, month, day); in _fxe_system_date_get()
Dfxe_directory_information_get.c85 UINT *year, UINT *month, UINT *day, in _fxe_directory_information_get() argument
95 (day == FX_NULL) && (hour == FX_NULL) && (minute == FX_NULL) && (second == FX_NULL))) in _fxe_directory_information_get()
105 year, month, day, hour, minute, second); in _fxe_directory_information_get()
Dfxe_directory_first_full_entry_find.c85 … UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second) in _fxe_directory_first_full_entry_find() argument
102 … attributes, size, year, month, day, hour, minute, second); in _fxe_directory_first_full_entry_find()
Dfxe_directory_next_full_entry_find.c85 … UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second) in _fxe_directory_next_full_entry_find() argument
102 … attributes, size, year, month, day, hour, minute, second); in _fxe_directory_next_full_entry_find()
Dfx_directory_information_get.c89 UINT *year, UINT *month, UINT *day, in _fx_directory_information_get() argument
197 if (day) in _fx_directory_information_get()
201 *day = dir_entry.fx_dir_entry_date & FX_DAY_MASK; in _fx_directory_information_get()
Dfx_directory_first_full_entry_find.c88 … UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second) in _fx_directory_first_full_entry_find() argument
140 size, year, month, day, hour, minute, second); in _fx_directory_first_full_entry_find()
Dfx_file_date_time_set.c82 UINT year, UINT month, UINT day, UINT hour, UINT minute, UINT second) in _fx_file_date_time_set() argument
125 …ry.fx_dir_entry_date = ((year - FX_BASE_YEAR) << FX_YEAR_SHIFT) | (month << FX_MONTH_SHIFT) | day; in _fx_file_date_time_set()
Dfx_directory_next_full_entry_find.c93 … UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second) in _fx_directory_next_full_entry_find() argument
356 if (day) in _fx_directory_next_full_entry_find()
360 *day = entry.fx_dir_entry_date & FX_DAY_MASK; in _fx_directory_next_full_entry_find()
/FileX-v6.2.1/common/inc/
Dfx_system.h61 UINT _fx_system_date_set(UINT year, UINT month, UINT day);
63 UINT _fx_system_date_get(UINT *year, UINT *month, UINT *day);
67 UINT _fxe_system_date_set(UINT year, UINT month, UINT day);
69 UINT _fxe_system_date_get(UINT *year, UINT *month, UINT *day);
Dfx_directory.h66 … ULONG *size, UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second);
68 … UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second);
79 … ULONG *size, UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second);
93 … ULONG *size, UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second);
95 … UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second);
106 … ULONG *size, UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second);
Dfx_file.h68 UINT year, UINT month, UINT day, UINT hour, UINT minute, UINT second);
104 UINT year, UINT month, UINT day, UINT hour, UINT minute, UINT second);
Dfx_api.h1397 … ULONG *size, UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second);
1399 … UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second);
1414 … ULONG *size, UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second);
1428 UINT year, UINT month, UINT day, UINT hour, UINT minute, UINT second);
1484 UINT fx_system_date_get(UINT *year, UINT *month, UINT *day);
1485 UINT fx_system_date_set(UINT year, UINT month, UINT day);
/FileX-v6.2.1/test/regression_test/
Dfilex_directory_first_next_find_test.c94 UINT day; in ftest_0_entry() local
142 &size, &year, &month, &day, &hour, &minute, &second); in ftest_0_entry()
159 &size, &year, &month, &day, &hour, &minute, &second); in ftest_0_entry()
190 &size, &year, &month, &day, &hour, &minute, &second); in ftest_0_entry()
449 &size, &year, &month, &day, &hour, &minute, &second); in ftest_0_entry()
459 &size, &year, &month, &day, &hour, &minute, &second); in ftest_0_entry()
463 &size, &year, &month, &day, &hour, &minute, &second); in ftest_0_entry()
467 &size, &year, &month, &day, &hour, &minute, &second); in ftest_0_entry()
471 &size, &year, &month, &day, &hour, &minute, &second); in ftest_0_entry()
475 &size, &year, &month, &day, &hour, &minute, &second); in ftest_0_entry()
[all …]
Dfilex_file_date_time_set_test.c96 UINT year, month, day, hour, minute, second; in ftest_0_entry() local
133 &year, &month, &day, &hour, &minute, &second); in ftest_0_entry()
286 &year, &month, &day, &hour, &minute, &second); in ftest_0_entry()
298 &year, &month, &day, &hour, &minute, &second); in ftest_0_entry()
302 …(year != 1999) || (month != 12) || (day != 31) || (hour != 23) || (minute != 59) || (second != 58)) in ftest_0_entry()
312 &year, &month, &day, &hour, &minute, &second); in ftest_0_entry()
314 &year, &month, &day, &hour, &minute, &second); in ftest_0_entry()
Dfilex_system_date_time_test.c90 UINT year, month, day, hour, minute, second; in ftest_0_entry() local
251 status += fx_system_date_get(&year, &month, &day); in ftest_0_entry()
257 (day != 31)) in ftest_0_entry()
308 status = fx_system_date_get(&year, FX_NULL, &day); in ftest_0_entry()