Lines Matching defs:i32Div
261 int32_t i32Div;
295 i32Div = (int32_t)i64Div; /* 60,000,000,000 > 33bit, so 31bit suffices. */
296 i32Rem = i32Div % 60;
297 i32Div /= 60;
301 i32Div--;
306 i32Rem = i32Div % 24;
307 i32Div /= 24; /* days relative to 1970-01-01 */
311 i32Div--;
316 pTime->u8WeekDay = ((int)(i32Div % 7) + 3 + 7) % 7;
324 iYear = OFF_YEAR_IDX_EPOCH + i32Div / 365;
325 while (g_aoffYear[iYear + 1] <= i32Div)
327 while (g_aoffYear[iYear] > i32Div)
330 i32Div -= g_aoffYear[iYear];
331 pTime->u16YearDay = i32Div + 1;
347 iMonth = i32Div / 32;
348 i32Div++;
349 while (paiDayOfYear[iMonth + 1] <= i32Div)
352 i32Div -= paiDayOfYear[iMonth];
353 pTime->u8MonthDay = i32Div + 1;