Home
last modified time | relevance | path

Searched refs:NSLocale (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/text/
DLocaleMac.mm35 #import <Foundation/NSLocale.h>
56 static RetainPtr<NSLocale> determineLocale(const String& locale)
58 RetainPtr<NSLocale> currentLocale = [NSLocale currentLocale];
64 return RetainPtr<NSLocale>(AdoptNS, [[NSLocale alloc] initWithLocaleIdentifier:locale]);
72 static RetainPtr<NSDateFormatter> createDateTimeFormatter(NSLocale* locale, NSCalendar* calendar, N…
83 LocaleMac::LocaleMac(NSLocale* locale)
88 NSArray* availableLanguages = [NSLocale ISOLanguageCodes];
89 // NSLocale returns a lower case NSLocaleLanguageCode so we don't have care about case.
92 m_locale.adoptNS([[NSLocale alloc] initWithLocaleIdentifier:defaultLanguage()]);
102 RetainPtr<NSLocale> locale = [[NSLocale alloc] initWithLocaleIdentifier:localeIdentifier];
[all …]
DLocaleMac.h42 OBJC_CLASS NSLocale; variable
51 static PassOwnPtr<LocaleMac> create(NSLocale*);
72 explicit LocaleMac(NSLocale*);
76 RetainPtr<NSLocale> m_locale;
/external/clang/test/SemaObjC/
Dtry-catch.m22 @class NSData, NSArray, NSDictionary, NSCharacterSet, NSData, NSURL, NSError, NSLocale;
/external/chromium/base/mac/
Dmac_util.h167 CF_TO_NS_CAST_DECL(CFLocale, NSLocale);
Dmac_util.mm523 CF_TO_NS_CAST_DEFN(CFLocale, NSLocale);
/external/clang/test/ARCMT/
Dobjcmt-subscripting-literals.m.result220 @interface NSLocale : NSObject
227 id o = [[NSLocale currentLocale] objectForKey:key];
Dobjcmt-subscripting-literals.m220 @interface NSLocale : NSObject interface
227 id o = [[NSLocale currentLocale] objectForKey:key];
/external/chromium_org/base/mac/
Dfoundation_util.h222 CF_TO_NS_CAST_DECL(CFLocale, NSLocale);
Dfoundation_util.mm284 CF_TO_NS_CAST_DEFN(CFLocale, NSLocale);
/external/clang/test/Analysis/
Ddelegates.m68 @class NSData, NSArray, NSDictionary, NSCharacterSet, NSData, NSURL, NSError, NSLocale;
DNSString.m78 @class NSData, NSArray, NSDictionary, NSCharacterSet, NSData, NSURL, NSError, NSLocale;
Dretain-release-gc-only.m133 @end @class NSLocale, NSDate, NSCalendar, NSTimeZone, NSError, NSArray, NSMutableDictionary;
Dretain-release-inline.m137 @end @class NSLocale, NSDate, NSCalendar, NSTimeZone, NSError, NSArray, NSMutableDictionary;
Dretain-release.mm160 @end @class NSLocale, NSDate, NSCalendar, NSTimeZone, NSError, NSArray, NSMutableDictionary;
Dretain-release.m186 @end @class NSLocale, NSDate, NSCalendar, NSTimeZone, NSError, NSArray, NSMutableDictionary;
/external/chromium_org/chrome/browser/speech/
Dtts_mac.mm236 [NSLocale componentsFromLocaleIdentifier:localeIdentifier];
/external/chromium_org/content/common/
Dplugin_list_mac.mm93 NSString* preferred_l10n = [[NSLocale currentLocale] localeIdentifier];
/external/chromium_org/apps/app_shim/
Dchrome_main_app_mode_mac.mm561 NSArray* preferred_languages = [NSLocale preferredLanguages];
/external/clang/docs/
DLanguageExtensions.rst1123 NSLocale *currentLocale = [NSLocale currentLocale];