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

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

Issue 59073003: Version 0.8.10.4 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « dart/runtime/platform/globals.h ('k') | dart/runtime/vm/dart_api_message.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 V(TypedData_Uint8ClampedArray_new, 1) \ 137 V(TypedData_Uint8ClampedArray_new, 1) \
138 V(TypedData_Int16Array_new, 1) \ 138 V(TypedData_Int16Array_new, 1) \
139 V(TypedData_Uint16Array_new, 1) \ 139 V(TypedData_Uint16Array_new, 1) \
140 V(TypedData_Int32Array_new, 1) \ 140 V(TypedData_Int32Array_new, 1) \
141 V(TypedData_Uint32Array_new, 1) \ 141 V(TypedData_Uint32Array_new, 1) \
142 V(TypedData_Int64Array_new, 1) \ 142 V(TypedData_Int64Array_new, 1) \
143 V(TypedData_Uint64Array_new, 1) \ 143 V(TypedData_Uint64Array_new, 1) \
144 V(TypedData_Float32Array_new, 1) \ 144 V(TypedData_Float32Array_new, 1) \
145 V(TypedData_Float64Array_new, 1) \ 145 V(TypedData_Float64Array_new, 1) \
146 V(TypedData_Float32x4Array_new, 1) \ 146 V(TypedData_Float32x4Array_new, 1) \
147 V(TypedData_Uint32x4Array_new, 1) \ 147 V(TypedData_Int32x4Array_new, 1) \
148 V(ExternalTypedData_Int8Array_new, 1) \ 148 V(ExternalTypedData_Int8Array_new, 1) \
149 V(ExternalTypedData_Uint8Array_new, 1) \ 149 V(ExternalTypedData_Uint8Array_new, 1) \
150 V(ExternalTypedData_Uint8ClampedArray_new, 1) \ 150 V(ExternalTypedData_Uint8ClampedArray_new, 1) \
151 V(ExternalTypedData_Int16Array_new, 1) \ 151 V(ExternalTypedData_Int16Array_new, 1) \
152 V(ExternalTypedData_Uint16Array_new, 1) \ 152 V(ExternalTypedData_Uint16Array_new, 1) \
153 V(ExternalTypedData_Int32Array_new, 1) \ 153 V(ExternalTypedData_Int32Array_new, 1) \
154 V(ExternalTypedData_Uint32Array_new, 1) \ 154 V(ExternalTypedData_Uint32Array_new, 1) \
155 V(ExternalTypedData_Int64Array_new, 1) \ 155 V(ExternalTypedData_Int64Array_new, 1) \
156 V(ExternalTypedData_Uint64Array_new, 1) \ 156 V(ExternalTypedData_Uint64Array_new, 1) \
157 V(ExternalTypedData_Float32Array_new, 1) \ 157 V(ExternalTypedData_Float32Array_new, 1) \
158 V(ExternalTypedData_Float64Array_new, 1) \ 158 V(ExternalTypedData_Float64Array_new, 1) \
159 V(ExternalTypedData_Float32x4Array_new, 1) \ 159 V(ExternalTypedData_Float32x4Array_new, 1) \
160 V(ExternalTypedData_Uint32x4Array_new, 1) \ 160 V(ExternalTypedData_Int32x4Array_new, 1) \
161 V(TypedData_length, 1) \ 161 V(TypedData_length, 1) \
162 V(TypedData_setRange, 5) \ 162 V(TypedData_setRange, 5) \
163 V(TypedData_GetInt8, 2) \ 163 V(TypedData_GetInt8, 2) \
164 V(TypedData_SetInt8, 3) \ 164 V(TypedData_SetInt8, 3) \
165 V(TypedData_GetUint8, 2) \ 165 V(TypedData_GetUint8, 2) \
166 V(TypedData_SetUint8, 3) \ 166 V(TypedData_SetUint8, 3) \
167 V(TypedData_GetInt16, 2) \ 167 V(TypedData_GetInt16, 2) \
168 V(TypedData_SetInt16, 3) \ 168 V(TypedData_SetInt16, 3) \
169 V(TypedData_GetUint16, 2) \ 169 V(TypedData_GetUint16, 2) \
170 V(TypedData_SetUint16, 3) \ 170 V(TypedData_SetUint16, 3) \
171 V(TypedData_GetInt32, 2) \ 171 V(TypedData_GetInt32, 2) \
172 V(TypedData_SetInt32, 3) \ 172 V(TypedData_SetInt32, 3) \
173 V(TypedData_GetUint32, 2) \ 173 V(TypedData_GetUint32, 2) \
174 V(TypedData_SetUint32, 3) \ 174 V(TypedData_SetUint32, 3) \
175 V(TypedData_GetInt64, 2) \ 175 V(TypedData_GetInt64, 2) \
176 V(TypedData_SetInt64, 3) \ 176 V(TypedData_SetInt64, 3) \
177 V(TypedData_GetUint64, 2) \ 177 V(TypedData_GetUint64, 2) \
178 V(TypedData_SetUint64, 3) \ 178 V(TypedData_SetUint64, 3) \
179 V(TypedData_GetFloat32, 2) \ 179 V(TypedData_GetFloat32, 2) \
180 V(TypedData_SetFloat32, 3) \ 180 V(TypedData_SetFloat32, 3) \
181 V(TypedData_GetFloat64, 2) \ 181 V(TypedData_GetFloat64, 2) \
182 V(TypedData_SetFloat64, 3) \ 182 V(TypedData_SetFloat64, 3) \
183 V(TypedData_GetFloat32x4, 2) \ 183 V(TypedData_GetFloat32x4, 2) \
184 V(TypedData_SetFloat32x4, 3) \ 184 V(TypedData_SetFloat32x4, 3) \
185 V(TypedData_GetUint32x4, 2) \ 185 V(TypedData_GetInt32x4, 2) \
186 V(TypedData_SetUint32x4, 3) \ 186 V(TypedData_SetInt32x4, 3) \
187 V(ByteData_ToEndianInt16, 2) \ 187 V(ByteData_ToEndianInt16, 2) \
188 V(ByteData_ToEndianUint16, 2) \ 188 V(ByteData_ToEndianUint16, 2) \
189 V(ByteData_ToEndianInt32, 2) \ 189 V(ByteData_ToEndianInt32, 2) \
190 V(ByteData_ToEndianUint32, 2) \ 190 V(ByteData_ToEndianUint32, 2) \
191 V(ByteData_ToEndianInt64, 2) \ 191 V(ByteData_ToEndianInt64, 2) \
192 V(ByteData_ToEndianUint64, 2) \ 192 V(ByteData_ToEndianUint64, 2) \
193 V(ByteData_ToEndianFloat32, 2) \ 193 V(ByteData_ToEndianFloat32, 2) \
194 V(ByteData_ToEndianFloat64, 2) \ 194 V(ByteData_ToEndianFloat64, 2) \
195 V(Float32x4_fromDoubles, 5) \ 195 V(Float32x4_fromDoubles, 5) \
196 V(Float32x4_splat, 2) \ 196 V(Float32x4_splat, 2) \
197 V(Float32x4_fromUint32x4Bits, 2) \ 197 V(Float32x4_fromInt32x4Bits, 2) \
198 V(Float32x4_zero, 1) \ 198 V(Float32x4_zero, 1) \
199 V(Float32x4_add, 2) \ 199 V(Float32x4_add, 2) \
200 V(Float32x4_negate, 1) \ 200 V(Float32x4_negate, 1) \
201 V(Float32x4_sub, 2) \ 201 V(Float32x4_sub, 2) \
202 V(Float32x4_mul, 2) \ 202 V(Float32x4_mul, 2) \
203 V(Float32x4_div, 2) \ 203 V(Float32x4_div, 2) \
204 V(Float32x4_cmplt, 2) \ 204 V(Float32x4_cmplt, 2) \
205 V(Float32x4_cmplte, 2) \ 205 V(Float32x4_cmplte, 2) \
206 V(Float32x4_cmpgt, 2) \ 206 V(Float32x4_cmpgt, 2) \
207 V(Float32x4_cmpgte, 2) \ 207 V(Float32x4_cmpgte, 2) \
(...skipping 11 matching lines...) Expand all
219 V(Float32x4_shuffleMix, 3) \ 219 V(Float32x4_shuffleMix, 3) \
220 V(Float32x4_setX, 2) \ 220 V(Float32x4_setX, 2) \
221 V(Float32x4_setY, 2) \ 221 V(Float32x4_setY, 2) \
222 V(Float32x4_setZ, 2) \ 222 V(Float32x4_setZ, 2) \
223 V(Float32x4_setW, 2) \ 223 V(Float32x4_setW, 2) \
224 V(Float32x4_min, 2) \ 224 V(Float32x4_min, 2) \
225 V(Float32x4_max, 2) \ 225 V(Float32x4_max, 2) \
226 V(Float32x4_sqrt, 1) \ 226 V(Float32x4_sqrt, 1) \
227 V(Float32x4_reciprocal, 1) \ 227 V(Float32x4_reciprocal, 1) \
228 V(Float32x4_reciprocalSqrt, 1) \ 228 V(Float32x4_reciprocalSqrt, 1) \
229 V(Uint32x4_fromInts, 5) \ 229 V(Int32x4_fromInts, 5) \
230 V(Uint32x4_fromBools, 5) \ 230 V(Int32x4_fromBools, 5) \
231 V(Uint32x4_fromFloat32x4Bits, 2) \ 231 V(Int32x4_fromFloat32x4Bits, 2) \
232 V(Uint32x4_or, 2) \ 232 V(Int32x4_or, 2) \
233 V(Uint32x4_and, 2) \ 233 V(Int32x4_and, 2) \
234 V(Uint32x4_xor, 2) \ 234 V(Int32x4_xor, 2) \
235 V(Uint32x4_add, 2) \ 235 V(Int32x4_add, 2) \
236 V(Uint32x4_sub, 2) \ 236 V(Int32x4_sub, 2) \
237 V(Uint32x4_getX, 1) \ 237 V(Int32x4_getX, 1) \
238 V(Uint32x4_getY, 1) \ 238 V(Int32x4_getY, 1) \
239 V(Uint32x4_getZ, 1) \ 239 V(Int32x4_getZ, 1) \
240 V(Uint32x4_getW, 1) \ 240 V(Int32x4_getW, 1) \
241 V(Uint32x4_setX, 2) \ 241 V(Int32x4_setX, 2) \
242 V(Uint32x4_setY, 2) \ 242 V(Int32x4_setY, 2) \
243 V(Uint32x4_setZ, 2) \ 243 V(Int32x4_setZ, 2) \
244 V(Uint32x4_setW, 2) \ 244 V(Int32x4_setW, 2) \
245 V(Uint32x4_getSignMask, 1) \ 245 V(Int32x4_getSignMask, 1) \
246 V(Uint32x4_shuffle, 2) \ 246 V(Int32x4_shuffle, 2) \
247 V(Uint32x4_shuffleMix, 3) \ 247 V(Int32x4_shuffleMix, 3) \
248 V(Uint32x4_getFlagX, 1) \ 248 V(Int32x4_getFlagX, 1) \
249 V(Uint32x4_getFlagY, 1) \ 249 V(Int32x4_getFlagY, 1) \
250 V(Uint32x4_getFlagZ, 1) \ 250 V(Int32x4_getFlagZ, 1) \
251 V(Uint32x4_getFlagW, 1) \ 251 V(Int32x4_getFlagW, 1) \
252 V(Uint32x4_setFlagX, 2) \ 252 V(Int32x4_setFlagX, 2) \
253 V(Uint32x4_setFlagY, 2) \ 253 V(Int32x4_setFlagY, 2) \
254 V(Uint32x4_setFlagZ, 2) \ 254 V(Int32x4_setFlagZ, 2) \
255 V(Uint32x4_setFlagW, 2) \ 255 V(Int32x4_setFlagW, 2) \
256 V(Uint32x4_select, 3) \ 256 V(Int32x4_select, 3) \
257 V(Isolate_mainPort, 0) \ 257 V(Isolate_mainPort, 0) \
258 V(Isolate_spawnFunction, 1) \ 258 V(Isolate_spawnFunction, 1) \
259 V(Isolate_spawnUri, 1) \ 259 V(Isolate_spawnUri, 1) \
260 V(Mirrors_isLocalPort, 1) \ 260 V(Mirrors_isLocalPort, 1) \
261 V(Mirrors_makeLocalClassMirror, 1) \ 261 V(Mirrors_makeLocalClassMirror, 1) \
262 V(Mirrors_makeLocalTypeMirror, 1) \ 262 V(Mirrors_makeLocalTypeMirror, 1) \
263 V(Mirrors_makeLocalMirrorSystem, 0) \ 263 V(Mirrors_makeLocalMirrorSystem, 0) \
264 V(Mirrors_mangleName, 2) \ 264 V(Mirrors_mangleName, 2) \
265 V(Mirrors_unmangleName, 1) \ 265 V(Mirrors_unmangleName, 1) \
266 V(MirrorReference_equals, 2) \ 266 V(MirrorReference_equals, 2) \
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 static void DN_##name(Dart_NativeArguments args); 327 static void DN_##name(Dart_NativeArguments args);
328 328
329 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 329 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
330 330
331 #undef DECLARE_BOOTSTRAP_NATIVE 331 #undef DECLARE_BOOTSTRAP_NATIVE
332 }; 332 };
333 333
334 } // namespace dart 334 } // namespace dart
335 335
336 #endif // VM_BOOTSTRAP_NATIVES_H_ 336 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « dart/runtime/platform/globals.h ('k') | dart/runtime/vm/dart_api_message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698