| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 V(ImmutableList_from, 4) \ | 102 V(ImmutableList_from, 4) \ |
| 103 V(StringBase_createFromCodePoints, 3) \ | 103 V(StringBase_createFromCodePoints, 3) \ |
| 104 V(StringBase_substringUnchecked, 3) \ | 104 V(StringBase_substringUnchecked, 3) \ |
| 105 V(StringBase_joinReplaceAllResult, 4) \ | 105 V(StringBase_joinReplaceAllResult, 4) \ |
| 106 V(StringBuffer_createStringFromUint16Array, 3) \ | 106 V(StringBuffer_createStringFromUint16Array, 3) \ |
| 107 V(OneByteString_substringUnchecked, 3) \ | 107 V(OneByteString_substringUnchecked, 3) \ |
| 108 V(OneByteString_splitWithCharCode, 2) \ | 108 V(OneByteString_splitWithCharCode, 2) \ |
| 109 V(OneByteString_allocate, 1) \ | 109 V(OneByteString_allocate, 1) \ |
| 110 V(OneByteString_allocateFromOneByteList, 3) \ | 110 V(OneByteString_allocateFromOneByteList, 3) \ |
| 111 V(OneByteString_setAt, 3) \ | 111 V(OneByteString_setAt, 3) \ |
| 112 V(TwoByteString_allocateFromTwoByteList, 3) \ |
| 112 V(ExternalOneByteString_getCid, 0) \ | 113 V(ExternalOneByteString_getCid, 0) \ |
| 113 V(String_getHashCode, 1) \ | 114 V(String_getHashCode, 1) \ |
| 114 V(String_getLength, 1) \ | 115 V(String_getLength, 1) \ |
| 115 V(String_charAt, 2) \ | 116 V(String_charAt, 2) \ |
| 116 V(String_codeUnitAt, 2) \ | 117 V(String_codeUnitAt, 2) \ |
| 117 V(String_concat, 2) \ | 118 V(String_concat, 2) \ |
| 118 V(String_fromEnvironment, 3) \ | 119 V(String_fromEnvironment, 3) \ |
| 119 V(String_toLowerCase, 1) \ | 120 V(String_toLowerCase, 1) \ |
| 120 V(String_toUpperCase, 1) \ | 121 V(String_toUpperCase, 1) \ |
| 121 V(String_concatRange, 3) \ | 122 V(String_concatRange, 3) \ |
| (...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 392 static void DN_##name(Dart_NativeArguments args); | 393 static void DN_##name(Dart_NativeArguments args); |
| 393 | 394 |
| 394 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) | 395 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) |
| 395 | 396 |
| 396 #undef DECLARE_BOOTSTRAP_NATIVE | 397 #undef DECLARE_BOOTSTRAP_NATIVE |
| 397 }; | 398 }; |
| 398 | 399 |
| 399 } // namespace dart | 400 } // namespace dart |
| 400 | 401 |
| 401 #endif // VM_BOOTSTRAP_NATIVES_H_ | 402 #endif // VM_BOOTSTRAP_NATIVES_H_ |
| OLD | NEW |