Home
last modified time | relevance | path

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

123

/external/v8/src/handles/
Dmaybe-handles-inl.h88 return HeapObjectReference::Weak(*handle_.ToHandleChecked());
90 return MaybeObject::FromObject(*handle_.ToHandleChecked());
96 return HeapObjectReference::Weak(*handle_.ToHandleChecked());
98 return MaybeObject::FromObject(*handle_.ToHandleChecked());
103 return handle_.ToHandleChecked(); in object()
Dmaybe-handles.h53 V8_INLINE Handle<T> ToHandleChecked() const { in ToHandleChecked() function
/external/v8/src/objects/
Djs-regexp.cc23 .ToHandleChecked()); in GetAndCacheIndices()
37 .ToHandleChecked()); in GetAndCacheIndices()
43 .ToHandleChecked()); in GetAndCacheIndices()
60 .ToHandleChecked()); in GetAndCacheIndices()
69 .ToHandleChecked(); in GetAndCacheIndices()
73 .ToHandleChecked(); in GetAndCacheIndices()
77 .ToHandleChecked(); in GetAndCacheIndices()
81 .ToHandleChecked(); in GetAndCacheIndices()
Dbigint.cc68 New(isolate, 0, allocation).ToHandleChecked()); in Zero()
363 Handle<MutableBigInt> result = New(isolate, length).ToHandleChecked(); in Copy()
602 remainder = MutableBigInt::New(isolate, 1).ToHandleChecked(); in Remainder()
752 AbsoluteSubOne(isolate, x, result_length).ToHandleChecked(); in BitwiseXor()
785 AbsoluteSubOne(isolate, x, result_length).ToHandleChecked(); in BitwiseOr()
795 AbsoluteSubOne(isolate, y, result_length).ToHandleChecked(); in BitwiseOr()
1239 Handle<MutableBigInt> result = New(isolate, x->length()).ToHandleChecked(); in AbsoluteSub()
1315 return AbsoluteSubOne(isolate, x, x->length()).ToHandleChecked(); in AbsoluteSubOne()
1378 result = New(isolate, result_length).ToHandleChecked(); in AbsoluteBitwiseOp()
1558 *quotient = New(isolate, length).ToHandleChecked(); in AbsoluteDivSmall()
[all …]
Dsource-text-module.cc674 .ToHandleChecked(); in EvaluateMaybeAsync()
804 .ToHandleChecked(); in AsyncModuleExecutionFulfilled()
889 .ToHandleChecked(); in ExecuteAsyncModule()
900 .ToHandleChecked(); in ExecuteAsyncModule()
907 .ToHandleChecked(); in ExecuteAsyncModule()
913 InnerExecuteAsyncModule(isolate, module, capability).ToHandleChecked(); in ExecuteAsyncModule()
Djs-array-buffer.cc27 Handle<String> str = Object::ToString(isolate, result).ToHandleChecked(); in CanonicalNumericIndexString()
Dordered-hash-table.cc98 return Derived::Rehash(isolate, table, capacity / 2).ToHandleChecked(); in Shrink()
111 Allocate(isolate, kInitialCapacity, allocation_type).ToHandleChecked(); in Clear()
1228 if (!new_map.is_null()) return new_map.ToHandleChecked(); in Add()
1252 if (!new_set.is_null()) return new_set.ToHandleChecked(); in Add()
1276 if (!new_dict.is_null()) return new_dict.ToHandleChecked(); in Add()
/external/v8/src/strings/
Dstring-builder.cc241 factory()->NewRawOneByteString(part_length_).ToHandleChecked(); in IncrementalStringBuilder()
256 factory()->NewConsString(accumulator(), new_part).ToHandleChecked(); in Accumulate()
269 new_part = factory()->NewRawOneByteString(part_length_).ToHandleChecked(); in Extend()
271 new_part = factory()->NewRawTwoByteString(part_length_).ToHandleChecked(); in Extend()
Duri.cc371 .ToHandleChecked(); in UnescapeSlow()
384 .ToHandleChecked(); in UnescapeSlow()
/external/v8/src/wasm/
Dsync-streaming-decoder.cc55 Handle<WasmModuleObject> module = module_object.ToHandleChecked(); in Finish()
71 Handle<WasmModuleObject> module = module_object.ToHandleChecked(); in Finish()
Dmodule-instantiate.cc37 return static_cast<byte*>(buffer.ToHandleChecked()->backing_store()) + offset; in raw_buffer_ptr()
494 Handle<JSArrayBuffer> memory = memory_buffer_.ToHandleChecked(); in Build()
796 isolate_, ffi_.ToHandleChecked(), module_name); in LookupImport()
801 Handle<Object> module = result.ToHandleChecked(); in LookupImport()
834 LookupIterator it(isolate_, ffi_.ToHandleChecked(), key); in LookupImportAsm()
1000 Handle<Object> value = result.ToHandleChecked(); in SanitizeImports()
1142 maybe_target_instance.ToHandleChecked(); in InitializeImportedIndirectFunctionTable()
1240 DCHECK_EQ(*memory_buffer_.ToHandleChecked(), *buffer); in ProcessImportedMemory()
1378 value = Object::ToInt32(isolate_, value).ToHandleChecked(); in ProcessImportedGlobal()
1380 value = Object::ToNumber(isolate_, value).ToHandleChecked(); in ProcessImportedGlobal()
[all …]
Dwasm-js.cc403 *maybe_imports.ToHandleChecked())) { in AsyncInstantiateCompileResultResolver()
408 maybe_imports_.ToHandleChecked().location(), kGlobalImportsHandle); in AsyncInstantiateCompileResultResolver()
415 i::GlobalHandles::Destroy(maybe_imports_.ToHandleChecked().location()); in ~AsyncInstantiateCompileResultResolver()
697 return_value.Set(Utils::ToLocal(module_obj.ToHandleChecked())); in WebAssemblyModule()
709 auto imports = i::wasm::GetImports(i_isolate, maybe_module.ToHandleChecked()); in WebAssemblyModuleImports()
722 auto exports = i::wasm::GetExports(i_isolate, maybe_module.ToHandleChecked()); in WebAssemblyModuleExports()
748 i::wasm::GetCustomSections(i_isolate, maybe_module.ToHandleChecked(), in WebAssemblyModuleCustomSections()
782 return Utils::ToLocal(instance_object.ToHandleChecked()); in WebAssemblyInstantiateImpl()
1711 i::Handle<i::WasmTableObject> table = maybe_table.ToHandleChecked(); in WebAssemblyTableType()
1799 i::Handle<i::WasmMemoryObject> memory = maybe_memory.ToHandleChecked(); in WebAssemblyMemoryType()
[all …]
Dwasm-engine.cc568 resolver->OnInstantiationSucceeded(instance_object.ToHandleChecked()); in AsyncInstantiate()
610 Handle<WasmModuleObject> module = module_object.ToHandleChecked(); in AsyncCompile()
753 .ToHandleChecked();
759 .ToHandleChecked();
767 .ToHandleChecked();
779 script->set_source_url(*url_str.ToHandleChecked());
789 script->set_source_mapping_url(*src_map_str.ToHandleChecked());
Dwasm-result.cc131 .ToHandleChecked(); in Reify()
/external/v8/src/builtins/
Dbuiltins-string.cc31 if (Object::ToInteger(isolate, value).ToHandleChecked()->Number() != in IsValidCodePoint()
356 isolate->factory()->NewRawOneByteString(length).ToHandleChecked(); in ConvertCase()
372 result = isolate->factory()->NewRawOneByteString(length).ToHandleChecked(); in ConvertCase()
374 result = isolate->factory()->NewRawTwoByteString(length).ToHandleChecked(); in ConvertCase()
Dbuiltins-console.cc133 .ToHandleChecked(); in InstallContextFunction()
/external/v8/src/ast/
Dast-value-factory.cc164 .ToHandleChecked(); in Allocate()
195 .ToHandleChecked(); in AllocateFlat()
214 .ToHandleChecked(); in AllocateFlat()
/external/v8/src/asmjs/
Dasm-js.cc272 .ToHandleChecked(); in FinalizeJobImpl()
404 Handle<WasmInstanceObject> instance = maybe_instance.ToHandleChecked(); in InstantiateAsmWasm()
414 !single_function.ToHandleChecked()->IsUndefined(isolate)) { in InstantiateAsmWasm()
/external/v8/src/runtime/
Druntime-compiler.cc178 if (!result.is_null()) return *result.ToHandleChecked(); in RUNTIME_FUNCTION()
422 source.ToHandleChecked(), outer_info, context, language_mode, in CompileGlobalEval()
/external/v8/src/parsing/
Dpending-compilation-error-handler.cc65 .ToHandleChecked(); in ArgumentString()
/external/v8/src/codegen/
Dstring-constants.cc43 result = isolate->factory()->NewConsString(lhs, rhs).ToHandleChecked(); in AllocateStringConstant()
/external/v8/src/execution/
Dmessages.cc316 return FormatEvalOrigin(isolate_, GetScript()).ToHandleChecked(); in GetEvalOrigin()
783 builder->AppendString(err_str.ToHandleChecked()); in AppendErrorString()
787 builder->AppendString(err_str.ToHandleChecked()); in AppendErrorString()
910 builder.AppendString(exception_string.ToHandleChecked()); in FormatStackTrace()
1203 .ToHandleChecked(); in MakeGenericError()
1264 return builder.Finish().ToHandleChecked(); in BuildDefaultCallSite()
/external/v8/src/heap/
Dfactory.cc243 return BuildInternal(true).ToHandleChecked(); in Build()
525 .ToHandleChecked(); in NewOrderedHashSet()
531 .ToHandleChecked(); in NewOrderedHashMap()
537 .ToHandleChecked(); in NewOrderedNameDictionary()
822 Handle<Map> map = GetInternalizedStringMap(this, string).ToHandleChecked(); in InternalizeExternalString()
863 isolate()->factory()->NewRawTwoByteString(2).ToHandleChecked(); in NewSurrogatePairString()
897 NewRawOneByteString(length).ToHandleChecked(); in NewProperSubString()
904 NewRawTwoByteString(length).ToHandleChecked(); in NewProperSubString()
1786 .ToHandleChecked(); in NewError()
3580 return maybe_map_.ToHandleChecked(); in GetMap()
[all …]
/external/v8/src/compiler/
Djs-heap-copy-reducer.cc57 state_info.shared_info().ToHandleChecked()); in Reduce()
/external/v8/src/init/
Dbootstrapper.cc105 .ToHandleChecked(); in Add()
494 .ToHandleChecked(); in SimpleInstallGetterSetter()
500 .ToHandleChecked(); in SimpleInstallGetterSetter()
520 .ToHandleChecked(); in SimpleInstallGetter()
1232 Handle<Object> value = Object::GetProperty(&it).ToHandleChecked(); in CreateNewGlobals()
3503 .ToHandleChecked(); in InitializeGlobal()
3514 .ToHandleChecked(); in InitializeGlobal()
3869 .ToHandleChecked(); in CompileExtension()
3881 factory->NewStringFromUtf8(name).ToHandleChecked(); in CompileExtension()
4328 .ToHandleChecked()); in InitializeGlobal_harmony_intl_segmenter()
[all …]

123