Searched refs:cooked_strings (Results 1 – 8 of 8) sorted by relevance
/external/v8/src/objects/ |
D | template-objects.cc | 24 Handle<FixedArray> cooked_strings(description->cooked_strings(), isolate); in CreateTemplateObject() local 26 cooked_strings, PACKED_ELEMENTS, cooked_strings->length(), TENURED); in CreateTemplateObject()
|
D | template-objects.h | 24 DECL_ACCESSORS(cooked_strings, FixedArray)
|
/external/v8/src/ast/ |
D | ast.cc | 720 if (this->cooked_strings()->at(i) == nullptr || in GetOrBuildDescription() 722 *this->cooked_strings()->at(i)->string()) { in GetOrBuildDescription() 727 Handle<FixedArray> cooked_strings = raw_strings; in GetOrBuildDescription() local 729 cooked_strings = isolate->factory()->NewFixedArray( in GetOrBuildDescription() 730 this->cooked_strings()->length(), TENURED); in GetOrBuildDescription() 731 for (int i = 0; i < cooked_strings->length(); ++i) { in GetOrBuildDescription() 732 if (this->cooked_strings()->at(i) != nullptr) { in GetOrBuildDescription() 733 cooked_strings->set(i, *this->cooked_strings()->at(i)->string()); in GetOrBuildDescription() 735 cooked_strings->set(i, ReadOnlyRoots(isolate).undefined_value()); in GetOrBuildDescription() 740 cooked_strings); in GetOrBuildDescription()
|
D | ast.h | 2690 const ZonePtrList<const AstRawString>* cooked_strings() const { in cooked_strings() function 2702 GetTemplateObject(const ZonePtrList<const AstRawString>* cooked_strings, in GetTemplateObject() argument 2705 cooked_strings_(cooked_strings), in GetTemplateObject() 3312 const ZonePtrList<const AstRawString>* cooked_strings, in NewGetTemplateObject() argument 3314 return new (zone_) GetTemplateObject(cooked_strings, raw_strings, pos); in NewGetTemplateObject()
|
/external/v8/src/parsing/ |
D | parser.cc | 3504 const ZonePtrList<const AstRawString>* cooked_strings = lit->cooked(); in CloseTemplateLiteral() local 3507 DCHECK_EQ(cooked_strings->length(), raw_strings->length()); in CloseTemplateLiteral() 3508 DCHECK_EQ(cooked_strings->length(), expressions->length() + 1); in CloseTemplateLiteral() 3511 if (cooked_strings->length() == 1) { in CloseTemplateLiteral() 3512 return factory()->NewStringLiteral(cooked_strings->first(), pos); in CloseTemplateLiteral() 3514 return factory()->NewTemplateLiteral(cooked_strings, expressions, pos); in CloseTemplateLiteral() 3518 factory()->NewGetTemplateObject(cooked_strings, raw_strings, pos); in CloseTemplateLiteral()
|
/external/v8/src/heap/ |
D | factory.h | 207 Handle<FixedArray> raw_strings, Handle<FixedArray> cooked_strings);
|
D | factory.cc | 253 Handle<FixedArray> raw_strings, Handle<FixedArray> cooked_strings) { in NewTemplateObjectDescription() argument 254 DCHECK_EQ(raw_strings->length(), cooked_strings->length()); in NewTemplateObjectDescription() 259 result->set_cooked_strings(*cooked_strings); in NewTemplateObjectDescription()
|
/external/v8/src/ |
D | objects-inl.h | 2219 ACCESSORS(TemplateObjectDescription, cooked_strings, FixedArray, in ACCESSORS()
|