Home
last modified time | relevance | path

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

123

/external/v8/src/
Dmaybe-handles-inl.h61 return HeapObjectReference::Weak(*handle_.ToHandleChecked());
63 return MaybeObject::FromObject(*handle_.ToHandleChecked());
69 return HeapObjectReference::Weak(*handle_.ToHandleChecked());
71 return MaybeObject::FromObject(*handle_.ToHandleChecked());
76 return handle_.ToHandleChecked(); in object()
Dstring-builder.cc242 factory()->NewRawOneByteString(part_length_).ToHandleChecked(); in IncrementalStringBuilder()
257 factory()->NewConsString(accumulator(), new_part).ToHandleChecked(); in Accumulate()
271 new_part = factory()->NewRawOneByteString(part_length_).ToHandleChecked(); in Extend()
273 new_part = factory()->NewRawTwoByteString(part_length_).ToHandleChecked(); in Extend()
Dmessages.cc288 return FormatEvalOrigin(isolate_, GetScript()).ToHandleChecked(); in GetEvalOrigin()
689 builder.AppendString(function_name.ToHandleChecked()); in ToString()
691 builder.AppendString(module_name.ToHandleChecked()); in ToString()
694 builder.AppendString(function_name.ToHandleChecked()); in ToString()
912 builder->AppendString(err_str.ToHandleChecked()); in AppendErrorString()
916 builder->AppendString(err_str.ToHandleChecked()); in AppendErrorString()
1015 builder.AppendString(maybe_frame_string.ToHandleChecked()); in FormatStackTrace()
1020 builder.AppendString(maybe_frame_string.ToHandleChecked()); in FormatStackTrace()
Dintl.cc275 isolate->factory()->NewRawOneByteString(length).ToHandleChecked(); in ConvertToLower()
284 isolate->factory()->NewRawOneByteString(length).ToHandleChecked(); in ConvertToUpper()
Dmaybe-handles.h47 V8_INLINE Handle<T> ToHandleChecked() const { in ToHandleChecked() function
Dpending-compilation-error-handler.cc23 .ToHandleChecked(); in ArgumentString()
Dbootstrapper.cc75 .ToHandleChecked(); in Add()
406 Name::ToFunctionName(isolate, name).ToHandleChecked(); in InstallFunction()
444 Name::ToFunctionName(isolate, name).ToHandleChecked(); in InstallFunction()
540 .ToHandleChecked(); in SimpleInstallGetterSetter()
546 .ToHandleChecked(); in SimpleInstallGetterSetter()
558 .ToHandleChecked(); in SimpleInstallGetter()
1256 Handle<Object> value = Object::GetProperty(&it).ToHandleChecked(); in CreateNewGlobals()
3820 isolate->factory()->NewStringFromUtf8(name).ToHandleChecked(); in CompileNative()
3874 .ToHandleChecked(); in CompileExtension()
3886 factory->NewStringFromUtf8(name).ToHandleChecked(); in CompileExtension()
[all …]
Duri.cc366 .ToHandleChecked(); in UnescapeSlow()
379 .ToHandleChecked(); in UnescapeSlow()
Djson-parser.cc710 return factory->NewRawTwoByteString(length, pretenure).ToHandleChecked(); in NewRawString()
716 return factory->NewRawOneByteString(length, pretenure).ToHandleChecked(); in NewRawString()
933 factory()->NewRawOneByteString(length, pretenure_).ToHandleChecked(); in ScanJsonString()
/external/v8/src/wasm/
Dwasm-module.cc177 import_module.ToHandleChecked(), NONE); in GetImports()
179 import_name.ToHandleChecked(), NONE); in GetImports()
240 export_name.ToHandleChecked(), NONE); in GetExports()
267 if (!name->Equals(*section_name.ToHandleChecked())) continue; in GetCustomSections()
316 .ToHandleChecked(); in DecodeLocalNames()
Dmodule-compiler.cc197 .ToHandleChecked(); in GetOrCompileJSToWasmWrapper()
424 return static_cast<byte*>(buffer.ToHandleChecked()->backing_store()) + offset; in raw_buffer_ptr()
992 Handle<JSArrayBuffer> memory = memory_.ToHandleChecked(); in Build()
1016 memory_.ToHandleChecked()->backing_store())) { in Build()
1129 Handle<JSArrayBuffer> memory = memory_.ToHandleChecked(); in Build()
1254 isolate_, ffi_.ToHandleChecked(), module_name); in LookupImport()
1259 Handle<Object> module = result.ToHandleChecked(); in LookupImport()
1292 isolate_, ffi_.ToHandleChecked(), import_name); in LookupImportAsm()
1441 Handle<Object> value = result.ToHandleChecked(); in SanitizeImports()
1520 .ToHandleChecked(); in ProcessImports()
[all …]
Dwasm-js.cc305 .ToHandleChecked(); in OnInstantiationSucceeded()
313 .ToHandleChecked(); in OnInstantiationSucceeded()
350 *maybe_imports.ToHandleChecked())) {} in AsyncInstantiateCompileResultResolver()
356 i::Handle<i::Object>::cast(maybe_imports_.ToHandleChecked()) in ~AsyncInstantiateCompileResultResolver()
557 return_value.Set(Utils::ToLocal(module_obj.ToHandleChecked())); in WebAssemblyModule()
569 auto imports = i::wasm::GetImports(i_isolate, maybe_module.ToHandleChecked()); in WebAssemblyModuleImports()
582 auto exports = i::wasm::GetExports(i_isolate, maybe_module.ToHandleChecked()); in WebAssemblyModuleExports()
603 i::wasm::GetCustomSections(i_isolate, maybe_module.ToHandleChecked(), in WebAssemblyModuleCustomSections()
637 return Utils::ToLocal(instance_object.ToHandleChecked()); in WebAssemblyInstantiateImpl()
1405 ApiNatives::InstantiateFunction(temp, name).ToHandleChecked(); in CreateFunc()
[all …]
Dwasm-engine.cc96 resolver->OnInstantiationSucceeded(instance_object.ToHandleChecked()); in AsyncInstantiate()
137 Handle<WasmModuleObject> module = module_object.ToHandleChecked(); in AsyncCompile()
Dwasm-debug.cc43 : isolate->factory()->NewStringFromOneByte(name).ToHandleChecked(); in PrintFToOneByteString()
461 locals_obj, name.ToHandleChecked(), value_obj, NONE) in GetLocalScopeObject()
635 new_code.ToHandleChecked(), func_index); in RedirectToInterpreter()
725 compiler::CompileCWasmEntry(isolate, sig).ToHandleChecked(); in GetCWasmEntry()
Dwasm-result.cc138 isolate_->factory()->NewStringFromUtf8(msg_vec).ToHandleChecked(); in Reify()
/external/v8/src/objects/
Dbigint.cc56 return MakeImmutable(New(isolate, 0)).ToHandleChecked(); in Zero()
312 Handle<MutableBigInt> result = New(isolate, length).ToHandleChecked(); in Copy()
524 remainder = MutableBigInt::New(isolate, 1).ToHandleChecked(); in Remainder()
673 AbsoluteSubOne(isolate, x, result_length).ToHandleChecked(); in BitwiseXor()
706 AbsoluteSubOne(isolate, x, result_length).ToHandleChecked(); in BitwiseOr()
716 AbsoluteSubOne(isolate, y, result_length).ToHandleChecked(); in BitwiseOr()
1141 Handle<MutableBigInt> result = New(isolate, x->length()).ToHandleChecked(); in AbsoluteSub()
1210 return AbsoluteSubOne(isolate, x, x->length()).ToHandleChecked(); in AbsoluteSubOne()
1273 result = New(isolate, result_length).ToHandleChecked(); in AbsoluteBitwiseOp()
1446 *quotient = New(isolate, length).ToHandleChecked(); in AbsoluteDivSmall()
[all …]
Dintl-objects.cc68 JSReceiver::GetProperty(isolate, options, str).ToHandleChecked(); in ExtractStringSetting()
82 JSReceiver::GetProperty(isolate, options, str).ToHandleChecked(); in ExtractIntegerSetting()
93 JSReceiver::GetProperty(isolate, options, str).ToHandleChecked(); in ExtractBooleanSetting()
180 .ToHandleChecked(), in SetResolvedDateSettings()
222 .ToHandleChecked(), in SetResolvedDateSettings()
465 .ToHandleChecked(), in SetResolvedNumberSettings()
2363 factory->NewStringFromUtf8(CStrVector(part.c_str())).ToHandleChecked(); in CreateReadOnlyArray()
Djs-array-buffer.cc24 Handle<String> str = Object::ToString(isolate, result).ToHandleChecked(); in CanonicalNumericIndexString()
/external/v8/src/builtins/
Dbuiltins-string.cc30 if (Object::ToInteger(isolate, value).ToHandleChecked()->Number() != in IsValidCodePoint()
462 isolate->factory()->NewRawOneByteString(length).ToHandleChecked(); in ConvertCase()
478 result = isolate->factory()->NewRawOneByteString(length).ToHandleChecked(); in ConvertCase()
480 result = isolate->factory()->NewRawTwoByteString(length).ToHandleChecked(); in ConvertCase()
Dbuiltins-console.cc114 .ToHandleChecked(); in InstallContextFunction()
/external/v8/src/asmjs/
Dasm-js.cc291 .ToHandleChecked(); in FinalizeJobImpl()
423 Handle<Object> module_object = maybe_module_object.ToHandleChecked(); in InstantiateAsmWasm()
433 !single_function.ToHandleChecked()->IsUndefined(isolate)) { in InstantiateAsmWasm()
/external/v8/src/snapshot/
Dobject-deserializer.cc26 CodeStub::GetCode(isolate, code_stub_keys[i]).ToHandleChecked()); in DeserializeSharedFunctionInfo()
/external/v8/src/compiler-dispatcher/
Dunoptimized-compile-job.cc185 .ToHandleChecked(); in PrepareOnMainThread()
191 .ToHandleChecked(); in PrepareOnMainThread()
/external/v8/src/heap/
Dfactory.cc927 Handle<Map> map = GetInternalizedStringMap(this, string).ToHandleChecked(); in InternalizeExternalString()
996 Handle<SeqTwoByteString> result = NewRawTwoByteString(1).ToHandleChecked(); in LookupSingleCharacterStringFromCode()
1027 isolate->factory()->NewRawOneByteString(2).ToHandleChecked(); in MakeOrFindTwoCharacterString()
1034 isolate->factory()->NewRawTwoByteString(2).ToHandleChecked(); in MakeOrFindTwoCharacterString()
1105 NewRawOneByteString(length).ToHandleChecked(); in NewConsString()
1124 NewRawOneByteString(length).ToHandleChecked(), left, right) in NewConsString()
1126 NewRawTwoByteString(length).ToHandleChecked(), left, in NewConsString()
1163 isolate()->factory()->NewRawTwoByteString(2).ToHandleChecked(); in NewSurrogatePairString()
1196 NewRawOneByteString(length).ToHandleChecked(); in NewProperSubString()
1203 NewRawTwoByteString(length).ToHandleChecked(); in NewProperSubString()
[all …]
/external/v8/src/ast/
Dast-value-factory.cc165 .ToHandleChecked(); in Internalize()

123