| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ | 105 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ |
| 106 V(AssertionError_throwNew, 2) \ | 106 V(AssertionError_throwNew, 2) \ |
| 107 V(TypeError_throwNew, 5) \ | 107 V(TypeError_throwNew, 5) \ |
| 108 V(FallThroughError_throwNew, 1) \ | 108 V(FallThroughError_throwNew, 1) \ |
| 109 V(AbstractClassInstantiationError_throwNew, 2) \ | 109 V(AbstractClassInstantiationError_throwNew, 2) \ |
| 110 V(Stacktrace_getFullStacktrace, 1) \ | 110 V(Stacktrace_getFullStacktrace, 1) \ |
| 111 V(Stacktrace_getStacktrace, 1) \ | 111 V(Stacktrace_getStacktrace, 1) \ |
| 112 V(Stacktrace_setupFullStacktrace, 1) \ | 112 V(Stacktrace_setupFullStacktrace, 1) \ |
| 113 V(Stopwatch_now, 0) \ | 113 V(Stopwatch_now, 0) \ |
| 114 V(Stopwatch_frequency, 0) \ | 114 V(Stopwatch_frequency, 0) \ |
| 115 V(ByteArray_getLength, 1) \ | |
| 116 V(ByteArray_getInt8, 2) \ | |
| 117 V(ByteArray_setInt8, 3) \ | |
| 118 V(ByteArray_getUint8, 2) \ | |
| 119 V(ByteArray_setUint8, 3) \ | |
| 120 V(ByteArray_getInt16, 2) \ | |
| 121 V(ByteArray_setInt16, 3) \ | |
| 122 V(ByteArray_getUint16, 2) \ | |
| 123 V(ByteArray_setUint16, 3) \ | |
| 124 V(ByteArray_getInt32, 2) \ | |
| 125 V(ByteArray_setInt32, 3) \ | |
| 126 V(ByteArray_getUint32, 2) \ | |
| 127 V(ByteArray_setUint32, 3) \ | |
| 128 V(ByteArray_getInt64, 2) \ | |
| 129 V(ByteArray_setInt64, 3) \ | |
| 130 V(ByteArray_getUint64, 2) \ | |
| 131 V(ByteArray_setUint64, 3) \ | |
| 132 V(ByteArray_getFloat32, 2) \ | |
| 133 V(ByteArray_setFloat32, 3) \ | |
| 134 V(ByteArray_getFloat64, 2) \ | |
| 135 V(ByteArray_setFloat64, 3) \ | |
| 136 V(ByteArray_setRange, 5) \ | |
| 137 V(Int8Array_new, 1) \ | |
| 138 V(Int8List_newTransferable, 1) \ | |
| 139 V(Int8Array_getIndexed, 2) \ | |
| 140 V(Int8Array_setIndexed, 3) \ | |
| 141 V(Uint8Array_new, 1) \ | |
| 142 V(Uint8List_newTransferable, 1) \ | |
| 143 V(Uint8Array_getIndexed, 2) \ | |
| 144 V(Uint8Array_setIndexed, 3) \ | |
| 145 V(Uint8ClampedArray_new, 1) \ | |
| 146 V(Uint8ClampedList_newTransferable, 1) \ | |
| 147 V(Uint8ClampedArray_getIndexed, 2) \ | |
| 148 V(Uint8ClampedArray_setIndexed, 3) \ | |
| 149 V(Int16Array_new, 1) \ | |
| 150 V(Int16List_newTransferable, 1) \ | |
| 151 V(Int16Array_getIndexed, 2) \ | |
| 152 V(Int16Array_setIndexed, 3) \ | |
| 153 V(Uint16Array_new, 1) \ | |
| 154 V(Uint16List_newTransferable, 1) \ | |
| 155 V(Uint16Array_getIndexed, 2) \ | |
| 156 V(Uint16Array_setIndexed, 3) \ | |
| 157 V(Int32Array_new, 1) \ | |
| 158 V(Int32List_newTransferable, 1) \ | |
| 159 V(Int32Array_getIndexed, 2) \ | |
| 160 V(Int32Array_setIndexed, 3) \ | |
| 161 V(Uint32Array_new, 1) \ | |
| 162 V(Uint32List_newTransferable, 1) \ | |
| 163 V(Uint32Array_getIndexed, 2) \ | |
| 164 V(Uint32Array_setIndexed, 3) \ | |
| 165 V(Int64Array_new, 1) \ | |
| 166 V(Int64List_newTransferable, 1) \ | |
| 167 V(Int64Array_getIndexed, 2) \ | |
| 168 V(Int64Array_setIndexed, 3) \ | |
| 169 V(Uint64Array_new, 1) \ | |
| 170 V(Uint64List_newTransferable, 1) \ | |
| 171 V(Uint64Array_getIndexed, 2) \ | |
| 172 V(Uint64Array_setIndexed, 3) \ | |
| 173 V(Float32Array_new, 1) \ | |
| 174 V(Float32List_newTransferable, 1) \ | |
| 175 V(Float32Array_getIndexed, 2) \ | |
| 176 V(Float32Array_setIndexed, 3) \ | |
| 177 V(Float64Array_new, 1) \ | |
| 178 V(Float64List_newTransferable, 1) \ | |
| 179 V(Float64Array_getIndexed, 2) \ | |
| 180 V(Float64Array_setIndexed, 3) \ | |
| 181 V(ExternalInt8Array_getIndexed, 2) \ | |
| 182 V(ExternalInt8Array_setIndexed, 3) \ | |
| 183 V(ExternalUint8Array_getIndexed, 2) \ | |
| 184 V(ExternalUint8Array_setIndexed, 3) \ | |
| 185 V(ExternalUint8ClampedArray_getIndexed, 2) \ | |
| 186 V(ExternalUint8ClampedArray_setIndexed, 3) \ | |
| 187 V(ExternalInt16Array_getIndexed, 2) \ | |
| 188 V(ExternalInt16Array_setIndexed, 3) \ | |
| 189 V(ExternalUint16Array_getIndexed, 2) \ | |
| 190 V(ExternalUint16Array_setIndexed, 3) \ | |
| 191 V(ExternalInt32Array_getIndexed, 2) \ | |
| 192 V(ExternalInt32Array_setIndexed, 3) \ | |
| 193 V(ExternalUint32Array_getIndexed, 2) \ | |
| 194 V(ExternalUint32Array_setIndexed, 3) \ | |
| 195 V(ExternalInt64Array_getIndexed, 2) \ | |
| 196 V(ExternalInt64Array_setIndexed, 3) \ | |
| 197 V(ExternalUint64Array_getIndexed, 2) \ | |
| 198 V(ExternalUint64Array_setIndexed, 3) \ | |
| 199 V(ExternalFloat32Array_getIndexed, 2) \ | |
| 200 V(ExternalFloat32Array_setIndexed, 3) \ | |
| 201 V(ExternalFloat64Array_getIndexed, 2) \ | |
| 202 V(ExternalFloat64Array_setIndexed, 3) \ | |
| 203 V(TypedData_Int8Array_new, 1) \ | 115 V(TypedData_Int8Array_new, 1) \ |
| 204 V(TypedData_Uint8Array_new, 1) \ | 116 V(TypedData_Uint8Array_new, 1) \ |
| 205 V(TypedData_Uint8ClampedArray_new, 1) \ | 117 V(TypedData_Uint8ClampedArray_new, 1) \ |
| 206 V(TypedData_Int16Array_new, 1) \ | 118 V(TypedData_Int16Array_new, 1) \ |
| 207 V(TypedData_Uint16Array_new, 1) \ | 119 V(TypedData_Uint16Array_new, 1) \ |
| 208 V(TypedData_Int32Array_new, 1) \ | 120 V(TypedData_Int32Array_new, 1) \ |
| 209 V(TypedData_Uint32Array_new, 1) \ | 121 V(TypedData_Uint32Array_new, 1) \ |
| 210 V(TypedData_Int64Array_new, 1) \ | 122 V(TypedData_Int64Array_new, 1) \ |
| 211 V(TypedData_Uint64Array_new, 1) \ | 123 V(TypedData_Uint64Array_new, 1) \ |
| 212 V(TypedData_Float32Array_new, 1) \ | 124 V(TypedData_Float32Array_new, 1) \ |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 static void DN_##name(Dart_NativeArguments args); | 248 static void DN_##name(Dart_NativeArguments args); |
| 337 | 249 |
| 338 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 250 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
| 339 | 251 |
| 340 #undef DECLARE_BOOTSTRAP_NATIVE | 252 #undef DECLARE_BOOTSTRAP_NATIVE |
| 341 }; | 253 }; |
| 342 | 254 |
| 343 } // namespace dart | 255 } // namespace dart |
| 344 | 256 |
| 345 #endif // VM_BOOTSTRAP_NATIVES_H_ | 257 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |