Searched refs:tray_len (Results 1 – 1 of 1) sorted by relevance
3796 int tray_len; /* Len of printer-output-tray value */ in _ppdCreateFromIPP() local3864 if ((tray_ptr = ippGetOctetString(trays, i, &tray_len)) != NULL) in _ppdCreateFromIPP()3866 if (tray_len >= (int)sizeof(tray)) in _ppdCreateFromIPP()3867 tray_len = (int)sizeof(tray) - 1; in _ppdCreateFromIPP()3869 memcpy(tray, tray_ptr, (size_t)tray_len); in _ppdCreateFromIPP()3870 tray[tray_len] = '\0'; in _ppdCreateFromIPP()