OLD | NEW |
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 "include/dart_api.h" | 8 #include "include/dart_api.h" |
9 #include "include/dart_native_api.h" | 9 #include "include/dart_native_api.h" |
10 | 10 |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 static Dart_Handle NewError(const char* format, ...); | 174 static Dart_Handle NewError(const char* format, ...); |
175 static Dart_Handle NewInternalError(const char* message); | 175 static Dart_Handle NewInternalError(const char* message); |
176 | 176 |
177 static bool SetOriginalWorkingDirectory(); | 177 static bool SetOriginalWorkingDirectory(); |
178 | 178 |
179 static const char* MapLibraryUrl(CommandLineOptions* url_mapping, | 179 static const char* MapLibraryUrl(CommandLineOptions* url_mapping, |
180 const char* url_string); | 180 const char* url_string); |
181 | 181 |
182 static Dart_Handle SetWorkingDirectory(Dart_Handle builtin_lib); | 182 static Dart_Handle SetWorkingDirectory(Dart_Handle builtin_lib); |
183 | 183 |
184 static Dart_Handle ResolveScriptUri(Dart_Handle script_uri, | 184 static Dart_Handle ResolveUriInWorkingDirectory(Dart_Handle script_uri, |
185 Dart_Handle builtin_lib); | 185 Dart_Handle builtin_lib); |
186 | 186 |
187 static Dart_Handle FilePathFromUri(Dart_Handle script_uri, | 187 static Dart_Handle FilePathFromUri(Dart_Handle script_uri, |
188 Dart_Handle builtin_lib); | 188 Dart_Handle builtin_lib); |
189 | 189 |
190 static Dart_Handle ExtensionPathFromUri(Dart_Handle extension_uri, | 190 static Dart_Handle ExtensionPathFromUri(Dart_Handle extension_uri, |
191 Dart_Handle builtin_lib); | 191 Dart_Handle builtin_lib); |
192 | 192 |
193 static Dart_Handle ResolveUri(Dart_Handle library_url, | 193 static Dart_Handle ResolveUri(Dart_Handle library_url, |
194 Dart_Handle url, | 194 Dart_Handle url, |
195 Dart_Handle builtin_lib); | 195 Dart_Handle builtin_lib); |
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
579 | 579 |
580 ~ScopedBlockingCall() { | 580 ~ScopedBlockingCall() { |
581 Dart_IsolateUnblocked(); | 581 Dart_IsolateUnblocked(); |
582 } | 582 } |
583 }; | 583 }; |
584 | 584 |
585 } // namespace bin | 585 } // namespace bin |
586 } // namespace dart | 586 } // namespace dart |
587 | 587 |
588 #endif // BIN_DARTUTILS_H_ | 588 #endif // BIN_DARTUTILS_H_ |
OLD | NEW |