MCPcopy Create free account
hub / github.com/acl-dev/acl / copy_buf

Function copy_buf

lib_acl/src/code/acl_xmlcode.c:266–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264/* return the left char of in, > 0 when the out buf is not enough */
265
266static size_t copy_buf(char **out, size_t *olen, const char *in, size_t ilen)
267{
268 while (ilen > 0 && *olen > 1) {
269 **out = *in++;
270 *out += 1;
271 ilen--;
272 (*olen)--;
273 }
274
275 return ilen;
276}
277
278static const char *markup_unescape2(const char *in, char **out, size_t *size)
279{

Callers 2

markup_unescape2Function · 0.85
acl_xml_decode2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…