Lines Matching refs:Dest
247 void NormalizeXYZ(cmsCIEXYZ* Dest)
249 while (Dest -> X > 2. &&
250 Dest -> Y > 2. &&
251 Dest -> Z > 2.) {
253 Dest -> X /= 10.;
254 Dest -> Y /= 10.;
255 Dest -> Z /= 10.;
426 void CMSEXPORT _cmsDecodeDateTimeNumber(const cmsDateTimeNumber *Source, struct tm *Dest)
429 _cmsAssert(Dest != NULL);
432 Dest->tm_sec = _cmsAdjustEndianess16(Source->seconds);
433 Dest->tm_min = _cmsAdjustEndianess16(Source->minutes);
434 Dest->tm_hour = _cmsAdjustEndianess16(Source->hours);
435 Dest->tm_mday = _cmsAdjustEndianess16(Source->day);
436 Dest->tm_mon = _cmsAdjustEndianess16(Source->month) - 1;
437 Dest->tm_year = _cmsAdjustEndianess16(Source->year) - 1900;
438 Dest->tm_wday = -1;
439 Dest->tm_yday = -1;
440 Dest->tm_isdst = 0;
443 void CMSEXPORT _cmsEncodeDateTimeNumber(cmsDateTimeNumber *Dest, const struct tm *Source)
445 _cmsAssert(Dest != NULL);
448 Dest->seconds = _cmsAdjustEndianess16((cmsUInt16Number) Source->tm_sec);
449 Dest->minutes = _cmsAdjustEndianess16((cmsUInt16Number) Source->tm_min);
450 Dest->hours = _cmsAdjustEndianess16((cmsUInt16Number) Source->tm_hour);
451 Dest->day = _cmsAdjustEndianess16((cmsUInt16Number) Source->tm_mday);
452 Dest->month = _cmsAdjustEndianess16((cmsUInt16Number) (Source->tm_mon + 1));
453 Dest->year = _cmsAdjustEndianess16((cmsUInt16Number) (Source->tm_year + 1900));