Home
last modified time | relevance | path

Searched refs:exp (Results 1 – 25 of 2286) sorted by relevance

12345678910>>...92

/external/python/cpython3/Lib/test/decimaltestdata/
Dexp.decTest2 -- exp.decTest -- decimal natural exponentiation --
32 expx001 exp -Infinity -> 0
33 expx002 exp -10 -> 0.0000453999298 Inexact Rounded
34 expx003 exp -1 -> 0.367879441 Inexact Rounded
35 expx004 exp 0 -> 1
36 expx005 exp -0 -> 1
37 expx006 exp 1 -> 2.71828183 Inexact Rounded
38 expx007 exp 0.693147181 -> 2.00000000 Inexact Rounded
39 expx008 exp 10 -> 22026.4658 Inexact Rounded
40 expx009 exp +Infinity -> Infinity
[all …]
/external/python/cpython2/Lib/test/decimaltestdata/
Dexp.decTest2 -- exp.decTest -- decimal natural exponentiation --
32 expx001 exp -Infinity -> 0
33 expx002 exp -10 -> 0.0000453999298 Inexact Rounded
34 expx003 exp -1 -> 0.367879441 Inexact Rounded
35 expx004 exp 0 -> 1
36 expx005 exp -0 -> 1
37 expx006 exp 1 -> 2.71828183 Inexact Rounded
38 expx007 exp 0.693147181 -> 2.00000000 Inexact Rounded
39 expx008 exp 10 -> 22026.4658 Inexact Rounded
40 expx009 exp +Infinity -> Infinity
[all …]
/external/deqp/external/openglcts/modules/common/
DglcMisc.cpp50 unsigned int exp; in floatToHalfFloat() local
56 exp = x & FLOAT_MAX_BIASED_EXP; in floatToHalfFloat()
57 if (exp >= HALF_FLOAT_MAX_BIASED_EXP_AS_SINGLE_FP_EXP) in floatToHalfFloat()
60 if (mantissa && (exp == FLOAT_MAX_BIASED_EXP)) in floatToHalfFloat()
73 else if (exp <= HALF_FLOAT_MIN_BIASED_EXP_AS_SINGLE_FP_EXP) in floatToHalfFloat()
76 exp = (HALF_FLOAT_MIN_BIASED_EXP_AS_SINGLE_FP_EXP - exp) >> 23; in floatToHalfFloat()
78 mantissa >>= (14 + exp); in floatToHalfFloat()
83 hf = (((GLhalf)sign) << 15) | (GLhalf)((exp - HALF_FLOAT_MIN_BIASED_EXP_AS_SINGLE_FP_EXP) >> 13) | in floatToHalfFloat()
106 unsigned int exp; in floatToUnisgnedF11() local
112 exp = x & FLOAT_MAX_BIASED_EXP; in floatToUnisgnedF11()
[all …]
/external/libnl/lib/netfilter/
Dexp_obj.c67 struct nfnl_exp *exp = (struct nfnl_exp *) c; in exp_free_data() local
69 if (exp == NULL) in exp_free_data()
72 nl_addr_put(exp->exp_expect.src); in exp_free_data()
73 nl_addr_put(exp->exp_expect.dst); in exp_free_data()
74 nl_addr_put(exp->exp_master.src); in exp_free_data()
75 nl_addr_put(exp->exp_master.dst); in exp_free_data()
76 nl_addr_put(exp->exp_mask.src); in exp_free_data()
77 nl_addr_put(exp->exp_mask.dst); in exp_free_data()
78 nl_addr_put(exp->exp_nat.src); in exp_free_data()
79 nl_addr_put(exp->exp_nat.dst); in exp_free_data()
[all …]
Dexp.c78 static int exp_parse_ip(struct nfnl_exp *exp, int tuple, struct nlattr *attr) in exp_parse_ip() argument
92 err = nfnl_exp_set_src(exp, tuple, addr); in exp_parse_ip()
101 err = nfnl_exp_set_dst(exp, tuple, addr); in exp_parse_ip()
110 err = nfnl_exp_set_src(exp, tuple, addr); in exp_parse_ip()
119 err = nfnl_exp_set_dst(exp, tuple, addr); in exp_parse_ip()
133 static int exp_parse_proto(struct nfnl_exp *exp, int tuple, struct nlattr *attr) in exp_parse_proto() argument
145 nfnl_exp_set_l4protonum(exp, tuple, nla_get_u8(tb[CTA_PROTO_NUM])); in exp_parse_proto()
152 nfnl_exp_set_ports(exp, tuple, srcport, dstport); in exp_parse_proto()
161 nfnl_exp_set_icmp(exp, tuple, icmpid, icmptype, icmpcode); in exp_parse_proto()
165 static int exp_parse_tuple(struct nfnl_exp *exp, int tuple, struct nlattr *attr) in exp_parse_tuple() argument
[all …]
/external/e2fsprogs/intl/
Dplural.y52 struct expression *exp; member
146 %type <exp> exp
150 start: exp
158 exp: exp '?' exp ':' exp
162 | exp '|' exp
166 | exp '&' exp
170 | exp EQUOP2 exp
174 | exp CMPOP2 exp
178 | exp ADDOP2 exp
182 | exp MULOP2 exp
[all …]
/external/libnl/src/lib/
Dexp.c26 struct nfnl_exp *exp; in nl_cli_exp_alloc() local
28 exp = nfnl_exp_alloc(); in nl_cli_exp_alloc()
29 if (!exp) in nl_cli_exp_alloc()
32 return exp; in nl_cli_exp_alloc()
40 void nl_cli_exp_parse_family(struct nfnl_exp *exp, char *arg) in nl_cli_exp_parse_family() argument
49 nfnl_exp_set_family(exp, family); in nl_cli_exp_parse_family()
52 void nl_cli_exp_parse_timeout(struct nfnl_exp *exp, char *arg) in nl_cli_exp_parse_timeout() argument
55 nfnl_exp_set_timeout(exp, timeout); in nl_cli_exp_parse_timeout()
58 void nl_cli_exp_parse_id(struct nfnl_exp *exp, char *arg) in nl_cli_exp_parse_id() argument
61 nfnl_exp_set_id(exp, id); in nl_cli_exp_parse_id()
[all …]
/external/llvm-project/llvm/test/MC/AMDGPU/
Dexp-err.s4 exp mrt8 v3, v2, v1, v0 label
7 exp pos4 v3, v2, v1, v0 label
10 exp param32 v3, v2, v1, v0 label
13 exp invalid_target_10 v3, v2, v1, v0 label
16 exp invalid_target_10 v3, v2, v1, v0 done label
19 exp invalid_target_11 v3, v2, v1, v0 label
22 exp invalid_target_11 v3, v2, v1, v0 done label
25 exp mrt-1 v3, v2, v1, v0 label
28 exp mrtX v3, v2, v1, v0 label
31 exp pos-1 v3, v2, v1, v0 label
[all …]
Dexp.s6 exp mrt0 off, off, off, off label
11 exp mrt0 off, off, off, off done label
16 exp mrt0 v4, off, off, off done label
21 exp mrt0 off, v3, off, off done label
26 exp mrt0 off, off, v2, off done label
31 exp mrt0 off, off, off, v1 done label
36 exp mrt0 v4, v3, off, off done label
41 exp mrt0 v4, off, v2, off done label
46 exp mrt0 v4, off, off, v1 label
51 exp mrt0 v4, off, off, v1 done label
[all …]
/external/libnetfilter_conntrack/src/expect/
Dbuild.c14 const struct nf_expect *exp) in __build_timeout() argument
16 nfnl_addattr32(&req->nlh, size, CTA_EXPECT_TIMEOUT,htonl(exp->timeout)); in __build_timeout()
20 const struct nf_expect *exp) in __build_zone() argument
22 nfnl_addattr16(&req->nlh, size, CTA_EXPECT_ZONE, htons(exp->zone)); in __build_zone()
26 size_t size, const struct nf_expect *exp) in __build_flags() argument
28 nfnl_addattr32(&req->nlh, size, CTA_EXPECT_FLAGS,htonl(exp->flags)); in __build_flags()
33 const struct nf_expect *exp) in __build_class() argument
35 nfnl_addattr32(&req->nlh, size, CTA_EXPECT_CLASS, htonl(exp->class)); in __build_class()
39 const struct nf_expect *exp) in __build_helper_name() argument
42 exp->helper_name, strlen(exp->helper_name)+1); in __build_helper_name()
[all …]
Dparse.c31 struct nf_expect *exp) in __parse_expect() argument
36 exp->expected.orig.l3protonum = nfhdr->nfgen_family; in __parse_expect()
37 set_bit(ATTR_ORIG_L3PROTO, exp->expected.set); in __parse_expect()
39 exp->mask.orig.l3protonum = nfhdr->nfgen_family; in __parse_expect()
40 set_bit(ATTR_ORIG_L3PROTO, exp->mask.set); in __parse_expect()
42 exp->master.orig.l3protonum = nfhdr->nfgen_family; in __parse_expect()
43 set_bit(ATTR_ORIG_L3PROTO, exp->master.set); in __parse_expect()
47 &exp->master.orig, in __parse_expect()
49 exp->master.set); in __parse_expect()
50 set_bit(ATTR_EXP_MASTER, exp->set); in __parse_expect()
[all …]
Dgetter.c12 static const void *get_exp_attr_master(const struct nf_expect *exp) in get_exp_attr_master() argument
14 return &exp->master; in get_exp_attr_master()
17 static const void *get_exp_attr_expected(const struct nf_expect *exp) in get_exp_attr_expected() argument
19 return &exp->expected; in get_exp_attr_expected()
22 static const void *get_exp_attr_mask(const struct nf_expect *exp) in get_exp_attr_mask() argument
24 return &exp->mask; in get_exp_attr_mask()
27 static const void *get_exp_attr_timeout(const struct nf_expect *exp) in get_exp_attr_timeout() argument
29 return &exp->timeout; in get_exp_attr_timeout()
32 static const void *get_exp_attr_zone(const struct nf_expect *exp) in get_exp_attr_zone() argument
34 return &exp->zone; in get_exp_attr_zone()
[all …]
Dsetter.c12 static void set_exp_attr_master(struct nf_expect *exp, const void *value) in set_exp_attr_master() argument
14 exp->master = *((struct nfct_tuple_head *) value); in set_exp_attr_master()
17 static void set_exp_attr_expected(struct nf_expect *exp, const void *value) in set_exp_attr_expected() argument
19 exp->expected = *((struct nfct_tuple_head *) value); in set_exp_attr_expected()
22 static void set_exp_attr_mask(struct nf_expect *exp, const void *value) in set_exp_attr_mask() argument
24 exp->mask = *((struct nfct_tuple_head *) value); in set_exp_attr_mask()
27 static void set_exp_attr_timeout(struct nf_expect *exp, const void *value) in set_exp_attr_timeout() argument
29 exp->timeout = *((uint32_t *) value); in set_exp_attr_timeout()
32 static void set_exp_attr_zone(struct nf_expect *exp, const void *value) in set_exp_attr_zone() argument
34 exp->zone = *((uint16_t *) value); in set_exp_attr_zone()
[all …]
Dapi.c30 struct nf_expect *exp; in nfexp_new() local
32 exp = malloc(sizeof(struct nf_expect)); in nfexp_new()
33 if (!exp) in nfexp_new()
36 memset(exp, 0, sizeof(struct nf_expect)); in nfexp_new()
38 return exp; in nfexp_new()
45 void nfexp_destroy(struct nf_expect *exp) in nfexp_destroy() argument
47 assert(exp != NULL); in nfexp_destroy()
48 free(exp); in nfexp_destroy()
49 exp = NULL; /* bugtrap */ in nfexp_destroy()
56 size_t nfexp_sizeof(const struct nf_expect *exp) in nfexp_sizeof() argument
[all …]
Dparse_mnl.c50 int nfexp_nlmsg_parse(const struct nlmsghdr *nlh, struct nf_expect *exp) in nfexp_nlmsg_parse() argument
59 exp->expected.orig.l3protonum = nfg->nfgen_family; in nfexp_nlmsg_parse()
60 set_bit(ATTR_ORIG_L3PROTO, exp->expected.set); in nfexp_nlmsg_parse()
62 nfct_parse_tuple(tb[CTA_EXPECT_MASTER], &exp->master.orig, in nfexp_nlmsg_parse()
63 __DIR_ORIG, exp->master.set); in nfexp_nlmsg_parse()
64 set_bit(ATTR_EXP_MASTER, exp->set); in nfexp_nlmsg_parse()
67 exp->mask.orig.l3protonum = nfg->nfgen_family; in nfexp_nlmsg_parse()
68 set_bit(ATTR_ORIG_L3PROTO, exp->mask.set); in nfexp_nlmsg_parse()
70 nfct_parse_tuple(tb[CTA_EXPECT_TUPLE], &exp->expected.orig, in nfexp_nlmsg_parse()
71 __DIR_ORIG, exp->expected.set); in nfexp_nlmsg_parse()
[all …]
Dsnprintf_default.c14 const struct nf_expect *exp) in __snprintf_expect_timeout() argument
16 if (test_bit(ATTR_EXP_TIMEOUT, exp->set)) in __snprintf_expect_timeout()
17 return snprintf(buf, len, "%u ", exp->timeout); in __snprintf_expect_timeout()
24 const struct nf_expect *exp) in __snprintf_expect_class() argument
26 if (test_bit(ATTR_EXP_CLASS, exp->set)) in __snprintf_expect_class()
27 return snprintf(buf, len, "class=%u ", exp->class); in __snprintf_expect_class()
34 const struct nf_expect *exp) in __snprintf_expect_proto() argument
37 exp->expected.orig.protonum)); in __snprintf_expect_proto()
42 const struct nf_expect *exp, in __snprintf_expect_default() argument
65 ret = __snprintf_expect_timeout(buf+offset, len, exp); in __snprintf_expect_default()
[all …]
/external/llvm-project/polly/lib/External/isl/
Disl_reordering.c18 isl_reordering *exp; in isl_reordering_alloc() local
20 exp = isl_alloc(ctx, struct isl_reordering, in isl_reordering_alloc()
22 if (!exp) in isl_reordering_alloc()
25 exp->ref = 1; in isl_reordering_alloc()
26 exp->len = len; in isl_reordering_alloc()
27 exp->space = NULL; in isl_reordering_alloc()
29 return exp; in isl_reordering_alloc()
32 __isl_give isl_reordering *isl_reordering_copy(__isl_keep isl_reordering *exp) in isl_reordering_copy() argument
34 if (!exp) in isl_reordering_copy()
37 exp->ref++; in isl_reordering_copy()
[all …]
/external/webrtc/rtc_base/experiments/
Dquality_rampup_experiment_unittest.cc58 auto exp = QualityRampupExperiment::ParseSettings(); in TEST_F() local
59 EXPECT_EQ(10000, exp.MinPixels()); in TEST_F()
60 EXPECT_EQ(2000, exp.MinDurationMs()); in TEST_F()
63 exp.SetMaxBitrate(/*pixels*/ 10000, kMaxKbps); in TEST_F()
66 EXPECT_FALSE(exp.BwHigh(NowMs(), kAvailableKbps)); in TEST_F()
67 EXPECT_FALSE(exp.BwHigh(AdvanceMs(2000 - 1), kAvailableKbps)); in TEST_F()
68 EXPECT_TRUE(exp.BwHigh(AdvanceMs(1), kAvailableKbps)); in TEST_F()
75 auto exp = QualityRampupExperiment::ParseSettings(); in TEST_F() local
78 exp.SetMaxBitrate(/*pixels*/ 10000, kMaxKbps); in TEST_F()
79 exp.SetMaxBitrate(/*pixels*/ 10000, kMaxKbps - 1); in TEST_F()
[all …]
Dfield_trial_parser_unittest.cc51 DummyExperiment exp("Enabled,f:-1.7,r:2,s:10,p:1,h:x7c"); in TEST() local
52 EXPECT_TRUE(exp.enabled.Get()); in TEST()
53 EXPECT_EQ(exp.factor.Get(), -1.7); in TEST()
54 EXPECT_EQ(exp.retries.Get(), 2); in TEST()
55 EXPECT_EQ(exp.size.Get(), 10u); in TEST()
56 EXPECT_EQ(exp.ping.Get(), true); in TEST()
57 EXPECT_EQ(exp.hash.Get(), "x7c"); in TEST()
64 DummyExperiment exp; in TEST() local
65 EXPECT_TRUE(exp.enabled.Get()); in TEST()
66 EXPECT_EQ(exp.factor.Get(), -1.7); in TEST()
[all …]
Dstruct_parameters_parser_unittest.cc39 DummyConfig exp; in TEST() local
40 exp.Parser()->Parse("e:1,f:-1.7,r:2,s:7,p:1,d:8,l:,"); in TEST()
41 EXPECT_TRUE(exp.enabled); in TEST()
42 EXPECT_EQ(exp.factor, -1.7); in TEST()
43 EXPECT_EQ(exp.retries, 2); in TEST()
44 EXPECT_EQ(exp.size, 7u); in TEST()
45 EXPECT_EQ(exp.ping, true); in TEST()
46 EXPECT_EQ(exp.duration.value().ms(), 8); in TEST()
47 EXPECT_FALSE(exp.latency); in TEST()
51 DummyConfig exp; in TEST() local
[all …]
/external/libnl/src/
Dnf-exp-add.c63 struct nfnl_exp *exp; in main() local
70 exp = nl_cli_exp_alloc(); in main()
145 case '4': nfnl_exp_set_family(exp, AF_INET); break; in main()
146 case '6': nfnl_exp_set_family(exp, AF_INET6); break; in main()
149 case 'i': nl_cli_exp_parse_id(exp, optarg); break; in main()
150 case ARG_EXPECT_PROTO: nl_cli_exp_parse_l4protonum(exp, NFNL_EXP_TUPLE_EXPECT, optarg); break; in main()
151 case ARG_EXPECT_SRC: nl_cli_exp_parse_src(exp, NFNL_EXP_TUPLE_EXPECT, optarg); break; in main()
152 case ARG_EXPECT_SPORT: nl_cli_exp_parse_src_port(exp, NFNL_EXP_TUPLE_EXPECT, optarg); break; in main()
153 case ARG_EXPECT_DST: nl_cli_exp_parse_dst(exp, NFNL_EXP_TUPLE_EXPECT, optarg); break; in main()
154 case ARG_EXPECT_DPORT: nl_cli_exp_parse_dst_port(exp, NFNL_EXP_TUPLE_EXPECT, optarg); break; in main()
[all …]
Dnf-exp-delete.c62 struct nfnl_exp *exp; in main() local
69 exp = nl_cli_exp_alloc(); in main()
129 case '4': nfnl_exp_set_family(exp, AF_INET); break; in main()
130 case '6': nfnl_exp_set_family(exp, AF_INET6); break; in main()
133 case 'i': nl_cli_exp_parse_id(exp, optarg); break; in main()
134 case ARG_EXPECT_PROTO: nl_cli_exp_parse_l4protonum(exp, NFNL_EXP_TUPLE_EXPECT, optarg); break; in main()
135 case ARG_EXPECT_SRC: nl_cli_exp_parse_src(exp, NFNL_EXP_TUPLE_EXPECT, optarg); break; in main()
136 case ARG_EXPECT_SPORT: nl_cli_exp_parse_src_port(exp, NFNL_EXP_TUPLE_EXPECT, optarg); break; in main()
137 case ARG_EXPECT_DST: nl_cli_exp_parse_dst(exp, NFNL_EXP_TUPLE_EXPECT, optarg); break; in main()
138 case ARG_EXPECT_DPORT: nl_cli_exp_parse_dst_port(exp, NFNL_EXP_TUPLE_EXPECT, optarg); break; in main()
[all …]
/external/arm-optimized-routines/math/test/testcases/directed/
Dexp.tst1 ; Directed test cases for exp
6 func=exp op1=7ff80000.00000001 result=7ff80000.00000001 errno=0
7 func=exp op1=fff80000.00000001 result=7ff80000.00000001 errno=0
8 func=exp op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i
9 func=exp op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i
10 func=exp op1=7ff00000.00000000 result=7ff00000.00000000 errno=0
11 func=exp op1=fff00000.00000000 result=00000000.00000000 errno=0
12 func=exp op1=7fefffff.ffffffff result=7ff00000.00000000 errno=ERANGE status=ox
13 func=exp op1=ffefffff.ffffffff result=00000000.00000000 errno=ERANGE status=ux
14 func=exp op1=00000000.00000000 result=3ff00000.00000000 errno=0
[all …]
/external/llvm-project/libc/AOR_v20.02/math/test/testcases/directed/
Dexp.tst1 ; Directed test cases for exp
7 func=exp op1=7ff80000.00000001 result=7ff80000.00000001 errno=0
8 func=exp op1=fff80000.00000001 result=7ff80000.00000001 errno=0
9 func=exp op1=7ff00000.00000001 result=7ff80000.00000001 errno=0 status=i
10 func=exp op1=fff00000.00000001 result=7ff80000.00000001 errno=0 status=i
11 func=exp op1=7ff00000.00000000 result=7ff00000.00000000 errno=0
12 func=exp op1=fff00000.00000000 result=00000000.00000000 errno=0
13 func=exp op1=7fefffff.ffffffff result=7ff00000.00000000 errno=ERANGE status=ox
14 func=exp op1=ffefffff.ffffffff result=00000000.00000000 errno=ERANGE status=ux
15 func=exp op1=00000000.00000000 result=3ff00000.00000000 errno=0
[all …]
/external/llvm-project/libc/test/src/math/
DLdExpTest.h42 for (int exp : expArray) { in testSpecialNumbers() local
43 ASSERT_FP_EQ(zero, func(zero, exp)); in testSpecialNumbers()
44 ASSERT_FP_EQ(negZero, func(negZero, exp)); in testSpecialNumbers()
45 ASSERT_FP_EQ(inf, func(inf, exp)); in testSpecialNumbers()
46 ASSERT_FP_EQ(negInf, func(negInf, exp)); in testSpecialNumbers()
47 ASSERT_NE(isnan(func(nan, exp)), 0); in testSpecialNumbers()
54 for (int32_t exp : expArray) { in testPowersOfTwo() local
56 ASSERT_FP_EQ(T(val << exp), func(T(val), exp)); in testPowersOfTwo()
57 ASSERT_FP_EQ(T(-1 * (val << exp)), func(T(-val), exp)); in testPowersOfTwo()
64 for (int32_t exp = 10; exp < 100; ++exp) { in testOverflow() local
[all …]

12345678910>>...92