Lines Matching defs:only
1 // SPDX-License-Identifier: GPL-2.0-only
508 * @only: NULL-terminated string containing characters used to limit
509 * the selected escape class. If characters are included in @only
517 * 1. The character is not matched to the one from @only string and thus
550 * escape only non-printable characters, checked by isprint()
556 * escape only non-ascii characters, checked by isascii()
558 * escape only non-printable or non-ascii characters
560 * append characters from @only to be escaped by the given classes
576 * dst for a '\0' terminator if and only if ret < osz.
579 unsigned int flags, const char *only)
583 bool is_dict = only && *only;
588 bool in_dict = is_dict && strchr(only, c);
592 * - the @only string is supplied and does not contain a
605 * When %ESCAPE_APPEND is passed, the characters from @only