Home
last modified time | relevance | path

Searched refs:abs (Results 1 – 25 of 3778) sorted by relevance

12345678910>>...152

/external/python/cpython2/Lib/test/decimaltestdata/
DddAbs.decTest29 ddabs001 abs '1' -> '1'
30 ddabs002 abs '-1' -> '1'
31 ddabs003 abs '1.00' -> '1.00'
32 ddabs004 abs '-1.00' -> '1.00'
33 ddabs005 abs '0' -> '0'
34 ddabs006 abs '0.00' -> '0.00'
35 ddabs007 abs '00.0' -> '0.0'
36 ddabs008 abs '00.00' -> '0.00'
37 ddabs009 abs '00' -> '0'
39 ddabs010 abs '-2' -> '2'
[all …]
DdqAbs.decTest29 dqabs001 abs '1' -> '1'
30 dqabs002 abs '-1' -> '1'
31 dqabs003 abs '1.00' -> '1.00'
32 dqabs004 abs '-1.00' -> '1.00'
33 dqabs005 abs '0' -> '0'
34 dqabs006 abs '0.00' -> '0.00'
35 dqabs007 abs '00.0' -> '0.0'
36 dqabs008 abs '00.00' -> '0.00'
37 dqabs009 abs '00' -> '0'
39 dqabs010 abs '-2' -> '2'
[all …]
Dabs.decTest2 -- abs.decTest -- decimal absolute value --
32 absx001 abs '1' -> '1'
33 absx002 abs '-1' -> '1'
34 absx003 abs '1.00' -> '1.00'
35 absx004 abs '-1.00' -> '1.00'
36 absx005 abs '0' -> '0'
37 absx006 abs '0.00' -> '0.00'
38 absx007 abs '00.0' -> '0.0'
39 absx008 abs '00.00' -> '0.00'
40 absx009 abs '00' -> '0'
[all …]
/external/python/cpython3/Lib/test/decimaltestdata/
DdqAbs.decTest29 dqabs001 abs '1' -> '1'
30 dqabs002 abs '-1' -> '1'
31 dqabs003 abs '1.00' -> '1.00'
32 dqabs004 abs '-1.00' -> '1.00'
33 dqabs005 abs '0' -> '0'
34 dqabs006 abs '0.00' -> '0.00'
35 dqabs007 abs '00.0' -> '0.0'
36 dqabs008 abs '00.00' -> '0.00'
37 dqabs009 abs '00' -> '0'
39 dqabs010 abs '-2' -> '2'
[all …]
DddAbs.decTest29 ddabs001 abs '1' -> '1'
30 ddabs002 abs '-1' -> '1'
31 ddabs003 abs '1.00' -> '1.00'
32 ddabs004 abs '-1.00' -> '1.00'
33 ddabs005 abs '0' -> '0'
34 ddabs006 abs '0.00' -> '0.00'
35 ddabs007 abs '00.0' -> '0.0'
36 ddabs008 abs '00.00' -> '0.00'
37 ddabs009 abs '00' -> '0'
39 ddabs010 abs '-2' -> '2'
[all …]
Dabs.decTest2 -- abs.decTest -- decimal absolute value --
32 absx001 abs '1' -> '1'
33 absx002 abs '-1' -> '1'
34 absx003 abs '1.00' -> '1.00'
35 absx004 abs '-1.00' -> '1.00'
36 absx005 abs '0' -> '0'
37 absx006 abs '0.00' -> '0.00'
38 absx007 abs '00.0' -> '0.0'
39 absx008 abs '00.00' -> '0.00'
40 absx009 abs '00' -> '0'
[all …]
/external/llvm-project/llvm/test/Transforms/InstSimplify/
Dabs_intrinsic.ll4 declare i8 @llvm.abs.i8(i8, i1)
5 declare i32 @llvm.abs.i32(i32, i1)
6 declare <3 x i82> @llvm.abs.v3i82(<3 x i82>, i1)
7 declare <4 x i32> @llvm.abs.v4i32(<4 x i32>, i1)
11 ; CHECK-NEXT: [[A:%.*]] = call i32 @llvm.abs.i32(i32 [[X:%.*]], i1 false)
14 %a = call i32 @llvm.abs.i32(i32 %x, i1 false)
15 %b = call i32 @llvm.abs.i32(i32 %a, i1 false)
21 ; CHECK-NEXT: [[A:%.*]] = call i32 @llvm.abs.i32(i32 [[X:%.*]], i1 true)
24 %a = call i32 @llvm.abs.i32(i32 %x, i1 true)
25 %b = call i32 @llvm.abs.i32(i32 %a, i1 false)
[all …]
/external/libvpx/libvpx/vpx_dsp/arm/
Dsad_neon.c24 uint16x8_t abs = vabdl_u8(vget_low_u8(src_u8), vget_low_u8(ref_u8)); in vpx_sad4x4_neon() local
25 abs = vabal_u8(abs, vget_high_u8(src_u8), vget_high_u8(ref_u8)); in vpx_sad4x4_neon()
26 return vget_lane_u32(horizontal_add_uint16x8(abs), 0); in vpx_sad4x4_neon()
36 uint16x8_t abs = vabdl_u8(vget_low_u8(src_u8), vget_low_u8(avg)); in vpx_sad4x4_avg_neon() local
37 abs = vabal_u8(abs, vget_high_u8(src_u8), vget_high_u8(avg)); in vpx_sad4x4_avg_neon()
38 return vget_lane_u32(horizontal_add_uint16x8(abs), 0); in vpx_sad4x4_avg_neon()
44 uint16x8_t abs = vdupq_n_u16(0); in vpx_sad4x8_neon() local
50 abs = vabal_u8(abs, vget_low_u8(src_u8), vget_low_u8(ref_u8)); in vpx_sad4x8_neon()
51 abs = vabal_u8(abs, vget_high_u8(src_u8), vget_high_u8(ref_u8)); in vpx_sad4x8_neon()
54 return vget_lane_u32(horizontal_add_uint16x8(abs), 0); in vpx_sad4x8_neon()
[all …]
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dabs-intrinsic.ll4 declare i8 @llvm.abs.i8(i8, i1)
5 declare i32 @llvm.abs.i32(i32, i1)
6 declare <4 x i32> @llvm.abs.v4i32(<4 x i32>, i1)
7 declare <3 x i82> @llvm.abs.v3i82(<3 x i82>, i1)
10 ; abs preserves trailing zeros so the second and is unneeded
14 ; CHECK-NEXT: [[ABS:%.*]] = call i32 @llvm.abs.i32(i32 [[AND]], i1 false)
18 %abs = call i32 @llvm.abs.i32(i32 %and, i1 false)
19 %and2 = and i32 %abs, -2
26 ; CHECK-NEXT: [[ABS:%.*]] = call <4 x i32> @llvm.abs.v4i32(<4 x i32> [[AND]], i1 false)
30 %abs = call <4 x i32> @llvm.abs.v4i32(<4 x i32> %and, i1 false)
[all …]
/external/llvm-project/llvm/test/CodeGen/PowerPC/
Dneg-abs.ll6 declare i64 @llvm.abs.i64(i64, i1 immarg)
7 declare <2 x i64> @llvm.abs.v2i64(<2 x i64>, i1)
8 declare <4 x i32> @llvm.abs.v4i32(<4 x i32>, i1)
9 declare <8 x i16> @llvm.abs.v8i16(<8 x i16>, i1)
10 declare <16 x i8> @llvm.abs.v16i8(<16 x i8>, i1)
19 %abs = tail call i64 @llvm.abs.i64(i64 %x, i1 true)
20 %neg = sub nsw i64 0, %abs
31 %abs = call <2 x i64> @llvm.abs.v2i64(<2 x i64> %0, i1 true)
32 %neg.abs = sub <2 x i64> zeroinitializer, %abs
33 ret <2 x i64> %neg.abs
[all …]
/external/llvm-project/llvm/test/CodeGen/NVPTX/
Didioms.ll8 ; CHECK: abs.s16
10 %abs.cond = icmp sge i16 %a, 0
11 %abs = select i1 %abs.cond, i16 %a, i16 %neg
12 ret i16 %abs
17 ; CHECK: abs.s32
19 %abs.cond = icmp sge i32 %a, 0
20 %abs = select i1 %abs.cond, i32 %a, i32 %neg
21 ret i32 %abs
26 ; CHECK: abs.s64
28 %abs.cond = icmp sge i64 %a, 0
[all …]
/external/clang/test/SemaCXX/
Dwarn-absolute-value.cpp5 int abs(int);
21 int abs(int);
22 long int abs(long int);
23 long long int abs(long long int);
26 float abs(float);
27 double abs(double);
28 long double abs(long double);
31 double abs(T);
36 (void)std::abs(x); in test_int()
38 (void)abs(x); in test_int()
[all …]
/external/llvm-project/llvm/test/Analysis/CostModel/X86/
Dabs.ll12 ; abs(X, not_posion)
17 ; SSE2-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %I64 = call i64 @llvm.abs.i…
18 …ound an estimated cost of 4 for instruction: %V2I64 = call <2 x i64> @llvm.abs.v2i64(<2 x i64> %a1…
19 …ound an estimated cost of 8 for instruction: %V4I64 = call <4 x i64> @llvm.abs.v4i64(<4 x i64> %a2…
20 …und an estimated cost of 16 for instruction: %V8I64 = call <8 x i64> @llvm.abs.v8i64(<8 x i64> %a5…
24 ; SSSE3-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %I64 = call i64 @llvm.abs.…
25 …ound an estimated cost of 4 for instruction: %V2I64 = call <2 x i64> @llvm.abs.v2i64(<2 x i64> %a1…
26 …ound an estimated cost of 8 for instruction: %V4I64 = call <4 x i64> @llvm.abs.v4i64(<4 x i64> %a2…
27 …und an estimated cost of 16 for instruction: %V8I64 = call <8 x i64> @llvm.abs.v8i64(<8 x i64> %a5…
31 ; SSE42-NEXT: Cost Model: Found an estimated cost of 2 for instruction: %I64 = call i64 @llvm.abs.…
[all …]
/external/llvm-project/clang/test/SemaCXX/
Dwarn-absolute-value.cpp5 int abs(int);
21 int abs(int);
22 long int abs(long int);
23 long long int abs(long long int);
26 float abs(float);
27 double abs(double);
28 long double abs(long double);
31 double abs(T);
36 (void)std::abs(x); in test_int()
38 (void)abs(x); in test_int()
[all …]
Dwarn-absolute-value-header.cpp5 int abs(int);
10 int abs(int);
11 float abs(float);
16 (void)abs(d); in test()
29 (void)abs(ll); in test()
41 (void)abs(i); in test()
49 (void)abs(f); in test()
/external/swiftshader/src/System/
DHalf.cpp23 unsigned int abs = fp32i & 0x7FFFFFFF; in half() local
25 if(abs > 0x47FFEFFF) // Infinity in half()
29 else if(abs < 0x38800000) // Denormal in half()
31 unsigned int mantissa = (abs & 0x007FFFFF) | 0x00800000; in half()
32 unsigned int e = 113 - (abs >> 23); in half()
36 abs = mantissa >> e; in half()
40 abs = 0; in half()
43 fp16i = sign | (abs + 0x00000FFF + ((abs >> 13) & 1)) >> 13; in half()
47 fp16i = sign | (abs + 0xC8000000 + 0x00000FFF + ((abs >> 13) & 1)) >> 13; in half()
/external/swiftshader/src/Common/
DHalf.cpp23 unsigned int abs = fp32i & 0x7FFFFFFF; in half() local
25 if(abs > 0x47FFEFFF) // Infinity in half()
29 else if(abs < 0x38800000) // Denormal in half()
31 unsigned int mantissa = (abs & 0x007FFFFF) | 0x00800000; in half()
32 int e = 113 - (abs >> 23); in half()
36 abs = mantissa >> e; in half()
40 abs = 0; in half()
43 fp16i = sign | (abs + 0x00000FFF + ((abs >> 13) & 1)) >> 13; in half()
47 fp16i = sign | (abs + 0xC8000000 + 0x00000FFF + ((abs >> 13) & 1)) >> 13; in half()
/external/libwebsockets/lib/abstract/transports/
Draw-skt.c29 struct lws_abs *abs; member
48 if (priv->abs->ap->heartbeat) in heartbeat_cb()
49 priv->abs->ap->heartbeat(priv->abs->api); in heartbeat_cb()
95 if (priv->abs->ap->accept) in callback_abs_client_raw_skt()
96 priv->abs->ap->accept(priv->abs->api); in callback_abs_client_raw_skt()
141 if (priv->abs && priv->abs->ap->closed) in callback_abs_client_raw_skt()
142 priv->abs->ap->closed(priv->abs->api); in callback_abs_client_raw_skt()
148 return !!priv->abs->ap->rx(priv->abs->api, in, len); in callback_abs_client_raw_skt()
152 priv->abs->ap->writeable(priv->abs->api, in callback_abs_client_raw_skt()
218 lws_atcrs_client_conn(const lws_abs_t *abs) in lws_atcrs_client_conn() argument
[all …]
Dunit-test.c36 struct lws_abs *abs; member
103 priv->expect->pre(priv->abs); in process_expect()
107 s = priv->abs->ap->rx(priv->abs->api, priv->expect->buffer, in process_expect()
155 if (priv->abs) in unit_test_sequencer_cb()
156 lws_abs_destroy_instance(&priv->abs); in unit_test_sequencer_cb()
183 if (priv->abs->ap->heartbeat) in unit_test_sequencer_cb()
184 priv->abs->ap->heartbeat(priv->abs->api); in unit_test_sequencer_cb()
190 priv->abs->ap->name, in unit_test_sequencer_cb()
206 if (priv->abs->ap->accept) in unit_test_sequencer_cb()
207 priv->abs->ap->accept(priv->abs->api); in unit_test_sequencer_cb()
[all …]
/external/llvm-project/llvm/test/MC/AArch64/SVE/
Dabs.s10 abs z0.b, p0/m, z0.b label
16 abs z0.h, p0/m, z0.h label
22 abs z0.s, p0/m, z0.s label
28 abs z0.d, p0/m, z0.d label
34 abs z31.b, p7/m, z31.b label
40 abs z31.h, p7/m, z31.h label
46 abs z31.s, p7/m, z31.s label
52 abs z31.d, p7/m, z31.d label
68 abs z4.d, p7/m, z31.d label
80 abs z4.d, p7/m, z31.d label
/external/llvm-project/llvm/test/tools/llvm-cov/gcov/
Drelative-only.test4 RUN: cp %S/Inputs/abs-path.gcno %S/Inputs/abs-path.gcda .
6 RUN: llvm-cov gcov abs-path.gcda | FileCheck %s
7 RUN: rm abs-path.c.gcov a.h.gcov
8 CHECK: File '/tmp/c/abs-path.c'
12 RUN: llvm-cov gcov -r abs-path.gcda 2>&1 | count 0
13 RUN: llvm-cov gcov -r -s /t abs-path.gcda 2>&1 | count 0
14 RUN: not ls abs-path.c.gcov 2> /dev/null
17 RUN: llvm-cov gcov -r -s /tmp abs-path.gcda | FileCheck %s --check-prefix=STRIP1 --match-full-lines…
18 RUN: FileCheck %s --check-prefix=STRIP1_C < abs-path.c.gcov
22 RUN: llvm-cov gcov --relative-only --source-prefix=/tmp abs-path.gcda | FileCheck %s --check-prefix…
[all …]
/external/libwebsockets/lib/abstract/
Dabstract.c153 lws_abs_bind_and_create_instance(const lws_abs_t *abs) in lws_abs_bind_and_create_instance() argument
155 size_t size = sizeof(lws_abs_t) + abs->ap->alloc + abs->at->alloc; in lws_abs_bind_and_create_instance()
168 *ai = *abs; in lws_abs_bind_and_create_instance()
194 ai->ati = (char *)ai->api + abs->ap->alloc; in lws_abs_bind_and_create_instance()
297 lws_abs_t *abs = lws_zalloc(sizeof(*abs), __func__); in lws_abstract_alloc() local
302 if (!abs) in lws_abstract_alloc()
314 abs->ap = lws_abs_protocol_get_by_name(tmp); in lws_abstract_alloc()
315 if (!abs->ap) in lws_abstract_alloc()
329 abs->at = lws_abs_transport_get_by_name(tmp); in lws_abstract_alloc()
330 if (!abs->at) in lws_abstract_alloc()
[all …]
/external/bc/tests/bc/
Dabs.txt1 abs(0)
2 abs(1)
3 abs(.289365)
4 abs(289.82937658)
5 abs(-19)
6 abs(-.2098180)
7 abs(-198289.1098376)
/external/bc/tests/fuzzing/bc_inputs1/
Dabs.txt1 abs(0)
2 abs(1)
3 abs(.289365)
4 abs(289.82937658)
5 abs(-19)
6 abs(-.2098180)
7 abs(-198289.1098376)
/external/skia/resources/sksl/intrinsics/
DAbsFloat.sksl7 return (abs(testInputs.x) == expected.x &&
8 abs(testInputs.xy) == expected.xy &&
9 abs(testInputs.xyz) == expected.xyz &&
10 abs(testInputs.xyzw) == expected.xyzw &&
11 abs(constVal.x) == expected.x &&
12 abs(constVal.xy) == expected.xy &&
13 abs(constVal.xyz) == expected.xyz &&
14 abs(constVal.xyzw) == expected.xyzw) ? colorGreen : colorRed;

12345678910>>...152