Home
last modified time | relevance | path

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

/external/libcups/cups/
Dppd-cache.c3796 int tray_len; /* Len of printer-output-tray value */ in _ppdCreateFromIPP() local
3864 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()