Lines Matching defs:only
1 // SPDX-License-Identifier: GPL-2.0-only
501 * @only: NULL-terminated string containing characters used to limit
502 * the selected escape class. If characters are included in @only
510 * 1. The character is not matched to the one from @only string and thus
543 * escape only non-printable characters, checked by isprint()
549 * escape only non-ascii characters, checked by isascii()
551 * escape only non-printable or non-ascii characters
553 * append characters from @only to be escaped by the given classes
569 * dst for a '\0' terminator if and only if ret < osz.
572 unsigned int flags, const char *only)
576 bool is_dict = only && *only;
581 bool in_dict = is_dict && strchr(only, c);
585 * - the @only string is supplied and does not contain a
598 * When %ESCAPE_APPEND is passed, the characters from @only