Lines Matching refs:dstptr
260 char *dstptr, /* Pointer into string buffer */ in _cupsSNMPOIDToString() local
278 for (dstptr = dst, dstend = dstptr + dstsize - 1; in _cupsSNMPOIDToString()
279 *src >= 0 && dstptr < dstend; in _cupsSNMPOIDToString()
280 src ++, dstptr += strlen(dstptr)) in _cupsSNMPOIDToString()
281 snprintf(dstptr, (size_t)(dstend - dstptr + 1), ".%d", *src); in _cupsSNMPOIDToString()
482 int *dstptr, /* Pointer into OID array */ in _cupsSNMPStringToOID() local
507 for (dstend = dst + dstsize - 1, dstptr = dst, *dstptr = 0; in _cupsSNMPStringToOID()
508 *src && dstptr < dstend; in _cupsSNMPStringToOID()
513 dstptr ++; in _cupsSNMPStringToOID()
514 *dstptr = 0; in _cupsSNMPStringToOID()
517 *dstptr = *dstptr * 10 + *src - '0'; in _cupsSNMPStringToOID()
529 dstptr[1] = -1; in _cupsSNMPStringToOID()