15AcqRelAtomic<const char*> Platform::resolved_executable_name_ =
nullptr;
45 const intptr_t HOSTNAME_LENGTH = 256;
46 char hostname[HOSTNAME_LENGTH];
81 for (intptr_t
i = 1;
i <
end;
i++) {
93 OSError error(-1,
"Failed to retrieve environment variables.",
99 intptr_t result_idx = 0;
100 for (intptr_t env_idx = 0; env_idx <
count; env_idx++) {
121 if (locale ==
nullptr) {
#define FUNCTION_NAME(name)
static Dart_Handle NewDartOSError()
static Dart_Handle NewString(const char *str)
static Dart_Handle GetDartType(const char *library_url, const char *class_name)
static const char * PathSeparator()
struct _Dart_Handle * Dart_Handle
struct _Dart_NativeArguments * Dart_NativeArguments
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
const uint8_t uint32_t uint32_t GError ** error
void FUNCTION_NAME() Platform_Environment(Dart_NativeArguments args)
static Dart_Handle ThrowIfError(Dart_Handle handle)
void FUNCTION_NAME() Platform_OperatingSystemVersion(Dart_NativeArguments args)
void FUNCTION_NAME() Platform_ResolvedExecutableName(Dart_NativeArguments args)
void FUNCTION_NAME() Platform_GetVersion(Dart_NativeArguments args)
void FUNCTION_NAME() Platform_PathSeparator(Dart_NativeArguments args)
void FUNCTION_NAME() Platform_ExecutableName(Dart_NativeArguments args)
void FUNCTION_NAME() Platform_NumberOfProcessors(Dart_NativeArguments args)
void FUNCTION_NAME() Platform_OperatingSystem(Dart_NativeArguments args)
void FUNCTION_NAME() Platform_LocaleName(Dart_NativeArguments args)
void FUNCTION_NAME() Platform_LocalHostname(Dart_NativeArguments args)
void FUNCTION_NAME() Platform_ExecutableArguments(Dart_NativeArguments args)
DART_EXPORT Dart_Handle Dart_NewInteger(int64_t value)
DART_EXPORT void Dart_SetReturnValue(Dart_NativeArguments args, Dart_Handle retval)
DART_EXPORT Dart_Handle Dart_NewListOfTypeFilled(Dart_Handle element_type, Dart_Handle fill_object, intptr_t length)
DART_EXPORT const char * Dart_VersionString()
DART_EXPORT Dart_Handle Dart_ListSetAt(Dart_Handle list, intptr_t index, Dart_Handle value)
DART_EXPORT bool Dart_IsError(Dart_Handle handle)
DART_EXPORT Dart_Handle Dart_EmptyString()
DART_EXPORT Dart_Handle Dart_NewList(intptr_t length)
DART_EXPORT Dart_Handle Dart_Null()
DART_EXPORT Dart_Handle Dart_NewStringFromCString(const char *str)