OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 import 'dart:_internal' show FixedLengthListMixin; | 6 import 'dart:_internal' show FixedLengthListMixin; |
7 import 'dart:_foreign_helper' show JS; | 7 import 'dart:_foreign_helper' show JS; |
8 import 'dart:math' as Math; | 8 import 'dart:math' as Math; |
9 import 'dart:_internal'; | 9 import 'dart:_internal'; |
10 import 'dart:_interceptors' show JSIndexable, JSUInt32, JSUInt31; | 10 import 'dart:_interceptors' show JSIndexable; |
11 import 'dart:_js_helper' | 11 import 'dart:_js_helper' |
12 show Creates, JavaScriptIndexingBehavior, JSName, Null, Returns, patch; | 12 show Creates, JavaScriptIndexingBehavior, JSName, Null, Returns, patch; |
13 import 'dart:_native_typed_data'; | 13 import 'dart:_native_typed_data'; |
14 | 14 |
15 @patch class ByteData { | 15 @patch class ByteData { |
16 @patch factory ByteData(int length) = NativeByteData; | 16 @patch factory ByteData(int length) = NativeByteData; |
17 } | 17 } |
18 | 18 |
19 | 19 |
20 @patch class Float32List { | 20 @patch class Float32List { |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 NativeInt32x4.fromFloat32x4Bits; | 149 NativeInt32x4.fromFloat32x4Bits; |
150 } | 150 } |
151 | 151 |
152 @patch class Float64x2 { | 152 @patch class Float64x2 { |
153 @patch factory Float64x2(double x, double y) = NativeFloat64x2; | 153 @patch factory Float64x2(double x, double y) = NativeFloat64x2; |
154 @patch factory Float64x2.splat(double v) = NativeFloat64x2.splat; | 154 @patch factory Float64x2.splat(double v) = NativeFloat64x2.splat; |
155 @patch factory Float64x2.zero() = NativeFloat64x2.zero; | 155 @patch factory Float64x2.zero() = NativeFloat64x2.zero; |
156 @patch factory Float64x2.fromFloat32x4(Float32x4 v) = | 156 @patch factory Float64x2.fromFloat32x4(Float32x4 v) = |
157 NativeFloat64x2.fromFloat32x4; | 157 NativeFloat64x2.fromFloat32x4; |
158 } | 158 } |
OLD | NEW |