Searched refs:langname (Results 1 – 4 of 4) sorted by relevance
/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 | 354 langname = code[:code.index('.')] 356 langname = code 373 return langname + '.' + encoding 412 langname, encoding = code.split('.')[:2] 414 langname = code 418 lang_enc = langname 444 lookup_name = langname 457 code = locale_alias.get(langname, None)
|
/external/libcups/cups/ |
D | language.c | 452 char langname[16], /* Requested language name */ in cupsLangGet() local 661 strlcpy(langname, "C", sizeof(langname)); in cupsLangGet() 668 for (ptr = langname; *language; language ++) in cupsLangGet() 671 else if (ptr < (langname + sizeof(langname) - 1)) in cupsLangGet() 717 if (strlen(langname) != 2 && strlen(langname) != 3) in cupsLangGet() 719 strlcpy(langname, "C", sizeof(langname)); in cupsLangGet() 726 langname, country, charset)); in cupsLangGet() 772 snprintf(real, sizeof(real), "%s_%s", langname, country); in cupsLangGet() 774 strlcpy(real, langname, sizeof(real)); in cupsLangGet()
|
/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 …]
|