Lines Matching refs:factory

43   Handle<String> str = isolate->factory()->NewStringFromAsciiChecked(key);  in ExtractStringSetting()
60 Handle<String> str = isolate->factory()->NewStringFromAsciiChecked(key); in ExtractIntegerSetting()
75 Handle<String> str = isolate->factory()->NewStringFromAsciiChecked(key); in ExtractBooleanSetting()
146 Factory* factory = isolate->factory(); in SetResolvedDateSettings() local
151 resolved, factory->intl_pattern_symbol(), in SetResolvedDateSettings()
152 factory->NewStringFromTwoByte( in SetResolvedDateSettings()
164 JSObject::SetProperty(resolved, factory->NewStringFromStaticChars("calendar"), in SetResolvedDateSettings()
165 factory->NewStringFromAsciiChecked(calendar_name), in SetResolvedDateSettings()
177 resolved, factory->NewStringFromStaticChars("timeZone"), in SetResolvedDateSettings()
178 factory->NewStringFromStaticChars("UTC"), SLOPPY).Assert(); in SetResolvedDateSettings()
181 resolved, factory->NewStringFromStaticChars("timeZone"), in SetResolvedDateSettings()
182 factory->NewStringFromTwoByte( in SetResolvedDateSettings()
200 resolved, factory->NewStringFromStaticChars("numberingSystem"), in SetResolvedDateSettings()
201 factory->NewStringFromAsciiChecked(ns), SLOPPY).Assert(); in SetResolvedDateSettings()
204 factory->NewStringFromStaticChars("numberingSystem"), in SetResolvedDateSettings()
205 factory->undefined_value(), SLOPPY).Assert(); in SetResolvedDateSettings()
215 JSObject::SetProperty(resolved, factory->NewStringFromStaticChars("locale"), in SetResolvedDateSettings()
216 factory->NewStringFromAsciiChecked(result), in SetResolvedDateSettings()
220 JSObject::SetProperty(resolved, factory->NewStringFromStaticChars("locale"), in SetResolvedDateSettings()
221 factory->NewStringFromStaticChars("und"), in SetResolvedDateSettings()
372 Factory* factory = isolate->factory(); in SetResolvedNumberSettings() local
376 resolved, factory->intl_pattern_symbol(), in SetResolvedNumberSettings()
377 factory->NewStringFromTwoByte( in SetResolvedNumberSettings()
387 resolved, factory->NewStringFromStaticChars("currency"), in SetResolvedNumberSettings()
388 factory->NewStringFromTwoByte(Vector<const uint16_t>( in SetResolvedNumberSettings()
404 resolved, factory->NewStringFromStaticChars("numberingSystem"), in SetResolvedNumberSettings()
405 factory->NewStringFromAsciiChecked(ns), SLOPPY).Assert(); in SetResolvedNumberSettings()
408 factory->NewStringFromStaticChars("numberingSystem"), in SetResolvedNumberSettings()
409 factory->undefined_value(), SLOPPY).Assert(); in SetResolvedNumberSettings()
414 resolved, factory->NewStringFromStaticChars("useGrouping"), in SetResolvedNumberSettings()
415 factory->ToBoolean(number_format->isGroupingUsed()), SLOPPY).Assert(); in SetResolvedNumberSettings()
418 resolved, factory->NewStringFromStaticChars("minimumIntegerDigits"), in SetResolvedNumberSettings()
419 factory->NewNumberFromInt(number_format->getMinimumIntegerDigits()), in SetResolvedNumberSettings()
423 resolved, factory->NewStringFromStaticChars("minimumFractionDigits"), in SetResolvedNumberSettings()
424 factory->NewNumberFromInt(number_format->getMinimumFractionDigits()), in SetResolvedNumberSettings()
428 resolved, factory->NewStringFromStaticChars("maximumFractionDigits"), in SetResolvedNumberSettings()
429 factory->NewNumberFromInt(number_format->getMaximumFractionDigits()), in SetResolvedNumberSettings()
433 factory->NewStringFromStaticChars("minimumSignificantDigits"); in SetResolvedNumberSettings()
438 resolved, factory->NewStringFromStaticChars("minimumSignificantDigits"), in SetResolvedNumberSettings()
439 factory->NewNumberFromInt(number_format->getMinimumSignificantDigits()), in SetResolvedNumberSettings()
443 key = factory->NewStringFromStaticChars("maximumSignificantDigits"); in SetResolvedNumberSettings()
448 resolved, factory->NewStringFromStaticChars("maximumSignificantDigits"), in SetResolvedNumberSettings()
449 factory->NewNumberFromInt(number_format->getMaximumSignificantDigits()), in SetResolvedNumberSettings()
459 JSObject::SetProperty(resolved, factory->NewStringFromStaticChars("locale"), in SetResolvedNumberSettings()
460 factory->NewStringFromAsciiChecked(result), in SetResolvedNumberSettings()
464 JSObject::SetProperty(resolved, factory->NewStringFromStaticChars("locale"), in SetResolvedNumberSettings()
465 factory->NewStringFromStaticChars("und"), in SetResolvedNumberSettings()
539 Factory* factory = isolate->factory(); in SetResolvedCollatorSettings() local
543 resolved, factory->NewStringFromStaticChars("numeric"), in SetResolvedCollatorSettings()
544 factory->ToBoolean( in SetResolvedCollatorSettings()
551 resolved, factory->NewStringFromStaticChars("caseFirst"), in SetResolvedCollatorSettings()
552 factory->NewStringFromStaticChars("lower"), SLOPPY).Assert(); in SetResolvedCollatorSettings()
556 resolved, factory->NewStringFromStaticChars("caseFirst"), in SetResolvedCollatorSettings()
557 factory->NewStringFromStaticChars("upper"), SLOPPY).Assert(); in SetResolvedCollatorSettings()
561 resolved, factory->NewStringFromStaticChars("caseFirst"), in SetResolvedCollatorSettings()
562 factory->NewStringFromStaticChars("false"), SLOPPY).Assert(); in SetResolvedCollatorSettings()
568 resolved, factory->NewStringFromStaticChars("strength"), in SetResolvedCollatorSettings()
569 factory->NewStringFromStaticChars("primary"), SLOPPY).Assert(); in SetResolvedCollatorSettings()
574 resolved, factory->NewStringFromStaticChars("sensitivity"), in SetResolvedCollatorSettings()
575 factory->NewStringFromStaticChars("case"), SLOPPY).Assert(); in SetResolvedCollatorSettings()
578 resolved, factory->NewStringFromStaticChars("sensitivity"), in SetResolvedCollatorSettings()
579 factory->NewStringFromStaticChars("base"), SLOPPY).Assert(); in SetResolvedCollatorSettings()
585 resolved, factory->NewStringFromStaticChars("strength"), in SetResolvedCollatorSettings()
586 factory->NewStringFromStaticChars("secondary"), SLOPPY).Assert(); in SetResolvedCollatorSettings()
588 resolved, factory->NewStringFromStaticChars("sensitivity"), in SetResolvedCollatorSettings()
589 factory->NewStringFromStaticChars("accent"), SLOPPY).Assert(); in SetResolvedCollatorSettings()
593 resolved, factory->NewStringFromStaticChars("strength"), in SetResolvedCollatorSettings()
594 factory->NewStringFromStaticChars("tertiary"), SLOPPY).Assert(); in SetResolvedCollatorSettings()
596 resolved, factory->NewStringFromStaticChars("sensitivity"), in SetResolvedCollatorSettings()
597 factory->NewStringFromStaticChars("variant"), SLOPPY).Assert(); in SetResolvedCollatorSettings()
603 resolved, factory->NewStringFromStaticChars("strength"), in SetResolvedCollatorSettings()
604 factory->NewStringFromStaticChars("quaternary"), SLOPPY).Assert(); in SetResolvedCollatorSettings()
606 resolved, factory->NewStringFromStaticChars("sensitivity"), in SetResolvedCollatorSettings()
607 factory->NewStringFromStaticChars("variant"), SLOPPY).Assert(); in SetResolvedCollatorSettings()
611 resolved, factory->NewStringFromStaticChars("strength"), in SetResolvedCollatorSettings()
612 factory->NewStringFromStaticChars("identical"), SLOPPY).Assert(); in SetResolvedCollatorSettings()
614 resolved, factory->NewStringFromStaticChars("sensitivity"), in SetResolvedCollatorSettings()
615 factory->NewStringFromStaticChars("variant"), SLOPPY).Assert(); in SetResolvedCollatorSettings()
619 resolved, factory->NewStringFromStaticChars("ignorePunctuation"), in SetResolvedCollatorSettings()
620 factory->ToBoolean(collator->getAttribute(UCOL_ALTERNATE_HANDLING, in SetResolvedCollatorSettings()
630 JSObject::SetProperty(resolved, factory->NewStringFromStaticChars("locale"), in SetResolvedCollatorSettings()
631 factory->NewStringFromAsciiChecked(result), in SetResolvedCollatorSettings()
635 JSObject::SetProperty(resolved, factory->NewStringFromStaticChars("locale"), in SetResolvedCollatorSettings()
636 factory->NewStringFromStaticChars("und"), in SetResolvedCollatorSettings()
681 Factory* factory = isolate->factory(); in SetResolvedBreakIteratorSettings() local
690 JSObject::SetProperty(resolved, factory->NewStringFromStaticChars("locale"), in SetResolvedBreakIteratorSettings()
691 factory->NewStringFromAsciiChecked(result), in SetResolvedBreakIteratorSettings()
695 JSObject::SetProperty(resolved, factory->NewStringFromStaticChars("locale"), in SetResolvedBreakIteratorSettings()
696 factory->NewStringFromStaticChars("und"), in SetResolvedBreakIteratorSettings()
763 isolate->factory()->NewStringFromStaticChars("dateFormat"); in UnpackDateFormat()
827 isolate->factory()->NewStringFromStaticChars("numberFormat"); in UnpackNumberFormat()
886 Handle<String> key = isolate->factory()->NewStringFromStaticChars("collator"); in UnpackCollator()
949 isolate->factory()->NewStringFromStaticChars("breakIterator"); in UnpackBreakIterator()