OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:locale_name
(Results
1 - 9
of
9
) sorted by null
/bionic/libc/bionic/
locale.cpp
125
locale_t newlocale(int category_mask, const char*
locale_name
, locale_t /*base*/) {
132
if (!__is_supported_locale(
locale_name
)) {
137
return new __locale_t(strstr(
locale_name
, "UTF-8") != NULL ? 4 : 1);
140
char* setlocale(int category, const char*
locale_name
) {
148
if (
locale_name
!= NULL) {
149
if (!__is_supported_locale(
locale_name
)) {
154
__bionic_current_locale_is_utf8 = (strstr(
locale_name
, "UTF-8") != NULL);
/external/chromium_org/chrome/browser/chromeos/login/
language_list.cc
39
base::string16
locale_name
= locale_names_[index];
40
base::i18n::AdjustStringForLocaleDirection(&
locale_name
);
46
// changed the format. We also want to switch the order of
locale_name
50
base::UTF16ToUTF8(
locale_name
).c_str(),
/external/chromium_org/ui/base/l10n/
l10n_util.cc
187
// Returns true if |
locale_name
| has an alias in the ICU data file.
188
bool IsDuplicateName(const std::string&
locale_name
) {
204
if (LowerCaseEqualsASCII(
locale_name
.substr(0, 3), "es_"))
207
if (base::strcasecmp(kDuplicateNames[i],
locale_name
.c_str()) == 0)
217
bool IsLocalePartiallyPopulated(const std::string&
locale_name
) {
222
return !l10n_util::IsLocaleNameTranslated("en",
locale_name
);
275
std::string
locale_name
= uloc_getAvailable(i);
local
277
if (IsDuplicateName(
locale_name
))
281
if (IsLocalePartiallyPopulated(
locale_name
))
283
if (!l10n_util::IsLocaleSupportedByOS(
locale_name
))
[
all
...]
/external/chromium_org/extensions/common/
extension_l10n_util.cc
281
const std::string&
locale_name
,
286
if (
locale_name
.find(".") == 0)
288
if (chrome_locales.find(
locale_name
) == chrome_locales.end()) {
292
locale_name
.c_str());
297
valid_locales->insert(
locale_name
);
300
locale_name
.c_str());
347
std::string
locale_name
= locale_folder.BaseName().MaybeAsASCII();
local
348
if (
locale_name
.empty()) {
353
chrome_locales, locale_folder,
locale_name
, valid_locales, error)) {
extension_l10n_util.h
52
// Adds
locale_name
to the extension if it's in chrome_locales, and
54
// Returns false if
locale_name
was not found in chrome_locales, and sets
55
// error with
locale_name
.
59
const std::string&
locale_name
,
/external/chromium_org/base/i18n/
rtl.h
63
// Returns the text direction for |
locale_name
|.
65
const char*
locale_name
);
rtl.cc
133
TextDirection GetTextDirectionForLocale(const char*
locale_name
) {
135
ULayoutType layout_dir = uloc_getCharacterOrientation(
locale_name
, &status);
/libcore/luni/src/main/native/
libcore_icu_ICU.cpp
423
LocaleNameIterator(const char*
locale_name
, UErrorCode& status) : status_(status), has_next_(true) {
424
strcpy(locale_name_,
locale_name
);
453
static bool getAmPmMarkersNarrow(JNIEnv* env, jobject localeData, const char*
locale_name
) {
455
ScopedResourceBundle root(ures_open(NULL,
locale_name
, &status));
476
static bool getDateTimePatterns(JNIEnv* env, jobject localeData, const char*
locale_name
) {
478
ScopedResourceBundle root(ures_open(NULL,
locale_name
, &status));
505
static bool getYesterdayTodayAndTomorrow(JNIEnv* env, jobject localeData, const Locale& locale, const char*
locale_name
) {
507
ScopedResourceBundle root(ures_open(NULL,
locale_name
, &status));
519
ALOGE("Error getting yesterday/today/tomorrow for %s: %s",
locale_name
, u_errorName(status));
526
ALOGE("Error getting yesterday/today/tomorrow break iterator for %s: %s",
locale_name
, u_errorName(status))
[
all
...]
/external/chromium_org/chrome/third_party/chromevox/third_party/closure-library/closure/goog/
base.js
187
* can specify this value by "--define goog.LOCALE=<
locale_name
>" as JSCompiler
[
all
...]
Completed in 624 milliseconds