Home
last modified time | relevance | path

Searched refs:d (Results 1 – 25 of 636) sorted by relevance

12345678910>>...26

/ndk/sources/host-tools/sed-4.2.1/lib/
Dgetopt.c124 if (d->__nonoption_flags_len > 0) \
147 exchange (char **argv, struct _getopt_data *d) in exchange() argument
149 int bottom = d->__first_nonopt; in exchange()
150 int middle = d->__last_nonopt; in exchange()
151 int top = d->optind; in exchange()
163 if (d->__nonoption_flags_len > 0 && top >= d->__nonoption_flags_max_len) in exchange()
169 d->__nonoption_flags_len = d->__nonoption_flags_max_len = 0; in exchange()
173 d->__nonoption_flags_max_len), in exchange()
174 '\0', top + 1 - d->__nonoption_flags_max_len); in exchange()
175 d->__nonoption_flags_max_len = top + 1; in exchange()
[all …]
/ndk/tests/device/test-stlport/unit/
Dresolve_name.cpp10 double d( 1.0 ); in f() local
12 d = sqrt( d ); in f()
13 d = ::sqrt( d ); in f()
14 d = std::sqrt( d ); in f()
15 return d == 1.0; in f()
24 double d( 1.0 ); in g() local
26 d = sqrt( d ); in g()
27 d = ::sqrt( d ); in g()
28 d = std::sqrt( d ); in g()
29 return d == 1.0; in g()
[all …]
Ddeque_test.cpp52 deque<int> d; in deque1() local
53 d.push_back(4); in deque1()
54 d.push_back(9); in deque1()
55 d.push_back(16); in deque1()
56 d.push_front(1); in deque1()
58 CPPUNIT_ASSERT( d[0] == 1 ); in deque1()
59 CPPUNIT_ASSERT( d[1] == 4 ); in deque1()
60 CPPUNIT_ASSERT( d[2] == 9 ); in deque1()
61 CPPUNIT_ASSERT( d[3] == 16 ); in deque1()
63 d.pop_front(); in deque1()
[all …]
/ndk/tests/device/test-gnustl-full/unit/
Dresolve_name.cpp10 double d( 1.0 ); in f() local
12 d = sqrt( d ); in f()
13 d = ::sqrt( d ); in f()
14 d = std::sqrt( d ); in f()
15 return d == 1.0; in f()
24 double d( 1.0 ); in g() local
26 d = sqrt( d ); in g()
27 d = ::sqrt( d ); in g()
28 d = std::sqrt( d ); in g()
29 return d == 1.0; in g()
[all …]
Ddeque_test.cpp52 deque<int> d; in deque1() local
53 d.push_back(4); in deque1()
54 d.push_back(9); in deque1()
55 d.push_back(16); in deque1()
56 d.push_front(1); in deque1()
58 CPPUNIT_ASSERT( d[0] == 1 ); in deque1()
59 CPPUNIT_ASSERT( d[1] == 4 ); in deque1()
60 CPPUNIT_ASSERT( d[2] == 9 ); in deque1()
61 CPPUNIT_ASSERT( d[3] == 16 ); in deque1()
63 d.pop_front(); in deque1()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/deque/deque.modifiers/
Dinsert_iter_initializer_list.pass.cpp20 std::deque<int> d(10, 1); in main() local
21 std::deque<int>::iterator i = d.insert(d.cbegin() + 2, {3, 4, 5, 6}); in main()
22 assert(d.size() == 14); in main()
23 assert(i == d.begin() + 2); in main()
24 assert(d[0] == 1); in main()
25 assert(d[1] == 1); in main()
26 assert(d[2] == 3); in main()
27 assert(d[3] == 4); in main()
28 assert(d[4] == 5); in main()
29 assert(d[5] == 6); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/vector/vector.modifiers/
Dinsert_iter_initializer_list.pass.cpp20 std::vector<int> d(10, 1); in main() local
21 std::vector<int>::iterator i = d.insert(d.cbegin() + 2, {3, 4, 5, 6}); in main()
22 assert(d.size() == 14); in main()
23 assert(i == d.begin() + 2); in main()
24 assert(d[0] == 1); in main()
25 assert(d[1] == 1); in main()
26 assert(d[2] == 3); in main()
27 assert(d[3] == 4); in main()
28 assert(d[4] == 5); in main()
29 assert(d[5] == 6); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/containers/sequences/vector.bool/
Dinsert_iter_initializer_list.pass.cpp20 std::vector<bool> d(10, true); in main() local
21 std::vector<bool>::iterator i = d.insert(d.cbegin() + 2, {false, true, true, false}); in main()
22 assert(d.size() == 14); in main()
23 assert(i == d.begin() + 2); in main()
24 assert(d[0] == true); in main()
25 assert(d[1] == true); in main()
26 assert(d[2] == false); in main()
27 assert(d[3] == true); in main()
28 assert(d[4] == true); in main()
29 assert(d[5] == false); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.negbin/
Deval.pass.cpp36 D d(5, .25); in main() local
41 D::result_type v = d(g); in main()
42 assert(d.min() <= v && v <= d.max()); in main()
52 double d = (u[i] - mean); in main() local
53 double d2 = sqr(d); in main()
55 skew += d * d2; in main()
63 double x_mean = d.k() * (1 - d.p()) / d.p(); in main()
64 double x_var = x_mean / d.p(); in main()
65 double x_skew = (2 - d.p()) / std::sqrt(d.k() * (1 - d.p())); in main()
66 double x_kurtosis = 6. / d.k() + sqr(d.p()) / (d.k() * (1 - d.p())); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.uni/rand.dist.uni.int/
Deval.pass.cpp36 D d; in main() local
41 D::result_type v = d(g); in main()
42 assert(d.a() <= v && v <= d.b()); in main()
52 double d = (u[i] - mean); in main() local
53 double d2 = sqr(d); in main()
55 skew += d * d2; in main()
63 double x_mean = ((double)d.a() + d.b()) / 2; in main()
64 double x_var = (sqr((double)d.b() - d.a() + 1) - 1) / 12; in main()
66 double x_kurtosis = -6. * (sqr((double)d.b() - d.a() + 1) + 1) / in main()
67 (5. * (sqr((double)d.b() - d.a() + 1) - 1)); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.discrete/
Deval.pass.cpp27 D d; in main() local
29 std::vector<D::result_type> u(d.max()+1); in main()
32 D::result_type v = d(g); in main()
33 assert(d.min() <= v && v <= d.max()); in main()
36 std::vector<double> prob = d.probabilities(); in main()
37 for (int i = 0; i <= d.max(); ++i) in main()
45 D d(p0, p0+1); in main() local
47 std::vector<D::result_type> u(d.max()+1); in main()
50 D::result_type v = d(g); in main()
51 assert(d.min() <= v && v <= d.max()); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.bin/
Deval.pass.cpp36 D d(5, .75); in main() local
41 D::result_type v = d(g); in main()
42 assert(d.min() <= v && v <= d.max()); in main()
52 double d = (u[i] - mean); in main() local
53 double d2 = sqr(d); in main()
55 skew += d * d2; in main()
63 double x_mean = d.t() * d.p(); in main()
64 double x_var = x_mean*(1-d.p()); in main()
65 double x_skew = (1-2*d.p()) / std::sqrt(x_var); in main()
66 double x_kurtosis = (1-6*d.p()*(1-d.p())) / x_var; in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.bern/rand.dist.bern.geo/
Deval.pass.cpp36 D d(.03125); in main() local
41 D::result_type v = d(g); in main()
42 assert(d.min() <= v && v <= d.max()); in main()
52 double d = (u[i] - mean); in main() local
53 double d2 = sqr(d); in main()
55 skew += d * d2; in main()
63 double x_mean = (1 - d.p()) / d.p(); in main()
64 double x_var = x_mean / d.p(); in main()
65 double x_skew = (2 - d.p()) / std::sqrt((1 - d.p())); in main()
66 double x_kurtosis = 6 + sqr(d.p()) / (1 - d.p()); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.lognormal/
Deval.pass.cpp37 D d(-1./8192, 0.015625); in main() local
42 D::result_type v = d(g); in main()
52 double d = (u[i] - mean); in main() local
53 double d2 = sqr(d); in main()
55 skew += d * d2; in main()
63 double x_mean = std::exp(d.m() + sqr(d.s())/2); in main()
64 double x_var = (std::exp(sqr(d.s())) - 1) * std::exp(2*d.m() + sqr(d.s())); in main()
65 double x_skew = (std::exp(sqr(d.s())) + 2) * in main()
66 std::sqrt((std::exp(sqr(d.s())) - 1)); in main()
67 double x_kurtosis = std::exp(4*sqr(d.s())) + 2*std::exp(3*sqr(d.s())) + in main()
[all …]
/ndk/tests/device/test-stlport_static-exception/jni/
Dcatch5.cpp28 void check(D *d) in check() argument
34 try { fnd(d); } in check()
36 catch(D *p) { caught = 1; if (p != d) abort();} in check()
41 try { fnd(d); } in check()
43 catch(B *p) { caught = 1; if (p != d) abort();} in check()
48 try { fnd(d); } in check()
50 catch(C *p) { caught = 1; if (p != d) abort();} in check()
55 try { fnd(d); } in check()
57 catch(AA *p) { caught = 1; if (p != d) abort();} in check()
63 try { fna((B *)d); } in check()
[all …]
Dcatch5p.cpp28 void check(D *d) in check() argument
34 try { fnd(d); } in check()
36 catch(D *p) { caught = 1; if (p != d) abort();} in check()
41 try { fnd(d); } in check()
43 catch(B *p) { caught = 1; if (p != d) abort();} in check()
48 try { fnd(d); } in check()
50 catch(C *p) { caught = 1; if (p != d) abort();} in check()
55 try { fnd(d); } in check()
57 catch(AA *p) { caught = 1; if (p != d) abort();} in check()
63 try { fna((B *)d); } in check()
[all …]
Dcatch4p.cpp26 void check(D *d) in check() argument
32 try { fnd(d); } in check()
33 catch(A *p) { caught = 1; if (p != d) abort();} in check()
38 try { fnd(d); } in check()
39 catch(B *p) { caught = 1; if (p != d) abort();} in check()
44 try { fnd(d); } in check()
45 catch(C *p) { caught = 1; if (p != d) abort();} in check()
51 try { fna((B *)d); } in check()
53 catch(A *p) { caught = 1; if (p != d) abort();} in check()
58 try { fna((C *)d); } in check()
[all …]
Dcatch4.cpp26 void check(D *d) in check() argument
32 try { fnd(d); } in check()
33 catch(A *p) { caught = 1; if (p != d) abort();} in check()
38 try { fnd(d); } in check()
39 catch(B *p) { caught = 1; if (p != d) abort();} in check()
44 try { fnd(d); } in check()
45 catch(C *p) { caught = 1; if (p != d) abort();} in check()
51 try { fna((B *)d); } in check()
53 catch(A *p) { caught = 1; if (p != d) abort();} in check()
58 try { fna((C *)d); } in check()
[all …]
Dcatch3p.cpp26 void check(D *d) in check() argument
32 try { fnd(d); } in check()
34 catch(D *p) { caught = 1; if (p != d) abort();} in check()
39 try { fnd(d); } in check()
41 catch(B *p) { caught = 1; if (p != d) abort();} in check()
46 try { fnd(d); } in check()
48 catch(C *p) { caught = 1; if (p != d) abort();} in check()
54 try { fna((B *)d); } in check()
56 catch(A *p) { caught = 1; if (p != (B *)d) abort();} in check()
61 try { fna((C *)d); } in check()
[all …]
/ndk/tests/device/test-stlport_shared-exception/jni/
Dcatch5.cpp28 void check(D *d) in check() argument
34 try { fnd(d); } in check()
36 catch(D *p) { caught = 1; if (p != d) abort();} in check()
41 try { fnd(d); } in check()
43 catch(B *p) { caught = 1; if (p != d) abort();} in check()
48 try { fnd(d); } in check()
50 catch(C *p) { caught = 1; if (p != d) abort();} in check()
55 try { fnd(d); } in check()
57 catch(AA *p) { caught = 1; if (p != d) abort();} in check()
63 try { fna((B *)d); } in check()
[all …]
Dcatch5p.cpp28 void check(D *d) in check() argument
34 try { fnd(d); } in check()
36 catch(D *p) { caught = 1; if (p != d) abort();} in check()
41 try { fnd(d); } in check()
43 catch(B *p) { caught = 1; if (p != d) abort();} in check()
48 try { fnd(d); } in check()
50 catch(C *p) { caught = 1; if (p != d) abort();} in check()
55 try { fnd(d); } in check()
57 catch(AA *p) { caught = 1; if (p != d) abort();} in check()
63 try { fna((B *)d); } in check()
[all …]
Dcatch4p.cpp26 void check(D *d) in check() argument
32 try { fnd(d); } in check()
33 catch(A *p) { caught = 1; if (p != d) abort();} in check()
38 try { fnd(d); } in check()
39 catch(B *p) { caught = 1; if (p != d) abort();} in check()
44 try { fnd(d); } in check()
45 catch(C *p) { caught = 1; if (p != d) abort();} in check()
51 try { fna((B *)d); } in check()
53 catch(A *p) { caught = 1; if (p != d) abort();} in check()
58 try { fna((C *)d); } in check()
[all …]
Dcatch4.cpp26 void check(D *d) in check() argument
32 try { fnd(d); } in check()
33 catch(A *p) { caught = 1; if (p != d) abort();} in check()
38 try { fnd(d); } in check()
39 catch(B *p) { caught = 1; if (p != d) abort();} in check()
44 try { fnd(d); } in check()
45 catch(C *p) { caught = 1; if (p != d) abort();} in check()
51 try { fna((B *)d); } in check()
53 catch(A *p) { caught = 1; if (p != d) abort();} in check()
58 try { fna((C *)d); } in check()
[all …]
Dcatch3.cpp27 void check(D *d) in check() argument
38 try { fnd(d); } in check()
40 catch(D *p) { caught = 1; if (p != d) abort();} in check()
45 try { fnd(d); } in check()
47 catch(B *p) { caught = 1; if (p != d) abort();} in check()
52 try { fnd(d); } in check()
54 catch(C *p) { caught = 1; if (p != d) abort();} in check()
60 try { fna((B *)d); } in check()
62 catch(A *p) { caught = 1; if (p != (B *)d) abort();} in check()
67 try { fna((C *)d); } in check()
[all …]
Dcatch9p.cpp26 void check(D *d) in check() argument
32 try { fnd(d); } in check()
34 catch(D *p) { caught = 1; if (p != d) abort();} in check()
39 try { fnd(d); } in check()
41 catch(B *p) { caught = 1; if (p != d) abort();} in check()
46 try { fnd(d); } in check()
48 catch(C *p) { caught = 1; if (p != d) abort();} in check()
54 try { fna((B *)d); } in check()
56 catch(A *p) { caught = 1; if (p != (B *)d) abort();} in check()
61 try { fna((C *)d); } in check()
[all …]

12345678910>>...26