Home
last modified time | relevance | path

Searched refs:ToHandleChecked (Results 1 – 25 of 48) sorted by relevance

12

/external/v8/test/cctest/
Dtest-strings.cc168 Vector<const uc16>(buf, len)).ToHandleChecked(); in InitializeBuildingBlocks()
180 Vector<const char>(buf, len)).ToHandleChecked(); in InitializeBuildingBlocks()
441 Handle<String> root = factory->NewConsString(left, right).ToHandleChecked(); in ConstructRandomString()
462 factory->NewConsString(answer, block).ToHandleChecked(); in ConstructLeft()
481 factory->NewConsString(block, answer).ToHandleChecked(); in ConstructRight()
505 .ToHandleChecked(); in ConstructBalancedHelper()
513 return factory->NewConsString(part1, part2).ToHandleChecked(); in ConstructBalancedHelper()
708 .ToHandleChecked(); in BuildEdgeCaseConsString()
718 .ToHandleChecked(); in BuildEdgeCaseConsString()
733 .ToHandleChecked(); in BuildEdgeCaseConsString()
[all …]
Dtest-heap.cc68 *Execution::ToString(isolate, handle).ToHandleChecked(); in CheckOddball()
76 *Execution::ToString(isolate, handle).ToHandleChecked(); in CheckSmi()
85 Execution::ToString(isolate, number).ToHandleChecked(); in CheckNumber()
255 *Object::GetProperty(obj, prop_name).ToHandleChecked()); in TEST()
257 *Object::GetProperty(obj, prop_namex).ToHandleChecked()); in TEST()
268 Object::GetProperty(global, name).ToHandleChecked(); in TEST()
287 Object::GetProperty(global, obj_name).ToHandleChecked(); in TEST()
290 *Object::GetProperty(obj, prop_name).ToHandleChecked()); in TEST()
297 CStrVector(string)).ToHandleChecked(); in VerifyStringAllocation()
616 *Object::GetProperty(obj, prop_name).ToHandleChecked()); in TEST()
[all …]
Dtest-serialize.cc684 .ToHandleChecked(); in TEST()
687 .ToHandleChecked(); in TEST()
717 Execution::Call(isolate, copy_fun, global, 0, NULL).ToHandleChecked(); in TEST()
738 .ToHandleChecked(); in TEST()
741 .ToHandleChecked(); in TEST()
756 Execution::Call(isolate, orig_fun, global, 0, NULL).ToHandleChecked(); in TEST()
777 Execution::Call(isolate, copy_fun, global, 0, NULL).ToHandleChecked(); in TEST()
Dtest-compiler.cc43 isolate, isolate->global_object(), name).ToHandleChecked(); in GetGlobalProperty()
61 CStrVector(source)).ToHandleChecked(); in Compile()
233 isolate->global_object(), foo_string).ToHandleChecked(); in TEST()
Dtest-mementos.cc43 isolate->factory()->NewRawOneByteString(12).ToHandleChecked(); in SetUpNewSpaceWithPoisonedMementoAtTop()
Dtest-mark-compact.cc174 Object::GetProperty(global, func_name).ToHandleChecked(); in TEST()
194 Object::GetProperty(global, obj_name).ToHandleChecked(); in TEST()
197 CHECK_EQ(*Object::GetProperty(object, prop_name).ToHandleChecked(), in TEST()
Dtest-regexp.cc509 NewStringFromUtf8(CStrVector(input)).ToHandleChecked(); in Compile()
511 isolate->factory()->NewStringFromUtf8(CStrVector("")).ToHandleChecked(); in Compile()
870 Vector<const uc16>(input_data, 6)).ToHandleChecked(); in TEST()
891 Vector<const uc16>(input_data2, 9)).ToHandleChecked(); in TEST()
1025 Vector<const uc16>(input_data, 6)).ToHandleChecked(); in TEST()
1398 Vector<const uc16>(str1, 6)).ToHandleChecked(); in TEST()
1409 Vector<const uc16>(str2, 6)).ToHandleChecked(); in TEST()
Dtest-object-observe.cc369 i_isolate, observation_state, "callbackInfoMap").ToHandleChecked()); in TEST()
372 i_isolate, observation_state, "objectInfoMap").ToHandleChecked()); in TEST()
376 .ToHandleChecked()); in TEST()
/external/v8/test/cctest/compiler/
Dtest-js-context-specialization.cc293 CHECK(T.Call(T.Val(0.0), T.Val(0.0)).ToHandleChecked()->IsUndefined()); in TEST()
294 CHECK(T.Call(T.Val(2.0), T.Val(0.0)).ToHandleChecked()->IsUndefined()); in TEST()
295 CHECK(T.Call(T.Val(-2.1), T.Val(0.0)).ToHandleChecked()->IsUndefined()); in TEST()
303 CHECK(T.Call(T.Val(0.0), T.Val(0.0)).ToHandleChecked()->IsNaN()); in TEST()
304 CHECK(T.Call(T.Val(2.0), T.Val(0.0)).ToHandleChecked()->IsNaN()); in TEST()
305 CHECK(T.Call(T.Val(-2.1), T.Val(0.0)).ToHandleChecked()->IsNaN()); in TEST()
Dgraph-builder-tester.cc44 return code_.ToHandleChecked()->entry(); in Generate()
Dtest-linkage.cc34 .ToHandleChecked(); in Compile()
/external/v8/src/
Djson-stringifier.h246 Object::ToObject(isolate, factory_->empty_string()).ToHandleChecked()); in BasicJsonStringifier()
248 current_part_ = factory_->NewRawOneByteString(part_length_).ToHandleChecked(); in BasicJsonStringifier()
286 worst_case_length).ToHandleChecked(); in StringifyString()
294 worst_case_length).ToHandleChecked(); in StringifyString()
465 isolate_, builtins, "JSONSerializeAdapter").ToHandleChecked()); in SerializeGeneric()
724 current_part_).ToHandleChecked()); in Accumulate()
736 factory_->NewRawOneByteString(part_length_).ToHandleChecked(); in Extend()
739 factory_->NewRawTwoByteString(part_length_).ToHandleChecked(); in Extend()
750 factory_->NewRawTwoByteString(part_length_).ToHandleChecked(); in ChangeEncoding()
Di18n.cc38 Handle<Object> object = Object::GetProperty(options, str).ToHandleChecked(); in ExtractStringSetting()
54 Handle<Object> object = Object::GetProperty(options, str).ToHandleChecked(); in ExtractIntegerSetting()
68 Handle<Object> object = Object::GetProperty(options, str).ToHandleChecked(); in ExtractBooleanSetting()
138 pattern.length())).ToHandleChecked(), in SetResolvedDateSettings()
166 canonical_time_zone.length())).ToHandleChecked(), in SetResolvedDateSettings()
343 pattern.length())).ToHandleChecked(), in SetResolvedNumberSettings()
354 currency.length())).ToHandleChecked(), in SetResolvedNumberSettings()
Dliveedit.h261 isolate(), array_, field_position).ToHandleChecked(); in GetField()
352 kSharedInfoOffset_).ToHandleChecked()); in IsInstance()
Duri.h112 unescaped_length).ToHandleChecked(); in UnescapeSlow()
124 unescaped_length).ToHandleChecked(); in UnescapeSlow()
Dfactory.cc410 Handle<SeqTwoByteString> result = NewRawTwoByteString(1).ToHandleChecked(); in LookupSingleCharacterStringFromCode()
443 isolate->factory()->NewRawOneByteString(2).ToHandleChecked(); in MakeOrFindTwoCharacterString()
450 isolate->factory()->NewRawTwoByteString(2).ToHandleChecked(); in MakeOrFindTwoCharacterString()
517 NewRawOneByteString(length).ToHandleChecked(); in NewConsString()
536 NewRawOneByteString(length).ToHandleChecked(), left, right) in NewConsString()
538 NewRawTwoByteString(length).ToHandleChecked(), left, right); in NewConsString()
584 NewRawOneByteString(length).ToHandleChecked(); in NewProperSubString()
591 NewRawTwoByteString(length).ToHandleChecked(); in NewProperSubString()
1155 Object::GetElement(isolate(), args, i).ToHandleChecked()); in EmergencyNewError()
1169 return NewStringFromUtf8(CStrVector(buffer), TENURED).ToHandleChecked(); in EmergencyNewError()
[all …]
Dliveedit.cc724 isolate(), result_, current_parent_index_).ToHandleChecked()); in FunctionDone()
734 isolate(), result_, current_parent_index_).ToHandleChecked()); in FunctionCode()
749 isolate(), result_, current_parent_index_).ToHandleChecked()); in FunctionInfo()
916 *Object::GetElement(isolate, array, i).ToHandleChecked())); in WrapSharedFunctionInfos()
1271 isolate, position_change_array, i).ToHandleChecked(); in TranslatePosition()
1278 isolate, position_change_array, i + 1).ToHandleChecked(); in TranslatePosition()
1284 isolate, position_change_array, i + 2).ToHandleChecked(); in TranslatePosition()
1532 Object::GetElement(isolate, shared_info_array, i).ToHandleChecked(); in CheckActivation()
1881 Object::GetElement(isolate, result, i).ToHandleChecked(); in DropActivationsInActiveThread()
Ddebug.cc740 factory->NewStringFromAscii(name).ToHandleChecked(); in CompileDebuggerScript()
1041 debug_global, is_break_point_triggered_string).ToHandleChecked()); in CheckBreakPoint()
1271 Execution::Call(isolate_, fun, promise, 0, NULL).ToHandleChecked(); in PromiseHasRejectHandler()
1885 if (!code.is_null()) function->ReplaceCode(*code.ToHandleChecked()); in EnsureFunctionHasDebugBreakSlots()
2441 isolate_, global, constructor_name).ToHandleChecked(); in MakeJSObject()
2642 debug_global, update_script_break_points_string).ToHandleChecked(); in OnAfterCompile()
2842 isolate_, exec_state, "debugCommandProcessor").ToHandleChecked(); in NotifyMessageHandler()
2845 isolate_, cmd_processor_ctor, exec_state, 1, ctor_args).ToHandleChecked(); in NotifyMessageHandler()
2848 isolate_, cmd_processor, "processDebugRequest").ToHandleChecked()); in NotifyMessageHandler()
2850 isolate_, cmd_processor, "isRunning").ToHandleChecked(); in NotifyMessageHandler()
[all …]
Dast-value-factory.cc136 .ToHandleChecked(); in Internalize()
189 symbol_name_).ToHandleChecked(); in Internalize()
Dbootstrapper.cc59 .ToHandleChecked(); in NativesSourceLookup()
791 Handle<Object> value = JSReceiver::GetProperty(&it).ToHandleChecked(); in CreateNewGlobals()
1434 factory->NewStringFromUtf8(name).ToHandleChecked(); in CompileScriptCached()
1476 .ToHandleChecked()); in ResolveBuiltinIdHolder()
1485 Object::GetProperty(global, property_string).ToHandleChecked()); in ResolveBuiltinIdHolder()
1493 Object::GetProperty(object, inner_string).ToHandleChecked(); in ResolveBuiltinIdHolder()
1503 .ToHandleChecked(); \
1968 handle(native_context()->global_object()), key).ToHandleChecked()); in InstallNatives()
2126 Object::GetProperty(isolate, holder, function_name).ToHandleChecked(); in InstallBuiltinFunctionId()
2217 Object::GetProperty(isolate, global, "Error").ToHandleChecked()); in InstallSpecialObjects()
[all …]
Djson-parser.h597 return factory->NewRawTwoByteString(length, pretenure).ToHandleChecked(); in NewRawString()
604 return factory->NewRawOneByteString(length, pretenure).ToHandleChecked(); in NewRawString()
808 factory()->NewRawOneByteString(length, pretenure_).ToHandleChecked(); in ScanJsonString()
Dbootstrapper.h51 factory->NewStringFromAscii(name, TENURED).ToHandleChecked(); in Add()
Dmessages.cc135 isolate->js_builtins_object(), fmt_str).ToHandleChecked()); in GetMessage()
Dhandles.h50 INLINE(Handle<T> ToHandleChecked()) const { in INLINE() argument
/external/v8/tools/
Dlexer-shell.cc71 length / 2)).ToHandleChecked(); in BaselineScanner()
78 Vector<const uint8_t>(source_, length)).ToHandleChecked(); in BaselineScanner()

12