Home
last modified time | relevance | path

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

1234

/third_party/node/deps/v8/src/objects/
Dvalue-serializer.cc658 if (!Object::GetProperty(&it).ToHandle(&value)) return Nothing<bool>(); in WriteJSObject()
679 .ToHandle(&keys) || in WriteJSObjectSlow()
763 if (!Object::GetProperty(&it).ToHandle(&element) || in WriteJSArray()
773 .ToHandle(&keys)) { in WriteJSArray()
791 .ToHandle(&keys) || in WriteJSArray()
986 if (!JSObject::GetProperty(isolate_, error, "name").ToHandle(&name_object)) { in WriteJSError()
990 if (!Object::ToString(isolate_, name_object).ToHandle(&name)) { in WriteJSError()
1014 if (!Object::ToString(isolate_, message_desc.value()).ToHandle(&message)) { in WriteJSError()
1031 .ToHandle(&stack)) { in WriteJSError()
1127 if (!Object::GetProperty(&it).ToHandle(&value)) return Nothing<uint32_t>(); in WriteJSObjectPropertiesSlow()
[all …]
Dordered-hash-table.cc184 if (!table_candidate.ToHandle(&table)) { in Add()
259 if (!new_table_candidate.ToHandle(&new_table)) { in Rehash()
329 if (new_table_candidate.ToHandle(&new_table)) { in Rehash()
390 if (!table_candidate.ToHandle(&table)) { in Add()
455 if (!table_candidate.ToHandle(&table)) { in Add()
531 if (table_candidate.ToHandle(&table)) { in Allocate()
555 if (table_candidate.ToHandle(&table)) { in AllocateEmpty()
716 if (!new_table.ToHandle(&table)) { in Add()
759 if (!new_table.ToHandle(&table)) { in Add()
825 if (!new_table.ToHandle(&table)) { in Add()
[all …]
Dbigint.cc306 if (!maybe.ToHandle(&result)) return MaybeHandle<BigInt>(); in MakeImmutable()
415 if (!MutableBigInt::New(isolate, needed_digits).ToHandle(&result)) { in Exponentiate()
434 if (!maybe_result.ToHandle(&running_square)) return maybe_result; in Exponentiate()
440 if (!maybe_result.ToHandle(&result)) return maybe_result; in Exponentiate()
453 if (!MutableBigInt::New(isolate, result_length).ToHandle(&result)) { in Multiply()
487 if (!MutableBigInt::New(isolate, result_length).ToHandle(&quotient)) { in Divide()
515 if (!MutableBigInt::New(isolate, result_length).ToHandle(&remainder)) { in Remainder()
539 if (!MutableBigInt::New(isolate, result_length).ToHandle(&result)) { in Add()
559 if (!MutableBigInt::New(isolate, result_length).ToHandle(&result)) { in Subtract()
646 if (!MutableBigInt::New(isolate, result_length).ToHandle(&result)) { in BitwiseAnd()
[all …]
Dcall-site-info.cc79 if (GetScript(isolate, info).ToHandle(&script)) { in GetLineNumber()
100 if (GetScript(isolate, info).ToHandle(&script)) { in GetColumnNumber()
121 if (!GetScript(isolate, info).ToHandle(&script)) { in GetEnclosingLineNumber()
148 if (!GetScript(isolate, info).ToHandle(&script)) { in GetEnclosingColumnNumber()
259 if (!GetScript(isolate, info).ToHandle(&script) || in GetEvalOrigin()
278 .ToHandle(&name)) { in GetFunctionName()
502 .ToHandle(&name)) { in GetWasmModuleName()
Dsource-text-module.cc225 .ToHandle(&cell)) { in ResolveExport()
289 .ToHandle(&cell)) { in ResolveExportUsingStarExports()
413 if (!maybe_generator.ToHandle(&generator)) { in RunInitializationCode()
513 .ToHandle(&cell)) { in FinishInstantiate()
677 if (!isolate->RunHostInitializeImportMetaObjectCallback(module).ToHandle( in GetImportMeta()
706 .ToHandle(&unused_result)) { in Evaluate()
823 if (!ExecuteModule(isolate, m).ToHandle(&unused_result)) { in AsyncModuleExecutionFulfilled()
Dfeedback-vector-inl.h390 MaybeObjectHandle FeedbackNexus::ToHandle(MaybeObject value) const { in ToHandle() function
418 std::make_pair(ToHandle(pair.first), ToHandle(pair.second)); in GetFeedbackPair()
Delements.cc1212 if (!raw_array.ToHandle(&combined_keys)) { in PrependElementIndicesImpl()
3083 static Handle<Object> ToHandle(Isolate* isolate, ElementType value);
3152 return ToHandle(isolate, elem); in GetInternalImpl()
3933 Handle<Object> TypedElementsAccessor<INT8_ELEMENTS, int8_t>::ToHandle( in ToHandle() function in v8::internal::__anon03ee373d0111::TypedElementsAccessor
3940 Handle<Object> TypedElementsAccessor<UINT8_ELEMENTS, uint8_t>::ToHandle( in ToHandle() function in v8::internal::__anon03ee373d0111::TypedElementsAccessor
3947 Handle<Object> TypedElementsAccessor<INT16_ELEMENTS, int16_t>::ToHandle( in ToHandle() function in v8::internal::__anon03ee373d0111::TypedElementsAccessor
3954 Handle<Object> TypedElementsAccessor<UINT16_ELEMENTS, uint16_t>::ToHandle( in ToHandle() function in v8::internal::__anon03ee373d0111::TypedElementsAccessor
3961 Handle<Object> TypedElementsAccessor<INT32_ELEMENTS, int32_t>::ToHandle( in ToHandle() function in v8::internal::__anon03ee373d0111::TypedElementsAccessor
3968 Handle<Object> TypedElementsAccessor<UINT32_ELEMENTS, uint32_t>::ToHandle( in ToHandle() function in v8::internal::__anon03ee373d0111::TypedElementsAccessor
3981 Handle<Object> TypedElementsAccessor<FLOAT32_ELEMENTS, float>::ToHandle( in ToHandle() function in v8::internal::__anon03ee373d0111::TypedElementsAccessor
[all …]
Dprototype-inl.h137 if (!proto.ToHandle(&handle_)) return false; in AdvanceFollowingProxiesIgnoringAccessChecks()
/third_party/node/deps/v8/src/interpreter/
Dconstant-array-builder.cc113 os << "Duplicate constant found: " << Brief(*entry.ToHandle(isolate)) in CheckAllElementsAreUnique()
118 os << i++ << ": " << Brief(*prev_entry.ToHandle(isolate)) << std::endl; in CheckAllElementsAreUnique()
174 if (!entry.IsDeferred()) return entry.ToHandle(isolate); in At()
203 slice->At(slice->start_index() + i).ToHandle(isolate); in ToFixedArray()
376 Handle<Object> ConstantArrayBuilder::Entry::ToHandle(IsolateT* isolate) const { in ToHandle() function in v8::internal::interpreter::ConstantArrayBuilder::Entry
409 template Handle<Object> ConstantArrayBuilder::Entry::ToHandle(
411 template Handle<Object> ConstantArrayBuilder::Entry::ToHandle(
/third_party/node/deps/v8/src/codegen/
Dcompilation-cache.cc120 if (!script_details.name_obj.ToHandle(&name)) { in HasOrigin()
141 if (!script_details.host_defined_options.ToHandle( in HasOrigin()
183 if (probe.ToHandle(&function_info)) { in Lookup()
196 if (result.ToHandle(&function_info)) { in Lookup()
Dcompiler.cc1252 .ToHandle(&cached_code)) { in GetOrCompileOptimized()
1371 if (finalize_data.coverage_info().ToHandle(&coverage_info)) { in FinalizeUnoptimizedCompilation()
1577 if (script_details.name_obj.ToHandle(&script_name)) { in SetScriptFieldsFromDetails()
1587 if (script_details.source_map_url.ToHandle(&source_map_url) && in SetScriptFieldsFromDetails()
1592 if (script_details.host_defined_options.ToHandle(&host_defined_options)) { in SetScriptFieldsFromDetails()
1768 if (!maybe_result.ToHandle(&result)) { in FinalizeScript()
1807 if (!maybe_result.ToHandle(&result)) { in FinalizeFunction()
2114 .ToHandle(&maybe_code)) { in Compile()
2161 if (!GenerateBaselineCode(isolate, shared).ToHandle(&code)) { in Compile()
2220 if (!maybe_code.ToHandle(&code)) return false; in Compile()
[all …]
/third_party/node/deps/v8/src/builtins/
Daccessors.cc247 .ToHandle(&result)) { in ModuleNamespaceEntryGetter()
563 if (!next().ToHandle(&function_)) return false; in Find()
572 if (!next().ToHandle(&function_)) return false; in FindNextNonTopLevel()
584 if (!next().ToHandle(&function_)) return false; in FindFirstNativeOrUserJavaScript()
703 if (!FLAG_correctness_fuzzer_suppressions && maybe_caller.ToHandle(&caller)) { in FunctionCallerGetter()
754 if (!JSBoundFunction::GetName(isolate, function).ToHandle(&result)) { in BoundFunctionNameGetter()
805 if (!JSWrappedFunction::GetName(isolate, function).ToHandle(&result)) { in WrappedFunctionNameGetter()
829 .ToHandle(&formatted_stack)) { in ErrorStackGetter()
Dbuiltins-console.cc97 .ToHandle(&current)) { in Formatter()
106 .ToHandle(&current)) { in Formatter()
/third_party/node/deps/v8/src/handles/
Dmaybe-handles-inl.h81 handle_.ToHandle(&this_handle) == in is_identical_to()
82 other.handle_.ToHandle(&other_handle) && in is_identical_to()
Dmaybe-handles.h60 V8_WARN_UNUSED_RESULT V8_INLINE bool ToHandle(Handle<S>* out) const { in ToHandle() function
/third_party/node/deps/v8/src/snapshot/
Dobject-deserializer.cc33 return d.Deserialize().ToHandle(&result) in DeserializeSharedFunctionInfo()
113 if (!d.Deserialize(deserialized_scripts).ToHandle(&result)) { in DeserializeSharedFunctionInfo()
Dcontext-deserializer.cc27 return maybe_result.ToHandle(&result) ? Handle<Context>::cast(result) in DeserializeContext()
/third_party/node/deps/v8/src/execution/
Dmessages.cc147 if (!maybe_stringified.ToHandle(&stringified)) { in ReportMessage()
309 error->GetCreationContext().ToHandle(&error_context)) { in FormatStackTrace()
425 if (!maybe_result_string.ToHandle(&result_string)) { in Format()
679 .ToHandle(&msg)) { in DoFormatMessage()
895 if (key.ToHandle(&key_handle)) { in ThrowLoadFromNullOrUndefined()
965 if (maybe_property_name.ToHandle(&property_name)) { in ThrowLoadFromNullOrUndefined()
974 if (!key.ToHandle(&key_handle) || in ThrowLoadFromNullOrUndefined()
975 !maybe_property_name.ToHandle(&property_name)) { in ThrowLoadFromNullOrUndefined()
/third_party/node/deps/v8/src/runtime/
Druntime-collections.cc30 if (!table_candidate.ToHandle(&table)) { in RUNTIME_FUNCTION()
67 if (!table_candidate.ToHandle(&table)) { in RUNTIME_FUNCTION()
Druntime-strings.cc83 recursion_limit).ToHandle(&new_first)) { in StringReplaceOneCharWithString()
91 .ToHandle(&new_second)) { in StringReplaceOneCharWithString()
125 kRecursionLimit).ToHandle(&result)) { in RUNTIME_FUNCTION()
133 kRecursionLimit).ToHandle(&result)) { in RUNTIME_FUNCTION()
Druntime-compiler.cc280 .ToHandle(&result)) { in RUNTIME_FUNCTION()
370 if (maybe_error.ToHandle(&error)) isolate->Throw(*error); in CompileGlobalEval()
Druntime-literals.cc316 DCHECK(!result.ToHandle(&for_assert) || for_assert.is_identical_to(object)); in DeepWalk()
325 DCHECK(!result.ToHandle(&for_assert) || for_assert.is_identical_to(object)); in DeepWalk()
334 DCHECK(!copy.ToHandle(&for_assert) || !for_assert.is_identical_to(object)); in DeepCopy()
/third_party/node/deps/v8/src/baseline/
Dbaseline-batch-compiler.cc54 if (maybe_code_.ToHandle(&code)) { in Compile()
62 if (!maybe_code_.ToHandle(&code)) return; in Install()
/third_party/node/deps/v8/src/heap/
Dfinalization-registry-cleanup-task.cc50 if (!heap_->DequeueDirtyJSFinalizationRegistry().ToHandle( in RunInternal()
/third_party/node/deps/v8/src/debug/
Dliveedit.cc763 .ToHandle(&shared); in ParseScript()
920 if (!data->shared.ToHandle(&sfi)) { in CanPatchScript()
1050 if (!data->shared.ToHandle(&sfi)) continue; in PatchScript()
1103 if (!data->shared.ToHandle(&new_sfi)) continue; in PatchScript()
1115 if (!data->shared.ToHandle(&sfi)) continue; in PatchScript()

1234