Home
last modified time | relevance | path

Searched refs:iFirstDay (Results 1 – 2 of 2) sorted by relevance

/reactos/modules/rostests/winetests/oleaut32/
H A Dvarformat.c463 iWeekday, fAbbrev, iFirstDay, dwFlags, &out, hres, ret \
467 #define VARWDN_F(iWeekday, fAbbrev, iFirstDay, dwFlags, ret) \ argument
468 VARWDN(iWeekday, fAbbrev, iFirstDay, dwFlags, ret, buff, out, 1)
470 #define VARWDN_O(iWeekday, fAbbrev, iFirstDay, dwFlags) \ argument
471 VARWDN(iWeekday, fAbbrev, iFirstDay, dwFlags, S_OK, buff, out, 0)
478 int iWeekday, fAbbrev, iFirstDay; in test_VarWeekdayName() local
533 for (iFirstDay = 0; iFirstDay <= 7; ++iFirstDay) in test_VarWeekdayName()
535 VARWDN_O(iWeekday, fAbbrev, iFirstDay, 0); in test_VarWeekdayName()
536 if (iFirstDay == 0) in test_VarWeekdayName()
540 firstDay = iFirstDay - 2; in test_VarWeekdayName()
[all …]
/reactos/dll/win32/oleaut32/
H A Dvarformat.c2568 HRESULT WINAPI VarWeekdayName(INT iWeekday, INT fAbbrev, INT iFirstDay, in VarWeekdayName() argument
2577 if (iFirstDay < 0 || iFirstDay > 7) in VarWeekdayName()
2586 if (iFirstDay == 0) { in VarWeekdayName()
2595 iFirstDay = firstDay + 2; in VarWeekdayName()
2600 localeValue += (7 + iWeekday - 1 + iFirstDay - 2) % 7; in VarWeekdayName()