Home
last modified time | relevance | path

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

/external/libchrome/base/third_party/nspr/
Dprtime.cc121 static const PRInt8 nDays[2][12] = { variable
238 time->tm_mday = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in ApplySecOffset()
249 nDays[IsLeapYear(time->tm_year)][time->tm_month]) { in ApplySecOffset()
336 time->tm_mday += nDays[IsLeapYear(time->tm_year)][time->tm_month]; in PR_NormalizeTime()
339 daysInMonth = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in PR_NormalizeTime()
348 daysInMonth = nDays[IsLeapYear(time->tm_year)][time->tm_month]; in PR_NormalizeTime()
/external/pdfium/xfa/fgas/crt/
Dcfgas_formatstring.cpp524 uint16_t nDays = in GetWeekDay() local
526 nDays += month_day[month - 1] + day; in GetWeekDay()
528 nDays++; in GetWeekDay()
529 return nDays % 7; in GetWeekDay()
543 uint16_t nDays = 0; in GetWeekOfYear() local
545 nDays += GetSolarMonthDays(year, i); in GetWeekOfYear()
547 nDays += day; in GetWeekOfYear()
550 week_index += nDays / 7; in GetWeekOfYear()
551 nDays = nDays % 7; in GetWeekOfYear()
552 if (week_day + nDays > 7) in GetWeekOfYear()
[all …]