| 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 V(MathNatives_tan, 1) \ | 85 V(MathNatives_tan, 1) \ |
| 86 V(MathNatives_asin, 1) \ | 86 V(MathNatives_asin, 1) \ |
| 87 V(MathNatives_acos, 1) \ | 87 V(MathNatives_acos, 1) \ |
| 88 V(MathNatives_atan, 1) \ | 88 V(MathNatives_atan, 1) \ |
| 89 V(MathNatives_2atan, 2) \ | 89 V(MathNatives_2atan, 2) \ |
| 90 V(MathNatives_exp, 1) \ | 90 V(MathNatives_exp, 1) \ |
| 91 V(MathNatives_log, 1) \ | 91 V(MathNatives_log, 1) \ |
| 92 V(MathNatives_random, 0) \ | 92 V(MathNatives_random, 0) \ |
| 93 V(MathNatives_parseInt, 1) \ | 93 V(MathNatives_parseInt, 1) \ |
| 94 V(MathNatives_parseDouble, 1) \ | 94 V(MathNatives_parseDouble, 1) \ |
| 95 V(DateNatives_brokenDownToSecondsSinceEpoch, 7) \ | |
| 96 V(DateNatives_currentTimeMillis, 0) \ | 95 V(DateNatives_currentTimeMillis, 0) \ |
| 97 V(DateNatives_getYear, 2) \ | |
| 98 V(DateNatives_getMonth, 2) \ | |
| 99 V(DateNatives_getDay, 2) \ | |
| 100 V(DateNatives_getHours, 2) \ | |
| 101 V(DateNatives_getMinutes, 2) \ | |
| 102 V(DateNatives_getSeconds, 2) \ | |
| 103 V(DateNatives_timeZoneName, 1) \ | 96 V(DateNatives_timeZoneName, 1) \ |
| 104 V(DateNatives_timeZoneOffsetInSeconds, 1) \ | 97 V(DateNatives_timeZoneOffsetInSeconds, 1) \ |
| 98 V(DateNatives_localTimeZoneAdjustmentInSeconds, 0) \ |
| 105 V(AssertionError_throwNew, 2) \ | 99 V(AssertionError_throwNew, 2) \ |
| 106 V(TypeError_throwNew, 5) \ | 100 V(TypeError_throwNew, 5) \ |
| 107 V(FallThroughError_throwNew, 1) \ | 101 V(FallThroughError_throwNew, 1) \ |
| 108 V(StaticResolutionException_throwNew, 1) \ | 102 V(StaticResolutionException_throwNew, 1) \ |
| 109 V(Clock_now, 0) \ | 103 V(Clock_now, 0) \ |
| 110 V(Clock_frequency, 0) \ | 104 V(Clock_frequency, 0) \ |
| 111 V(ByteArray_getLength, 1) \ | 105 V(ByteArray_getLength, 1) \ |
| 112 V(ByteArray_getInt8, 2) \ | 106 V(ByteArray_getInt8, 2) \ |
| 113 V(ByteArray_setInt8, 3) \ | 107 V(ByteArray_setInt8, 3) \ |
| 114 V(ByteArray_getUint8, 2) \ | 108 V(ByteArray_getUint8, 2) \ |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 V(GrowableObjectArray_getLength, 1) \ | 186 V(GrowableObjectArray_getLength, 1) \ |
| 193 V(GrowableObjectArray_getCapacity, 1) \ | 187 V(GrowableObjectArray_getCapacity, 1) \ |
| 194 V(GrowableObjectArray_setLength, 2) \ | 188 V(GrowableObjectArray_setLength, 2) \ |
| 195 V(GrowableObjectArray_setData, 2) \ | 189 V(GrowableObjectArray_setData, 2) \ |
| 196 | 190 |
| 197 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY) | 191 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY) |
| 198 | 192 |
| 199 } // namespace dart | 193 } // namespace dart |
| 200 | 194 |
| 201 #endif // VM_BOOTSTRAP_NATIVES_H_ | 195 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |