Lines Matching refs:out
61 goto out; in string_get_size()
121 out: in string_get_size()
268 char *out = dst; in string_unescape() local
276 unescape_space(&src, &out)) in string_unescape()
280 unescape_octal(&src, &out)) in string_unescape()
284 unescape_hex(&src, &out)) in string_unescape()
288 unescape_special(&src, &out)) in string_unescape()
291 *out++ = '\\'; in string_unescape()
293 *out++ = *src++; in string_unescape()
295 *out = '\0'; in string_unescape()
297 return out - dst; in string_unescape()
303 char *out = *dst; in escape_passthrough() local
305 if (out < end) in escape_passthrough()
306 *out = c; in escape_passthrough()
307 *dst = out + 1; in escape_passthrough()
313 char *out = *dst; in escape_space() local
336 if (out < end) in escape_space()
337 *out = '\\'; in escape_space()
338 ++out; in escape_space()
339 if (out < end) in escape_space()
340 *out = to; in escape_space()
341 ++out; in escape_space()
343 *dst = out; in escape_space()
349 char *out = *dst; in escape_special() local
366 if (out < end) in escape_special()
367 *out = '\\'; in escape_special()
368 ++out; in escape_special()
369 if (out < end) in escape_special()
370 *out = to; in escape_special()
371 ++out; in escape_special()
373 *dst = out; in escape_special()
379 char *out = *dst; in escape_null() local
384 if (out < end) in escape_null()
385 *out = '\\'; in escape_null()
386 ++out; in escape_null()
387 if (out < end) in escape_null()
388 *out = '0'; in escape_null()
389 ++out; in escape_null()
391 *dst = out; in escape_null()
397 char *out = *dst; in escape_octal() local
399 if (out < end) in escape_octal()
400 *out = '\\'; in escape_octal()
401 ++out; in escape_octal()
402 if (out < end) in escape_octal()
403 *out = ((c >> 6) & 0x07) + '0'; in escape_octal()
404 ++out; in escape_octal()
405 if (out < end) in escape_octal()
406 *out = ((c >> 3) & 0x07) + '0'; in escape_octal()
407 ++out; in escape_octal()
408 if (out < end) in escape_octal()
409 *out = ((c >> 0) & 0x07) + '0'; in escape_octal()
410 ++out; in escape_octal()
412 *dst = out; in escape_octal()
418 char *out = *dst; in escape_hex() local
420 if (out < end) in escape_hex()
421 *out = '\\'; in escape_hex()
422 ++out; in escape_hex()
423 if (out < end) in escape_hex()
424 *out = 'x'; in escape_hex()
425 ++out; in escape_hex()
426 if (out < end) in escape_hex()
427 *out = hex_asc_hi(c); in escape_hex()
428 ++out; in escape_hex()
429 if (out < end) in escape_hex()
430 *out = hex_asc_lo(c); in escape_hex()
431 ++out; in escape_hex()
433 *dst = out; in escape_hex()