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 #include <stdlib.h> | 5 #include <stdlib.h> |
6 #include <string.h> | 6 #include <string.h> |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 | 8 |
9 #include "include/dart_api.h" | 9 #include "include/dart_api.h" |
10 #include "include/dart_tools_api.h" | 10 #include "include/dart_tools_api.h" |
(...skipping 1543 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1554 { "dart:io", "CertificateException", "CertificateException." }, | 1554 { "dart:io", "CertificateException", "CertificateException." }, |
1555 { "dart:io", "Directory", "Directory." }, | 1555 { "dart:io", "Directory", "Directory." }, |
1556 { "dart:io", "File", "File." }, | 1556 { "dart:io", "File", "File." }, |
1557 { "dart:io", "FileSystemException", "FileSystemException." }, | 1557 { "dart:io", "FileSystemException", "FileSystemException." }, |
1558 { "dart:io", "HandshakeException", "HandshakeException." }, | 1558 { "dart:io", "HandshakeException", "HandshakeException." }, |
1559 { "dart:io", "Link", "Link." }, | 1559 { "dart:io", "Link", "Link." }, |
1560 { "dart:io", "OSError", "OSError." }, | 1560 { "dart:io", "OSError", "OSError." }, |
1561 { "dart:io", "TlsException", "TlsException." }, | 1561 { "dart:io", "TlsException", "TlsException." }, |
1562 { "dart:io", "X509Certificate", "X509Certificate._" }, | 1562 { "dart:io", "X509Certificate", "X509Certificate._" }, |
1563 { "dart:io", "_ExternalBuffer", "set:data" }, | 1563 { "dart:io", "_ExternalBuffer", "set:data" }, |
| 1564 { "dart:io", "_ExternalBuffer", "get:start" }, |
| 1565 { "dart:io", "_ExternalBuffer", "set:start" }, |
| 1566 { "dart:io", "_ExternalBuffer", "get:end" }, |
| 1567 { "dart:io", "_ExternalBuffer", "set:end" }, |
1564 { "dart:io", "_Platform", "set:_nativeScript" }, | 1568 { "dart:io", "_Platform", "set:_nativeScript" }, |
1565 { "dart:io", "_ProcessStartStatus", "set:_errorCode" }, | 1569 { "dart:io", "_ProcessStartStatus", "set:_errorCode" }, |
1566 { "dart:io", "_ProcessStartStatus", "set:_errorMessage" }, | 1570 { "dart:io", "_ProcessStartStatus", "set:_errorMessage" }, |
| 1571 { "dart:io", "_SecureFilterImpl", "get:buffers" }, |
1567 { "dart:io", "_SecureFilterImpl", "get:ENCRYPTED_SIZE" }, | 1572 { "dart:io", "_SecureFilterImpl", "get:ENCRYPTED_SIZE" }, |
1568 { "dart:io", "_SecureFilterImpl", "get:SIZE" }, | 1573 { "dart:io", "_SecureFilterImpl", "get:SIZE" }, |
1569 { "dart:vmservice_io", "::", "main" }, | 1574 { "dart:vmservice_io", "::", "main" }, |
1570 { NULL, NULL, NULL } // Must be terminated with NULL entries. | 1575 { NULL, NULL, NULL } // Must be terminated with NULL entries. |
1571 }; | 1576 }; |
1572 | 1577 |
1573 const bool reset_fields = gen_snapshot_kind == kAppAOT; | 1578 const bool reset_fields = gen_snapshot_kind == kAppAOT; |
1574 result = Dart_Precompile(standalone_entry_points, reset_fields); | 1579 result = Dart_Precompile(standalone_entry_points, reset_fields); |
1575 CHECK_RESULT(result); | 1580 CHECK_RESULT(result); |
1576 } | 1581 } |
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1893 Platform::Exit(Process::GlobalExitCode()); | 1898 Platform::Exit(Process::GlobalExitCode()); |
1894 } | 1899 } |
1895 | 1900 |
1896 } // namespace bin | 1901 } // namespace bin |
1897 } // namespace dart | 1902 } // namespace dart |
1898 | 1903 |
1899 int main(int argc, char** argv) { | 1904 int main(int argc, char** argv) { |
1900 dart::bin::main(argc, argv); | 1905 dart::bin::main(argc, argv); |
1901 UNREACHABLE(); | 1906 UNREACHABLE(); |
1902 } | 1907 } |
OLD | NEW |