blob: 83f98941287522650cd1ef8b4286b62f2b84c18d [file] [log] [blame] [edit]
main = <No Member>;
library from "org-dartlang-test:///lib.dart" as lib {
import "dart:ffi";
@#C3
@#C8
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)
;
@#C10
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)
;
@#C11
@#C10
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});
@#C11
@#C10
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);
@#C10
static synthetic get yy#offsetOf() → dart.core::int
return #C13.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int};
@#C10
static get #sizeOf() → dart.core::int
return #C15.{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";
@#C3
@#C19
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)
;
@#C10
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)
;
@#C10
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});
@#C10
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}, #C15.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int});
@#C10
static synthetic get xx#offsetOf() → dart.core::int
return #C13.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int};
@#C10
static get #sizeOf() → dart.core::int
return #C15.{dart.core::List::[]}(dart.ffi::_abi()){(dart.core::int) → dart.core::int};
}
}
constants {
#C1 = "vm:deeply-immutable"
#C2 = null
#C3 = dart.core::pragma {name:#C1, options:#C2}
#C4 = "vm:ffi:struct-fields"
#C5 = TypeLiteralConstant(dart.ffi::Uint32)
#C6 = <dart.core::Type>[#C5]
#C7 = dart.ffi::_FfiStructLayout {fieldTypes:#C6, packing:#C2}
#C8 = dart.core::pragma {name:#C4, options:#C7}
#C9 = "vm:prefer-inline"
#C10 = dart.core::pragma {name:#C9, options:#C2}
#C11 = dart.ffi::Uint32 {}
#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 = 4
#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 = TypeLiteralConstant(lib::Y)
#C17 = <dart.core::Type>[#C16]
#C18 = dart.ffi::_FfiStructLayout {fieldTypes:#C17, packing:#C2}
#C19 = dart.core::pragma {name:#C4, options:#C18}
}
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)