Home
last modified time | relevance | path

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

/FileX-v6.2.1/common/src/
Dfx_system_timer_entry.c75 UINT second; in _fx_system_timer_entry() local
88 second = (_fx_system_time & FX_SECOND_MASK) * 2; in _fx_system_timer_entry()
96 second = second + FX_UPDATE_RATE_IN_SECONDS; in _fx_system_timer_entry()
99 if (second > FX_MAXIMUM_SECOND) in _fx_system_timer_entry()
103 minute = minute + second / 60; in _fx_system_timer_entry()
104 second = second % 60; in _fx_system_timer_entry()
339 (minute << FX_MINUTE_SHIFT) | (second / 2); in _fx_system_timer_entry()
Dfx_system_time_get.c76 UINT _fx_system_time_get(UINT *hour, UINT *minute, UINT *second) in _fx_system_time_get() argument
102 if (second) in _fx_system_time_get()
106 *second = (time & FX_SECOND_MASK) * 2; in _fx_system_time_get()
110 if (hour && minute && second) in _fx_system_time_get()
112 …FX_TRACE_IN_LINE_INSERT(FX_TRACE_SYSTEM_TIME_GET, *hour, *minute, *second, 0, FX_TRACE_INTERNAL_EV… in _fx_system_time_get()
Dfx_system_time_set.c73 UINT _fx_system_time_set(UINT hour, UINT minute, UINT second) in _fx_system_time_set() argument
78 …FX_TRACE_IN_LINE_INSERT(FX_TRACE_SYSTEM_TIME_SET, hour, minute, second, 0, FX_TRACE_INTERNAL_EVENT… in _fx_system_time_set()
82 (minute << FX_MINUTE_SHIFT) | (second / 2); in _fx_system_time_set()
Dfxe_system_time_get.c73 UINT _fxe_system_time_get(UINT *hour, UINT *minute, UINT *second) in _fxe_system_time_get() argument
80 if ((hour == FX_NULL) || (minute == FX_NULL) || (second == FX_NULL)) in _fxe_system_time_get()
86 status = _fx_system_time_get(hour, minute, second); in _fxe_system_time_get()
Dfxe_system_time_set.c75 UINT _fxe_system_time_set(UINT hour, UINT minute, UINT second) in _fxe_system_time_set() argument
94 if (second > FX_MAXIMUM_SECOND) in _fxe_system_time_set()
100 status = _fx_system_time_set(hour, minute, second); in _fxe_system_time_set()
Dfxe_directory_information_get.c86 UINT *hour, UINT *minute, UINT *second) 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_file_date_time_set.c82 UINT year, UINT month, UINT day, UINT hour, UINT minute, UINT second) in _fxe_file_date_time_set() argument
276 if (second > FX_MAXIMUM_SECOND) in _fxe_file_date_time_set()
287 hour, minute, second); in _fxe_file_date_time_set()
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.c90 UINT *hour, UINT *minute, UINT *second) in _fx_directory_information_get() argument
221 if (second) in _fx_directory_information_get()
225 *second = (dir_entry.fx_dir_entry_time & FX_SECOND_MASK) * 2; 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
124 …dir_entry.fx_dir_entry_time = (hour << FX_HOUR_SHIFT) | (minute << FX_MINUTE_SHIFT) | (second / 2… 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
380 if (second) in _fx_directory_next_full_entry_find()
384 *second = (entry.fx_dir_entry_time & FX_SECOND_MASK) * 2; in _fx_directory_next_full_entry_find()
/FileX-v6.2.1/test/regression_test/
Dfilex_directory_first_next_find_test.c97 UINT second; 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()
606 FX_NULL, FX_NULL, &second); in ftest_0_entry()
Dfilex_system_date_time_test.c90 UINT year, month, day, hour, minute, second; in ftest_0_entry() local
269 status += fx_system_time_get(&hour, &minute, &second); in ftest_0_entry()
275 (second != 58)) in ftest_0_entry()
284 status = fx_system_time_get(&hour, FX_NULL, &second); in ftest_0_entry()
/FileX-v6.2.1/common/inc/
Dfx_system.h62 UINT _fx_system_time_set(UINT hour, UINT minute, UINT second);
64 UINT _fx_system_time_get(UINT *hour, UINT *minute, UINT *second);
68 UINT _fxe_system_time_set(UINT hour, UINT minute, UINT second);
70 UINT _fxe_system_time_get(UINT *hour, UINT *minute, UINT *second);
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);
1487 UINT fx_system_time_get(UINT *hour, UINT *minute, UINT *second);
1488 UINT fx_system_time_set(UINT hour, UINT minute, UINT second);