6#if defined(DART_HOST_OS_WINDOWS)
22 return new Namespace(
nullptr);
30Namespace::~Namespace() {
31 ASSERT(namespc_ ==
nullptr);
39 int length = GetCurrentDirectoryW(0,
nullptr);
44 current =
reinterpret_cast<wchar_t*
>(
46 GetCurrentDirectoryW(
length + 1, current);
58 bool result = SetCurrentDirectoryW(system_path.get()) != 0;
62void Namespace::ResolvePath(Namespace* namespc,
65 const char** resolved_path) {
NamespaceScope(Namespace *namespc, const char *path)
static Namespace * Create(intptr_t namespc)
static const char * GetCurrent(Namespace *namespc)
static intptr_t Default()
static bool SetCurrent(Namespace *namespc, const char *path)
static char * WideToUtf8(wchar_t *wide, intptr_t len=-1, intptr_t *result_len=nullptr)
std::unique_ptr< wchar_t[]> Utf8ToWideChar(const char *path)
DART_EXPORT uint8_t * Dart_ScopeAllocate(intptr_t size)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path