Home
last modified time | relevance | path

Searched refs:r2 (Results 1 – 25 of 56) sorted by relevance

123

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/re.regex.assign/
Dassign_iter_iter_flag.pass.cpp29 std::regex r2; in main() local
31 r2.assign(I(s4.begin()), I(s4.end())); in main()
32 assert(r2.flags() == std::regex::ECMAScript); in main()
33 assert(r2.mark_count() == 2); in main()
35 r2.assign(I(s4.begin()), I(s4.end()), std::regex::extended); in main()
36 assert(r2.flags() == std::regex::extended); in main()
37 assert(r2.mark_count() == 2); in main()
39 r2.assign(F(s4.begin()), F(s4.end())); in main()
40 assert(r2.flags() == std::regex::ECMAScript); in main()
41 assert(r2.mark_count() == 2); in main()
[all …]
Dassign_ptr_flag.pass.cpp21 std::regex r2; in main() local
22 r2.assign("(a([bc]))"); in main()
23 assert(r2.flags() == std::regex::ECMAScript); in main()
24 assert(r2.mark_count() == 2); in main()
26 r2.assign("(a([bc]))", std::regex::extended); in main()
27 assert(r2.flags() == std::regex::extended); in main()
28 assert(r2.mark_count() == 2); in main()
Dassign.il.pass.cpp24 std::regex r2; in main() local
25 r2.assign({'(', 'a', '(', '[', 'b', 'c', ']', ')', ')'}); in main()
26 assert(r2.flags() == std::regex::ECMAScript); in main()
27 assert(r2.mark_count() == 2); in main()
29 r2.assign({'(', 'a', '(', '[', 'b', 'c', ']', ')', ')'}, std::regex::extended); in main()
30 assert(r2.flags() == std::regex::extended); in main()
31 assert(r2.mark_count() == 2); in main()
Dassign_string_flag.pass.cpp23 std::regex r2; in main() local
24 r2.assign(std::string("(a([bc]))")); in main()
25 assert(r2.flags() == std::regex::ECMAScript); in main()
26 assert(r2.mark_count() == 2); in main()
28 r2.assign(std::string("(a([bc]))"), std::regex::extended); in main()
29 assert(r2.flags() == std::regex::extended); in main()
30 assert(r2.mark_count() == 2); in main()
Dptr.pass.cpp21 std::regex r2; in main() local
22 r2 = "(a([bc]))"; in main()
23 assert(r2.flags() == std::regex::ECMAScript); in main()
24 assert(r2.mark_count() == 2); in main()
Dil.pass.cpp22 std::regex r2; in main() local
23 r2 = {'(', 'a', '(', '[', 'b', 'c', ']', ')', ')'}; in main()
24 assert(r2.flags() == std::regex::ECMAScript); in main()
25 assert(r2.mark_count() == 2); in main()
Dstring.pass.cpp22 std::regex r2; in main() local
23 r2 = std::string("(a([bc]))"); in main()
24 assert(r2.flags() == std::regex::ECMAScript); in main()
25 assert(r2.mark_count() == 2); in main()
Dassign_ptr_size_flag.pass.cpp21 std::regex r2; in main() local
22 r2.assign("(a([bc]))", 9, std::regex::extended); in main()
23 assert(r2.flags() == std::regex::extended); in main()
24 assert(r2.mark_count() == 2); in main()
Dcopy.pass.cpp22 std::regex r2; in main() local
23 r2 = r1; in main()
24 assert(r2.flags() == std::regex::ECMAScript); in main()
25 assert(r2.mark_count() == 2); in main()
Dassign.pass.cpp22 std::regex r2; in main() local
23 r2.assign(r1); in main()
24 assert(r2.flags() == std::regex::ECMAScript); in main()
25 assert(r2.mark_count() == 2); in main()
/ndk/tests/build/ssax-instructions/jni/
Dtest.S27 strd r2, [sp, #8]
30 sadd16 r2, r4, r8
34 sadd16 r4, r2, r3
35 ssub16 r8, r2, r3
38 sadd16 r2, r5, r9
42 sadd16 r5, r2, r3
43 ssub16 r9, r2, r3
44 ldrd r2, [sp, #8]
47 strd r4, [r2], ip
48 strd r6, [r2], ip
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.partitions/
Dpartition_copy.pass.cpp34 int r2[10] = {0}; in main() local
38 output_iterator<int*>(r1), r2, is_odd()); in main()
44 assert(p.second == r2 + 4); in main()
45 assert(r2[0] == 2); in main()
46 assert(r2[1] == 4); in main()
47 assert(r2[2] == 6); in main()
48 assert(r2[3] == 8); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.assign/
Dcopy_assign.pass.cpp30 std::reference_wrapper<T> r2(t2); in test() local
31 r2 = r; in test()
32 assert(&r2.get() == &t); in test()
42 std::reference_wrapper<void ()> r2(g); in test_function() local
43 r2 = r; in test_function()
44 assert(&r2.get() == &f); in test_function()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.inv/
Dinvoke.pass.cpp78 std::function<void (A_void_1*)> r2 = fp; in test_void_1() local
79 r2(ap); in test_void_1()
91 std::function<void (A_void_1*)> r2(fp); in test_void_1() local
93 r2(ap); in test_void_1()
148 std::function<int (A_int_1*)> r2(fp); in test_int_1() local
150 assert(r2(ap) == 3); in test_int_1()
158 std::function<int (A_int_1*)> r2(fp); in test_int_1() local
160 assert(r2(ap) == 4); in test_int_1()
170 std::function<int& (A_int_1*)> r2(fp); in test_int_1() local
172 assert(r2(ap) == 6); in test_int_1()
[all …]
Dinvoke.fail.cpp35 std::function<int& (const A_int_1*)> r2(fp); in test_int_1() local
37 assert(r2(ap) == 6); in test_int_1()
38 r2(ap) = 7; in test_int_1()
39 assert(r2(ap) == 7); in test_int_1()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/re.regex.nonmemb/re.regex.nmswap/
Dswap.pass.cpp23 std::regex r2; in main() local
24 swap(r2, r1); in main()
27 assert(r2.flags() == std::regex::ECMAScript); in main()
28 assert(r2.mark_count() == 2); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/re.regex.swap/
Dswap.pass.cpp22 std::regex r2; in main() local
23 r2.swap(r1); in main()
26 assert(r2.flags() == std::regex::ECMAScript); in main()
27 assert(r2.mark_count() == 2); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/array/
Dindexing.pass.cpp31 C::reference r2 = c[2]; in main() local
32 assert(r2 == 3.5); in main()
33 r2 = 7.5; in main()
42 C::const_reference r2 = c[2]; in main() local
43 assert(r2 == 3.5); in main()
Dfront_back.pass.cpp32 C::reference r2 = c.back(); in main() local
33 assert(r2 == 3.5); in main()
34 r2 = 7.5; in main()
44 C::const_reference r2 = c.back(); in main() local
45 assert(r2 == 3.5); in main()
Dat.pass.cpp31 C::reference r2 = c.at(2); in main() local
32 assert(r2 == 3.5); in main()
33 r2 = 7.5; in main()
46 C::const_reference r2 = c.at(2); in main() local
47 assert(r2 == 3.5); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/re/re.regex/re.regex.construct/
Dcopy.pass.cpp22 std::regex r2 = r1; in main() local
23 assert(r2.flags() == std::regex::ECMAScript); in main()
24 assert(r2.mark_count() == 2); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/function.objects/refwrap/refwrap.helpers/
Dref_2.pass.cpp23 std::reference_wrapper<int> r2 = std::ref(r1); in main() local
24 assert(&r2.get() == &i); in main()
Dcref_2.pass.cpp23 std::reference_wrapper<const int> r2 = std::cref(r1); in main() local
24 assert(&r2.get() == &i); in main()
/ndk/tests/device/test-gnustl-full/unit/
Dincludes_test.cpp61 bool r2=includes(v1.begin(), v1.end(), v2.begin(), v2.end()); in incl1() local
62 CPPUNIT_ASSERT(r2); in incl1()
85 bool r2 = includes(v1.begin(), v1.end(), v2.begin(), v2.end(), compare_strings); in incl2() local
86 CPPUNIT_ASSERT(r2); in incl2()
/ndk/tests/device/test-stlport/unit/
Dincludes_test.cpp61 bool r2=includes(v1.begin(), v1.end(), v2.begin(), v2.end()); in incl1() local
62 CPPUNIT_ASSERT(r2); in incl1()
85 bool r2 = includes(v1.begin(), v1.end(), v2.begin(), v2.end(), compare_strings); in incl2() local
86 CPPUNIT_ASSERT(r2); in incl2()

123