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

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

Issue 14927003: Revert 22380 to investigate windows build break. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 static void SetStringField(Dart_Handle handle, 101 static void SetStringField(Dart_Handle handle,
102 const char* name, 102 const char* name,
103 const char* val); 103 const char* val);
104 static bool IsDartSchemeURL(const char* url_name); 104 static bool IsDartSchemeURL(const char* url_name);
105 static bool IsDartExtensionSchemeURL(const char* url_name); 105 static bool IsDartExtensionSchemeURL(const char* url_name);
106 static bool IsDartIOLibURL(const char* url_name); 106 static bool IsDartIOLibURL(const char* url_name);
107 static bool IsDartBuiltinLibURL(const char* url_name); 107 static bool IsDartBuiltinLibURL(const char* url_name);
108 static Dart_Handle CanonicalizeURL(CommandLineOptions* url_mapping, 108 static Dart_Handle CanonicalizeURL(CommandLineOptions* url_mapping,
109 Dart_Handle library, 109 Dart_Handle library,
110 const char* url_str); 110 const char* url_str);
111 static void* OpenFile(const char* name, bool write);
112 static void ReadFile(const uint8_t** data, intptr_t* file_len, void* stream);
113 static void WriteFile(const void* buffer, intptr_t num_bytes, void* stream);
114 static void CloseFile(void* stream);
115 static Dart_Handle ReadStringFromFile(const char* filename); 111 static Dart_Handle ReadStringFromFile(const char* filename);
116 static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag, 112 static Dart_Handle LibraryTagHandler(Dart_LibraryTag tag,
117 Dart_Handle library, 113 Dart_Handle library,
118 Dart_Handle url); 114 Dart_Handle url);
119 static Dart_Handle LoadScript(const char* script_uri, 115 static Dart_Handle LoadScript(const char* script_uri,
120 Dart_Handle builtin_lib); 116 Dart_Handle builtin_lib);
121 static Dart_Handle LoadSource(CommandLineOptions* url_mapping, 117 static Dart_Handle LoadSource(CommandLineOptions* url_mapping,
122 Dart_Handle library, 118 Dart_Handle library,
123 Dart_Handle url, 119 Dart_Handle url,
124 Dart_LibraryTag tag, 120 Dart_LibraryTag tag,
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 } 494 }
499 495
500 private: 496 private:
501 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array); 497 DISALLOW_COPY_AND_ASSIGN(CObjectExternalUint8Array);
502 }; 498 };
503 499
504 } // namespace bin 500 } // namespace bin
505 } // namespace dart 501 } // namespace dart
506 502
507 #endif // BIN_DARTUTILS_H_ 503 #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