Lines Matching refs:ecp
258 char *ecp; in adutils_txtsid2hexbinsid() local
299 a = strtoull(cp, &ecp, 10); in adutils_txtsid2hexbinsid()
302 if (cp == ecp || (a == 0 && errno == EINVAL) || in adutils_txtsid2hexbinsid()
307 cp = ecp; in adutils_txtsid2hexbinsid()
316 r = strtoul(cp, &ecp, 10); in adutils_txtsid2hexbinsid()
318 if (cp == ecp || (r == 0 && errno == EINVAL) || in adutils_txtsid2hexbinsid()
323 cp = ecp; in adutils_txtsid2hexbinsid()
343 for (ecp = hexbinsid, i = 0; i < j; i++) { in adutils_txtsid2hexbinsid()
345 *ecp++ = '\\'; in adutils_txtsid2hexbinsid()
347 *ecp++ = (hb <= 0x9 ? hb + '0' : hb - 10 + 'A'); in adutils_txtsid2hexbinsid()
349 *ecp++ = (hb <= 0x9 ? hb + '0' : hb - 10 + 'A'); in adutils_txtsid2hexbinsid()
351 *ecp = '\0'; in adutils_txtsid2hexbinsid()