Lines Matching refs:only
1 // SPDX-License-Identifier: GPL-2.0-only
494 * @only: NULL-terminated string containing characters used to limit
495 * the selected escape class. If characters are included in @only
503 * 1. The character is not matched to the one from @only string and thus
536 * escape only non-printable characters, checked by isprint()
542 * escape only non-ascii characters, checked by isascii()
544 * escape only non-printable or non-ascii characters
546 * append characters from @only to be escaped by the given classes
562 * dst for a '\0' terminator if and only if ret < osz.
565 unsigned int flags, const char *only)
569 bool is_dict = only && *only;
574 bool in_dict = is_dict && strchr(only, c);
578 * - the @only string is supplied and does not contain a
591 * When %ESCAPE_APPEND is passed, the characters from @only