/third_party/popt/src/ |
D | poptint.c | 48 char * codeset = NULL; in POPT_dgettext() local 53 codeset = bind_textdomain_codeset(dom, NULL); in POPT_dgettext() 56 bind_textdomain_codeset(dom, codeset); in POPT_dgettext() 71 char * codeset = NULL; in strdup_locale_from_utf8() local 79 codeset = nl_langinfo ((nl_item)CODESET); in strdup_locale_from_utf8() 82 if (codeset != NULL && strcmp(codeset, "UTF-8") != 0 in strdup_locale_from_utf8() 83 && (cd = iconv_open(codeset, "UTF-8")) != (iconv_t)-1) in strdup_locale_from_utf8()
|
/third_party/python/Lib/ |
D | gettext.py | 228 codeset = loc[pos:] 232 codeset = '' 246 if i & COMPONENT_CODESET: val += codeset 584 class_=None, fallback=False, codeset=_unspecified): argument 610 if codeset is not _unspecified: 614 if codeset: 618 t.set_output_charset(codeset) 626 def install(domain, localedir=None, codeset=_unspecified, names=None): argument 627 t = translation(domain, localedir, fallback=True, codeset=codeset) 654 def bind_textdomain_codeset(domain, codeset=None): argument [all …]
|
/third_party/libexif/test/nls/ |
D | Makefile.am | 3 codeset_tests = test-codeset-default test-codeset-latin1 test-codeset-utf-8 30 EXTRA_DIST = check-localedir.in check-nls.in test-nls.c test-codeset.c
|
D | test-nls.c | 72 const char *codeset = bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8"); in main() local 73 printf("message codeset: %s\n", codeset); in main()
|
D | test-codeset.c | 33 #define bind_textdomain_codeset(domain,codeset) \ argument
|
/third_party/musl/src/locale/ |
D | bind_textdomain_codeset.c | 6 char *bind_textdomain_codeset(const char *domainname, const char *codeset) in bind_textdomain_codeset() argument 8 if (codeset && strcasecmp(codeset, "UTF-8")) in bind_textdomain_codeset()
|
/third_party/python/Modules/clinic/ |
D | _localemodule.c.h | 497 const char *codeset); 504 const char *codeset; in _locale_bind_textdomain_codeset() local 523 codeset = NULL; in _locale_bind_textdomain_codeset() 527 codeset = PyUnicode_AsUTF8AndSize(args[1], &codeset_length); in _locale_bind_textdomain_codeset() 528 if (codeset == NULL) { in _locale_bind_textdomain_codeset() 531 if (strlen(codeset) != (size_t)codeset_length) { in _locale_bind_textdomain_codeset() 540 return_value = _locale_bind_textdomain_codeset_impl(module, domain, codeset); in _locale_bind_textdomain_codeset()
|
/third_party/python/Modules/ |
D | _localemodule.c | 761 const char *codeset) in _locale_bind_textdomain_codeset_impl() argument 764 codeset = bind_textdomain_codeset(domain, codeset); in _locale_bind_textdomain_codeset_impl() 765 if (codeset) { in _locale_bind_textdomain_codeset_impl() 766 return PyUnicode_DecodeLocale(codeset, NULL); in _locale_bind_textdomain_codeset_impl()
|
D | _cursesmodule.c | 680 const char *codeset = nl_langinfo(CODESET); in Window_NoArgNoReturnFunction() 681 if (codeset != NULL && codeset[0] != 0) in Window_NoArgNoReturnFunction() 682 encoding = codeset; in Window_NoArgNoReturnFunction()
|
/third_party/python/Python/ |
D | fileutils.c | 203 const char *codeset = nl_langinfo(CODESET); in check_force_ascii() local 204 if (!codeset || codeset[0] == '\0') { in check_force_ascii() 210 if (!_Py_normalize_encoding(codeset, encoding, sizeof(encoding))) { in check_force_ascii() 945 char* codeset = nl_langinfo(CODESET); in _Py_LocaleUsesNonUnicodeWchar() local 946 if (!codeset) { in _Py_LocaleUsesNonUnicodeWchar() 950 return (strcmp(codeset, "UTF-8") != 0 && strcmp(codeset, "646") != 0); in _Py_LocaleUsesNonUnicodeWchar()
|
D | pylifecycle.c | 356 char *codeset = nl_langinfo(CODESET); in _Py_CoerceLegacyLocale() local 357 if (!codeset || *codeset == '\0') { in _Py_CoerceLegacyLocale()
|
/third_party/libexif/m4m/ |
D | .gitignore | 4 codeset.m4
|
/third_party/libexif/po/ |
D | POTFILES.in | 16 test/nls/test-codeset.c
|
/third_party/node/deps/icu-small/source/common/ |
D | putil.cpp | 2185 const char *codeset = nl_langinfo(U_NL_LANGINFO_CODESET); 2192 codeset = remapPlatformDependentCodepage(localeName, codeset); 2196 codeset = remapPlatformDependentCodepage(nullptr, codeset); 2199 if (codeset != nullptr) { 2200 uprv_strncpy(codesetName, codeset, sizeof(codesetName));
|
/third_party/icu/icu4c/source/common/ |
D | putil.cpp | 2185 const char *codeset = nl_langinfo(U_NL_LANGINFO_CODESET); 2192 codeset = remapPlatformDependentCodepage(localeName, codeset); 2196 codeset = remapPlatformDependentCodepage(NULL, codeset); 2199 if (codeset != NULL) { 2200 uprv_strncpy(codesetName, codeset, sizeof(codesetName));
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | putil.cpp | 2176 const char *codeset = nl_langinfo(U_NL_LANGINFO_CODESET); 2183 codeset = remapPlatformDependentCodepage(localeName, codeset); 2187 codeset = remapPlatformDependentCodepage(NULL, codeset); 2190 if (codeset != NULL) { 2191 uprv_strncpy(codesetName, codeset, sizeof(codesetName));
|
/third_party/python/Doc/library/ |
D | gettext.rst | 49 .. function:: bind_textdomain_codeset(domain, codeset=None) 51 Bind the *domain* to *codeset*, changing the encoding of byte strings 54 If *codeset* is omitted, then the current binding is returned. 184 …on:: translation(domain, localedir=None, languages=None, class_=None, fallback=False, codeset=None) 191 take a single :term:`file object` argument. If provided, *codeset* will change 209 The *codeset* parameter. 212 .. function:: install(domain, localedir=None, codeset=None, names=None) 215 *domain*, *localedir*, and *codeset* which are passed to the function 232 The *codeset* parameter.
|
D | codecs.rst | 1009 * an ISO 8859 codeset 1011 * a Microsoft Windows code page, which is typically derived from an 8859 codeset,
|
/third_party/elfutils/m4/ |
D | ChangeLog | 91 * codeset.m4: Upgrade to gettext-0.11.
|
/third_party/python/Modules/cjkcodecs/ |
D | README | 53 codeset 2. Because JIS X 0212 and JIS X 0213 Plane 2 don't have
|
/third_party/skia/third_party/externals/harfbuzz/ |
D | git.mk | 131 codeset.m4 \
|
/third_party/popt/ |
D | CHANGES | 103 - jbj: add POPT_dgettext() for popt internal UTF-8 codeset (Takao Fujiwara).
|
/third_party/python/Lib/test/ |
D | test_gettext.py | 814 codeset='utf-16')
|
/third_party/icu/icu4c/source/ |
D | configure.ac | 719 AC_CACHE_CHECK([for nl_langinfo's argument to obtain the codeset],
|
/third_party/skia/third_party/externals/icu/source/ |
D | configure.ac | 722 AC_CACHE_CHECK([for nl_langinfo's argument to obtain the codeset],
|