Lines Matching defs:be

98 #define SCONV_NORMALIZATION_C	(1<<6)	/* Need normalization to be Form C.
101 #define SCONV_NORMALIZATION_D (1<<7) /* Need normalization to be Form D.
520 count >>= 1; /* to be WCS length */
595 * No single byte will be more than one wide character,
596 * so this length estimate will always be big enough.
735 count <<= 1; /* to be byte size */
780 * cannot tell us how big the output buffer should be. So
1218 * is NFD, would be in its directory.
1220 * convert filenames to NFD, it would be useful for filename
1222 * that to be NFD ourselves.
1236 * going to be passed to iconv is a Unicode NFC string since
1247 * will be passed to users is a Unicode NFD string in order to
1284 * so that you can do a I18N programming. This will be
1352 * Note: This translation code may be insufficient.
1722 * If best_effort is set, A string conversion object must be returned
1773 /* Make sure a null termination must be set. */
1794 /* Make sure a null termination must be set. */
2063 * unknown character should be U+FFFD
2227 * can be WCS with no error.
2239 * And then this checks all copied MBS can be WCS if so returns 0.
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 * Existing string is assumed to already be in proper form;
2731 * This case is going to be converted to another
2865 * If the code point has not be changed from its original code,
2953 * This case is going to be converted to another
2999 * this should be treated as a changed code. */
3016 * this should be treated as a changed code. */
3260 * This case is going to be converted to another
3315 * this should be treated as a changed code. */
3498 struct archive_string_conv *sc, int be)
3523 if (be)
3540 if (be) {
3727 size_t bytes, struct archive_string_conv *sc, int be)
3745 while ((n = utf16_to_unicode(&uc, utf16, bytes, be)) != 0) {
4010 * with the native locale to be used for translating it to specified
4016 /* If we already have an MBS form, use it to be translated to
4222 * may not be able to represent all characters in the string */