Home
last modified time | relevance | path

Searched refs:template_index (Results 1 – 8 of 8) sorted by relevance

/external/v8/src/builtins/
Dbuiltins-error.cc88 Handle<Object> template_index = args.atOrUndefined(isolate, 1); in MakeGenericError() local
93 DCHECK(template_index->IsSmi()); in MakeGenericError()
97 Smi::cast(*template_index)->value(), in MakeGenericError()
127 const int template_index = MessageTemplate::kURIMalformed; in BUILTIN() local
130 ErrorUtils::MakeGenericError(isolate, constructor, template_index, in BUILTIN()
/external/v8/src/runtime/
Druntime-internal.cc200 CONVERT_INT32_ARG_CHECKED(template_index, 0); in RUNTIME_FUNCTION()
203 static_cast<MessageTemplate::Template>(template_index); in RUNTIME_FUNCTION()
211 CONVERT_INT32_ARG_CHECKED(template_index, 0); in RUNTIME_FUNCTION()
214 static_cast<MessageTemplate::Template>(template_index); in RUNTIME_FUNCTION()
222 CONVERT_INT32_ARG_CHECKED(template_index, 0); in RUNTIME_FUNCTION()
225 static_cast<MessageTemplate::Template>(template_index); in RUNTIME_FUNCTION()
/external/v8/src/
Dmessages.cc959 int template_index, in FormatMessage() argument
964 template_index, result_string, factory->empty_string(), in FormatMessage()
978 const char* MessageTemplate::TemplateString(int template_index) { in TemplateString() argument
979 switch (template_index) { in TemplateString()
992 MaybeHandle<String> MessageTemplate::FormatMessage(int template_index, in FormatMessage() argument
997 const char* template_string = TemplateString(template_index); in FormatMessage()
1151 Handle<String> FormatMessage(Isolate* isolate, int template_index, in FormatMessage() argument
1161 if (!MessageTemplate::FormatMessage(template_index, arg0_str, arg1_str, in FormatMessage()
1176 Isolate* isolate, Handle<JSFunction> constructor, int template_index, in MakeGenericError() argument
1190 Handle<String> msg = FormatMessage(isolate, template_index, arg0, arg1, arg2); in MakeGenericError()
Dmessages.h226 Isolate* isolate, Handle<JSFunction> constructor, int template_index,
676 static const char* TemplateString(int template_index);
678 static MaybeHandle<String> FormatMessage(int template_index,
683 static Handle<String> FormatMessage(Isolate* isolate, int template_index,
Dvalue-serializer.h132 void ThrowDataCloneError(MessageTemplate::Template template_index);
133 V8_NOINLINE void ThrowDataCloneError(MessageTemplate::Template template_index,
Dfactory.h631 MessageTemplate::Template template_index,
637 Handle<Object> New##NAME(MessageTemplate::Template template_index, \
Dvalue-serializer.cc845 MessageTemplate::Template template_index) { in ThrowDataCloneError() argument
846 return ThrowDataCloneError(template_index, in ThrowDataCloneError()
851 MessageTemplate::Template template_index, Handle<Object> arg0) { in ThrowDataCloneError() argument
853 MessageTemplate::FormatMessage(isolate_, template_index, arg0); in ThrowDataCloneError()
Dfactory.cc1290 MessageTemplate::Template template_index, in SIMD128_TYPES()
1297 MessageTemplate::TemplateString(template_index))); in SIMD128_TYPES()
1305 if (!ErrorUtils::MakeGenericError(isolate(), constructor, template_index, in SIMD128_TYPES()
1346 Handle<Object> Factory::New##NAME(MessageTemplate::Template template_index, \
1349 return NewError(isolate()->name##_function(), template_index, arg0, arg1, \