Home
last modified time | relevance | path

Searched refs:data_view (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/mojo/public/cpp/bindings/tests/
Ddata_view_unittest.cc19 namespace data_view { namespace
28 std::unique_ptr<TestStructDataView> data_view; member
39 result->data_view = in SerializeTestStruct()
66 auto& data_view = *data_view_holder->data_view; in TEST_F() local
69 data_view.GetFStringDataView(&string_data_view); in TEST_F()
82 auto& data_view = *data_view_holder->data_view; in TEST_F() local
85 data_view.GetFStructDataView(&struct_data_view); in TEST_F()
97 auto& data_view = *data_view_holder->data_view; in TEST_F() local
100 data_view.GetFNativeStructDataView(&struct_data_view); in TEST_F()
118 auto& data_view = *data_view_holder->data_view; in TEST_F() local
[all …]
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Dstruct_serialization_declaration.tmpl2 {%- set data_view = struct|get_qualified_name_for_kind ~ "DataView" %}
10 struct Serializer<{{data_view}}, MaybeConstUserType> {
12 using Traits = StructTraits<{{data_view}}, UserType>;
34 {{data_view}} data_view(input, context);
35 return Traits::Read(data_view, output);
Dunion_serialization_declaration.tmpl1 {%- set data_view = union|get_qualified_name_for_kind ~ "DataView" %}
7 struct Serializer<{{data_view}}, MaybeConstUserType> {
9 using Traits = UnionTraits<{{data_view}}, UserType>;
37 case {{data_view}}::Tag::{{field.name|upper}}: {
101 {{data_view}} data_view(input, context);
102 return Traits::Read(data_view, output);
/external/libchrome/mojo/public/cpp/base/
Dread_only_buffer_mojom_traits.cc13 ArrayDataView<uint8_t> data_view; in Read() local
14 input.GetBufferDataView(&data_view); in Read()
19 *out = base::span<const uint8_t>(data_view.data(), data_view.size()); in Read()
/external/v8/src/builtins/
Dbuiltins-data-view-gen.h20 TNode<Number> LoadDataViewByteOffset(TNode<JSDataView> data_view) { in LoadDataViewByteOffset() argument
21 return CAST(LoadObjectField(data_view, JSDataView::kByteOffsetOffset)); in LoadDataViewByteOffset()
24 TNode<Number> LoadDataViewByteLength(TNode<JSDataView> data_view) { in LoadDataViewByteLength() argument
25 return CAST(LoadObjectField(data_view, JSDataView::kByteLengthOffset)); in LoadDataViewByteLength()
Ddata-view.tq5 module data_view {
85 let data_view: JSDataView = ValidateDataView(
87 return data_view.buffer;
93 let data_view: JSDataView = ValidateDataView(
95 if (WasNeutered(data_view)) {
97 // here if the JSArrayBuffer of the {data_view} was neutered.
100 return data_view.byte_length;
106 let data_view: JSDataView = ValidateDataView(
108 if (WasNeutered(data_view)) {
110 // here if the JSArrayBuffer of the {data_view} was neutered.
[all …]
/external/v8/tools/heap-stats/
Dhistogram-viewer.js42 (this.selection.data_view === VIEW_BY_INSTANCE_CATEGORY ||
43 this.selection.data_view === VIEW_BY_INSTANCE_TYPE);
56 switch (this.selection.data_view) {
160 switch (this.selection.data_view) {
Dglobal-timeline.js157 switch (this.selection.data_view) {
185 switch (this.selection.data_view) {
Ddetails-selection.js187 this.selection.data_view = this.dataViewSelect.value;
189 if (this.selection.data_view === VIEW_BY_FIELD_TYPE) {
/external/libchrome/mojo/public/cpp/bindings/lib/
Dnative_struct_serialization.cc56 native::NativeStructDataView data_view(input, context); in Deserialize() local
58 native::NativeStructPtr>::Read(data_view, output); in Deserialize()
/external/libchrome/mojo/public/interfaces/bindings/tests/
Dtest_data_view.mojom5 module mojo.test.data_view;
/external/v8/src/
Dvalue-serializer.cc1733 Handle<JSDataView> data_view = in ReadJSArrayBufferView() local
1735 AddObjectWithID(id, data_view); in ReadJSArrayBufferView()
1736 return data_view; in ReadJSArrayBufferView()
Dapi.cc7702 i::Handle<i::JSDataView> data_view(i::JSDataView::cast(*obj), in Buffer() local
7704 DCHECK(data_view->buffer()->IsJSArrayBuffer()); in Buffer()
7705 buffer = i::handle(i::JSArrayBuffer::cast(data_view->buffer()), in Buffer()
7706 data_view->GetIsolate()); in Buffer()