| library; |
| import self as self; |
| import "dart:core" as core; |
| import "dart:ffi" as ffi; |
| import "dart:typed_data" as typ; |
| |
| import "dart:ffi"; |
| import "package:ffi/ffi.dart"; |
| |
| @#C3 |
| @#C11 |
| final class StructInlineArray extends ffi::Struct { |
| synthetic constructor •() → self::StructInlineArray |
| : super ffi::Struct::•() |
| ; |
| constructor #fromTypedDataBase(synthesized core::Object #typedDataBase, synthesized core::int #offsetInBytes) → self::StructInlineArray |
| : super ffi::Struct::_fromTypedDataBase(#typedDataBase, #offsetInBytes) |
| ; |
| @#C13 |
| constructor #fromTypedData(synthesized typ::TypedData #typedData, synthesized core::int #offset, synthesized core::int #sizeInBytes) → self::StructInlineArray |
| : super ffi::Struct::_fromTypedData(#typedData, #offset, #sizeInBytes) |
| ; |
| @#C14 |
| @#C13 |
| get a0() → ffi::Array<ffi::Uint8> |
| return new ffi::Array::_<ffi::Uint8>(this.{ffi::_Compound::_typedDataBase}{core::Object}, self::StructInlineArray::a0#offsetOf.{core::num::+}(this.{ffi::_Compound::_offsetInBytes}{core::int}){(core::num) → core::num}, #C6, #C7, #C15); |
| @#C14 |
| @#C13 |
| set a0(synthesized ffi::Array<ffi::Uint8> #externalFieldValue) → void |
| return ffi::_memCopy(this.{ffi::_Compound::_typedDataBase}{core::Object}, self::StructInlineArray::a0#offsetOf.{core::num::+}(this.{ffi::_Compound::_offsetInBytes}{core::int}){(core::num) → core::num}, #externalFieldValue.{ffi::_Compound::_typedDataBase}{core::Object}, #externalFieldValue.{ffi::_Compound::_offsetInBytes}{core::int}, #C16.{core::List::[]}(ffi::_abi()){(core::int) → core::int}); |
| @#C13 |
| static synthetic get a0#offsetOf() → core::int |
| return #C18.{core::List::[]}(ffi::_abi()){(core::int) → core::int}; |
| @#C13 |
| static get #sizeOf() → core::int |
| return #C16.{core::List::[]}(ffi::_abi()){(core::int) → core::int}; |
| } |
| static method main() → dynamic {} |
| |
| constants { |
| #C1 = "vm:deeply-immutable" |
| #C2 = null |
| #C3 = core::pragma {name:#C1, options:#C2} |
| #C4 = "vm:ffi:struct-fields" |
| #C5 = TypeLiteralConstant(ffi::Uint8) |
| #C6 = 8 |
| #C7 = false |
| #C8 = ffi::_FfiInlineArray {elementType:#C5, length:#C6, variableLength:#C7} |
| #C9 = <core::Type>[#C8] |
| #C10 = ffi::_FfiStructLayout {fieldTypes:#C9, packing:#C2} |
| #C11 = core::pragma {name:#C4, options:#C10} |
| #C12 = "vm:prefer-inline" |
| #C13 = core::pragma {name:#C12, options:#C2} |
| #C14 = ffi::_ArraySize<ffi::NativeType> {dimension1:#C6, dimension2:#C2, dimension3:#C2, dimension4:#C2, dimension5:#C2, dimensions:#C2, variableDimension:#C2} |
| #C15 = <core::int>[] |
| #C16 = <core::int>[#C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6] |
| #C17 = 0 |
| #C18 = <core::int>[#C17, #C17, #C17, #C17, #C17, #C17, #C17, #C17, #C17, #C17, #C17, #C17, #C17, #C17, #C17, #C17, #C17, #C17, #C17, #C17, #C17, #C17] |
| } |
| |
| |
| Constructor coverage from constants: |
| org-dartlang-testcase:///ffi_struct_inline_array.dart: |
| - _ArraySize. (from org-dartlang-sdk:///sdk/lib/ffi/ffi.dart) |
| - Object. (from org-dartlang-sdk:///sdk/lib/core/object.dart) |