#include "third_party/blink/renderer/bindings/modules/v8/v8_ml_compute_result.h"
#include "third_party/blink/renderer/bindings/core/v8/generated_code_helper.h"
#include "third_party/blink/renderer/bindings/core/v8/native_value_traits_impl.h"
#include "third_party/blink/renderer/bindings/core/v8/to_v8_traits.h"
#include "third_party/blink/renderer/platform/bindings/exception_messages.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/v8_per_isolate_data.h"
namespace blink {
namespace {
const std::string_view kOwnPropertyNames[] = …;
}
MLComputeResult* MLComputeResult::Create(v8::Isolate* isolate, v8::Local<v8::Value> v8_value, ExceptionState& exception_state) { … }
MLComputeResult::MLComputeResult() { … }
MLComputeResult::MLComputeResult(v8::Isolate* isolate) { … }
HeapVector<std::pair<String, NotShared<DOMArrayBufferView>>> MLComputeResult::getInputsOr(const HeapVector<std::pair<String, NotShared<DOMArrayBufferView>>>& fallback_value) const { … }
HeapVector<std::pair<String, NotShared<DOMArrayBufferView>>> MLComputeResult::getInputsOr(HeapVector<std::pair<String, NotShared<DOMArrayBufferView>>>&& fallback_value) const { … }
void MLComputeResult::setInputs(const HeapVector<std::pair<String, NotShared<DOMArrayBufferView>>>& value) { … }
void MLComputeResult::setInputs(HeapVector<std::pair<String, NotShared<DOMArrayBufferView>>>&& value) { … }
HeapVector<std::pair<String, NotShared<DOMArrayBufferView>>> MLComputeResult::getOutputsOr(const HeapVector<std::pair<String, NotShared<DOMArrayBufferView>>>& fallback_value) const { … }
HeapVector<std::pair<String, NotShared<DOMArrayBufferView>>> MLComputeResult::getOutputsOr(HeapVector<std::pair<String, NotShared<DOMArrayBufferView>>>&& fallback_value) const { … }
void MLComputeResult::setOutputs(const HeapVector<std::pair<String, NotShared<DOMArrayBufferView>>>& value) { … }
void MLComputeResult::setOutputs(HeapVector<std::pair<String, NotShared<DOMArrayBufferView>>>&& value) { … }
void MLComputeResult::Trace(Visitor* visitor) const { … }
void MLComputeResult::FillTemplateProperties(WTF::Vector<std::string_view>& properties) const { … }
void MLComputeResult::FillValuesImpl(ScriptState* script_state, base::span<v8::MaybeLocal<v8::Value>> values) const { … }
const void* MLComputeResult::TemplateKey() const { … }
v8::Local<v8::Object> MLComputeResult::FillValues(ScriptState* script_state, v8::Local<v8::DictionaryTemplate> dict_template) const { … }
void MLComputeResult::FillMembersFromV8Object(v8::Isolate* isolate, v8::Local<v8::Object> v8_dictionary, ExceptionState& exception_state) { … }
const base::span<const v8::Eternal<v8::Name>> MLComputeResult::GetV8OwnMemberNames(v8::Isolate* isolate) { … }
}