Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 589) sorted by relevance

12345678910>>...24

/ndk/tests/device/test-gnustl-full/unit/
Dbvector_test.cpp34 bit_vector b(3); in bvec1() local
36 CPPUNIT_ASSERT(b[0]==0); in bvec1()
37 CPPUNIT_ASSERT(b[1]==0); in bvec1()
38 CPPUNIT_ASSERT(b[2]==0); in bvec1()
40 b[0] = b[2] = 1; in bvec1()
42 CPPUNIT_ASSERT(b[0]==1); in bvec1()
43 CPPUNIT_ASSERT(b[1]==0); in bvec1()
44 CPPUNIT_ASSERT(b[2]==1); in bvec1()
46 b.insert(b.begin(),(bool*)ii, ii+2); in bvec1()
48 CPPUNIT_ASSERT(b[0]==1); in bvec1()
[all …]
/ndk/tests/device/test-stlport/unit/
Dbvector_test.cpp34 bit_vector b(3); in bvec1() local
36 CPPUNIT_ASSERT(b[0]==0); in bvec1()
37 CPPUNIT_ASSERT(b[1]==0); in bvec1()
38 CPPUNIT_ASSERT(b[2]==0); in bvec1()
40 b[0] = b[2] = 1; in bvec1()
42 CPPUNIT_ASSERT(b[0]==1); in bvec1()
43 CPPUNIT_ASSERT(b[1]==0); in bvec1()
44 CPPUNIT_ASSERT(b[2]==1); in bvec1()
46 b.insert(b.begin(),(bool*)ii, ii+2); in bvec1()
48 CPPUNIT_ASSERT(b[0]==1); in bvec1()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multiset/
Dlocal_iterators.pass.cpp45 C::size_type b = c.bucket(0); in main() local
46 I i = c.begin(b); in main()
47 I j = c.end(b); in main()
50 b = c.bucket(1); in main()
51 i = c.begin(b); in main()
52 j = c.end(b); in main()
58 b = c.bucket(2); in main()
59 i = c.begin(b); in main()
60 j = c.end(b); in main()
66 b = c.bucket(3); in main()
[all …]
Dlocal_iterators.fail.cpp43 C::size_type b = c.bucket(0); in main() local
44 I i = c.begin(b); in main()
45 I j = c.end(b); in main()
48 b = c.bucket(1); in main()
49 i = c.begin(b); in main()
50 j = c.end(b); in main()
57 b = c.bucket(2); in main()
58 i = c.begin(b); in main()
59 j = c.end(b); in main()
65 b = c.bucket(3); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.set/
Dlocal_iterators.fail.cpp43 C::size_type b = c.bucket(0); in main() local
44 I i = c.begin(b); in main()
45 I j = c.end(b); in main()
48 b = c.bucket(1); in main()
49 i = c.begin(b); in main()
50 j = c.end(b); in main()
57 b = c.bucket(2); in main()
58 i = c.begin(b); in main()
59 j = c.end(b); in main()
65 b = c.bucket(3); in main()
[all …]
Dlocal_iterators.pass.cpp45 C::size_type b = c.bucket(0); in main() local
46 I i = c.begin(b); in main()
47 I j = c.end(b); in main()
50 b = c.bucket(1); in main()
51 i = c.begin(b); in main()
52 j = c.end(b); in main()
56 b = c.bucket(2); in main()
57 i = c.begin(b); in main()
58 j = c.end(b); in main()
62 b = c.bucket(3); in main()
[all …]
/ndk/sources/host-tools/sed-4.2.1/testsuite/
DSPENCER.tests20 # b RE is a BRE, not an ERE
39 a|b|c - abc a
42 a(b)c - abc abc
43 a\(b\)c b abc abc
45 a( b a( a(
48 a\(b bC EPAREN
49 a(b C EPAREN
50 a(b b a(b a(b
55 a) b a) a)
58 a()b - ab ab
[all …]
Ddc.sed33 /|?!*[-+*/%^<>=]/b binop
34 /^|.*|?[dpPfQXZvxkiosStT;:]/b binop
35 /|?[_0-9A-F.]/b number
36 /|?\[/b string
37 /|?l/b load
38 /|?L/b Load
39 /|?[sS]/b save
51 /|?[ ~ cdfxKIOT]/b next
52 /|?\n/b next
53 /|?[pP]/b print
[all …]
DBOOST.tests65 aa) baa)b 1 4
66 a b -1 -1
99 a* b 0 0
132 a? b 0 0
182 a|b a 0 1
183 a|b b 0 1
184 a(b|c) ab 0 2 1 2
185 a(b|c) ac 0 2 1 2
186 a(b|c) ad -1 -1 -1 -1
193 [abc] b 0 1
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.multimap/
Dlocal_iterators.pass.cpp46 C::size_type b = c.bucket(0); in main() local
47 I i = c.begin(b); in main()
48 I j = c.end(b); in main()
51 b = c.bucket(1); in main()
52 i = c.begin(b); in main()
53 j = c.end(b); in main()
61 b = c.bucket(2); in main()
62 i = c.begin(b); in main()
63 j = c.end(b); in main()
71 b = c.bucket(3); in main()
[all …]
Dlocal_iterators.fail.cpp44 C::size_type b = c.bucket(0); in main() local
45 I i = c.begin(b); in main()
46 I j = c.end(b); in main()
49 b = c.bucket(1); in main()
50 i = c.begin(b); in main()
51 j = c.end(b); in main()
60 b = c.bucket(2); in main()
61 i = c.begin(b); in main()
62 j = c.end(b); in main()
70 b = c.bucket(3); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/unord/unord.map/
Dlocal_iterators.pass.cpp46 C::size_type b = c.bucket(0); in main() local
47 I i = c.begin(b); in main()
48 I j = c.end(b); in main()
51 b = c.bucket(1); in main()
52 i = c.begin(b); in main()
53 j = c.end(b); in main()
58 b = c.bucket(2); in main()
59 i = c.begin(b); in main()
60 j = c.end(b); in main()
65 b = c.bucket(3); in main()
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/preprocessor/slot/detail/
Ddef.hpp29 # define BOOST_PP_SLOT_CC_2(a, b) BOOST_PP_SLOT_CC_2_D(a, b) argument
30 # define BOOST_PP_SLOT_CC_3(a, b, c) BOOST_PP_SLOT_CC_3_D(a, b, c) argument
31 # define BOOST_PP_SLOT_CC_4(a, b, c, d) BOOST_PP_SLOT_CC_4_D(a, b, c, d) argument
32 # define BOOST_PP_SLOT_CC_5(a, b, c, d, e) BOOST_PP_SLOT_CC_5_D(a, b, c, d, e) argument
33 # define BOOST_PP_SLOT_CC_6(a, b, c, d, e, f) BOOST_PP_SLOT_CC_6_D(a, b, c, d, e, f) argument
34 # define BOOST_PP_SLOT_CC_7(a, b, c, d, e, f, g) BOOST_PP_SLOT_CC_7_D(a, b, c, d, e, f, g) argument
35 # define BOOST_PP_SLOT_CC_8(a, b, c, d, e, f, g, h) BOOST_PP_SLOT_CC_8_D(a, b, c, d, e, f, g, h) argument
36 # define BOOST_PP_SLOT_CC_9(a, b, c, d, e, f, g, h, i) BOOST_PP_SLOT_CC_9_D(a, b, c, d, e, f, g, h,… argument
37 # define BOOST_PP_SLOT_CC_10(a, b, c, d, e, f, g, h, i, j) BOOST_PP_SLOT_CC_10_D(a, b, c, d, e, f, … argument
39 # define BOOST_PP_SLOT_CC_2_D(a, b) a ## b argument
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.plinear/
Deval.pass.cpp34 f(double x, double a, double m, double b, double c) in f() argument
36 return a + m*(sqr(x) - sqr(b))/2 + c*(x-b); in f()
46 double b[] = {10, 14, 16, 17}; in main() local
49 D d(b, b+Np+1, p); in main()
68 areas[i] = (p[i]+p[i+1])*(b[i+1]-b[i])/2; in main()
77 int k = std::lower_bound(b, b+Np+1, u[i]) - b - 1; in main()
83 m = (p[k+1] - p[k]) / (b[k+1] - b[k]); in main()
84 bk = b[k]; in main()
85 c = (b[k+1]*p[k] - b[k]*p[k+1]) / (b[k+1] - b[k]); in main()
96 double b[] = {10, 14, 16, 17}; in main() local
[all …]
Dparam_eq.pass.cpp26 double b[] = {10, 14, 16, 17}; in main() local
28 P p1(b, b+4, p); in main()
29 P p2(b, b+4, p); in main()
35 double b[] = {10, 14, 16, 17}; in main() local
37 P p1(b, b+3, p); in main()
38 P p2(b, b+4, p); in main()
Deval_param.pass.cpp32 f(double x, double a, double m, double b, double c) in f() argument
34 return a + m*(sqr(x) - sqr(b))/2 + c*(x-b); in f()
44 double b[] = {10, 14, 16, 17}; in main() local
48 P pa(b, b+Np+1, p); in main()
67 areas[i] = (p[i]+p[i+1])*(b[i+1]-b[i])/2; in main()
76 int k = std::lower_bound(b, b+Np+1, u[i]) - b - 1; in main()
82 m = (p[k+1] - p[k]) / (b[k+1] - b[k]); in main()
83 bk = b[k]; in main()
84 c = (b[k+1]*p[k] - b[k]*p[k+1]) / (b[k+1] - b[k]); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/associative/
Dtree_balance_after_insert.pass.cpp36 Node b; in test1() local
43 c.__left_ = &b; in test1()
47 b.__parent_ = &c; in test1()
48 b.__left_ = &a; in test1()
49 b.__right_ = 0; in test1()
50 b.__is_black_ = false; in test1()
57 a.__parent_ = &b; in test1()
69 assert(c.__left_ == &b); in test1()
73 assert(b.__parent_ == &c); in test1()
74 assert(b.__left_ == &a); in test1()
[all …]
Dtree_remove.pass.cpp37 Node b; in test1() local
43 root.__left_ = &b; in test1()
45 b.__parent_ = &root; in test1()
46 b.__left_ = &y; in test1()
47 b.__right_ = &d; in test1()
48 b.__is_black_ = true; in test1()
50 y.__parent_ = &b; in test1()
55 d.__parent_ = &b; in test1()
79 assert(d.__left_ == &b); in test1()
83 assert(b.__parent_ == &d); in test1()
[all …]
/ndk/sources/third_party/googletest/googletest/test/
Dgtest-tuple_test.cc73 const tuple<int, bool> a(5, true), b(5, true); in TEST() local
75 EXPECT_TRUE(a == b); in TEST()
76 EXPECT_FALSE(a != b); in TEST()
84 const FooTuple b(1, 'a'); in TEST() local
86 EXPECT_TRUE(a != b); in TEST()
87 EXPECT_FALSE(a == b); in TEST()
91 EXPECT_TRUE(b != c); in TEST()
92 EXPECT_FALSE(b == c); in TEST()
104 const FooTuple b(j, ch); in TEST() local
106 EXPECT_TRUE(a != b); in TEST()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/
Dget_bool.pass.cpp62 bool b; in main() local
66 ios, err, b); in main()
69 assert(b == true); in main()
74 bool b; in main() local
78 ios, err, b); in main()
81 assert(b == false); in main()
86 bool b; in main() local
90 ios, err, b); in main()
93 assert(b == true); in main()
98 bool b; in main() local
[all …]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/preprocessor/list/
Dappend.hpp23 # define BOOST_PP_LIST_APPEND(a, b) BOOST_PP_LIST_FOLD_RIGHT(BOOST_PP_LIST_APPEND_O, b, a) argument
25 # define BOOST_PP_LIST_APPEND(a, b) BOOST_PP_LIST_APPEND_I(a, b) argument
26 # define BOOST_PP_LIST_APPEND_I(a, b) BOOST_PP_LIST_FOLD_RIGHT(BOOST_PP_LIST_APPEND_O, b, a) argument
34 # define BOOST_PP_LIST_APPEND_D(d, a, b) BOOST_PP_LIST_FOLD_RIGHT_ ## d(BOOST_PP_LIST_APPEND_O, argument
36 # define BOOST_PP_LIST_APPEND_D(d, a, b) BOOST_PP_LIST_APPEND_D_I(d, a, b) argument
37 # define BOOST_PP_LIST_APPEND_D_I(d, a, b) BOOST_PP_LIST_FOLD_RIGHT_ ## d(BOOST_PP_LIST_APPEND_O… argument
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.samp/rand.dist.samp.pconst/
Dparam_eq.pass.cpp26 double b[] = {10, 14, 16, 17}; in main() local
28 P p1(b, b+4, p); in main()
29 P p2(b, b+4, p); in main()
35 double b[] = {10, 14, 16, 17}; in main() local
37 P p1(b, b+3, p); in main()
38 P p2(b, b+4, p); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/vector.bool/
Dfind.pass.cpp25 std::vector<bool> b(i,true); in main() local
26 std::vector<bool>::iterator j = std::find(b.begin()+1, b.end(), false); in main()
27 assert(j-b.begin() == i); in main()
28 assert(b.end() == j); in main()
34 std::vector<bool> b(i,false); in main() local
35 std::vector<bool>::iterator j = std::find(b.begin()+1, b.end(), true); in main()
36 assert(j-b.begin() == i); in main()
37 assert(b.end() == j); in main()
/ndk/sources/host-tools/sed-4.2.1/sed/
Dutils.c517 char *b; member
525 struct buffer *b = MALLOC(1, struct buffer); in init_buffer() local
526 b->b = MALLOC(MIN_ALLOCATE, char); in init_buffer()
527 b->allocated = MIN_ALLOCATE; in init_buffer()
528 b->length = 0; in init_buffer()
529 return b; in init_buffer()
533 get_buffer(b) in get_buffer() argument
534 struct buffer *b; in get_buffer()
536 return b->b;
540 size_buffer(b) in size_buffer() argument
[all …]
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/
Dunwind_06.cpp25 double b = get(1); in try1() local
27 a += get(1) + b; in try1()
29 return get(0)+a+b; in try1()
34 double b = get(1); in try2() local
37 a += get(1) + b + c; in try2()
39 return get(0)+a+b+c; in try2()
44 double b = get(1); in try3() local
48 a += get(1) + b + c + d; in try3()
50 return get(0)+a+b+c+d; in try3()
55 double b = get(0); in try4() local
[all …]

12345678910>>...24