Lines Matching refs:Factory
11 #include "src/factory.h"
39 factory_(isolate_->factory()),
182 inline Factory* factory() { return factory_; }
201 Factory* factory_;
218 Factory* factory = this->factory();
244 argument = factory->LookupSingleCharacterStringFromCode(c0_);
248 Handle<Script> script(factory->NewScript(source_));
253 Handle<Object> error = factory->NewSyntaxError(message, argument);
283 return factory()->false_value();
291 return factory()->true_value();
299 return factory()->null_value();
348 factory()->NewJSObject(object_constructor(), pretenure_);
530 factory()->NewFixedArray(elements.length(), pretenure_);
534 Handle<Object> json_array = factory()->NewJSArrayWithElements(
601 return factory()->NewNumber(number, pretenure_);
619 inline Handle<StringType> NewRawString(Factory* factory,
624 inline Handle<SeqTwoByteString> NewRawString(Factory* factory,
627 return factory->NewRawTwoByteString(length, pretenure).ToHandleChecked();
631 inline Handle<SeqOneByteString> NewRawString(Factory* factory,
634 return factory->NewRawOneByteString(length, pretenure).ToHandleChecked();
649 NewRawString<StringType>(factory(), length, pretenure_);
744 return factory()->empty_string();
785 result = factory()->InternalizeOneByteString(
829 factory()->NewRawOneByteString(length, pretenure_).ToHandleChecked();