Home
last modified time | relevance | path

Searched refs:ToHandle (Results 1 – 25 of 74) sorted by relevance

123

/external/v8/src/
Dmaybe-handles.h54 V8_INLINE bool ToHandle(Handle<S>* out) const { in ToHandle() function
99 handle_.ToHandle(&this_handle) == in is_identical_to()
100 other.handle_.ToHandle(&other_handle) && in is_identical_to()
Dvalue-serializer.cc575 if (!Object::GetProperty(&it).ToHandle(&value)) return Nothing<bool>(); in WriteJSObject()
596 .ToHandle(&keys) || in WriteJSObjectSlow()
678 if (!Object::GetProperty(&it).ToHandle(&element) || in WriteJSArray()
705 .ToHandle(&keys) || in WriteJSArray()
954 if (!Object::GetProperty(&it).ToHandle(&value)) return Nothing<uint32_t>(); in WriteJSObjectPropertiesSlow()
1014 if (array_buffer_transfer_map_.ToHandle(&transfer_map_handle)) { in ~ValueDeserializer()
1158 if (result.ToHandle(&object) && V8_UNLIKELY(object->IsJSArrayBuffer()) && in ReadObject()
1271 if (!ReadObject().ToHandle(&object) || !object->IsString()) { in ReadString()
1332 .ToHandle(&string)) { in ReadTwoByteString()
1469 if (!ReadObject().ToHandle(&element)) return MaybeHandle<JSArray>(); in ReadDenseJSArray()
[all …]
Daccessors.cc242 .ToHandle(&result)) { in ModuleNamespaceEntryGetter()
580 if (!next().ToHandle(&function_)) return false; in Find()
589 if (!next().ToHandle(&function_)) return false; in FindNextNonTopLevel()
601 if (!next().ToHandle(&function_)) return false; in FindFirstNativeOrUserJavaScript()
721 if (maybe_caller.ToHandle(&caller)) { in FunctionCallerGetter()
775 if (!JSBoundFunction::GetName(isolate, function).ToHandle(&result)) { in BoundFunctionNameGetter()
832 if (!maybe_stack_trace.ToHandle(&stack_trace) || in ErrorStackGetter()
844 .ToHandle(&formatted_stack_trace)) { in ErrorStackGetter()
871 .ToHandle(&formatted_stack_trace)) { in ErrorStackGetter()
Dcompiler.cc678 .ToHandle(&cached_code)) { in GetOptimizedCode()
1138 .ToHandle(&opt_code)) { in Compile()
1161 if (!GetOptimizedCode(function, mode).ToHandle(&code)) { in CompileOptimized()
1271 if (!CompileToplevel(&parse_info, isolate).ToHandle(&shared_info)) { in GetFunctionFromEval()
1567 if (script_details.name_obj.ToHandle(&script_name)) { in NewScript()
1573 if (script_details.source_map_url.ToHandle(&source_map_url)) { in NewScript()
1577 if (script_details.host_defined_options.ToHandle(&host_defined_options)) { in NewScript()
1636 .ToHandle(&inner_result)) { in GetSharedFunctionInfoForScript()
1665 if (extension == nullptr && maybe_result.ToHandle(&result)) { in GetSharedFunctionInfoForScript()
1721 if (!maybe_result.ToHandle(&wrapped)) { in GetWrappedFunction()
[all …]
Dcompilation-cache.cc107 if (!maybe_name.ToHandle(&name)) { in HasOrigin()
143 if (probe.ToHandle(&function_info)) { in Lookup()
157 if (result.ToHandle(&function_info)) { in Lookup()
Dmessages.cc115 if (!maybe_stringified.ToHandle(&stringified)) { in ReportMessage()
381 if (!Object::ToObject(isolate_, receiver_).ToHandle(&receiver)) { in GetMethodName()
438 if (!Object::ToObject(isolate_, receiver_).ToHandle(&receiver)) { in GetTypeName()
671 .ToHandle(&name)) { in GetFunctionName()
1035 if (!maybe_result_string.ToHandle(&result_string)) { in FormatMessage()
1233 .ToHandle(&msg)) { in FormatMessage()
Dprototype-inl.h137 if (!proto.ToHandle(&handle_)) return false; in AdvanceFollowingProxiesIgnoringAccessChecks()
/external/v8/src/objects/
Dfixed-array-inl.h667 return Traits::ToHandle(isolate, array->get_scalar(index)); in get()
701 Handle<Object> Uint8ArrayTraits::ToHandle(Isolate* isolate, uint8_t scalar) { in ToHandle() function
705 Handle<Object> Uint8ClampedArrayTraits::ToHandle(Isolate* isolate, in ToHandle() function
710 Handle<Object> Int8ArrayTraits::ToHandle(Isolate* isolate, int8_t scalar) { in ToHandle() function
714 Handle<Object> Uint16ArrayTraits::ToHandle(Isolate* isolate, uint16_t scalar) { in ToHandle() function
718 Handle<Object> Int16ArrayTraits::ToHandle(Isolate* isolate, int16_t scalar) { in ToHandle() function
722 Handle<Object> Uint32ArrayTraits::ToHandle(Isolate* isolate, uint32_t scalar) { in ToHandle() function
726 Handle<Object> Int32ArrayTraits::ToHandle(Isolate* isolate, int32_t scalar) { in ToHandle() function
730 Handle<Object> Float32ArrayTraits::ToHandle(Isolate* isolate, float scalar) { in ToHandle() function
734 Handle<Object> Float64ArrayTraits::ToHandle(Isolate* isolate, double scalar) { in ToHandle() function
[all …]
Dbigint.cc328 if (!maybe.ToHandle(&result)) return MaybeHandle<BigInt>(); in MakeImmutable()
424 if (!MutableBigInt::New(isolate, needed_digits).ToHandle(&result)) { in Exponentiate()
443 if (!maybe_result.ToHandle(&running_square)) return maybe_result; in Exponentiate()
449 if (!maybe_result.ToHandle(&result)) return maybe_result; in Exponentiate()
462 if (!MutableBigInt::New(isolate, result_length).ToHandle(&result)) { in Multiply()
644 if (!AbsoluteSubOne(isolate, x, result_length).ToHandle(&result)) { in BitwiseAnd()
683 if (!AbsoluteSubOne(isolate, y, result_length).ToHandle(&result)) { in BitwiseXor()
752 if (!maybe_ny.ToHandle(&ny)) { in CompareToString()
766 if (!maybe_n.ToHandle(&n)) { in EqualToString()
969 if (!StringToBigInt(isolate, Handle<String>::cast(obj)).ToHandle(&n)) { in FromObject()
[all …]
Dmodule.cc363 .ToHandle(&cell)) { in ResolveExport()
407 .ToHandle(&cell)) { in ResolveExportUsingStarExports()
546 if (!maybe_generator.ToHandle(&generator)) { in RunInitializationCode()
642 .ToHandle(&cell)) { in FinishInstantiate()
689 if (!Evaluate(isolate, module, &stack, &dfs_index).ToHandle(&result)) { in Evaluate()
/external/v8/src/interpreter/
Dconstant-array-builder.cc111 os << "Duplicate constant found: " << Brief(*entry.ToHandle(isolate)) in CheckAllElementsAreUnique()
116 os << i++ << ": " << Brief(*prev_entry.ToHandle(isolate)) << std::endl; in CheckAllElementsAreUnique()
175 if (!entry.IsDeferred()) return entry.ToHandle(isolate); in At()
196 slice->At(slice->start_index() + i).ToHandle(isolate); in ToFixedArray()
366 Handle<Object> ConstantArrayBuilder::Entry::ToHandle(Isolate* isolate) const { in ToHandle() function in v8::internal::interpreter::ConstantArrayBuilder::Entry
/external/v8/src/runtime/
Druntime-wasm.cc167 .ToHandle(&tag)) { in RUNTIME_FUNCTION()
189 .ToHandle(&values_obj)) { in RUNTIME_FUNCTION()
217 .ToHandle(&values_obj)) { in RUNTIME_FUNCTION()
Druntime-compiler.cc254 if (maybe_result.ToHandle(&result) && in RUNTIME_FUNCTION()
312 if (maybe_error.ToHandle(&error)) isolate->Throw(*error); in CompileGlobalEval()
Druntime-strings.cc81 recursion_limit).ToHandle(&new_first)) { in StringReplaceOneCharWithString()
89 .ToHandle(&new_second)) { in StringReplaceOneCharWithString()
123 kRecursionLimit).ToHandle(&result)) { in RUNTIME_FUNCTION()
131 kRecursionLimit).ToHandle(&result)) { in RUNTIME_FUNCTION()
Druntime-literals.cc296 DCHECK(!result.ToHandle(&for_assert) || for_assert.is_identical_to(object)); in DeepWalk()
305 DCHECK(!result.ToHandle(&for_assert) || for_assert.is_identical_to(object)); in DeepWalk()
315 DCHECK(!copy.ToHandle(&for_assert) || !for_assert.is_identical_to(object)); in DeepCopy()
/external/v8/src/compiler/
Daccess-info.cc281 if (Map::TryUpdate(isolate(), map).ToHandle(&map)) { in ComputeElementAccessInfos()
295 if (Map::TryUpdate(isolate(), map).ToHandle(&map)) { in ComputeElementAccessInfos()
477 .ToHandle(&cached_property_name)) { in ComputePropertyAccessInfo()
513 .ToHandle(&constructor)) { in ComputePropertyAccessInfo()
561 if (Map::TryUpdate(isolate(), map).ToHandle(&map)) { in ComputePropertyAccessInfos()
Dproperty-access-builder.cc175 if (access_info.holder().ToHandle(&holder)) { in ResolveHolder()
267 if (access_info.field_map().ToHandle(&field_map)) { in BuildLoadDataField()
Djs-heap-copy-reducer.cc34 if (p.site().ToHandle(&site)) AllocationSiteRef(broker(), site); in Reduce()
Dcompilation-dependencies.cc400 if (last_prototype.ToHandle(&last) && last.is_identical_to(current)) { in DependOnStablePrototypeChain()
417 .ToHandle(&constructor)) { in DependOnStablePrototypeChains()
Djs-native-context-specialization.cc189 if (!nexus.GetConstructorFeedback().ToHandle(&receiver)) return NoChange(); in ReduceJSInstanceOf()
215 if (access_info.holder().ToHandle(&holder)) { in ReduceJSInstanceOf()
241 if (access_info.holder().ToHandle(&holder)) { in ReduceJSInstanceOf()
508 if (access_info.holder().ToHandle(&holder)) { in ReduceJSResolvePromise()
1499 if (Object::ToName(isolate(), mindex.Value()).ToHandle(&name)) { in ReduceKeyedAccess()
1817 if (access_info.holder().ToHandle(&holder)) { in BuildPropertyLoad()
1875 if (access_info.holder().ToHandle(&holder)) { in BuildPropertyStore()
2003 if (access_info.field_map().ToHandle(&field_map)) { in BuildPropertyStore()
2029 if (access_info.transition_map().ToHandle(&transition_map)) { in BuildPropertyStore()
2095 if (!Map::TryUpdate(isolate(), receiver_map).ToHandle(&receiver_map)) in ReduceJSStoreDataPropertyInLiteral()
[all …]
Dframe-states.cc78 if (info.shared_info().ToHandle(&shared_info)) { in operator <<()
Djs-context-specialization.cc39 if (closure().ToHandle(&function)) { in ReduceParameter()
/external/v8/src/snapshot/
Dpartial-deserializer.cc25 return maybe_result.ToHandle(&result) ? Handle<Context>::cast(result) in DeserializeContext()
Dobject-deserializer.cc30 return d.Deserialize(isolate).ToHandle(&result) in DeserializeSharedFunctionInfo()
/external/v8/src/debug/
Dliveedit.cc757 Compiler::CompileForLiveEdit(parse_info, isolate).ToHandle(&shared); in ParseScript()
948 if (!data->shared.ToHandle(&sfi)) { in CanPatchScript()
1106 if (!data->shared.ToHandle(&sfi)) continue; in PatchScript()
1157 if (!data->shared.ToHandle(&new_sfi)) continue; in PatchScript()
1169 if (!data->shared.ToHandle(&sfi)) continue; in PatchScript()

123