Home
last modified time | relevance | path

Searched refs:kStride (Results 1 – 19 of 19) sorted by relevance

/third_party/flutter/engine/flutter/lib/ui/
Dhooks.dart305 const int kStride = Int64List.bytesPerElement;
306 const int kBytesPerPointerData = _kPointerDataFieldCount * kStride;
313 timeStamp: Duration(microseconds: packet.getInt64(kStride * offset++, _kFakeHostEndian)),
314 change: PointerChange.values[packet.getInt64(kStride * offset++, _kFakeHostEndian)],
315 kind: PointerDeviceKind.values[packet.getInt64(kStride * offset++, _kFakeHostEndian)],
316 signalKind: PointerSignalKind.values[packet.getInt64(kStride * offset++, _kFakeHostEndian)],
317 device: packet.getInt64(kStride * offset++, _kFakeHostEndian),
318 physicalX: packet.getFloat64(kStride * offset++, _kFakeHostEndian),
319 physicalY: packet.getFloat64(kStride * offset++, _kFakeHostEndian),
320 buttons: packet.getInt64(kStride * offset++, _kFakeHostEndian),
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cVertexAttribBindingTests.cpp843 const int kStride = 116; in Run() local
845 glBufferData(GL_ARRAY_BUFFER, kStride * 2, NULL, GL_STATIC_DRAW); in Run()
905 glBufferSubData(GL_ARRAY_BUFFER, 0 + kStride, sizeof(d), d); in Run()
910 glBufferSubData(GL_ARRAY_BUFFER, 4 + kStride, sizeof(d), d); in Run()
915 glBufferSubData(GL_ARRAY_BUFFER, 12 + kStride, sizeof(d), d); in Run()
920 glBufferSubData(GL_ARRAY_BUFFER, 28 + kStride, sizeof(d), d); in Run()
925 glBufferSubData(GL_ARRAY_BUFFER, 32 + kStride, sizeof(d), d); in Run()
930 glBufferSubData(GL_ARRAY_BUFFER, 40 + kStride, sizeof(d), d); in Run()
935 glBufferSubData(GL_ARRAY_BUFFER, 56 + kStride, sizeof(d), d); in Run()
940 glBufferSubData(GL_ARRAY_BUFFER, 72 + kStride, sizeof(d), d); in Run()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cVertexAttribBindingTests.cpp768 const int kStride = 116; in Run() local
770 glBufferData(GL_ARRAY_BUFFER, kStride * 2, NULL, GL_STATIC_DRAW); in Run()
818 glBufferSubData(GL_ARRAY_BUFFER, 0 + kStride, sizeof(d), d); in Run()
822 glBufferSubData(GL_ARRAY_BUFFER, 4 + kStride, sizeof(d), d); in Run()
826 glBufferSubData(GL_ARRAY_BUFFER, 12 + kStride, sizeof(d), d); in Run()
830 glBufferSubData(GL_ARRAY_BUFFER, 28 + kStride, sizeof(d), d); in Run()
834 glBufferSubData(GL_ARRAY_BUFFER, 32 + kStride, sizeof(d), d); in Run()
838 glBufferSubData(GL_ARRAY_BUFFER, 40 + kStride, sizeof(d), d); in Run()
842 glBufferSubData(GL_ARRAY_BUFFER, 56 + kStride, sizeof(d), d); in Run()
846 glBufferSubData(GL_ARRAY_BUFFER, 72 + kStride, sizeof(d), d); in Run()
[all …]
/third_party/mindspore/mindspore/core/ops/
Daudio_spectrogram.cc62 auto stride_size = GetValue<int64_t>(primitive->GetAttr(kStride)); in AudioSpectrogramInferShape()
90 void AudioSpectrogram::set_stride(const int64_t stride) { (void)this->AddAttr(kStride, MakeValue(st… in set_stride()
92 auto value_ptr = GetAttr(kStride); in get_stride()
Dconv2d_transpose.cc66 …(void)CheckAndConvertUtils::CheckInteger(kStride, SizeToLong(stride.size()), kEqual, stride_size, … in set_stride()
68 (void)CheckAndConvertUtils::CheckInteger(kStride, item, kGreaterEqual, 1, name()); in set_stride()
70 (void)AddAttr(kStride, MakeValue(stride)); in set_stride()
134 auto value_ptr = GetAttr(kStride); in get_stride()
Dadder.cc69 void Adder::set_stride(const std::vector<int64_t> &stride) { (void)this->AddAttr(kStride, MakeValue… in set_stride()
72 auto value_ptr = GetAttr(kStride); in get_stride()
Dconv2d.cc274 …(void)AddAttr(kStride, MakeValue(CheckAndConvertUtils::CheckPositiveVector(kStride, stride, name()… in set_stride()
324 auto value_ptr = GetAttr(kStride); in get_stride()
Dop_utils.h190 constexpr auto kStride = "stride"; variable
/third_party/mindspore/mindspore/core/ops/grad/
Dconv2d_backprop_filter.cc41 auto stride = primitive->GetAttr(kStride); in TransStrideTo4D()
48 primitive->set_attr(kStride, MakeValue(stride_value_4d)); in TransStrideTo4D()
192 (void)this->AddAttr(kStride, MakeValue(stride)); in set_stride()
196 auto value_ptr = GetAttr(kStride); in get_stride()
Dpooling_grad.cc54 void PoolingGrad::set_stride(const std::vector<int64_t> &stride) { (void)this->AddAttr(kStride, Mak… in set_stride()
57 auto value_ptr = GetAttr(kStride); in get_stride()
Dconv2d_backprop_input.cc39 …auto stride = CheckAndConvertUtils::CheckAttrIntOrTupleInt("stride", primitive->GetAttr(kStride), … in SetPadList()
199 …(void)AddAttr(kStride, MakeValue(CheckAndConvertUtils::CheckPositiveVector(kStride, stride, name()… in set_stride()
255 auto value_ptr = GetAttr(kStride); in get_stride()
Dde_conv2d_grad_filter.cc94 (void)this->AddAttr(kStride, MakeValue(stride)); in set_stride()
98 auto value_ptr = GetAttr(kStride); in get_stride()
Dgroup_conv2d_grad_input.cc95 (void)this->AddAttr(kStride, MakeValue(stride)); in set_stride()
99 auto value_ptr = GetAttr(kStride); in get_stride()
/third_party/skia/third_party/externals/tint/src/resolver/
Ddecoration_validation_test.cc65 kStride, enumerator
116 case DecorationKind::kStride: in createDecorations()
163 TestParams{DecorationKind::kStride, false},
198 TestParams{DecorationKind::kStride, false},
247 TestParams{DecorationKind::kStride, false},
286 TestParams{DecorationKind::kStride, false},
336 TestParams{DecorationKind::kStride, false},
384 TestParams{DecorationKind::kStride, false},
434 TestParams{DecorationKind::kStride, false},
480 TestParams{DecorationKind::kStride, false},
[all …]
/third_party/mindspore/mindspore/lite/tools/converter/acl/mapper/
Dconv2d_fusion_mapper.cc34 auto status = AttrAdjust(dst_prim, ops::kStride); in Mapper()
/third_party/mindspore/mindspore/core/ops/fusion/
Davg_pool_fusion.cc75 (void)CheckAndConvertUtils::CheckPositiveVector(kStride, strides, op_name); in InferShape()
/third_party/mindspore/mindspore/lite/tools/converter/import/
Dprimitive_adjust.cc309 auto status = AttrAdjust(dst_prim, ops::kStride, {2, 3}); in MoveAttrMapConv2D()
424 auto status = AttrAdjust(dst_prim, ops::kStride, {2, 3}); in MoveAttrMapAdder()
/third_party/mindspore/mindspore/lite/tools/optimizer/parallel/
Dconv2d_info.cc224 MS_CHECK_TRUE_RET(prim->GetAttr(ops::kStride) != nullptr, RET_ERROR); in CheckConv2DPrimitiveType()
Ddepthwise_conv2d_info.cc411 MS_CHECK_TRUE_RET(prim->GetAttr(ops::kStride) != nullptr, RET_ERROR); in CheckDepthWiseConv2DPrimitiveType()