Searched refs:langname (Results 1 – 4 of 4) sorted by relevance
/external/libcups/cups/ |
D | language.c | 458 char langname[16], /* Requested language name */ in cupsLangGet() local 667 strlcpy(langname, "C", sizeof(langname)); in cupsLangGet() 674 for (ptr = langname; *language; language ++) in cupsLangGet() 677 else if (ptr < (langname + sizeof(langname) - 1)) in cupsLangGet() 723 if (strlen(langname) != 2 && strlen(langname) != 3) in cupsLangGet() 725 strlcpy(langname, "C", sizeof(langname)); in cupsLangGet() 732 langname, country, charset)); in cupsLangGet() 778 snprintf(real, sizeof(real), "%s_%s", langname, country); in cupsLangGet() 780 strlcpy(real, langname, sizeof(real)); in cupsLangGet()
|
/external/python/cpython2/Lib/ |
D | locale.py | 351 langname = code[:code.index('.')] 353 langname = code 363 return langname + '.' + encoding 393 langname, encoding = code.split('.')[:2] 395 langname = code 399 lang_enc = langname 425 lookup_name = langname 438 code = locale_alias.get(langname, None)
|
/external/python/cpython3/Lib/ |
D | locale.py | 352 langname = code[:code.index('.')] 354 langname = code 371 return langname + '.' + encoding 410 langname, encoding = code.split('.')[:2] 412 langname = code 416 lang_enc = langname 442 lookup_name = langname 455 code = locale_alias.get(langname, None)
|
/external/doclava/src/com/google/doclava/ |
D | PageMetadata.java | 123 String langname = n.getLang(); in WriteListByLang() local 124 langFilename = "_" + langname; in WriteListByLang() 130 pageMeta.renderLangResources(buf,langname); in WriteListByLang() 135 data.setValue("metadata.lang", langname); in WriteListByLang() 159 String langname = n.getLang(); in WriteSamplesListByLang() local 160 langFilename = "_" + langname; in WriteSamplesListByLang() 166 langHasSamples = pageMeta.renderSamplesResources(buf,langname); in WriteSamplesListByLang() 170 data.setValue("metadata.lang", langname); in WriteSamplesListByLang() 771 void renderLangResources(StringBuilder buf, String langname) { in renderLangResources() argument 778 buf.append("METADATA['" + langname + "']." + list.get(i).mType + " = ["); in renderLangResources() [all …]
|