| 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 | |
| @#C13 | |
| 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) | |
| ; | |
| @#C15 | |
| constructor #fromTypedData(synthesized typ::TypedData #typedData, synthesized core::int #offset, synthesized core::int #sizeInBytes) → self::StructInlineArray | |
| : super ffi::Struct::_fromTypedData(#typedData, #offset, #sizeInBytes) | |
| ; | |
| @#C16 | |
| @#C15 | |
| 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, #C17); | |
| @#C16 | |
| @#C15 | |
| 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}, #C18.{core::List::[]}(ffi::_abi()){(core::int) → core::int}); | |
| @#C15 | |
| static synthetic get a0#offsetOf() → core::int | |
| return #C20.{core::List::[]}(ffi::_abi()){(core::int) → core::int}; | |
| @#C15 | |
| static synthetic get #sizeOf() → core::int | |
| return #C18.{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 = "a0" | |
| #C11 = <core::String>[#C10] | |
| #C12 = ffi::_FfiStructLayout {fieldTypes:#C9, packing:#C2, fieldNames:#C11} | |
| #C13 = core::pragma {name:#C4, options:#C12} | |
| #C14 = "vm:prefer-inline" | |
| #C15 = core::pragma {name:#C14, options:#C2} | |
| #C16 = ffi::_ArraySize<ffi::NativeType> {dimension1:#C6, dimension2:#C2, dimension3:#C2, dimension4:#C2, dimension5:#C2, dimensions:#C2, variableDimension:#C2} | |
| #C17 = <core::int>[] | |
| #C18 = <core::int>[#C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6, #C6] | |
| #C19 = 0 | |
| #C20 = <core::int>[#C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19, #C19] | |
| } | |
| 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) |