| OLD | NEW |
| 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 V(TypedData_Uint8ClampedArray_new, 1) \ | 134 V(TypedData_Uint8ClampedArray_new, 1) \ |
| 135 V(TypedData_Int16Array_new, 1) \ | 135 V(TypedData_Int16Array_new, 1) \ |
| 136 V(TypedData_Uint16Array_new, 1) \ | 136 V(TypedData_Uint16Array_new, 1) \ |
| 137 V(TypedData_Int32Array_new, 1) \ | 137 V(TypedData_Int32Array_new, 1) \ |
| 138 V(TypedData_Uint32Array_new, 1) \ | 138 V(TypedData_Uint32Array_new, 1) \ |
| 139 V(TypedData_Int64Array_new, 1) \ | 139 V(TypedData_Int64Array_new, 1) \ |
| 140 V(TypedData_Uint64Array_new, 1) \ | 140 V(TypedData_Uint64Array_new, 1) \ |
| 141 V(TypedData_Float32Array_new, 1) \ | 141 V(TypedData_Float32Array_new, 1) \ |
| 142 V(TypedData_Float64Array_new, 1) \ | 142 V(TypedData_Float64Array_new, 1) \ |
| 143 V(TypedData_Float32x4Array_new, 1) \ | 143 V(TypedData_Float32x4Array_new, 1) \ |
| 144 V(TypedData_Uint32x4Array_new, 1) \ |
| 144 V(ExternalTypedData_Int8Array_new, 1) \ | 145 V(ExternalTypedData_Int8Array_new, 1) \ |
| 145 V(ExternalTypedData_Uint8Array_new, 1) \ | 146 V(ExternalTypedData_Uint8Array_new, 1) \ |
| 146 V(ExternalTypedData_Uint8ClampedArray_new, 1) \ | 147 V(ExternalTypedData_Uint8ClampedArray_new, 1) \ |
| 147 V(ExternalTypedData_Int16Array_new, 1) \ | 148 V(ExternalTypedData_Int16Array_new, 1) \ |
| 148 V(ExternalTypedData_Uint16Array_new, 1) \ | 149 V(ExternalTypedData_Uint16Array_new, 1) \ |
| 149 V(ExternalTypedData_Int32Array_new, 1) \ | 150 V(ExternalTypedData_Int32Array_new, 1) \ |
| 150 V(ExternalTypedData_Uint32Array_new, 1) \ | 151 V(ExternalTypedData_Uint32Array_new, 1) \ |
| 151 V(ExternalTypedData_Int64Array_new, 1) \ | 152 V(ExternalTypedData_Int64Array_new, 1) \ |
| 152 V(ExternalTypedData_Uint64Array_new, 1) \ | 153 V(ExternalTypedData_Uint64Array_new, 1) \ |
| 153 V(ExternalTypedData_Float32Array_new, 1) \ | 154 V(ExternalTypedData_Float32Array_new, 1) \ |
| 154 V(ExternalTypedData_Float64Array_new, 1) \ | 155 V(ExternalTypedData_Float64Array_new, 1) \ |
| 155 V(ExternalTypedData_Float32x4Array_new, 1) \ | 156 V(ExternalTypedData_Float32x4Array_new, 1) \ |
| 157 V(ExternalTypedData_Uint32x4Array_new, 1) \ |
| 156 V(TypedData_length, 1) \ | 158 V(TypedData_length, 1) \ |
| 157 V(TypedData_setRange, 5) \ | 159 V(TypedData_setRange, 5) \ |
| 158 V(TypedData_GetInt8, 2) \ | 160 V(TypedData_GetInt8, 2) \ |
| 159 V(TypedData_SetInt8, 3) \ | 161 V(TypedData_SetInt8, 3) \ |
| 160 V(TypedData_GetUint8, 2) \ | 162 V(TypedData_GetUint8, 2) \ |
| 161 V(TypedData_SetUint8, 3) \ | 163 V(TypedData_SetUint8, 3) \ |
| 162 V(TypedData_GetInt16, 2) \ | 164 V(TypedData_GetInt16, 2) \ |
| 163 V(TypedData_SetInt16, 3) \ | 165 V(TypedData_SetInt16, 3) \ |
| 164 V(TypedData_GetUint16, 2) \ | 166 V(TypedData_GetUint16, 2) \ |
| 165 V(TypedData_SetUint16, 3) \ | 167 V(TypedData_SetUint16, 3) \ |
| 166 V(TypedData_GetInt32, 2) \ | 168 V(TypedData_GetInt32, 2) \ |
| 167 V(TypedData_SetInt32, 3) \ | 169 V(TypedData_SetInt32, 3) \ |
| 168 V(TypedData_GetUint32, 2) \ | 170 V(TypedData_GetUint32, 2) \ |
| 169 V(TypedData_SetUint32, 3) \ | 171 V(TypedData_SetUint32, 3) \ |
| 170 V(TypedData_GetInt64, 2) \ | 172 V(TypedData_GetInt64, 2) \ |
| 171 V(TypedData_SetInt64, 3) \ | 173 V(TypedData_SetInt64, 3) \ |
| 172 V(TypedData_GetUint64, 2) \ | 174 V(TypedData_GetUint64, 2) \ |
| 173 V(TypedData_SetUint64, 3) \ | 175 V(TypedData_SetUint64, 3) \ |
| 174 V(TypedData_GetFloat32, 2) \ | 176 V(TypedData_GetFloat32, 2) \ |
| 175 V(TypedData_SetFloat32, 3) \ | 177 V(TypedData_SetFloat32, 3) \ |
| 176 V(TypedData_GetFloat64, 2) \ | 178 V(TypedData_GetFloat64, 2) \ |
| 177 V(TypedData_SetFloat64, 3) \ | 179 V(TypedData_SetFloat64, 3) \ |
| 178 V(TypedData_GetFloat32x4, 2) \ | 180 V(TypedData_GetFloat32x4, 2) \ |
| 179 V(TypedData_SetFloat32x4, 3) \ | 181 V(TypedData_SetFloat32x4, 3) \ |
| 182 V(TypedData_GetUint32x4, 2) \ |
| 183 V(TypedData_SetUint32x4, 3) \ |
| 180 V(ByteData_ToEndianInt16, 2) \ | 184 V(ByteData_ToEndianInt16, 2) \ |
| 181 V(ByteData_ToEndianUint16, 2) \ | 185 V(ByteData_ToEndianUint16, 2) \ |
| 182 V(ByteData_ToEndianInt32, 2) \ | 186 V(ByteData_ToEndianInt32, 2) \ |
| 183 V(ByteData_ToEndianUint32, 2) \ | 187 V(ByteData_ToEndianUint32, 2) \ |
| 184 V(ByteData_ToEndianInt64, 2) \ | 188 V(ByteData_ToEndianInt64, 2) \ |
| 185 V(ByteData_ToEndianUint64, 2) \ | 189 V(ByteData_ToEndianUint64, 2) \ |
| 186 V(ByteData_ToEndianFloat32, 2) \ | 190 V(ByteData_ToEndianFloat32, 2) \ |
| 187 V(ByteData_ToEndianFloat64, 2) \ | 191 V(ByteData_ToEndianFloat64, 2) \ |
| 188 V(Float32x4_fromDoubles, 5) \ | 192 V(Float32x4_fromDoubles, 5) \ |
| 189 V(Float32x4_splat, 2) \ | 193 V(Float32x4_splat, 2) \ |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 static void DN_##name(Dart_NativeArguments args); | 326 static void DN_##name(Dart_NativeArguments args); |
| 323 | 327 |
| 324 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 328 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
| 325 | 329 |
| 326 #undef DECLARE_BOOTSTRAP_NATIVE | 330 #undef DECLARE_BOOTSTRAP_NATIVE |
| 327 }; | 331 }; |
| 328 | 332 |
| 329 } // namespace dart | 333 } // namespace dart |
| 330 | 334 |
| 331 #endif // VM_BOOTSTRAP_NATIVES_H_ | 335 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |