1209 {
1211 switch (cid_) {
1212 case kTypedDataInt8ArrayCid:
1214 break;
1215 case kTypedDataUint8ArrayCid:
1217 break;
1218 case kTypedDataUint8ClampedArrayCid:
1220 break;
1221 case kTypedDataInt16ArrayCid:
1223 break;
1224 case kTypedDataUint16ArrayCid:
1226 break;
1227 case kTypedDataInt32ArrayCid:
1229 break;
1230 case kTypedDataUint32ArrayCid:
1232 break;
1233 case kTypedDataInt64ArrayCid:
1235 break;
1236 case kTypedDataUint64ArrayCid:
1238 break;
1239 case kTypedDataFloat32ArrayCid:
1241 break;
1242 case kTypedDataFloat64ArrayCid:
1244 break;
1245 case kTypedDataInt32x4ArrayCid:
1247 break;
1248 case kTypedDataFloat32x4ArrayCid:
1250 break;
1251 case kTypedDataFloat64x2ArrayCid:
1253 break;
1254 default:
1256 }
1257
1259 intptr_t
count =
d->ReadUnsigned();
1260 for (intptr_t
i = 0;
i <
count;
i++) {
1262 intptr_t
length =
d->ReadUnsigned();
1263 data->value.as_typed_data.type =
type;
1266 data->value.as_typed_data.values =
nullptr;
1267 } else {
1268 data->value.as_typed_data.values =
d->CurrentBufferAddress();
1270 }
1272 }
1273 }
@ Dart_TypedData_kFloat32x4
@ Dart_TypedData_kInt32x4
@ Dart_TypedData_kFloat64x2
@ Dart_TypedData_kFloat32
@ Dart_TypedData_kFloat64
@ Dart_TypedData_kUint8Clamped
@ Dart_CObject_kTypedData