Lines Matching refs:real_datalen
309 int real_datalen, /* Real length of data buffer */ in cupsSideChannelSNMPGet() local
337 real_datalen = _CUPS_SC_MAX_BUFFER; in cupsSideChannelSNMPGet()
338 if (cupsSideChannelRead(&rcommand, &status, real_data, &real_datalen, timeout)) in cupsSideChannelSNMPGet()
357 real_datalen -= real_oidlen; in cupsSideChannelSNMPGet()
359 if ((real_datalen + 1) > *datalen) in cupsSideChannelSNMPGet()
365 memcpy(data, real_data + real_oidlen, (size_t)real_datalen); in cupsSideChannelSNMPGet()
366 data[real_datalen] = '\0'; in cupsSideChannelSNMPGet()
368 *datalen = real_datalen; in cupsSideChannelSNMPGet()
415 int real_datalen; /* Real length of data buffer */ in cupsSideChannelSNMPWalk() local
456 real_datalen = _CUPS_SC_MAX_BUFFER; in cupsSideChannelSNMPWalk()
457 if (cupsSideChannelRead(&rcommand, &status, real_data, &real_datalen, in cupsSideChannelSNMPWalk()
487 if ((size_t)real_datalen < sizeof(real_data)) in cupsSideChannelSNMPWalk()
488 real_data[real_datalen] = '\0'; in cupsSideChannelSNMPWalk()
491 real_datalen -= (int)real_oidlen; in cupsSideChannelSNMPWalk()
497 (*cb)(real_data, real_data + real_oidlen, real_datalen, context); in cupsSideChannelSNMPWalk()