Lines Matching refs:extensions_
34 script_(), region_(), variant_(nullptr), extensions_(nullptr) in LocaleBuilder()
44 delete extensions_; in ~LocaleBuilder()
54 extensions_ = locale.clone(); in setLocale()
55 if (extensions_ == nullptr) { in setLocale()
230 if (extensions_ == nullptr) { in setExtension()
231 extensions_ = Locale::getRoot().clone(); in setExtension()
232 if (extensions_ == nullptr) { in setExtension()
239 extensions_->setKeywordValue(StringPiece(&key, 1), value_str.data(), in setExtension()
243 _clearUAttributesAndKeyType(*extensions_, status_); in setExtension()
246 _setUnicodeExtensions(*extensions_, value_str, status_); in setExtension()
261 if (extensions_ == nullptr) { in setUnicodeLocaleKeyword()
262 extensions_ = Locale::getRoot().clone(); in setUnicodeLocaleKeyword()
263 if (extensions_ == nullptr) { in setUnicodeLocaleKeyword()
268 extensions_->setUnicodeKeywordValue(key, type, status_); in setUnicodeLocaleKeyword()
282 if (extensions_ == nullptr) { in addUnicodeLocaleAttribute()
283 extensions_ = Locale::getRoot().clone(); in addUnicodeLocaleAttribute()
284 if (extensions_ == nullptr) { in addUnicodeLocaleAttribute()
288 extensions_->setKeywordValue(kAttributeKey, value_str.data(), status_); in addUnicodeLocaleAttribute()
295 extensions_->getKeywordValue(kAttributeKey, sink, localErrorCode); in addUnicodeLocaleAttribute()
299 extensions_->setKeywordValue(kAttributeKey, new_attributes.data(), status_); in addUnicodeLocaleAttribute()
331 extensions_->setKeywordValue(kAttributeKey, new_attributes.data(), status_); in addUnicodeLocaleAttribute()
345 if (extensions_ == nullptr) { return *this; } in removeUnicodeLocaleAttribute()
349 extensions_->getKeywordValue(kAttributeKey, sink, localErrorCode); in removeUnicodeLocaleAttribute()
379 extensions_->setKeywordValue(kAttributeKey, new_attributes.data(), status_); in removeUnicodeLocaleAttribute()
398 delete extensions_; in clearExtensions()
399 extensions_ = nullptr; in clearExtensions()
417 if (extensions_ == nullptr) { in copyExtensionsFrom()
418 extensions_ = Locale::getRoot().clone(); in copyExtensionsFrom()
419 if (extensions_ == nullptr) { in copyExtensionsFrom()
424 _copyExtensions(src, keywords.getAlias(), *extensions_, false, errorCode); in copyExtensionsFrom()
450 if (extensions_ != nullptr) { in build()
451 _copyExtensions(*extensions_, nullptr, product, true, errorCode); in build()