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

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

Issue 9235067: Use ByteArray's native for Socket and File. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 8 years, 10 months 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
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 V(DateNatives_getDay, 2) \ 98 V(DateNatives_getDay, 2) \
99 V(DateNatives_getHours, 2) \ 99 V(DateNatives_getHours, 2) \
100 V(DateNatives_getMinutes, 2) \ 100 V(DateNatives_getMinutes, 2) \
101 V(DateNatives_getSeconds, 2) \ 101 V(DateNatives_getSeconds, 2) \
102 V(AssertionError_throwNew, 2) \ 102 V(AssertionError_throwNew, 2) \
103 V(TypeError_throwNew, 4) \ 103 V(TypeError_throwNew, 4) \
104 V(FallThroughError_throwNew, 1) \ 104 V(FallThroughError_throwNew, 1) \
105 V(Clock_now, 0) \ 105 V(Clock_now, 0) \
106 V(Clock_frequency, 0) \ 106 V(Clock_frequency, 0) \
107 V(ByteArray_getLength, 1) \ 107 V(ByteArray_getLength, 1) \
108 V(ByteArray_setRange, 5) \
108 V(InternalByteArray_allocate, 1) \ 109 V(InternalByteArray_allocate, 1) \
109 V(InternalByteArray_getInt8, 2) \ 110 V(InternalByteArray_getInt8, 2) \
110 V(InternalByteArray_setInt8, 3) \ 111 V(InternalByteArray_setInt8, 3) \
111 V(InternalByteArray_getUint8, 2) \ 112 V(InternalByteArray_getUint8, 2) \
112 V(InternalByteArray_setUint8, 3) \ 113 V(InternalByteArray_setUint8, 3) \
113 V(InternalByteArray_getInt16, 2) \ 114 V(InternalByteArray_getInt16, 2) \
114 V(InternalByteArray_setInt16, 3) \ 115 V(InternalByteArray_setInt16, 3) \
115 V(InternalByteArray_getUint16, 2) \ 116 V(InternalByteArray_getUint16, 2) \
116 V(InternalByteArray_setUint16, 3) \ 117 V(InternalByteArray_setUint16, 3) \
117 V(InternalByteArray_getInt32, 2) \ 118 V(InternalByteArray_getInt32, 2) \
(...skipping 28 matching lines...) Expand all
146 V(ExternalByteArray_setFloat32, 3) \ 147 V(ExternalByteArray_setFloat32, 3) \
147 V(ExternalByteArray_getFloat64, 2) \ 148 V(ExternalByteArray_getFloat64, 2) \
148 V(ExternalByteArray_setFloat64, 3) \ 149 V(ExternalByteArray_setFloat64, 3) \
149 150
150 151
151 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY) 152 BOOTSTRAP_NATIVE_LIST(DECLARE_NATIVE_ENTRY)
152 153
153 } // namespace dart 154 } // namespace dart
154 155
155 #endif // VM_BOOTSTRAP_NATIVES_H_ 156 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698