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

Side by Side Diff: runtime/bin/dartutils.h

Issue 12226068: Add snapshot size to the VM benchmarks suite. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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
« no previous file with comments | « no previous file | runtime/bin/dartutils.cc » ('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 BIN_DARTUTILS_H_ 5 #ifndef BIN_DARTUTILS_H_
6 #define BIN_DARTUTILS_H_ 6 #define BIN_DARTUTILS_H_
7 7
8 #include "bin/builtin.h" 8 #include "bin/builtin.h"
9 #include "bin/utils.h" 9 #include "bin/utils.h"
10 #include "include/dart_api.h" 10 #include "include/dart_api.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 intptr_t val); 92 intptr_t val);
93 static intptr_t GetIntegerField(Dart_Handle handle, 93 static intptr_t GetIntegerField(Dart_Handle handle,
94 const char* name); 94 const char* name);
95 static void SetStringField(Dart_Handle handle, 95 static void SetStringField(Dart_Handle handle,
96 const char* name, 96 const char* name,
97 const char* val); 97 const char* val);
98 static bool IsDartSchemeURL(const char* url_name); 98 static bool IsDartSchemeURL(const char* url_name);
99 static bool IsDartExtensionSchemeURL(const char* url_name); 99 static bool IsDartExtensionSchemeURL(const char* url_name);
100 static bool IsDartCryptoLibURL(const char* url_name); 100 static bool IsDartCryptoLibURL(const char* url_name);
101 static bool IsDartIOLibURL(const char* url_name); 101 static bool IsDartIOLibURL(const char* url_name);
102 static bool IsDartBuiltinLibURL(const char* url_name);
102 static bool IsDartJsonLibURL(const char* url_name); 103 static bool IsDartJsonLibURL(const char* url_name);
103 static bool IsDartUriLibURL(const char* url_name); 104 static bool IsDartUriLibURL(const char* url_name);
104 static bool IsDartUtfLibURL(const char* url_name); 105 static bool IsDartUtfLibURL(const char* url_name);
105 static Dart_Handle CanonicalizeURL(CommandLineOptions* url_mapping, 106 static Dart_Handle CanonicalizeURL(CommandLineOptions* url_mapping,
106 Dart_Handle library, 107 Dart_Handle library,
107 const char* url_str); 108 const char* url_str);
108 static Dart_Handle ReadStringFromFile(const char* filename); 109 static Dart_Handle ReadStringFromFile(const char* filename);
109 static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag, 110 static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag,
110 Dart_Handle library, 111 Dart_Handle library,
111 Dart_Handle url); 112 Dart_Handle url);
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 void* Peer() const { return cobject_->value.as_external_byte_array.peer; } 414 void* Peer() const { return cobject_->value.as_external_byte_array.peer; }
414 Dart_WeakPersistentHandleFinalizer Callback() const { 415 Dart_WeakPersistentHandleFinalizer Callback() const {
415 return cobject_->value.as_external_byte_array.callback; 416 return cobject_->value.as_external_byte_array.callback;
416 } 417 }
417 418
418 private: 419 private:
419 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array); 420 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array);
420 }; 421 };
421 422
422 #endif // BIN_DARTUTILS_H_ 423 #endif // BIN_DARTUTILS_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/dartutils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698