| main = <No Member>; |
| library from "org-dartlang-test:///lib.dart" as lib { |
| |
| import "dart:ffi"; |
| |
| @#C6 |
| final class Y extends dart.ffi::Struct { |
| synthetic constructor •() → lib::Y |
| : super dart.ffi::Struct::•() |
| ; |
| constructor #fromTypedDataBase(synthesized dart.core::Object #typedDataBase, synthesized dart.core::int #offsetInBytes) → lib::Y |
| : super dart.ffi::Struct::_fromTypedDataBase(#typedDataBase, #offsetInBytes) |
| ; |
| constructor #fromTypedData(synthesized dart.typed_data::TypedData #typedData, synthesized dart.core::int #offset, synthesized dart.core::int #sizeInBytes) → lib::Y |
| : super dart.ffi::Struct::_fromTypedData(#typedData, #offset, #sizeInBytes) |
| ; |
| @#C7 |
| get yy() → dart.core::int |
| return dart.ffi::_loadUint32(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, lib::Y::yy#offsetOf.{dart.core::num::+}(this.{dart.ffi::_Compound::_offsetInBytes}{dart.core::int}){(dart.core::num) → dart.core::num}); |
| @#C7 |
| set yy(synthesized dart.core::int #externalFieldValue) → void |
| return dart.ffi::_storeUint32(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, lib::Y::yy#offsetOf.{dart.core::num::+}(this.{dart.ffi::_Compound::_offsetInBytes}{dart.core::int}){(dart.core::num) → dart.core::num}, #externalFieldValue); |
| @#C9 |
| static get yy#offsetOf() → dart.core::int |
| return #C11.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}; |
| @#C9 |
| static get #sizeOf() → dart.core::int* |
| return #C13.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}; |
| } |
| } |
| library from "org-dartlang-test:///main.dart" as main { |
| |
| import "dart:ffi"; |
| import "org-dartlang-test:///lib.dart"; |
| |
| @#C17 |
| final class X extends dart.ffi::Struct { |
| synthetic constructor •() → main::X |
| : super dart.ffi::Struct::•() |
| ; |
| constructor #fromTypedDataBase(synthesized dart.core::Object #typedDataBase, synthesized dart.core::int #offsetInBytes) → main::X |
| : super dart.ffi::Struct::_fromTypedDataBase(#typedDataBase, #offsetInBytes) |
| ; |
| constructor #fromTypedData(synthesized dart.typed_data::TypedData #typedData, synthesized dart.core::int #offset, synthesized dart.core::int #sizeInBytes) → main::X |
| : super dart.ffi::Struct::_fromTypedData(#typedData, #offset, #sizeInBytes) |
| ; |
| get xx() → lib::Y |
| return new lib::Y::#fromTypedDataBase(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, main::X::xx#offsetOf.{dart.core::num::+}(this.{dart.ffi::_Compound::_offsetInBytes}{dart.core::int}){(dart.core::num) → dart.core::num}); |
| set xx(synthesized lib::Y #externalFieldValue) → void |
| return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, main::X::xx#offsetOf.{dart.core::num::+}(this.{dart.ffi::_Compound::_offsetInBytes}{dart.core::int}){(dart.core::num) → dart.core::num}, #externalFieldValue.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, #externalFieldValue.{dart.ffi::_Compound::_offsetInBytes}{dart.core::int}, #C13.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}); |
| @#C9 |
| static get xx#offsetOf() → dart.core::int |
| return #C11.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}; |
| @#C9 |
| static get #sizeOf() → dart.core::int* |
| return #C13.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}; |
| } |
| } |
| constants { |
| #C1 = "vm:ffi:struct-fields" |
| #C2 = TypeLiteralConstant(dart.ffi::Uint32) |
| #C3 = <dart.core::Type>[#C2] |
| #C4 = null |
| #C5 = dart.ffi::_FfiStructLayout {fieldTypes:#C3, packing:#C4} |
| #C6 = dart.core::pragma {name:#C1, options:#C5} |
| #C7 = dart.ffi::Uint32 {} |
| #C8 = "vm:prefer-inline" |
| #C9 = dart.core::pragma {name:#C8, options:#C4} |
| #C10 = 0 |
| #C11 = <dart.core::int*>[#C10, #C10, #C10, #C10, #C10, #C10, #C10, #C10, #C10, #C10, #C10, #C10, #C10, #C10, #C10, #C10, #C10, #C10, #C10, #C10, #C10, #C10] |
| #C12 = 4 |
| #C13 = <dart.core::int*>[#C12, #C12, #C12, #C12, #C12, #C12, #C12, #C12, #C12, #C12, #C12, #C12, #C12, #C12, #C12, #C12, #C12, #C12, #C12, #C12, #C12, #C12] |
| #C14 = TypeLiteralConstant(lib::Y) |
| #C15 = <dart.core::Type>[#C14] |
| #C16 = dart.ffi::_FfiStructLayout {fieldTypes:#C15, packing:#C4} |
| #C17 = dart.core::pragma {name:#C1, options:#C16} |
| } |
| |
| |
| Constructor coverage from constants: |
| org-dartlang-test:///lib.dart: |
| - Uint32. (from org-dartlang-sdk:///sdk/lib/ffi/native_type.dart) |
| - Object. (from org-dartlang-sdk:///sdk/lib/core/object.dart) |
| |