/third_party/ejdb/src/bindings/ejdb2_dart/lib/ |
D | dart_api.h | 251 typedef struct _Dart_Handle* Dart_Handle; typedef 252 typedef Dart_Handle Dart_PersistentHandle; 265 DART_EXPORT bool Dart_IsError(Dart_Handle handle); 276 DART_EXPORT bool Dart_IsApiError(Dart_Handle handle); 290 DART_EXPORT bool Dart_IsUnhandledExceptionError(Dart_Handle handle); 301 DART_EXPORT bool Dart_IsCompilationError(Dart_Handle handle); 311 DART_EXPORT bool Dart_IsFatalError(Dart_Handle handle); 323 DART_EXPORT const char* Dart_GetError(Dart_Handle handle); 328 DART_EXPORT bool Dart_ErrorHasException(Dart_Handle handle); 333 DART_EXPORT Dart_Handle Dart_ErrorGetException(Dart_Handle handle); [all …]
|
D | ejdb2_dart.c | 54 static Dart_NativeFunction ejd_resolve_name(Dart_Handle name, int argc, bool *auto_setup_scope); 56 IW_INLINE Dart_Handle ejd_error_check_propagate(Dart_Handle handle); 57 IW_INLINE Dart_Handle ejd_error_rc_create(iwrc rc); 186 IW_INLINE Dart_Handle ejd_error_check_propagate(Dart_Handle handle) { in ejd_error_check_propagate() 193 static Dart_Handle ejd_error_object_handle(iwrc rc, const char *msg) { in ejd_error_object_handle() 194 Dart_Handle hmsg = Dart_Null(); in ejd_error_object_handle() 203 Dart_Handle hrc = EJTH(Dart_NewIntegerFromUint64(rc)); in ejd_error_object_handle() 204 Dart_Handle hclass = EJTH(Dart_GetClass(EJLIB(), Dart_NewStringFromCString("EJDB2Error"))); in ejd_error_object_handle() 205 Dart_Handle args[] = { hrc, hmsg }; in ejd_error_object_handle() 209 IW_INLINE Dart_Handle ejd_error_rc_create(iwrc rc) { in ejd_error_rc_create() [all …]
|
/third_party/flutter/engine/flutter/lib/ui/ |
D | dart_runtime_hooks.cc | 54 static void PropagateIfError(Dart_Handle result) { in PropagateIfError() 60 static Dart_Handle GetFunction(Dart_Handle builtin_library, const char* name) { in GetFunction() 61 Dart_Handle getter_name = ToDart(name); in GetFunction() 65 static void InitDartInternal(Dart_Handle builtin_library, bool is_ui_isolate) { in InitDartInternal() 66 Dart_Handle print = GetFunction(builtin_library, "_getPrintClosure"); in InitDartInternal() 68 Dart_Handle internal_library = Dart_LookupLibrary(ToDart("dart:_internal")); in InitDartInternal() 70 Dart_Handle result = in InitDartInternal() 76 Dart_Handle method_name = Dart_NewStringFromCString("_setupHooks"); in InitDartInternal() 81 Dart_Handle setup_hooks = Dart_NewStringFromCString("_setupHooks"); in InitDartInternal() 83 Dart_Handle io_lib = Dart_LookupLibrary(ToDart("dart:io")); in InitDartInternal() [all …]
|
D | dart_wrapper.h | 14 using Dart_Handle = const void*; variable 15 Dart_Handle Dart_Null(); 81 Dart_Handle ToDart(const char*msg); 82 Dart_Handle ToDart(int); 90 void Dart_ThrowException(Dart_Handle handle); 98 Dart_Handle Dart_NewListOf(Dart_CoreType_Id id, intptr_t len); 100 Dart_Handle Dart_ListSetAt(Dart_Handle list, intptr_t index, Dart_Handle value); 102 Dart_Handle Dart_NewListOfType(Dart_Handle type, intptr_t len); 104 bool LogIfError(Dart_Handle type);
|
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart_runner/ |
D | builtin_libraries.cc | 42 Dart_NativeFunction BuiltinNativeLookup(Dart_Handle name, in BuiltinNativeLookup() 46 Dart_Handle result = Dart_StringToCString(name, &function_name); in BuiltinNativeLookup() 77 Dart_Handle str = Dart_GetNativeArgument(args, 0); in Logger_PrintString() 78 Dart_Handle result = Dart_StringToUTF8(str, &chars, &length); in Logger_PrintString() 89 Dart_Handle closure = Dart_GetNativeArgument(args, 0); in ScheduleMicrotask() 113 Dart_Handle builtin_lib = Dart_LookupLibrary(ToDart("dart:fuchsia.builtin")); in InitBuiltinLibrariesForIsolate() 115 Dart_Handle result = Dart_SetNativeResolver(builtin_lib, BuiltinNativeLookup, in InitBuiltinLibrariesForIsolate() 121 Dart_Handle io_lib = Dart_LookupLibrary(ToDart("dart:io")); in InitBuiltinLibrariesForIsolate() 129 Dart_Handle zircon_lib = Dart_LookupLibrary(ToDart("dart:zircon")); in InitBuiltinLibrariesForIsolate() 135 Dart_Handle async_lib = Dart_LookupLibrary(ToDart("dart:async")); in InitBuiltinLibrariesForIsolate() [all …]
|
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart-pkg/zircon/sdk_ext/ |
D | system.h | 35 static Dart_Handle ChannelCreate(uint32_t options); 36 static Dart_Handle ChannelFromFile(std::string path); 41 static Dart_Handle ChannelQueryAndRead(fml::RefPtr<Handle> channel); 43 static Dart_Handle EventpairCreate(uint32_t options); 45 static Dart_Handle SocketCreate(uint32_t options); 46 static Dart_Handle SocketWrite(fml::RefPtr<Handle> socket, 49 static Dart_Handle SocketRead(fml::RefPtr<Handle> socket, size_t size); 51 static Dart_Handle VmoCreate(uint64_t size, uint32_t options); 52 static Dart_Handle VmoFromFile(std::string path); 53 static Dart_Handle VmoGetSize(fml::RefPtr<Handle> vmo); [all …]
|
D | handle.cc | 22 Dart_Handle zircon_lib = Dart_LookupLibrary(ToDart("dart:zircon")); in Handle() 25 Dart_Handle on_wait_completer_type = in Handle() 30 Dart_Handle async_lib = Dart_LookupLibrary(ToDart("dart:async")); in Handle() 34 Dart_Handle closure_string = ToDart("_closure"); in Handle() 38 Dart_Handle schedule_microtask_string = ToDart("scheduleMicrotask"); in Handle() 54 Dart_Handle Handle::CreateInvalid() { in CreateInvalid() 84 Dart_Handle callback) { in AsyncWait() 105 Dart_Handle Handle::Duplicate(uint32_t rights) { in Duplicate() 127 std::vector<Dart_Handle> constructor_args{callback.Release(), ToDart(status), in ScheduleCallback() 129 Dart_Handle on_wait_complete_closure = in ScheduleCallback() [all …]
|
D | system.cc | 46 explicit ByteDataScope(Dart_Handle dart_handle) : dart_handle_(dart_handle) { in ByteDataScope() 65 Dart_Handle dart_handle() const { return dart_handle_; } in dart_handle() 70 Dart_Handle result = Dart_TypedDataReleaseData(dart_handle_); in Release() 85 Dart_Handle result = in Acquire() 96 Dart_Handle dart_handle_; 102 Dart_Handle MakeHandleList(const std::vector<zx_handle_t>& in_handles) { in MakeHandleList() 105 Dart_Handle handle_type = class_library.GetClass("zircon", "Handle"); in MakeHandleList() 106 Dart_Handle list = Dart_NewListOfType(handle_type, in_handles.size()); in MakeHandleList() 110 Dart_Handle result = in MakeHandleList() 119 Dart_Handle ConstructDartObject(const char* class_name, Args&&... args) { in ConstructDartObject() [all …]
|
D | natives.cc | 44 Dart_NativeFunction NativeLookup(Dart_Handle name, in NativeLookup() 48 Dart_Handle result = Dart_StringToCString(name, &function_name); in NativeLookup() 69 Dart_Handle library = Dart_LookupLibrary(ToDart("dart:zircon")); in Initialize() 71 Dart_Handle result = Dart_SetNativeResolver( in Initialize()
|
D | handle.h | 41 static fml::RefPtr<Handle> Unwrap(Dart_Handle handle) { in Unwrap() 46 static Dart_Handle CreateInvalid(); 57 Dart_Handle callback); 61 Dart_Handle Duplicate(uint32_t rights);
|
/third_party/flutter/engine/flutter/lib/ui/text/ |
D | paragraph_builder.h | 30 Dart_Handle strutData, 48 Dart_Handle background_objects, 49 Dart_Handle background_data, 50 Dart_Handle foreground_objects, 51 Dart_Handle foreground_data, 52 Dart_Handle shadows_data, 53 Dart_Handle font_features_data); 57 Dart_Handle addText(const std::u16string& text); 65 Dart_Handle addPlaceholder(double width, 77 Dart_Handle strutData,
|
D | paragraph_builder.cc | 141 Dart_Handle strutData, in create() 155 void decodeStrut(Dart_Handle strut_data, in decodeStrut() 163 Dart_Handle strutData, in ParagraphBuilder() 234 void decodeTextShadows(Dart_Handle shadows_data, in decodeTextShadows() 258 void decodeFontFeatures(Dart_Handle font_features_data, in decodeFontFeatures() 284 Dart_Handle background_objects, in pushStyle() 285 Dart_Handle background_data, in pushStyle() 286 Dart_Handle foreground_objects, in pushStyle() 287 Dart_Handle foreground_data, in pushStyle() 288 Dart_Handle shadows_data, in pushStyle() [all …]
|
/third_party/flutter/engine/flutter/shell/platform/fuchsia/flutter/ |
D | isolate_configurator.cc | 50 Dart_Handle zircon_lib = Dart_LookupLibrary(tonic::ToDart("dart:zircon")); in BindZircon() 53 Dart_Handle namespace_type = in BindZircon() 57 Dart_Handle result = in BindZircon() 66 Dart_Handle io_lib = Dart_LookupLibrary(tonic::ToDart("dart:io")); in BindDartIO() 70 Dart_Handle embedder_config_type = in BindDartIO() 74 Dart_Handle result = Dart_SetField(embedder_config_type, in BindDartIO() 79 Dart_Handle namespace_type = in BindDartIO() 83 Dart_Handle namespace_args[] = { in BindDartIO()
|
/third_party/flutter/engine/flutter/lib/ui/compositing/ |
D | scene_host.h | 27 Dart_Handle viewConnectedCallback, 28 Dart_Handle viewDisconnectedCallback, 29 Dart_Handle viewStateChangedCallback); 35 Dart_Handle viewConnectedCallback, 36 Dart_Handle viewDisconnectedCallback, 37 Dart_Handle viewStateChangedCallback);
|
D | scene.cc | 50 Dart_Handle Scene::toImage(uint32_t width, in toImage() 52 Dart_Handle raw_image_callback) { in toImage() 56 return reinterpret_cast<Dart_Handle>("Scene did not contain a layer tree."); in toImage() 61 return reinterpret_cast<Dart_Handle>("Could not flatten scene into a layer tree."); in toImage()
|
D | scene_host.cc | 99 Dart_Handle viewConnectedCallback, in Create() 100 Dart_Handle viewDisconnectedCallback, in Create() 101 Dart_Handle viewStateChangedCallback) { in Create() 132 Dart_Handle viewConnectedCallback, in SceneHost() 133 Dart_Handle viewDisconnectedCallback, in SceneHost() 134 Dart_Handle viewStateChangedCallback) in SceneHost()
|
/third_party/flutter/engine/flutter/lib/ui/isolate_name_server/ |
D | isolate_name_server_natives.h | 19 static Dart_Handle LookupPortByName(const std::string& name); 20 static Dart_Handle RegisterPortWithName(Dart_Handle port_handle, 22 static Dart_Handle RemovePortNameMapping(const std::string& name);
|
D | isolate_name_server_natives.cc | 13 Dart_Handle IsolateNameServerNatives::LookupPortByName( in LookupPortByName() 26 Dart_Handle IsolateNameServerNatives::RegisterPortWithName( in RegisterPortWithName() 27 Dart_Handle port_handle, in RegisterPortWithName() 41 Dart_Handle IsolateNameServerNatives::RemovePortNameMapping( in RemovePortNameMapping()
|
/third_party/flutter/engine/flutter/lib/ui/painting/ |
D | codec.cc | 86 Dart_Handle image_info_handle, in ConvertImageInfo() 88 Dart_Handle width_handle = Dart_GetField(image_info_handle, ToDart("width")); in ConvertImageInfo() 92 Dart_Handle height_handle = in ConvertImageInfo() 97 Dart_Handle format_handle = in ConvertImageInfo() 102 Dart_Handle row_bytes_handle = in ConvertImageInfo() 146 Dart_Handle callback_handle = Dart_GetNativeArgument(args, 1); in InstantiateImageCodec() 152 Dart_Handle image_info_handle = Dart_GetNativeArgument(args, 2); in InstantiateImageCodec() 170 Dart_Handle exception = nullptr; in InstantiateImageCodec()
|
D | rrect.cc | 16 RRect DartConverter<flutter::RRect>::FromDart(Dart_Handle value) { in FromDart() 38 Dart_Handle& exception) { in FromArguments() 39 Dart_Handle value = Dart_GetNativeArgument(args, index); in FromArguments()
|
D | image_encoding.cc | 23 Dart_Handle EncodeImage(CanvasImage* canvas_image, in EncodeImage() 25 Dart_Handle callback_handle) { in EncodeImage()
|
D | image_encoding.h | 13 Dart_Handle EncodeImage(CanvasImage* canvas_image, 15 Dart_Handle callback_handle);
|
/third_party/flutter/engine/flutter/lib/ui/plugins/ |
D | callback_cache.cc | 37 Dart_Handle DartCallbackCache::GetCallback(int64_t handle) { in GetCallback() 149 Dart_Handle DartCallbackCache::LookupDartClosure( in LookupDartClosure() 153 Dart_Handle closure_name = ToDart(name); in LookupDartClosure() 157 Dart_Handle library_name = in LookupDartClosure() 162 Dart_Handle cls_name = class_name.empty() ? Dart_Null() : ToDart(class_name); in LookupDartClosure() 167 Dart_Handle library; in LookupDartClosure() 177 Dart_Handle closure; in LookupDartClosure() 181 Dart_Handle cls = Dart_GetClass(library, cls_name); in LookupDartClosure()
|
/third_party/flutter/engine/flutter/shell/platform/fuchsia/dart-pkg/fuchsia/sdk_ext/ |
D | fuchsia.cc | 56 Dart_NativeFunction NativeLookup(Dart_Handle name, in NativeLookup() 60 Dart_Handle result = Dart_StringToCString(name, &function_name); in NativeLookup() 95 Dart_Handle status = in SetReturnCode() 108 Dart_Handle library = Dart_LookupLibrary(ToDart("dart:fuchsia")); in Initialize() 110 Dart_Handle result = Dart_SetNativeResolver( in Initialize()
|
/third_party/flutter/engine/flutter/runtime/ |
D | dart_service_isolate.cc | 34 Dart_NativeFunction GetNativeFunction(Dart_Handle name, in GetNativeFunction() 55 Dart_Handle exception = nullptr; in NotifyServerState() 148 Dart_Handle uri = Dart_NewStringFromCString("dart:vmservice_io"); in Startup() 149 Dart_Handle library = Dart_LookupLibrary(uri); in Startup() 151 Dart_Handle result = Dart_SetRootLibrary(library); in Startup()
|