Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPUtils.c441 SLPError SLPEscape(const char *pcInbuf, char **ppcOutBuf, SLPBoolean isTag) { in SLPEscape() argument
444 if (!pcInbuf || !ppcOutBuf) in SLPEscape()
447 if (!(buf = malloc(strlen(pcInbuf) * 3 + 1))) { in SLPEscape()
453 for (pin = (char *)pcInbuf, pout = buf; *pin; ) { in SLPEscape()
483 SLPError SLPUnescape(const char *pcInbuf, char **ppcOutBuf, SLPBoolean isTag) { in SLPUnescape() argument
484 if (!pcInbuf || !ppcOutBuf) in SLPUnescape()
487 return (slp_unescape(pcInbuf, ppcOutBuf, isTag, '\\')); in SLPUnescape()
494 static SLPError slp_unescape(const char *pcInbuf, char **ppcOutBuf, in slp_unescape() argument
498 if (!(buf = malloc(strlen(pcInbuf) * 3 + 1))) { in slp_unescape()
505 for (pin = (char *)pcInbuf, pout = buf; *pin; ) { in slp_unescape()
H A Dslp.h299 const char *pcInbuf, /* buffer to process */
310 const char *pcInbuf, /* buffer to process */