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

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

Issue 1474603003: Move tar archive parsing to C++ (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments Created 5 years 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
« no previous file with comments | « runtime/lib/vmservice_patch.dart ('k') | sdk/lib/vmservice/asset.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 V(Profiler_getCurrentTag, 0) \ 400 V(Profiler_getCurrentTag, 0) \
401 V(ClassID_getID, 1) \ 401 V(ClassID_getID, 1) \
402 V(Num_toString, 1) \ 402 V(Num_toString, 1) \
403 V(VMService_SendIsolateServiceMessage, 2) \ 403 V(VMService_SendIsolateServiceMessage, 2) \
404 V(VMService_SendRootServiceMessage, 1) \ 404 V(VMService_SendRootServiceMessage, 1) \
405 V(VMService_OnStart, 0) \ 405 V(VMService_OnStart, 0) \
406 V(VMService_OnExit, 0) \ 406 V(VMService_OnExit, 0) \
407 V(VMService_ListenStream, 1) \ 407 V(VMService_ListenStream, 1) \
408 V(VMService_CancelStream, 1) \ 408 V(VMService_CancelStream, 1) \
409 V(VMService_RequestAssets, 0) \ 409 V(VMService_RequestAssets, 0) \
410 V(VMService_DecodeAssets, 1) \
410 411
411 class BootstrapNatives : public AllStatic { 412 class BootstrapNatives : public AllStatic {
412 public: 413 public:
413 static Dart_NativeFunction Lookup(Dart_Handle name, 414 static Dart_NativeFunction Lookup(Dart_Handle name,
414 int argument_count, 415 int argument_count,
415 bool* auto_setup_scope); 416 bool* auto_setup_scope);
416 417
417 static const uint8_t* Symbol(Dart_NativeFunction* nf); 418 static const uint8_t* Symbol(Dart_NativeFunction* nf);
418 419
419 #define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \ 420 #define DECLARE_BOOTSTRAP_NATIVE(name, ignored) \
420 static void DN_##name(Dart_NativeArguments args); 421 static void DN_##name(Dart_NativeArguments args);
421 422
422 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE) 423 BOOTSTRAP_NATIVE_LIST(DECLARE_BOOTSTRAP_NATIVE)
423 424
424 #undef DECLARE_BOOTSTRAP_NATIVE 425 #undef DECLARE_BOOTSTRAP_NATIVE
425 }; 426 };
426 427
427 } // namespace dart 428 } // namespace dart
428 429
429 #endif // VM_BOOTSTRAP_NATIVES_H_ 430 #endif // VM_BOOTSTRAP_NATIVES_H_
OLDNEW
« no previous file with comments | « runtime/lib/vmservice_patch.dart ('k') | sdk/lib/vmservice/asset.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698