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

Side by Side Diff: runtime/vm/bootstrap_natives.h

Issue 14332002: Add endian parameter to the get/set functions in ByteData. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 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
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 #ifndef VM_BOOTSTRAP_NATIVES_H_ 5 #ifndef VM_BOOTSTRAP_NATIVES_H_
6 #define VM_BOOTSTRAP_NATIVES_H_ 6 #define VM_BOOTSTRAP_NATIVES_H_
7 7
8 #include "vm/native_entry.h" 8 #include "vm/native_entry.h"
9 9
10 // bootstrap dart natives used in the core dart library. 10 // bootstrap dart natives used in the core dart library.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 V(TypedData_GetInt64, 2) \ 154 V(TypedData_GetInt64, 2) \
155 V(TypedData_SetInt64, 3) \ 155 V(TypedData_SetInt64, 3) \
156 V(TypedData_GetUint64, 2) \ 156 V(TypedData_GetUint64, 2) \
157 V(TypedData_SetUint64, 3) \ 157 V(TypedData_SetUint64, 3) \
158 V(TypedData_GetFloat32, 2) \ 158 V(TypedData_GetFloat32, 2) \
159 V(TypedData_SetFloat32, 3) \ 159 V(TypedData_SetFloat32, 3) \
160 V(TypedData_GetFloat64, 2) \ 160 V(TypedData_GetFloat64, 2) \
161 V(TypedData_SetFloat64, 3) \ 161 V(TypedData_SetFloat64, 3) \
162 V(TypedData_GetFloat32x4, 2) \ 162 V(TypedData_GetFloat32x4, 2) \
163 V(TypedData_SetFloat32x4, 3) \ 163 V(TypedData_SetFloat32x4, 3) \
164 V(ByteData_ToEndianInt16, 2) \
165 V(ByteData_ToEndianUint16, 2) \
166 V(ByteData_ToEndianInt32, 2) \
167 V(ByteData_ToEndianUint32, 2) \
168 V(ByteData_ToEndianInt64, 2) \
169 V(ByteData_ToEndianUint64, 2) \
170 V(ByteData_ToEndianFloat32, 2) \
171 V(ByteData_ToEndianFloat64, 2) \
164 V(Float32x4_fromDoubles, 5) \ 172 V(Float32x4_fromDoubles, 5) \
165 V(Float32x4_zero, 1) \ 173 V(Float32x4_zero, 1) \
166 V(Float32x4_add, 2) \ 174 V(Float32x4_add, 2) \
167 V(Float32x4_negate, 1) \ 175 V(Float32x4_negate, 1) \
168 V(Float32x4_sub, 2) \ 176 V(Float32x4_sub, 2) \
169 V(Float32x4_mul, 2) \ 177 V(Float32x4_mul, 2) \
170 V(Float32x4_div, 2) \ 178 V(Float32x4_div, 2) \
171 V(Float32x4_cmplt, 2) \ 179 V(Float32x4_cmplt, 2) \
172 V(Float32x4_cmplte, 2) \ 180 V(Float32x4_cmplte, 2) \
173 V(Float32x4_cmpgt, 2) \ 181 V(Float32x4_cmpgt, 2) \
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 static void DN_##name(Dart_NativeArguments args); 258 static void DN_##name(Dart_NativeArguments args);
251 259
252 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 260 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
253 261
254 #undef DECLARE_BOOTSTRAP_NATIVE 262 #undef DECLARE_BOOTSTRAP_NATIVE
255 }; 263 };
256 264
257 } // namespace dart 265 } // namespace dart
258 266
259 #endif // VM_BOOTSTRAP_NATIVES_H_ 267 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698