dart-sdk/runtime/bin
Liam Appelbe dff831dbfc [ffi] Fix callback subtyping test
Previously we were reusing the ensureNativeTypeToDartType function to
check that Dart function passed as a callback matches the native type.
This works if the types exactly match, but the subtyping test is
backwards, so it doesn't allow certain cases that should be allowed. The
main case is that when the native function type returns void, the Dart
function should be allowed to return anything.

So I added ensureDartTypeToNativeType, which reverses the subtype test.

As well as making the return types more permissive, this has also
changed what parameters are allowed to be passed to callbacks. For
example, in tests/ffi/vmspecific_static_checks_typeddata_test.dart:80,
passing a Handle to a function expecting an Int8List used to work, but
is now a compile error. I think this change is an improvement, because
previously it would have been possible to pass any type of object to
that callback. So this change turns some potential runtime type errors
into compile errors. But technically I think this is a breaking change.

Fixes: https://github.com/dart-lang/sdk/issues/53659
Bug: https://github.com/dart-lang/sdk/issues/53659
Change-Id: I6846a59fc309ec897cba8f985d7dd0a63b912b42
TEST=tests/ffi/function_callbacks_subtype_test.dart and others
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/346440
Commit-Queue: Liam Appelbe <liama@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2024-02-05 03:19:01 +00:00
..
ffi_test [ffi] Fix callback subtyping test 2024-02-05 03:19:01 +00:00
ffi_unit_test [vm, ffi] Add Windows ARM64 to FFI unit tests. 2023-10-11 18:41:57 +00:00
abstract_socket_test.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
address_sanitizer.cc Do not declare __asan_default_options if GOOGLE3 is defined. 2021-12-24 06:44:34 +00:00
analyze_snapshot.cc Expand collection of object instances. 2023-07-03 12:29:15 +00:00
BUILD.gn Revert "[vm/ffi] Unwrap typed data in FFI calls" 2024-01-31 09:22:45 +00:00
builtin.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
builtin.h [VM/runtime] Remove support for loading URLs through service isolate 2019-12-27 17:30:05 +00:00
builtin_gen_snapshot.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
builtin_impl_sources.gni [vm] Add build-time option to use absl mutexes in place of pthread mutexes. 2022-03-10 23:48:05 +00:00
builtin_in.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
builtin_natives.cc [VM/Service] Include newline in the stdout service event. 2024-01-16 18:41:23 +00:00
builtin_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
cli.cc
cli_impl_sources.gni
cli_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
console.h [VM] Refactored console configuration out of platform_*.cc into console_config.h and reapplied c9700040c3 for POSIX platforms (Windows needs more work). We may also want to move code in bin/stdio.h. 2018-03-12 20:31:09 +00:00
console_posix.cc [io] Don't restore terminal state on exit. 2022-05-31 15:36:33 +00:00
console_win.cc [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
crashpad.cc [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_ 2021-07-02 19:06:45 +00:00
crashpad.h [gardening] Integrate Crashpad with run_vm_tests. 2018-10-29 15:11:16 +00:00
crypto.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
crypto.h
crypto_android.cc [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_ 2021-07-02 19:06:45 +00:00
crypto_fuchsia.cc [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_ 2021-07-02 19:06:45 +00:00
crypto_linux.cc [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_ 2021-07-02 19:06:45 +00:00
crypto_macos.cc [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_ 2021-07-02 19:06:45 +00:00
crypto_test.cc
crypto_win.cc [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_ 2021-07-02 19:06:45 +00:00
dart_embedder_api_impl.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
dart_io_api_impl.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
dart_precompiled_runtime_test_component.cml [test] Cleanup building Fuchsia packages/components. 2023-10-31 17:11:51 +00:00
dart_test_component.cml [test] Cleanup building Fuchsia packages/components. 2023-10-31 17:11:51 +00:00
dartdev_isolate.cc [VM] Minor cleanup 2023-12-21 22:35:59 +00:00
dartdev_isolate.h [VM] Minor cleanup 2023-12-21 22:35:59 +00:00
dartutils.cc [vm] Fix Mac Arm64 AOT 2024-02-01 15:30:08 +00:00
dartutils.h [vm] Fix Mac Arm64 AOT 2024-02-01 15:30:08 +00:00
dfe.cc [VM/Runtime] Report error when an AOT snapshot is used in spawnUri while 2024-01-31 21:43:27 +00:00
dfe.h [VM/Runtime] Report error when an AOT snapshot is used in spawnUri while 2024-01-31 21:43:27 +00:00
directory.cc [vm, io] Don't have pending Dart_TypedDataAcquire during I/O operations. 2024-01-11 23:54:59 +00:00
directory.h [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
directory_android.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
directory_fuchsia.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
directory_linux.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
directory_macos.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
directory_test.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
directory_win.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
elf_loader.cc [vm] Fix unwinding records on Windows 2024-01-18 01:09:49 +00:00
elf_loader.h [vm] Improve docs for Dart_LoadELF. 2020-03-09 14:16:47 +00:00
entrypoints_verification_test.cc [vm] Remove support for dart-ext: imports 2021-09-02 14:14:35 +00:00
error_exit.cc [VM/Runtime] Ensure an isolate exists before calling Dart_ShutdownIsolate() 2023-07-14 01:31:38 +00:00
error_exit.h [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
eventhandler.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
eventhandler.h [vm/bin] Improve error message in WakeupHandler 2023-05-02 07:32:30 +00:00
eventhandler_android.cc [vm/bin] Improve error message in WakeupHandler 2023-05-02 07:32:30 +00:00
eventhandler_android.h [VM] Remove retry logic from close(fd) calls 2019-02-15 23:28:17 +00:00
eventhandler_fuchsia.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
eventhandler_fuchsia.h [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
eventhandler_linux.cc [vm/bin] Improve error message in WakeupHandler 2023-05-02 07:32:30 +00:00
eventhandler_linux.h [VM] Remove retry logic from close(fd) calls 2019-02-15 23:28:17 +00:00
eventhandler_macos.cc [vm/bin] Improve error message in WakeupHandler 2023-05-02 07:32:30 +00:00
eventhandler_macos.h [VM] Remove retry logic from close(fd) calls 2019-02-15 23:28:17 +00:00
eventhandler_test.cc Spelling pkg analyzer lib 2023-01-25 14:08:27 +00:00
eventhandler_win.cc [vm] Fix some cross compilation issues from Linux to Windows 2023-11-13 14:25:28 +00:00
eventhandler_win.h [vm/io] Avoid leaking Handle::data_ready_ on Windows. 2023-06-28 13:06:51 +00:00
exe_utils.cc [standalone] Fix finding symbols when argv[0] is not an absolute path or relative to CWD. 2023-12-05 17:25:39 +00:00
exe_utils.h [build] Don't export all symbols to the dynamic table. 2023-09-05 21:47:59 +00:00
fdutils.h Spelling runtime bin 2023-01-06 07:48:22 +00:00
fdutils_android.cc [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_ 2021-07-02 19:06:45 +00:00
fdutils_fuchsia.cc [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_ 2021-07-02 19:06:45 +00:00
fdutils_linux.cc [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_ 2021-07-02 19:06:45 +00:00
fdutils_macos.cc [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_ 2021-07-02 19:06:45 +00:00
file.cc [vm, io] Don't have pending Dart_TypedDataAcquire during I/O operations. 2024-01-11 23:54:59 +00:00
file.h [build] Don't export all symbols to the dynamic table. 2023-09-05 21:47:59 +00:00
file_android.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
file_fuchsia.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
file_linux.cc [vm] Fix running under WSL 1 2024-01-11 22:24:44 +00:00
file_macos.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
file_support.cc [ VM ] Remove requirement for presence of current isolate for 2021-03-10 00:42:37 +00:00
file_system_watcher.cc [vm/io] Fix memory leak in FileSystemWatcher_InitWatcher 2023-07-04 13:10:42 +00:00
file_system_watcher.h [io/mac] Ensure FSEventsWatcher::Node is deleted synchronously with Callback that uses it. 2021-06-04 14:26:36 +00:00
file_system_watcher_android.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
file_system_watcher_fuchsia.cc [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_ 2021-07-02 19:06:45 +00:00
file_system_watcher_linux.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
file_system_watcher_macos.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
file_system_watcher_win.cc [vm] Fix some cross compilation issues from Linux to Windows 2023-11-13 14:25:28 +00:00
file_test.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
file_win.cc [vm] Fix some cross compilation issues from Linux to Windows 2023-11-13 14:25:28 +00:00
file_win.h Reland "Enable long path on Windows" 2020-10-02 00:54:46 +00:00
filter.cc [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
filter.h [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
gen_snapshot.cc [vm] Consistently apply --target_unknown_cpu to AOT compilation. 2023-11-30 23:44:50 +00:00
gzip.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
gzip.h
hashmap_test.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
ifaddrs-android.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
ifaddrs-android.h [vm] Support ListInterfaces for android 2019-04-19 16:38:44 +00:00
io_buffer.cc [standalone] Remove tcmalloc. 2023-04-18 20:56:00 +00:00
io_buffer.h [vm/io] Shrink buffers using realloc() if actual used data is small 2021-02-02 20:04:22 +00:00
io_impl_sources.gni Add support for sending file descriptors over unix domain sockets on macOS 2022-09-01 20:36:12 +00:00
io_natives.cc [io] Take pending writes into account in _SocketStreamConsumer 2023-06-07 09:49:35 +00:00
io_natives.h
io_service.cc
io_service.h Implement anonymous pipes and the ability to transmit them between processes using Unix Domain Sockets. 2022-09-13 21:16:28 +00:00
io_service_no_ssl.cc
io_service_no_ssl.h [io] Align io_service_no_ssl.h with io_service.h. 2024-01-31 19:32:09 +00:00
io_sources.gni [NNBD/VM] Restructure VM patch files for the NNBD dart sdk split 2019-09-19 03:57:30 +00:00
isolate_data.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
isolate_data.h [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
loader.cc [VM/Runtime] Report error when an AOT snapshot is used in spawnUri while 2024-01-31 21:43:27 +00:00
loader.h [vm] Remove support for dart-ext: imports 2021-09-02 14:14:35 +00:00
lockers.h [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
main.cc [vm] Split out main from main.cc 2023-01-16 15:12:38 +00:00
main_impl.cc [vm] Fix memory leak of [AppSnapshot] object 2024-02-02 10:45:27 +00:00
main_impl.h [vm] Split out main from main.cc 2023-01-16 15:12:38 +00:00
main_options.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
main_options.h Reland "[ Observatory ] Disable serving Observatory by default" 2023-04-20 18:16:09 +00:00
namespace.cc [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
namespace.h [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
namespace_android.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
namespace_fuchsia.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
namespace_fuchsia.h [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_ 2021-07-02 19:06:45 +00:00
namespace_linux.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
namespace_macos.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
namespace_win.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
observatory_assets_empty.cc [vm] Cleanup C99 header includes 2019-07-03 10:54:24 +00:00
options.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
options.h [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
platform.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
platform.h [vm, io] Restore global destructors for normal shutdown path. 2023-09-05 22:15:58 +00:00
platform_android.cc [standalone] Symbolize si_code in crash dumps. 2023-11-17 19:02:33 +00:00
platform_fuchsia.cc [vm, io] Restore global destructors for normal shutdown path. 2023-09-05 22:15:58 +00:00
platform_linux.cc [standalone] Symbolize si_code in crash dumps. 2023-11-17 19:02:33 +00:00
platform_macos.cc [standalone] Symbolize si_code in crash dumps. 2023-11-17 19:02:33 +00:00
platform_macos.h Update operatingSystemVersion on MacOS/iOS to return system version instead of kernel version 2020-07-07 21:07:55 +00:00
platform_macos_cocoa.h Fix a bug where Platform.operatingSystemVersion was incorrect in the iOS 2021-10-19 21:25:43 +00:00
platform_macos_cocoa.mm Fix a bug where Platform.operatingSystemVersion was incorrect in the iOS 2021-10-19 21:25:43 +00:00
platform_win.cc [vm/win] Redirect warn/error/assert informaion into stderr. 2023-12-08 20:20:10 +00:00
priority_heap_test.cc [vm] Fix tyops in a license header 2020-12-16 19:07:12 +00:00
process.cc [vm, io] Restore global destructors for normal shutdown path. 2023-09-05 22:15:58 +00:00
process.h [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
process_android.cc [VM/Runtime] - Do not try to resolve exec path for default namespace 2024-01-11 19:12:52 +00:00
process_fuchsia.cc [fuchsia] Don't use zx_vmo_replace_as_executable during process spawning. 2023-06-14 01:38:34 +00:00
process_linux.cc [VM/Runtime] - Do not try to resolve exec path for default namespace 2024-01-11 19:12:52 +00:00
process_macos.cc [vm] Remove ProcessStarter on iOS 2023-06-19 00:25:12 +00:00
process_test.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
process_win.cc [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
reference_counting.h [vm] Enable clang-tidy for arm, arm64, riscv64, product, release, precompiler. 2023-07-11 15:13:58 +00:00
root_certificates_unsupported.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
run_vm_tests.cc [build] Don't export all symbols to the dynamic table. 2023-09-05 21:47:59 +00:00
run_vm_tests_test_component.cml [test] Cleanup building Fuchsia packages/components. 2023-10-31 17:11:51 +00:00
secure_socket_filter.cc [ssl/mac] Avoid unnecessary allocations of x509 certificates, fix leak. 2023-08-11 16:28:46 +00:00
secure_socket_filter.h [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
secure_socket_unsupported.cc Allow sockets to enable TLS renegotiation. 2022-03-31 06:40:51 +00:00
secure_socket_utils.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
secure_socket_utils.h [vm] Fix memory leak freeing boringssl stack types. 2024-01-31 19:24:29 +00:00
secure_socket_utils_test.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
security_context.cc [io/ssl] Better error message when security context private key is missing. 2024-01-26 20:49:09 +00:00
security_context.h [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
security_context_android.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
security_context_fuchsia.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
security_context_linux.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
security_context_macos.cc [vm] Remove macOS 10.14 and iOS 12 availability checks 2024-01-25 08:23:51 +00:00
security_context_win.cc [ssl/win] Always free the X509 certificates after use, fix leak. 2023-12-11 17:49:58 +00:00
snapshot_empty.cc [vm] Cleanup C99 header includes 2019-07-03 10:54:24 +00:00
snapshot_in.cc [vm] Cleanup C99 header includes 2019-07-03 10:54:24 +00:00
snapshot_utils.cc [VM/Runtime] Report error when an AOT snapshot is used in spawnUri while 2024-01-31 21:43:27 +00:00
snapshot_utils.h [VM/Runtime] Report error when an AOT snapshot is used in spawnUri while 2024-01-31 21:43:27 +00:00
snapshot_utils_test.cc [vm/test] Remove checked-in binaries from MachO test. 2022-08-17 16:18:35 +00:00
socket.cc [vm/io] Fix memory leak in FileSystemWatcher_InitWatcher 2023-07-04 13:10:42 +00:00
socket.h [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
socket_android.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
socket_base.cc Add missing include for errno.h 2023-06-09 08:29:30 +00:00
socket_base.h [vm/io] Make sure to write until EAGAIN on POSIX 2023-06-08 13:17:28 +00:00
socket_base_android.cc [vm/io] Make sure to write until EAGAIN on POSIX 2023-06-08 13:17:28 +00:00
socket_base_android.h [dart:io] support Unix domain communications 2020-03-23 03:51:40 +00:00
socket_base_fuchsia.cc [vm/io] Make sure to write until EAGAIN on POSIX 2023-06-08 13:17:28 +00:00
socket_base_fuchsia.h [dart:io] Fix Unix domain socket headers for Fuchsia 2020-03-23 20:35:47 +00:00
socket_base_linux.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
socket_base_linux.h [dart:io] support Unix domain communications 2020-03-23 03:51:40 +00:00
socket_base_macos.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
socket_base_macos.h [dart:io] support Unix domain communications 2020-03-23 03:51:40 +00:00
socket_base_posix.cc [vm/io] Make sure to write until EAGAIN on POSIX 2023-06-08 13:17:28 +00:00
socket_base_win.cc [vm/io] Fall back to IfIndex if Ipv6IfIndex is zero 2023-08-18 17:22:18 +00:00
socket_base_win.h [dart:io] support Unix domain communications 2020-03-23 03:51:40 +00:00
socket_fuchsia.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
socket_linux.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
socket_macos.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
socket_win.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
stdio.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
stdio.h [io] Don't restore terminal state on exit. 2022-05-31 15:36:33 +00:00
stdio_android.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
stdio_fuchsia.cc [io] Don't restore terminal state on exit. 2022-05-31 15:36:33 +00:00
stdio_linux.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
stdio_macos.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
stdio_win.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
sync_socket.cc [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
sync_socket.h [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
sync_socket_android.cc [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_ 2021-07-02 19:06:45 +00:00
sync_socket_fuchsia.cc [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_ 2021-07-02 19:06:45 +00:00
sync_socket_linux.cc [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_ 2021-07-02 19:06:45 +00:00
sync_socket_macos.cc [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_ 2021-07-02 19:06:45 +00:00
sync_socket_win.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
test_utils.cc [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
test_utils.h MacOS-Signable Compiled Dart Scripts 2022-03-09 18:02:34 +00:00
thread.h [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
thread_absl.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
thread_absl.h [vm] Make [os_]thread_absl.cc compatible with Mac. 2022-03-21 16:47:47 +00:00
thread_android.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
thread_android.h [vm] Make [os_]thread_absl.cc compatible with Mac. 2022-03-21 16:47:47 +00:00
thread_fuchsia.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
thread_fuchsia.h [vm] Make [os_]thread_absl.cc compatible with Mac. 2022-03-21 16:47:47 +00:00
thread_linux.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
thread_linux.h [vm] Make [os_]thread_absl.cc compatible with Mac. 2022-03-21 16:47:47 +00:00
thread_macos.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
thread_macos.h [vm] Make [os_]thread_absl.cc compatible with Mac. 2022-03-21 16:47:47 +00:00
thread_win.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
thread_win.h [vm] Make [os_]thread_absl.cc compatible with Mac. 2022-03-21 16:47:47 +00:00
typed_data_utils.cc [vm/io] Null-terminate scope-copied CStrings. 2024-01-26 22:08:37 +00:00
typed_data_utils.h Revert "[dart:io] Revert recent non-utf8 path handling" 2018-05-23 21:01:44 +00:00
utils.cc [io/socket] Handle OSError returned by Socket_GetPort. 2021-04-01 18:04:12 +00:00
utils.h [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
utils_android.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
utils_fuchsia.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
utils_linux.cc [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
utils_macos.cc [vm] Avoid querying boot time on Mac/iOS. 2024-01-26 18:21:14 +00:00
utils_win.cc [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
utils_win.h [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
virtual_memory.h [vm] Update NULL to nullptr in runtime/bin. 2023-04-12 01:11:05 +00:00
virtual_memory_fuchsia.cc [standalone] Remove use of dart::VirtualMemory from the standalone embedder. 2021-08-12 21:30:10 +00:00
virtual_memory_posix.cc [vm] Fix running under WSL 1 2024-01-11 22:24:44 +00:00
virtual_memory_win.cc [standalone] Remove use of dart::VirtualMemory from the standalone embedder. 2021-08-12 21:30:10 +00:00
vmservice_impl.cc [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00
vmservice_impl.h [vm] Update to constexpr in runtime/bin. 2023-04-12 20:32:29 +00:00