Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/test/xts/tools/lite/checksum/src/
Dchecksum_sha256.c73 unsigned int CalcSigma0(unsigned int x) in CalcSigma0() argument
76 return RotateRight(x, shift[ZERO]) ^ RotateRight(x, shift[ONE]) ^ ShiftRight(x, shift[TWO]); in CalcSigma0()
82 unsigned int CalcSigma1(unsigned int x) in CalcSigma1() argument
85 return RotateRight(x, shift[ZERO]) ^ RotateRight(x, shift[ONE]) ^ ShiftRight(x, shift[TWO]); in CalcSigma1()
91 unsigned int CalcChValue(unsigned int x, unsigned int y, unsigned int z) in CalcChValue() argument
93 return (x & y) ^ (~(x) & z); in CalcChValue()
99 unsigned int CalcMajValue(unsigned int x, unsigned int y, unsigned int z) in CalcMajValue() argument
101 return (x & y) ^ (x & z) ^ (y & z); in CalcMajValue()
107 unsigned int CalcEp0Value(unsigned int x) in CalcEp0Value() argument
110 return RotateRight(x, shift[ZERO]) ^ RotateRight(x, shift[ONE]) ^ RotateRight(x, shift[TWO]); in CalcEp0Value()
[all …]
/test/xts/hats/hdf/display/common/
Ddisplay_test_utils.cpp74 uint32_t GetPixelValue(const BufferHandle &handle, int x, int y) in GetPixelValue() argument
81 DISPLAY_TEST_CHK_RETURN((x < 0 || x >= handle.width), 0, in GetPixelValue()
82 DISPLAY_TEST_LOGE("CheckPixel invalid parameter x:%d width:%d", x, handle.width)); in GetPixelValue()
86 int32_t position = y * handle.width + x; in GetPixelValue()
104 uint32_t CheckPixel(const BufferHandle &handle, int x, int y, uint32_t color) in CheckPixel() argument
111 DISPLAY_TEST_CHK_RETURN((x < 0 || x >= handle.width), 0, in CheckPixel()
112 DISPLAY_TEST_LOGE("CheckPixel invalid parameter x:%d width:%d", x, handle.width)); in CheckPixel()
116 int32_t position = y * handle.width + x; in CheckPixel()
125 DISPLAY_TEST_LOGI("x:%d y:%d width:%d", x, y, handle.width); in CheckPixel()
141 void SetPixel(const BufferHandle &handle, int x, int y, uint32_t color) in SetPixel() argument
[all …]
/test/xts/hats/hdf/display/device/
Dhdi_composition_check.cpp27 points.push_back({ center.x + step, center.y }); in GetCheckPoints()
28 points.push_back({ center.x + step, center.y + step }); in GetCheckPoints()
29 points.push_back({ center.x + step, center.y - step }); in GetCheckPoints()
30 points.push_back({ center.x, center.y + step }); in GetCheckPoints()
31 points.push_back({ center.x - step, center.y }); in GetCheckPoints()
32 points.push_back({ center.x - step, center.y - step }); in GetCheckPoints()
33 points.push_back({ center.x - step, center.y + step }); in GetCheckPoints()
34 points.push_back({ center.x, center.y - step }); in GetCheckPoints()
65 if ((point.x >= rect.x) && (point.x < (rect.x + rect.w)) && (point.y >= rect.y) && in GetCheckColors()
88 GetCheckPoints({ rect.x, rect.y }, points); in Check()
[all …]
Dhdi_test_render_utils.cpp30 void SetPixel(const BufferHandle &handle, int x, int y, uint32_t color) in SetPixel() argument
37 DISPLAY_TEST_CHK_RETURN_NOT_VALUE((x < 0 || x >= handle.width), in SetPixel()
38 DISPLAY_TEST_LOGE("CheckPixel invalid parameter x:%d width:%d", x, handle.width)); in SetPixel()
42 int32_t position = y * handle.width + x; in SetPixel()
52 for (int32_t x = 0; x < handle.width; x++) { in ClearColor() local
54 SetPixel(handle, x, y, color); in ClearColor()
/test/xts/acts/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/conponentadd/
DpositionSetting_y.ets23 @State position1: {x: string, y: string} = {x: 25, y: 15};
24 @State position2: {x: string, y: string} = {x: '50%', y: '70%'};
25 @State anchor: {x: string, y: string} = {x: 25, y: 25};
26 @State offset: {x: string, y: string} = {x: 10, y: 15};
27 @State span: {x: string, y: string} = {x: 10, y: 15};
60 Text(`2 position(${this.position1.x}, ${this.position1.y})`)
64 .position({ x: this.position1.x, y: this.position1.y })
70 Text(`4 position(${this.position2.x}, ${this.position2.y})`)
74 .position({ x: this.position2.x, y: this.position2.y })
85 .markAnchor({ x: this.anchor.x, y: this.anchor.y })
[all …]
/test/xts/acts/arkui/ace_ets_component_five/entry/src/main/ets/MainAbility/pages/
DpositionSetting.ets23 @State position1: {x: string, y: string} = {x: 25, y: 15};
24 @State position2: {x: string, y: string} = {x: '50%', y: '70%'};
25 @State anchor: {x: string, y: string} = {x: 25, y: 25};
26 @State offset: {x: string, y: string} = {x: 10, y: 15};
59 Text(`2 position(${this.position1.x}, ${this.position1.y})`)
63 .position({ x: this.position1.x, y: this.position1.y })
69 Text(`4 position(${this.position2.x}, ${this.position2.y})`)
73 .position({ x: this.position2.x, y: this.position2.y })
84 .markAnchor({ x: this.anchor.x, y: this.anchor.y })
88 .markAnchor({ x: 25, y: 25 })
[all …]
DohosMatrix4.ets24 x: 1,
31 @State translateValue: object= { x: 100, y: 5 }
32 @State scaleValue: object= { x: 2, y: 0.5 }
33 @State transformValue: object= Matrix4.identity().translate({ x: 100, y: 100, z: 30 })
34 @State transformValue1: object= Matrix4.identity().translate({ x: 100, y: 100, z: 30 })
36 @State matrix2: Matrix4.Matrix4Transit = Matrix4.identity().translate({ x: 300 }).copy()
37 @State matrix3: Matrix4.Matrix4Transit= Matrix4.identity().scale({ x: 3 }).copy()
38 @State matrix4: object = Matrix4.identity().rotate({x:1, y:1, z:2, angle:30})
39 @State matrix5: object = Matrix4.identity().scale({x:5, y:1, z:1, centerX:50, centerY:50})
40 @State matrix6: object = Matrix4.identity().translate({x:100, y:200, z:30})
[all …]
DtransForm.ets24 x: 1,
31 @State translateValue: object= { x: 100, y: 5 }
32 @State scaleValue: object= { x: 2, y: 0.5 }
33 @State transformValue: object= Matrix4.identity().translate({ x: 100, y: 100, z: 30 })
94 .transform(Matrix4.identity().translate({ x: 100, y: 100, z: 30 }))
/test/testfwk/developer_test/examples/sleep/src/
Dsleep_ex.cpp22 #define UNUSED(x) (void)(x) argument
29 static double TimeDiff(struct timeval *x , struct timeval *y) in TimeDiff() argument
31 if (x == nullptr || y == nullptr) { in TimeDiff()
35 double xUs = reinterpret_cast<double>(x->tv_sec * SleepTest::ID_MS_TO_NS_LEVEL) in TimeDiff()
36 + reinterpret_cast<double>(x->tv_usec); in TimeDiff()
/test/xts/device_attest_lite/services/core/include/utils/
Dattest_utils.h38 #define ABS(x) ((x) >= 0 ? (x) : -(x)) argument
/test/xts/device_attest/services/core/include/utils/
Dattest_utils.h38 #define ABS(x) ((x) >= 0 ? (x) : -(x)) argument
/test/testfwk/arkxtest/uitest/record/
Dtouch_event.h28 int32_t x = 0; member
40 int32_t x = 0; member
51 return Offset(x, y); in GetOffset()
55 x = 0; in Resets()
Dpoint.h27 Point(double x, double y) : x_(x), y_(y) {} in Point() argument
39 void SetX(double x) in SetX() argument
41 x_ = x; in SetX()
Dfind_widget.h26 const Widget FindWidget(UiDriver &driver, float x, float y);
31 explicit WidgetMatcherByCoord(float x, float y) in WidgetMatcherByCoord() argument
33 x_ = x; in WidgetMatcherByCoord()
/test/xts/acts/arkui/ace_ets_test/entry/src/main/ets/MainAbility/pages/components/
DShape.ets32 Ellipse().width(300).height(50).offset({ x: 0, y: 60 })
33 Path().width(300).height(10).commands('M0 0 L900 0').offset({ x: 0, y: 120 })
35 .viewPort({ x: -2, y: -2, width: 304, height: 130 })
41 …}.viewPort({ x: -1, y: -1, width: 302, height: 52 }).fill(0x317Af7).stroke(Color.Black).strokeWidt…
46 …}.viewPort({ x: 0, y: -5, width: 300, height: 20 }).stroke(0xEE8443).strokeWidth(10).strokeDashArr…
50 .viewPort({ x: 0, y: -5, width: 300, height: 20 })
54 …}.viewPort({ x: 0, y: -5, width: 300, height: 20 }).stroke(0xEE8443).strokeWidth(10).strokeOpacity…
58 .viewPort({ x: 0, y: -5, width: 300, height: 20 })
63 .viewPort({ x: -5, y: -5, width: 310, height: 120 })
68 .viewPort({ x: -80, y: -5, width: 310, height: 100 })
/test/xts/acts/sensors/sensor_standard/src/main/js/test/
DSensorGeomagneticTest.test.js105 … console.info('SensorGeomagenticAlgorithmJSTest001 success x: ' + data.x + ',y: '
109 expect(data.x).assertEqual(GEOMAGNETIC_COMPONENT_YEAR_RESULT[j][0])
148 … console.info('SensorGeomagenticAlgorithmJSTest002 success x: ' + data.x + ',y: '
153 expect(data.x).assertEqual(GEOMAGNETIC_COMPONENT_COORDINATES_RESULT[j][0])
186 …console.info('SensorGeomagenticAlgorithmJSTest003 x: ' + data.x + ',y: ' + data.y + ',z: ' + data.z
190 expect(geomagneticComponent).assertContain(data.x)
219 … console.info('SensorGeomagenticAlgorithmJSTest004 success x: ' + data.x + ',y: ' + data.y
224 expect(data.x).assertEqual(geomagneticComponent[0])
253 …console.info('SensorGeomagenticAlgorithmJSTest005 x: ' + data.x + ',y: ' + data.y + ',z: ' + data.z
257 expect(data.x).assertEqual(geomagneticComponent[0])
[all …]
DSubscribe_subscribeAccelerometer.js64 expect(typeof (data.x)).assertEqual("number");
90 expect(typeof (data.x)).assertEqual("number");
116 expect(typeof (data.x)).assertEqual("number");
142 expect(typeof (data.x)).assertEqual("number");
156 expect(typeof (data.x)).assertEqual("number");
182 expect(typeof (data.x)).assertEqual("number");
205 expect(typeof (data.x)).assertEqual("number");
224 expect(typeof (data.x)).assertEqual("number");
DSubscribe_subscribeGyroscope.js64 expect(typeof (data.x)).assertEqual("number");
90 expect(typeof (data.x)).assertEqual("number");
116 expect(typeof (data.x)).assertEqual("number");
142 expect(typeof (data.x)).assertEqual("number");
156 expect(typeof (data.x)).assertEqual("number");
182 expect(typeof (data.x)).assertEqual("number");
205 expect(typeof (data.x)).assertEqual("number");
224 expect(typeof (data.x)).assertEqual("number");
DSensorOnOffTest.test_newSensorGeomagnetic.js100 …console.info('Sensor_GetGeomagneticInfo_001 success x: ' + data.x + ',y: ' + data.y + ',z: ' + dat…
102 expect(data.x).assertEqual(GEOMAGNETIC_COMPONENT_YEAR_RESULT[j][0])
139 …console.info('Sensor_GetGeomagneticInfo_002 success x: ' + data.x + ',y: ' + data.y + ',z: ' + dat…
141 expect(data.x).assertEqual(GEOMAGNETIC_COMPONENT_COORDINATES_RESULT[j][0])
172 …console.info('Sensor_GetGeomagneticInfo_003 success x: ' + data.x + ',y: ' + data.y + ',z: ' + dat…
174 expect(data.x).assertEqual(geomagneticComponent[0])
201 …console.info('Sensor_GetGeomagneticInfo_004 x: ' + data.x + ',y: ' + data.y + ',z: ' + data.z + ',…
203 expect(data.x).assertEqual(geomagneticComponent[0])
230 …console.info('Sensor_GetGeomagneticInfo_005 x: ' + data.x + ',y: ' + data.y + ',z: ' + data.z + ',…
232 expect(data.x).assertEqual(geomagneticComponent[0])
[all …]
/test/xts/acts/arkui/ace_ets_component/entry/src/main/ets/MainAbility/pages/
Doverlay.ets23 @State x: number = 0
52 if (eventData.data.x != null) {
53 this.x = eventData.data.x
72 { align: this.alignment, offset: { x: this.x, y: this.y } })
/test/xts/acts/multimedia/image/image_js_standard/imageDecodeOptions/src/main/js/test/
Dimage.test.js100 desiredRegion: { size: { height: 1, width: 2 }, x: 0, y: 0 }, property
156 desiredRegion: { size: { height: 1, width: 2 }, x: 0, y: 0 }, property
212 desiredRegion: { size: { height: 1, width: 2 }, x: 0, y: 0 }, property
268 desiredRegion: { size: { height: 1, width: 2 }, x: 0, y: 0 }, property
322 desiredRegion: { size: { height: 1, width: 2 }, x: 0, y: 0 }, property
376 desiredRegion: { size: { height: 1, width: 2 }, x: 0, y: 0 }, property
432 desiredRegion: { size: { height: 1, width: 2 }, x: 0, y: 0 }, property
488 desiredRegion: { size: { height: 1, width: 2 }, x: 0, y: 0 }, property
549 desiredRegion: { size: { height: 1, width: 2 }, x: 0, y: 0 }, property
603 desiredRegion: { size: { height: 1, width: 2 }, x: 0, y: 0 }, property
[all …]
/test/xts/acts/validator/acts_validator/src/main/ets/pages/ArkUI/
DTouchMoveTest.ets27 @Link x: number;
171 @State x: number = 0;
183 .width('20vp').height('20vp').position({ x: this.x, y: this.y }).visibility(this.isshow)
186 let x = event.touches[0].x;
189 this.x = x;
194 this.x = x;
214 x: $x,
/test/xts/acts/security_lite/huks/common/
Dhks_test_api_performance.c215 int32_t HksBnExpModRun(struct HksBlob *x, const struct HksBlob *a, in HksBnExpModRun() argument
220 if (x != NULL) { in HksBnExpModRun()
221 oriXSize = x->size; in HksBnExpModRun()
225 if (x != NULL) { in HksBnExpModRun()
226 (void)memset_s(x->data, oriXSize, 0, oriXSize); in HksBnExpModRun()
227 x->size = oriXSize; in HksBnExpModRun()
229 ret = HksBnExpMod(x, a, e, n); in HksBnExpModRun()
/test/xts/acts/arkui/ace_ets_component_four/entry/src/main/ets/MainAbility/pages/
DenumsLineCapStyle.ets24 Ellipse().width(300).height(50).offset({ x: 0, y: 60 })
25 Path().width(300).height(10).commands('M0 0 L900 0').offset({ x: 0, y: 120 })
27 .viewPort({ x: -2, y: -2, width: 304, height: 130 })
/test/ostest/wukong/
DREADME_zh.md48 hdc_std shell chmod a+x /wukong
75 |-s, --start[x,y] | 设置滑动测试起点坐标。 | 否 | - |
76 | -e, --end[x,y] | 设置滑动测试终点坐标。 | 否 | - |
78 | -t, --touch[x,y] | 点击测试。 | 否 | - |

12345678910>>...13