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

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

Issue 25813002: - Rename arrays to lists: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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) 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 V(Double_parse, 1) \ 75 V(Double_parse, 1) \
76 V(Double_toStringAsFixed, 2) \ 76 V(Double_toStringAsFixed, 2) \
77 V(Double_toStringAsExponential, 2) \ 77 V(Double_toStringAsExponential, 2) \
78 V(Double_toStringAsPrecision, 2) \ 78 V(Double_toStringAsPrecision, 2) \
79 V(JSSyntaxRegExp_factory, 4) \ 79 V(JSSyntaxRegExp_factory, 4) \
80 V(JSSyntaxRegExp_getPattern, 1) \ 80 V(JSSyntaxRegExp_getPattern, 1) \
81 V(JSSyntaxRegExp_getIsMultiLine, 1) \ 81 V(JSSyntaxRegExp_getIsMultiLine, 1) \
82 V(JSSyntaxRegExp_getIsCaseSensitive, 1) \ 82 V(JSSyntaxRegExp_getIsCaseSensitive, 1) \
83 V(JSSyntaxRegExp_getGroupCount, 1) \ 83 V(JSSyntaxRegExp_getGroupCount, 1) \
84 V(JSSyntaxRegExp_ExecuteMatch, 3) \ 84 V(JSSyntaxRegExp_ExecuteMatch, 3) \
85 V(ObjectArray_allocate, 2) \ 85 V(List_allocate, 2) \
86 V(ObjectArray_getIndexed, 2) \ 86 V(List_getIndexed, 2) \
87 V(ObjectArray_setIndexed, 3) \ 87 V(List_setIndexed, 3) \
88 V(ObjectArray_getLength, 1) \ 88 V(List_getLength, 1) \
89 V(ObjectArray_copyFromObjectArray, 5) \ 89 V(List_copyFromObjectArray, 5) \
90 V(StringBase_createFromCodePoints, 1) \ 90 V(StringBase_createFromCodePoints, 1) \
91 V(StringBase_substringUnchecked, 3) \ 91 V(StringBase_substringUnchecked, 3) \
92 V(StringBuffer_createStringFromUint16Array, 3) \ 92 V(StringBuffer_createStringFromUint16Array, 3) \
93 V(OneByteString_substringUnchecked, 3) \ 93 V(OneByteString_substringUnchecked, 3) \
94 V(OneByteString_splitWithCharCode, 2) \ 94 V(OneByteString_splitWithCharCode, 2) \
95 V(OneByteString_allocate, 1) \ 95 V(OneByteString_allocate, 1) \
96 V(OneByteString_setAt, 3) \ 96 V(OneByteString_setAt, 3) \
97 V(String_getHashCode, 1) \ 97 V(String_getHashCode, 1) \
98 V(String_getLength, 1) \ 98 V(String_getLength, 1) \
99 V(String_charAt, 2) \ 99 V(String_charAt, 2) \
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 V(FunctionTypeMirror_call_method, 2) \ 285 V(FunctionTypeMirror_call_method, 2) \
286 V(FunctionTypeMirror_parameters, 2) \ 286 V(FunctionTypeMirror_parameters, 2) \
287 V(FunctionTypeMirror_return_type, 1) \ 287 V(FunctionTypeMirror_return_type, 1) \
288 V(MethodMirror_owner, 1) \ 288 V(MethodMirror_owner, 1) \
289 V(MethodMirror_parameters, 2) \ 289 V(MethodMirror_parameters, 2) \
290 V(MethodMirror_return_type, 1) \ 290 V(MethodMirror_return_type, 1) \
291 V(MethodMirror_source, 1) \ 291 V(MethodMirror_source, 1) \
292 V(ParameterMirror_type, 2) \ 292 V(ParameterMirror_type, 2) \
293 V(TypedefMirror_referent, 1) \ 293 V(TypedefMirror_referent, 1) \
294 V(VariableMirror_type, 1) \ 294 V(VariableMirror_type, 1) \
295 V(GrowableObjectArray_allocate, 2) \ 295 V(GrowableList_allocate, 2) \
296 V(GrowableObjectArray_getIndexed, 2) \ 296 V(GrowableList_getIndexed, 2) \
297 V(GrowableObjectArray_setIndexed, 3) \ 297 V(GrowableList_setIndexed, 3) \
298 V(GrowableObjectArray_getLength, 1) \ 298 V(GrowableList_getLength, 1) \
299 V(GrowableObjectArray_getCapacity, 1) \ 299 V(GrowableList_getCapacity, 1) \
300 V(GrowableObjectArray_setLength, 2) \ 300 V(GrowableList_setLength, 2) \
301 V(GrowableObjectArray_setData, 2) \ 301 V(GrowableList_setData, 2) \
302 V(WeakProperty_new, 2) \ 302 V(WeakProperty_new, 2) \
303 V(WeakProperty_getKey, 1) \ 303 V(WeakProperty_getKey, 1) \
304 V(WeakProperty_getValue, 1) \ 304 V(WeakProperty_getValue, 1) \
305 V(WeakProperty_setValue, 2) \ 305 V(WeakProperty_setValue, 2) \
306 V(Uri_isWindowsPlatform, 0) \ 306 V(Uri_isWindowsPlatform, 0) \
307 307
308 class BootstrapNatives : public AllStatic { 308 class BootstrapNatives : public AllStatic {
309 public: 309 public:
310 static Dart_NativeFunction Lookup(Dart_Handle name, int argument_count); 310 static Dart_NativeFunction Lookup(Dart_Handle name, int argument_count);
311 311
312 #define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \ 312 #define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \
313 static void DN_##name(Dart_NativeArguments args); 313 static void DN_##name(Dart_NativeArguments args);
314 314
315 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 315 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
316 316
317 #undef DECLARE_BOOTSTRAP_NATIVE 317 #undef DECLARE_BOOTSTRAP_NATIVE
318 }; 318 };
319 319
320 } // namespace dart 320 } // namespace dart
321 321
322 #endif // VM_BOOTSTRAP_NATIVES_H_ 322 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698