Home
last modified time | relevance | path

Searched refs:rotate (Results 1 – 25 of 368) sorted by relevance

12345678910>>...15

/external/python/cpython2/Lib/test/decimaltestdata/
DdqRotate.decTest2 -- dqRotate.decTest -- rotate decQuad coefficient left or right --
30 dqrot001 rotate 0 0 -> 0
31 dqrot002 rotate 0 2 -> 0
32 dqrot003 rotate 1 2 -> 100
33 dqrot004 rotate 1 33 -> 1000000000000000000000000000000000
34 dqrot005 rotate 1 34 -> 1
35 dqrot006 rotate 1 -1 -> 1000000000000000000000000000000000
36 dqrot007 rotate 0 -2 -> 0
37 dqrot008 rotate 1234567890123456789012345678901234 -1 -> 4123456789012345678901234567890123
38 dqrot009 rotate 1234567890123456789012345678901234 -33 -> 2345678901234567890123456789012341
[all …]
DddRotate.decTest2 -- ddRotate.decTest -- rotate a decDouble coefficient left or right --
30 ddrot001 rotate 0 0 -> 0
31 ddrot002 rotate 0 2 -> 0
32 ddrot003 rotate 1 2 -> 100
33 ddrot004 rotate 1 15 -> 1000000000000000
34 ddrot005 rotate 1 16 -> 1
35 ddrot006 rotate 1 -1 -> 1000000000000000
36 ddrot007 rotate 0 -2 -> 0
37 ddrot008 rotate 1234567890123456 -1 -> 6123456789012345
38 ddrot009 rotate 1234567890123456 -15 -> 2345678901234561
[all …]
Drotate.decTest2 -- rotate.decTest -- rotate coefficient left or right --
29 rotx001 rotate 0 0 -> 0
30 rotx002 rotate 0 2 -> 0
31 rotx003 rotate 1 2 -> 100
32 rotx004 rotate 34 8 -> 400000003
33 rotx005 rotate 1 9 -> 1
34 rotx006 rotate 1 -1 -> 100000000
35 rotx007 rotate 123456789 -1 -> 912345678
36 rotx008 rotate 123456789 -8 -> 234567891
37 rotx009 rotate 123456789 -9 -> 123456789
[all …]
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.rotate/
Drotate.pass.cpp29 Iter r = std::rotate(Iter(ia), Iter(ia), Iter(ia)); in test()
32 r = std::rotate(Iter(ia), Iter(ia), Iter(ia+sa)); in test()
35 r = std::rotate(Iter(ia), Iter(ia+sa), Iter(ia+sa)); in test()
41 r = std::rotate(Iter(ib), Iter(ib), Iter(ib+sb)); in test()
45 r = std::rotate(Iter(ib), Iter(ib+1), Iter(ib+sb)); in test()
49 r = std::rotate(Iter(ib), Iter(ib+sb), Iter(ib+sb)); in test()
56 r = std::rotate(Iter(ic), Iter(ic), Iter(ic+sc)); in test()
61 r = std::rotate(Iter(ic), Iter(ic+1), Iter(ic+sc)); in test()
66 r = std::rotate(Iter(ic), Iter(ic+2), Iter(ic+sc)); in test()
71 r = std::rotate(Iter(ic), Iter(ic+sc), Iter(ic+sc)); in test()
[all …]
/external/skia/gm/
Dtextblobtransforms.cpp94 canvas->rotate(180.f); in onDraw()
96 canvas->rotate(-180.f); in onDraw()
98 canvas->rotate(-180.f); in onDraw()
100 canvas->rotate(270.f); in onDraw()
102 canvas->rotate(-90.f); in onDraw()
104 canvas->rotate(-90.f); in onDraw()
106 canvas->rotate(90.f); in onDraw()
121 canvas->rotate(23.f); in onDraw()
125 canvas->rotate(-46.f); in onDraw()
130 canvas->rotate(46.f); in onDraw()
[all …]
Dlocalmatriximageshader.cpp29 SkMatrix rotate; variable
30 rotate.setRotate(45.0f);
32 sk_sp<SkShader> redLocalMatrixShader = redImageShader->makeWithLocalMatrix(rotate);
40 sk_sp<SkShader> blueImageShader = blueImage->makeShader(&rotate);
Daaa.cpp41 canvas->rotate(1); in onDraw()
48 canvas->rotate(1); in onDraw()
106 canvas->rotate(1); in onDraw()
121 canvas->rotate(1); in onDraw()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DHashing.h170 inline uint64_t rotate(uint64_t val, size_t shift) { in rotate() function
207 return hash_16_bytes(seed ^ a, rotate(b + len, len)) ^ b; in hash_9to16_bytes()
215 return hash_16_bytes(rotate(a - b, 43) + rotate(c ^ seed, 30) + d, in hash_17to32_bytes()
216 a + rotate(b ^ k3, 20) - c + len + seed); in hash_17to32_bytes()
222 uint64_t b = rotate(a + z, 52); in hash_33to64_bytes()
223 uint64_t c = rotate(a, 37); in hash_33to64_bytes()
225 c += rotate(a, 7); in hash_33to64_bytes()
228 uint64_t vs = b + rotate(a, 31) + c; in hash_33to64_bytes()
231 b = rotate(a + z, 52); in hash_33to64_bytes()
232 c = rotate(a, 37); in hash_33to64_bytes()
[all …]
/external/llvm/include/llvm/ADT/
DHashing.h170 inline uint64_t rotate(uint64_t val, size_t shift) { in rotate() function
207 return hash_16_bytes(seed ^ a, rotate(b + len, len)) ^ b; in hash_9to16_bytes()
215 return hash_16_bytes(rotate(a - b, 43) + rotate(c ^ seed, 30) + d, in hash_17to32_bytes()
216 a + rotate(b ^ k3, 20) - c + len + seed); in hash_17to32_bytes()
222 uint64_t b = rotate(a + z, 52); in hash_33to64_bytes()
223 uint64_t c = rotate(a, 37); in hash_33to64_bytes()
225 c += rotate(a, 7); in hash_33to64_bytes()
228 uint64_t vs = b + rotate(a, 31) + c; in hash_33to64_bytes()
231 b = rotate(a + z, 52); in hash_33to64_bytes()
232 c = rotate(a, 37); in hash_33to64_bytes()
[all …]
/external/llvm/test/CodeGen/NVPTX/
Drotate.ll5 declare i32 @llvm.nvvm.rotate.b32(i32, i32)
6 declare i64 @llvm.nvvm.rotate.b64(i64, i32)
7 declare i64 @llvm.nvvm.rotate.right.b64(i64, i32)
17 %val = tail call i32 @llvm.nvvm.rotate.b32(i32 %a, i32 %b)
30 %val = tail call i64 @llvm.nvvm.rotate.b64(i64 %a, i32 %b)
43 %val = tail call i64 @llvm.nvvm.rotate.right.b64(i64 %a, i32 %b)
/external/skia/samplecode/
DSampleClock.cpp42 canvas->rotate(-180.f/2.f); in onDrawContent()
62 canvas->rotate(180.f/6.f); in onDrawContent()
88 canvas->rotate(180.f/30.f); in onDrawContent()
99 canvas->rotate(180.f/30.f); in onDrawContent()
110 canvas->rotate(time.fHour*(180.f/6.f) + time.fMinute*(180.f/360.f) in onDrawContent()
131 canvas->rotate(time.fMinute*(180.f/30.f) in onDrawContent()
152 canvas->rotate(time.fSecond*(180.f/30.f)); in onDrawContent()
DSampleManyRects.cpp49 SkMatrix rotate; in onDrawContent() local
50 rotate.setRotate(fRandom.nextUScalar1() * 360, in onDrawContent()
53 canvas->concat(rotate); in onDrawContent()
/external/python/cpython2/Modules/
Drotatingtree.c67 int rotate; in RotatingTree_Get() local
73 rotate = !randombits(1); in RotatingTree_Get()
78 if (rotate) { in RotatingTree_Get()
90 if (rotate) { in RotatingTree_Get()
/external/eigen/demos/opengl/
DREADME3 left button: rotate around the target
5 left button + ctrl quake rotate (rotate around camera position)
/external/pdfium/core/fpdfapi/page/
Dcpdf_page.cpp39 int rotate = pRotate ? pRotate->GetInteger() / 90 % 4 : 0; in CPDF_Page() local
40 if (rotate < 0) in CPDF_Page()
41 rotate += 4; in CPDF_Page()
64 if (rotate % 2) in CPDF_Page()
67 switch (rotate) { in CPDF_Page()
/external/swiftshader/third_party/LLVM/test/CodeGen/CellSPU/
Dstruct_1.ll30 ; unsigned char c1; // offset 0 (rotate left by 13 bytes to byte 3)
31 ; unsigned char c2; // offset 1 (rotate left by 14 bytes to byte 3)
32 ; unsigned char c3; // offset 2 (rotate left by 15 bytes to byte 3)
33 ; int i1; // offset 4 (rotate left by 4 bytes to byte 0)
34 ; short s1; // offset 8 (rotate left by 6 bytes to byte 2)
38 ; unsigned char c6; // offset 18 (rotate left by 14 bytes to byte 3)
39 ; unsigned char c7; // offset 19 (no rotate, in preferred slot)
43 ; int i6; // offset 32 (no rotate, in preferred slot)
/external/ImageMagick/PerlMagick/demo/
Dannotate.pl28 $label->Annotate(text=>"West",gravity=>"West",x=>$x,rotate=>$angle);
29 $label->Annotate(text=>"Center",gravity=>"Center",rotate=>$angle);
30 $label->Annotate(text=>"East",gravity=>"East",x=>$x,rotate=>$angle);
Dcomposite.pl32 $thumbnail->Composite(image=>$smile,gravity=>"West",x=>$x,rotate=>$angle);
33 $thumbnail->Composite(image=>$smile,gravity=>"Center",rotate=>$angle);
34 $thumbnail->Composite(image=>$smile,gravity=>"East",x=>$x,rotate=>$angle);
/external/freetype/src/base/
Dftstroke.c541 FT_Angle total, angle, step, rotate, next, theta; in ft_stroke_border_arcto() local
554 rotate = ( angle_diff >= 0 ) ? FT_ANGLE_PI2 : -FT_ANGLE_PI2; in ft_stroke_border_arcto()
581 FT_Vector_From_Polar( &a2, length, angle + rotate ); in ft_stroke_border_arcto()
585 FT_Vector_From_Polar( &b2, length, next - rotate ); in ft_stroke_border_arcto()
896 FT_Angle total, rotate; in ft_stroker_arcto() local
902 rotate = FT_SIDE_TO_ROTATE( side ); in ft_stroker_arcto()
906 total = -rotate * 2; in ft_stroker_arcto()
911 stroker->angle_in + rotate, in ft_stroker_arcto()
939 FT_Angle rotate = FT_SIDE_TO_ROTATE( side ); in ft_stroker_cap() local
944 FT_Vector_From_Polar( &delta2, radius, angle + rotate ); in ft_stroker_cap()
[all …]
/external/pdfium/third_party/freetype/src/base/
Dftstroke.c541 FT_Angle total, angle, step, rotate, next, theta; in ft_stroke_border_arcto() local
554 rotate = ( angle_diff >= 0 ) ? FT_ANGLE_PI2 : -FT_ANGLE_PI2; in ft_stroke_border_arcto()
581 FT_Vector_From_Polar( &a2, length, angle + rotate ); in ft_stroke_border_arcto()
585 FT_Vector_From_Polar( &b2, length, next - rotate ); in ft_stroke_border_arcto()
895 FT_Angle total, rotate; in ft_stroker_arcto() local
901 rotate = FT_SIDE_TO_ROTATE( side ); in ft_stroker_arcto()
905 total = -rotate * 2; in ft_stroker_arcto()
910 stroker->angle_in + rotate, in ft_stroker_arcto()
938 FT_Angle rotate = FT_SIDE_TO_ROTATE( side ); in ft_stroker_cap() local
943 FT_Vector_From_Polar( &delta2, radius, angle + rotate ); in ft_stroker_cap()
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DAnimationSetTest.java33 Animation rotate = new RotateAnimation(1f, 2f); in testAnimationList() local
36 set.addAnimation(rotate); in testAnimationList()
42 assertThat(list.get(2), sameInstance(rotate)); in testAnimationList()
/external/python/cpython2/Lib/test/
Dtest_deque.py145 d.rotate(-1)
146 d.rotate(1)
257 d.rotate(1) # verify rot(1)
261 d.rotate(-1) # verify rot(-1)
263 d.rotate() # check default to 1
269 d.rotate(i) # check vs. rot(1) n times
271 e.rotate(1)
273 d.rotate(-i) # check that it works in reverse
275 e.rotate(n-i) # check that it wraps forward
281 d.rotate(-i)
[all …]
/external/llvm/test/CodeGen/SystemZ/
Drot-01.ll1 ; Test shortening of NILL to NILF when the result is used as a rotate amount.
5 ; Test 32-bit rotate.
21 ; Test 64-bit rotate.
/external/pdfium/fpdfsdk/fpdfxfa/
Dcpdfxfa_page.cpp149 int rotate, in DeviceToPage() argument
159 GetDisplayMatrix(start_x, start_y, size_x, size_y, rotate)); in DeviceToPage()
172 int rotate, in PageToDevice() argument
181 GetDisplayMatrix(start_x, start_y, size_x, size_y, rotate); in PageToDevice()
/external/squashfs-tools/squashfs-tools/
Dprogressbar.c47 int rotate = 0; variable
71 rotate = (rotate + 1) % 4; in sigalrm_handler()
130 putchar(rotate_list[rotate]); in progress_bar()

12345678910>>...15