Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1067)

Side by Side Diff: client/html/generated/src/wrapping/_DataViewWrappingImplementation.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING: Do not edit - generated code.
6
7 class DataViewWrappingImplementation extends ArrayBufferViewWrappingImplementati on implements DataView {
8 DataViewWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
9
10 num getFloat32(int byteOffset, [bool littleEndian]) {
11 if (littleEndian === null) {
12 return _ptr.getFloat32(byteOffset);
13 } else {
14 return _ptr.getFloat32(byteOffset, littleEndian);
15 }
16 }
17
18 num getFloat64(int byteOffset, [bool littleEndian]) {
19 if (littleEndian === null) {
20 return _ptr.getFloat64(byteOffset);
21 } else {
22 return _ptr.getFloat64(byteOffset, littleEndian);
23 }
24 }
25
26 int getInt16(int byteOffset, [bool littleEndian]) {
27 if (littleEndian === null) {
28 return _ptr.getInt16(byteOffset);
29 } else {
30 return _ptr.getInt16(byteOffset, littleEndian);
31 }
32 }
33
34 int getInt32(int byteOffset, [bool littleEndian]) {
35 if (littleEndian === null) {
36 return _ptr.getInt32(byteOffset);
37 } else {
38 return _ptr.getInt32(byteOffset, littleEndian);
39 }
40 }
41
42 int getInt8() {
43 return _ptr.getInt8();
44 }
45
46 int getUint16(int byteOffset, [bool littleEndian]) {
47 if (littleEndian === null) {
48 return _ptr.getUint16(byteOffset);
49 } else {
50 return _ptr.getUint16(byteOffset, littleEndian);
51 }
52 }
53
54 int getUint32(int byteOffset, [bool littleEndian]) {
55 if (littleEndian === null) {
56 return _ptr.getUint32(byteOffset);
57 } else {
58 return _ptr.getUint32(byteOffset, littleEndian);
59 }
60 }
61
62 int getUint8() {
63 return _ptr.getUint8();
64 }
65
66 void setFloat32(int byteOffset, num value, [bool littleEndian]) {
67 if (littleEndian === null) {
68 _ptr.setFloat32(byteOffset, value);
69 return;
70 } else {
71 _ptr.setFloat32(byteOffset, value, littleEndian);
72 return;
73 }
74 }
75
76 void setFloat64(int byteOffset, num value, [bool littleEndian]) {
77 if (littleEndian === null) {
78 _ptr.setFloat64(byteOffset, value);
79 return;
80 } else {
81 _ptr.setFloat64(byteOffset, value, littleEndian);
82 return;
83 }
84 }
85
86 void setInt16(int byteOffset, int value, [bool littleEndian]) {
87 if (littleEndian === null) {
88 _ptr.setInt16(byteOffset, value);
89 return;
90 } else {
91 _ptr.setInt16(byteOffset, value, littleEndian);
92 return;
93 }
94 }
95
96 void setInt32(int byteOffset, int value, [bool littleEndian]) {
97 if (littleEndian === null) {
98 _ptr.setInt32(byteOffset, value);
99 return;
100 } else {
101 _ptr.setInt32(byteOffset, value, littleEndian);
102 return;
103 }
104 }
105
106 void setInt8() {
107 _ptr.setInt8();
108 return;
109 }
110
111 void setUint16(int byteOffset, int value, [bool littleEndian]) {
112 if (littleEndian === null) {
113 _ptr.setUint16(byteOffset, value);
114 return;
115 } else {
116 _ptr.setUint16(byteOffset, value, littleEndian);
117 return;
118 }
119 }
120
121 void setUint32(int byteOffset, int value, [bool littleEndian]) {
122 if (littleEndian === null) {
123 _ptr.setUint32(byteOffset, value);
124 return;
125 } else {
126 _ptr.setUint32(byteOffset, value, littleEndian);
127 return;
128 }
129 }
130
131 void setUint8() {
132 _ptr.setUint8();
133 return;
134 }
135 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698