| main = <No Member>; |
| library from "org-dartlang-test:///lib.dart" as lib { |
| |
| import "dart:ffi"; |
| |
| @#C7 |
| 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) |
| ; |
| @#C8 |
| get y1() → dart.core::int |
| return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, lib::Y::y1#offsetOf.{dart.core::num::+}(this.{dart.ffi::_Compound::_offsetInBytes}{dart.core::int}){(dart.core::num) → dart.core::num}); |
| @#C8 |
| set y1(synthesized dart.core::int #externalFieldValue) → void |
| return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, lib::Y::y1#offsetOf.{dart.core::num::+}(this.{dart.ffi::_Compound::_offsetInBytes}{dart.core::int}){(dart.core::num) → dart.core::num}, #externalFieldValue); |
| @#C8 |
| get y2() → dart.core::int |
| return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, lib::Y::y2#offsetOf.{dart.core::num::+}(this.{dart.ffi::_Compound::_offsetInBytes}{dart.core::int}){(dart.core::num) → dart.core::num}); |
| @#C8 |
| set y2(synthesized dart.core::int #externalFieldValue) → void |
| return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, lib::Y::y2#offsetOf.{dart.core::num::+}(this.{dart.ffi::_Compound::_offsetInBytes}{dart.core::int}){(dart.core::num) → dart.core::num}, #externalFieldValue); |
| @#C9 |
| get y3() → dart.core::int |
| return dart.ffi::_loadUint64(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, lib::Y::y3#offsetOf.{dart.core::num::+}(this.{dart.ffi::_Compound::_offsetInBytes}{dart.core::int}){(dart.core::num) → dart.core::num}); |
| @#C9 |
| set y3(synthesized dart.core::int #externalFieldValue) → void |
| return dart.ffi::_storeUint64(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, lib::Y::y3#offsetOf.{dart.core::num::+}(this.{dart.ffi::_Compound::_offsetInBytes}{dart.core::int}){(dart.core::num) → dart.core::num}, #externalFieldValue); |
| @#C11 |
| static get y1#offsetOf() → dart.core::int |
| return #C13.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}; |
| @#C11 |
| static get y2#offsetOf() → dart.core::int |
| return #C15.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}; |
| @#C11 |
| static get y3#offsetOf() → dart.core::int |
| return #C18.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}; |
| @#C11 |
| static get #sizeOf() → dart.core::int* |
| return #C21.{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"; |
| |
| @#C25 |
| 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 x1() → lib::Y |
| return new lib::Y::#fromTypedDataBase(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, main::X::x1#offsetOf.{dart.core::num::+}(this.{dart.ffi::_Compound::_offsetInBytes}{dart.core::int}){(dart.core::num) → dart.core::num}); |
| set x1(synthesized lib::Y #externalFieldValue) → void |
| return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, main::X::x1#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}, #C21.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}); |
| get x2() → lib::Y |
| return new lib::Y::#fromTypedDataBase(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, main::X::x2#offsetOf.{dart.core::num::+}(this.{dart.ffi::_Compound::_offsetInBytes}{dart.core::int}){(dart.core::num) → dart.core::num}); |
| set x2(synthesized lib::Y #externalFieldValue) → void |
| return dart.ffi::_memCopy(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, main::X::x2#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}, #C21.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}); |
| @#C8 |
| get x3() → dart.core::int |
| return dart.ffi::_loadUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, main::X::x3#offsetOf.{dart.core::num::+}(this.{dart.ffi::_Compound::_offsetInBytes}{dart.core::int}){(dart.core::num) → dart.core::num}); |
| @#C8 |
| set x3(synthesized dart.core::int #externalFieldValue) → void |
| return dart.ffi::_storeUint8(this.{dart.ffi::_Compound::_typedDataBase}{dart.core::Object}, main::X::x3#offsetOf.{dart.core::num::+}(this.{dart.ffi::_Compound::_offsetInBytes}{dart.core::int}){(dart.core::num) → dart.core::num}, #externalFieldValue); |
| @#C11 |
| static get x1#offsetOf() → dart.core::int |
| return #C13.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}; |
| @#C11 |
| static get x2#offsetOf() → dart.core::int |
| return #C21.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}; |
| @#C11 |
| static get x3#offsetOf() → dart.core::int |
| return #C28.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}; |
| @#C11 |
| static get #sizeOf() → dart.core::int* |
| return #C31.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int*}; |
| } |
| } |
| constants { |
| #C1 = "vm:ffi:struct-fields" |
| #C2 = TypeLiteralConstant(dart.ffi::Uint8) |
| #C3 = TypeLiteralConstant(dart.ffi::Uint64) |
| #C4 = <dart.core::Type>[#C2, #C2, #C3] |
| #C5 = null |
| #C6 = dart.ffi::_FfiStructLayout {fieldTypes:#C4, packing:#C5} |
| #C7 = dart.core::pragma {name:#C1, options:#C6} |
| #C8 = dart.ffi::Uint8 {} |
| #C9 = dart.ffi::Uint64 {} |
| #C10 = "vm:prefer-inline" |
| #C11 = dart.core::pragma {name:#C10, options:#C5} |
| #C12 = 0 |
| #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 = 1 |
| #C15 = <dart.core::int*>[#C14, #C14, #C14, #C14, #C14, #C14, #C14, #C14, #C14, #C14, #C14, #C14, #C14, #C14, #C14, #C14, #C14, #C14, #C14, #C14, #C14, #C14] |
| #C16 = 8 |
| #C17 = 4 |
| #C18 = <dart.core::int*>[#C16, #C16, #C17, #C16, #C16, #C16, #C16, #C16, #C17, #C16, #C16, #C16, #C16, #C17, #C16, #C16, #C16, #C16, #C16, #C16, #C16, #C16] |
| #C19 = 16 |
| #C20 = 12 |
| #C21 = <dart.core::int*>[#C19, #C19, #C20, #C19, #C19, #C19, #C19, #C19, #C20, #C19, #C19, #C19, #C19, #C20, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19] |
| #C22 = TypeLiteralConstant(lib::Y) |
| #C23 = <dart.core::Type>[#C22, #C22, #C2] |
| #C24 = dart.ffi::_FfiStructLayout {fieldTypes:#C23, packing:#C5} |
| #C25 = dart.core::pragma {name:#C1, options:#C24} |
| #C26 = 32 |
| #C27 = 24 |
| #C28 = <dart.core::int*>[#C26, #C26, #C27, #C26, #C26, #C26, #C26, #C26, #C27, #C26, #C26, #C26, #C26, #C27, #C26, #C26, #C26, #C26, #C26, #C26, #C26, #C26] |
| #C29 = 40 |
| #C30 = 28 |
| #C31 = <dart.core::int*>[#C29, #C29, #C30, #C29, #C29, #C29, #C29, #C29, #C30, #C29, #C29, #C29, #C29, #C30, #C29, #C29, #C29, #C29, #C29, #C29, #C29, #C29] |
| } |
| |
| |
| Constructor coverage from constants: |
| org-dartlang-test:///main.dart: |
| - Uint8. (from org-dartlang-sdk:///sdk/lib/ffi/native_type.dart) |
| - Object. (from org-dartlang-sdk:///sdk/lib/core/object.dart) |
| |
| org-dartlang-test:///lib.dart: |
| - Uint8. (from org-dartlang-sdk:///sdk/lib/ffi/native_type.dart) |
| - Object. (from org-dartlang-sdk:///sdk/lib/core/object.dart) |
| - Uint64. (from org-dartlang-sdk:///sdk/lib/ffi/native_type.dart) |
| |