/external/e2fsprogs/intl/ |
D | bindtextdom.c | 176 const char *codeset = *codesetp; in __libc_rwlock_define() local 178 if (codeset == NULL) in __libc_rwlock_define() 180 *codesetp = binding->codeset; in __libc_rwlock_define() 186 char *result = binding->codeset; in __libc_rwlock_define() 187 if (result == NULL || strcmp (codeset, result) != 0) in __libc_rwlock_define() 190 result = strdup (codeset); in __libc_rwlock_define() 192 size_t len = strlen (codeset) + 1; in __libc_rwlock_define() 195 memcpy (result, codeset, len); in __libc_rwlock_define() 200 free (binding->codeset); in __libc_rwlock_define() 202 binding->codeset = result; in __libc_rwlock_define() [all …]
|
D | localcharset.c | 272 const char *codeset; in locale_charset() local 280 codeset = nl_langinfo (CODESET); in locale_charset() 308 codeset = locale; in locale_charset() 318 codeset = buf; in locale_charset() 359 codeset = locale; in locale_charset() 365 codeset = ""; in locale_charset() 369 codeset = buf; in locale_charset() 375 if (codeset == NULL) in locale_charset() 377 codeset = ""; in locale_charset() 383 if (strcmp (codeset, aliases) == 0 in locale_charset() [all …]
|
D | explodename.c | 54 const char **territory, const char **codeset, in _nl_explode_name() argument 64 *codeset = NULL; in _nl_explode_name() 99 *codeset = ++cp; in _nl_explode_name() 106 if (*codeset != cp && (*codeset)[0] != '\0') in _nl_explode_name() 108 *normalized_codeset = _nl_normalize_codeset (*codeset, in _nl_explode_name() 109 cp - *codeset); in _nl_explode_name() 110 if (strcmp (*codeset, *normalized_codeset) == 0) in _nl_explode_name() 177 if (*codeset != NULL && (*codeset)[0] == '\0') in _nl_explode_name()
|
D | l10nflist.c | 173 const char *codeset, const char *normalized_codeset, in _nl_make_l10nflist() argument 197 ? strlen (codeset) + 1 : 0) in _nl_make_l10nflist() 236 cp = stpcpy (cp, codeset); in _nl_make_l10nflist() 348 cnt, language, territory, codeset, in _nl_make_l10nflist() 355 cnt, language, territory, codeset, in _nl_make_l10nflist() 369 _nl_normalize_codeset (const char *codeset, size_t name_len) in _nl_normalize_codeset() argument 378 if (isalnum ((unsigned char) codeset[cnt])) in _nl_normalize_codeset() 382 if (isalpha ((unsigned char) codeset[cnt])) in _nl_normalize_codeset() 396 if (isalpha ((unsigned char) codeset[cnt])) in _nl_normalize_codeset() 397 *wp++ = tolower ((unsigned char) codeset[cnt]); in _nl_normalize_codeset() [all …]
|
D | loadinfo.h | 84 extern const char *_nl_normalize_codeset (const char *codeset, 105 const char *codeset, const char *normalized_codeset, 135 const char **codeset,
|
D | finddomain.c | 57 const char *codeset; in _nl_find_domain() local 138 &codeset, &normalized_codeset, &special, in _nl_find_domain() 145 codeset, normalized_codeset, modifier, special, in _nl_find_domain()
|
D | intl-compat.c | 128 bind_textdomain_codeset (const char *domainname, const char *codeset) in bind_textdomain_codeset() argument 130 return libintl_bind_textdomain_codeset (domainname, codeset); in bind_textdomain_codeset()
|
D | gettextP.h | 144 char *codeset; member
|
/external/bison/lib/ |
D | localcharset.c | 359 const char *codeset; in locale_charset() local 367 codeset = nl_langinfo (CODESET); in locale_charset() 373 if (codeset != NULL && strcmp (codeset, "US-ASCII") == 0) in locale_charset() 421 codeset = buf; in locale_charset() 451 codeset = locale; in locale_charset() 467 codeset = buf; in locale_charset() 508 codeset = locale; in locale_charset() 514 codeset = ""; in locale_charset() 518 codeset = buf; in locale_charset() 524 if (codeset == NULL) in locale_charset() [all …]
|
/external/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()
|
/external/python/cpython2/Lib/ |
D | gettext.py | 222 codeset = locale[pos:] 226 codeset = '' 240 if i & COMPONENT_CODESET: val += codeset 538 class_=None, fallback=False, codeset=None): argument 559 if codeset: 560 t.set_output_charset(codeset) 568 def install(domain, localedir=None, unicode=False, codeset=None, names=None): argument 569 t = translation(domain, localedir, fallback=True, codeset=codeset) 596 def bind_textdomain_codeset(domain, codeset=None): argument 598 if codeset is not None: [all …]
|
/external/tcpdump/ |
D | print-fr.c | 796 u_int codeset = 0; in q933_print() local 851 unshift_codeset = codeset; in q933_print() 870 codeset = IE_SHIFT_CODESET(iecode); in q933_print() 883 if (codeset == 5) { in q933_print() 906 ND_PRINT((ndo, "%s, codeset %u", is_ansi ? "ANSI" : "CCITT", codeset)); in q933_print() 947 codeset = unshift_codeset; in q933_print() 985 unshift_codeset = codeset; in q933_print() 991 codeset = IE_SHIFT_CODESET(iecode); in q933_print() 1012 tok2str(fr_q933_ie_codesets[codeset], in q933_print() 1030 if (fr_q933_print_ie_codeset[codeset] != NULL) { in q933_print() [all …]
|
/external/python/cpython2/Modules/ |
D | _localemodule.c | 644 char *domain,*codeset; in PyIntl_bind_textdomain_codeset() local 645 if (!PyArg_ParseTuple(args, "sz", &domain, &codeset)) in PyIntl_bind_textdomain_codeset() 647 codeset = bind_textdomain_codeset(domain, codeset); in PyIntl_bind_textdomain_codeset() 648 if (codeset) in PyIntl_bind_textdomain_codeset() 649 return PyString_FromString(codeset); in PyIntl_bind_textdomain_codeset()
|
/external/tcpdump/tests/ |
D | heapoverflow-q933_printq.out | 1 Q.933, CCITT, codeset 0, unknown message (0x30), length 808464430
|
D | q933-heapoverflow-2.out | 24 UI 2c! Pad! Q.933, CCITT, codeset 0[|q.933]
|
/external/elfutils/m4/ |
D | Makefile.am | 21 EXTRA_DIST = codeset.m4 gettext.m4 iconv.m4 lcmessage.m4 progtest.m4 zip.m4
|
D | codeset.m4 | 1 # codeset.m4 serial AM1 (gettext-0.10.40)
|
/external/clang/test/CodeGenObjC/ |
D | illegal-UTF8.m | 6 …g {{input conversion stopped due to an input byte that does not belong to the input codeset UTF-8}}
|
/external/selinux/gui/ |
D | mappingsPage.py | 38 codeset='utf-8',
|
/external/python/cpython2/Doc/library/ |
D | gettext.rst | 48 .. function:: bind_textdomain_codeset(domain[, codeset]) 50 Bind the *domain* to *codeset*, changing the encoding of strings returned by the 51 :func:`gettext` family of functions. If *codeset* is omitted, then the current 185 .. function:: translation(domain[, localedir[, languages[, class_[, fallback[, codeset]]]]]) 192 file object argument. If provided, *codeset* will change the charset used to 205 Added the *codeset* parameter. 208 .. function:: install(domain[, localedir[, unicode [, codeset[, names]]]]) 211 *domain*, *localedir*, and *codeset* which are passed to the function 229 Added the *codeset* parameter. 716 :func:`gettext`, which returns strings encoded with the same codeset used in the [all …]
|
/external/python/cpython2/Python/ |
D | pythonrun.c | 163 char *codeset = NULL; in Py_InitializeEx() local 287 p = icodeset = codeset = strdup(p); in Py_InitializeEx() 328 codeset = icodeset = loc_codeset; in Py_InitializeEx() 345 codeset = buf; in Py_InitializeEx() 351 if (codeset) { in Py_InitializeEx() 362 if (!PyFile_SetEncodingAndErrors(sys_stream, codeset, errors)) in Py_InitializeEx() 369 if (!PyFile_SetEncodingAndErrors(sys_stream, codeset, errors)) in Py_InitializeEx() 374 free(codeset); in Py_InitializeEx()
|
/external/libexif/po/ |
D | POTFILES.in | 16 test/nls/test-codeset.c
|
/external/bison/m4/ |
D | codeset.m4 | 1 # codeset.m4 serial 5 (gettext-0.18.2)
|
/external/icu/icu4c/source/common/ |
D | putil.cpp | 1944 const char *codeset = nl_langinfo(U_NL_LANGINFO_CODESET); 1951 codeset = remapPlatformDependentCodepage(localeName, codeset); 1955 codeset = remapPlatformDependentCodepage(NULL, codeset); 1958 if (codeset != NULL) { 1959 uprv_strncpy(codesetName, codeset, sizeof(codesetName));
|