Lines Matching defs:be

92 #define SCONV_NORMALIZATION_C	(1<<6)	/* Need normalization to be Form C.
95 #define SCONV_NORMALIZATION_D (1<<7) /* Need normalization to be Form D.
511 count >>= 1; /* to be WCS length */
583 * No single byte will be more than one wide character,
584 * so this length estimate will always be big enough.
717 count <<= 1; /* to be byte size */
760 * cannot tell us how big the output buffer should be. So
1197 * is NFD, would be in its directory.
1199 * convert filenames to NFD, it would be useful for filename
1201 * that to be NFD ourselves.
1215 * going to be passed to iconv is a Unicode NFC string since
1226 * will be passed to users is a Unicode NFD string in order to
1263 * so that you can do a I18N programing. This will be
1327 * Note: This translation code may be insufficient.
1695 * If best_effort is set, A string conversion object must be returned
1746 /* Make sure a null termination must be set. */
1767 /* Make sure a null termination must be set. */
2034 * unknown character should be U+FFFD
2198 * can be WCS with no error.
2212 * And then this checks all copied MBS can be WCS if so returns 0.
2246 * should be U+FFFD (replacement character).
2516 * Undescribed code point should be U+FFFD
2540 utf16_to_unicode(uint32_t *pwc, const char *s, size_t n, int be)
2553 if (be)
2564 if (be)
2574 /* Undescribed code point should be U+FFFD
2584 * must not be surrogate values, and Unicode has no codes
2589 /* Undescribed code point should be U+FFFD
2644 * If any surrogate pair are found, it would be canonicalized.
2693 /* Current byte sequence may be CESU-8. */
2743 * This case is going to be converted to another
2877 * If the code point has not be changed from its original code,
2965 * This case is going to be converted to another
3011 * this should be treated as a changed code. */
3028 * this should be treated as a changed code. */
3272 * This case is going to be converted to another
3327 * this should be treated as a changed code. */
3509 struct archive_string_conv *sc, int be)
3534 if (be)
3551 if (be) {
3736 size_t bytes, struct archive_string_conv *sc, int be)
3754 while ((n = utf16_to_unicode(&uc, utf16, bytes, be)) != 0) {
3995 * with the native locale to be used for translating it to specified
4009 /* If we already have an MBS form, use it to be translated to