mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 09:31:58 +00:00
4b2906cdc1
This will enable the standalone embedder to resolve uris in a follow up CL: https://dart-review.googlesource.com/c/sdk/+/361881 The implementation was using zones for allocation, this CL switches that to using `malloc`. The caller is responsible for freeing the memory if resolving succeeds. This CL removes `Dart_DefaultCanonicalizeUrl`. We don't have a run_platform_tests, so this CL keeps the tests in run_vm_tests. TEST=vm/cc/ParseUri TEST=vm/cc/ResolveUri TEST=tests/ffi/native_assets/asset_relative_test.dart Bug: https://github.com/dart-lang/sdk/issues/55523 Change-Id: Ifb300d8164eb50506f22ce619fad0811f74ef34c Cq-Include-Trybots: luci.dart.try:vm-aot-asan-linux-release-x64-try,vm-aot-msan-linux-release-x64-try,vm-asan-linux-release-arm64-try,vm-asan-linux-release-x64-try,vm-msan-linux-release-arm64-try,vm-msan-linux-release-x64-try,pkg-linux-debug-try,pkg-linux-release-arm64-try,pkg-linux-release-try,pkg-mac-release-try,pkg-mac-release-arm64-try,pkg-win-release-arm64-try,pkg-win-release-try,vm-aot-linux-debug-x64-try,vm-linux-debug-x64-try,vm-reload-linux-debug-x64-try,vm-reload-rollback-linux-debug-x64-try,vm-aot-win-debug-x64-try,vm-win-debug-arm64-try,vm-mac-debug-x64-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/368423 Reviewed-by: Martin Kustermann <kustermann@google.com> |
||
---|---|---|
.. | ||
address_sanitizer.h | ||
allocation.cc | ||
allocation.h | ||
assert.cc | ||
assert.h | ||
atomic.h | ||
BUILD.gn | ||
elf.h | ||
floating_point.h | ||
floating_point_win.cc | ||
floating_point_win.h | ||
globals.h | ||
growable_array.h | ||
hashmap.cc | ||
hashmap.h | ||
leak_sanitizer.h | ||
mach_o.h | ||
memory_sanitizer.h | ||
pe.h | ||
platform_sources.gni | ||
priority_queue.h | ||
safe_stack.h | ||
signal_blocker.h | ||
splay-tree-inl.h | ||
splay-tree.h | ||
syslog.h | ||
syslog_android.cc | ||
syslog_fuchsia.cc | ||
syslog_linux.cc | ||
syslog_macos.cc | ||
syslog_win.cc | ||
text_buffer.cc | ||
text_buffer.h | ||
thread_sanitizer.h | ||
unaligned.h | ||
undefined_behavior_sanitizer.h | ||
unicode.cc | ||
unicode.h | ||
unwinding_records.cc | ||
unwinding_records.h | ||
unwinding_records_win.cc | ||
uri.cc | ||
uri.h | ||
uri_test.cc | ||
utils.cc | ||
utils.h | ||
utils_android.cc | ||
utils_android.h | ||
utils_fuchsia.cc | ||
utils_fuchsia.h | ||
utils_linux.cc | ||
utils_linux.h | ||
utils_macos.cc | ||
utils_macos.h | ||
utils_win.cc | ||
utils_win.h |