/external/llvm-project/libcxx/test/std/containers/sequences/list/list.modifiers/ |
D | emplace_front.pass.cpp | 44 assert(&r1 == &c.front()); in main() 45 assert(c.front().geti() == 2); in main() 46 assert(c.front().getd() == 3.5); in main() 49 assert(&r2 == &c.front()); in main() 53 assert(c.front().geti() == 2); in main() 54 assert(c.front().getd() == 3.5); in main() 58 assert(c.front().geti() == 3); in main() 59 assert(c.front().getd() == 4.5); in main() 69 assert(&r1 == &c.front()); in main() 70 assert(c.front().geti() == 2); in main() [all …]
|
D | emplace_back.pass.cpp | 45 assert(c.front().geti() == 2); in main() 46 assert(c.front().getd() == 3.5); in main() 53 assert(c.front().geti() == 2); in main() 54 assert(c.front().getd() == 3.5); in main() 58 assert(c.front().geti() == 2); in main() 59 assert(c.front().getd() == 3.5); in main() 69 assert(c.front().geti() == 2); in main() 70 assert(c.front().getd() == 3.5); in main() 77 assert(c.front().geti() == 2); in main() 78 assert(c.front().getd() == 3.5); in main() [all …]
|
/external/libcxx/test/std/containers/sequences/list/list.modifiers/ |
D | emplace_front.pass.cpp | 44 assert(&r1 == &c.front()); in main() 45 assert(c.front().geti() == 2); in main() 46 assert(c.front().getd() == 3.5); in main() 49 assert(&r2 == &c.front()); in main() 53 assert(c.front().geti() == 2); in main() 54 assert(c.front().getd() == 3.5); in main() 58 assert(c.front().geti() == 3); in main() 59 assert(c.front().getd() == 4.5); in main() 69 assert(&r1 == &c.front()); in main() 70 assert(c.front().geti() == 2); in main() [all …]
|
D | emplace_back.pass.cpp | 46 assert(c.front().geti() == 2); in main() 47 assert(c.front().getd() == 3.5); in main() 54 assert(c.front().geti() == 2); in main() 55 assert(c.front().getd() == 3.5); in main() 59 assert(c.front().geti() == 2); in main() 60 assert(c.front().getd() == 3.5); in main() 70 assert(c.front().geti() == 2); in main() 71 assert(c.front().getd() == 3.5); in main() 78 assert(c.front().geti() == 2); in main() 79 assert(c.front().getd() == 3.5); in main() [all …]
|
/external/libcxx/test/std/containers/sequences/vector/vector.modifiers/ |
D | emplace_back.pass.cpp | 65 assert(c.front().geti() == 2); in main() 66 assert(c.front().getd() == 3.5); in main() 74 assert(c.front().geti() == 2); in main() 75 assert(c.front().getd() == 3.5); in main() 80 assert(c.front().geti() == 2); in main() 81 assert(c.front().getd() == 3.5); in main() 92 assert(c.front().geti() == 2); in main() 93 assert(c.front().getd() == 3.5); in main() 101 assert(c.front().geti() == 2); in main() 102 assert(c.front().getd() == 3.5); in main() [all …]
|
D | emplace.pass.cpp | 63 assert(c.front().geti() == 2); in main() 64 assert(c.front().getd() == 3.5); in main() 69 assert(c.front().geti() == 2); in main() 70 assert(c.front().getd() == 3.5); in main() 77 assert(c.front().geti() == 2); in main() 78 assert(c.front().getd() == 3.5); in main() 90 assert(c.front().geti() == 2); in main() 91 assert(c.front().getd() == 3.5); in main() 96 assert(c.front().geti() == 2); in main() 97 assert(c.front().getd() == 3.5); in main() [all …]
|
/external/libchrome/base/memory/ |
D | ref_counted_memory_unittest.cc | 36 EXPECT_EQ(45U, mem->front()[0]); in TEST() 37 EXPECT_EQ(99U, mem->front()[1]); in TEST() 45 EXPECT_EQ(12U, mem2->front()[0]); in TEST() 46 EXPECT_EQ(11U, mem2->front()[1]); in TEST() 47 EXPECT_EQ(99U, mem2->front()[2]); in TEST() 58 mem->front()[1] = 2; in TEST() 71 EXPECT_EQ('d', mem->front()[0]); in TEST() 72 EXPECT_EQ('e', mem->front()[1]); in TEST() 73 EXPECT_EQ('e', mem->front()[9]); in TEST() 85 EXPECT_EQ('s', mem->front()[0]); in TEST() [all …]
|
/external/llvm-project/libcxx/test/std/containers/sequences/vector/vector.modifiers/ |
D | emplace_back.pass.cpp | 64 assert(c.front().geti() == 2); in main() 65 assert(c.front().getd() == 3.5); in main() 73 assert(c.front().geti() == 2); in main() 74 assert(c.front().getd() == 3.5); in main() 79 assert(c.front().geti() == 2); in main() 80 assert(c.front().getd() == 3.5); in main() 91 assert(c.front().geti() == 2); in main() 92 assert(c.front().getd() == 3.5); in main() 100 assert(c.front().geti() == 2); in main() 101 assert(c.front().getd() == 3.5); in main() [all …]
|
D | emplace.pass.cpp | 62 assert(c.front().geti() == 2); in main() 63 assert(c.front().getd() == 3.5); in main() 68 assert(c.front().geti() == 2); in main() 69 assert(c.front().getd() == 3.5); in main() 76 assert(c.front().geti() == 2); in main() 77 assert(c.front().getd() == 3.5); in main() 89 assert(c.front().geti() == 2); in main() 90 assert(c.front().getd() == 3.5); in main() 95 assert(c.front().geti() == 2); in main() 96 assert(c.front().getd() == 3.5); in main() [all …]
|
/external/icu/icu4c/source/layoutex/ |
D | LXUtilities.cpp | 79 le_int32 front, back; in reverse() local 81 for (front = 0, back = length - 1; front < back; front += 1, back -= 1) { in reverse() 82 le_int32 swap = array[front]; in reverse() 84 array[front] = array[back]; in reverse() 91 le_int32 front, back; in reverse() local 93 for (front = 0, back = length - 1; front < back; front += 1, back -= 1) { in reverse() 94 float swap = array[front]; in reverse() 96 array[front] = array[back]; in reverse()
|
/external/llvm-project/libcxx/test/std/containers/sequences/forwardlist/forwardlist.modifiers/ |
D | emplace_front.pass.cpp | 32 assert(c.front() == Emplaceable()); in main() 33 assert(&r1 == &c.front()); in main() 36 assert(c.front() == Emplaceable(1, 2.5)); in main() 37 assert(&r2 == &c.front()); in main() 40 assert(c.front() == Emplaceable()); in main() 43 assert(c.front() == Emplaceable(1, 2.5)); in main() 54 assert(c.front() == Emplaceable()); in main() 55 assert(&r1 == &c.front()); in main() 58 assert(c.front() == Emplaceable(1, 2.5)); in main() 59 assert(&r2 == &c.front()); in main() [all …]
|
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.modifiers/ |
D | emplace_front.pass.cpp | 33 assert(c.front() == Emplaceable()); in main() 34 assert(&r1 == &c.front()); in main() 37 assert(c.front() == Emplaceable(1, 2.5)); in main() 38 assert(&r2 == &c.front()); in main() 41 assert(c.front() == Emplaceable()); in main() 44 assert(c.front() == Emplaceable(1, 2.5)); in main() 55 assert(c.front() == Emplaceable()); in main() 56 assert(&r1 == &c.front()); in main() 59 assert(c.front() == Emplaceable(1, 2.5)); in main() 60 assert(&r2 == &c.front()); in main() [all …]
|
/external/libcxx/test/std/containers/sequences/vector.bool/ |
D | emplace_back.pass.cpp | 31 assert(c.front() == false); in main() 33 assert(c.front() == true); in main() 37 assert(c.front() == false); in main() 45 assert(c.front() == false); in main() 48 assert(c.front() == false); in main() 53 assert(c.front() == false); in main() 65 assert(c.front() == false); in main() 67 assert(c.front() == true); in main() 71 assert(c.front() == false); in main() 79 assert(c.front() == false); in main() [all …]
|
/external/llvm-project/libcxx/test/std/containers/sequences/vector.bool/ |
D | emplace_back.pass.cpp | 30 assert(c.front() == false); in main() 32 assert(c.front() == true); in main() 36 assert(c.front() == false); in main() 44 assert(c.front() == false); in main() 47 assert(c.front() == false); in main() 52 assert(c.front() == false); in main() 64 assert(c.front() == false); in main() 66 assert(c.front() == true); in main() 70 assert(c.front() == false); in main() 78 assert(c.front() == false); in main() [all …]
|
/external/llvm-project/llvm/unittests/Transforms/Utils/ |
D | CallPromotionUtilsTest.cpp | 58 Instruction *Inst = &F->front().front(); in TEST() 61 Inst = &*++F->front().rbegin(); in TEST() 91 Instruction *Inst = &F->front().front(); in TEST() 118 Instruction *Inst = &*++F->front().rbegin(); in TEST() 153 Instruction *Inst = &*++F->front().rbegin(); in TEST() 192 Instruction *Inst = &F->front().front(); in TEST() 195 Inst = &*++F->front().rbegin(); in TEST() 234 Instruction *Inst = &F->front().front(); in TEST() 237 Inst = &*++F->front().rbegin(); in TEST() 293 Instruction *Inst = &F->front().front(); in TEST() [all …]
|
/external/OpenCL-CTS/test_common/harness/ |
D | os_helpers.cpp | 84 int rc = strerror_r(err, &buffer.front(), buffer.size()); in _err_msg() 88 return &buffer.front(); in _err_msg() 113 return &buffer.front(); in _err_msg() 138 int rc = _NSGetExecutablePath(&path.front(), &size); in exe_path() 157 return &path.front(); in exe_path() 168 return dirname(&buffer.front()); in exe_dir() 210 int rc = strerror_r(err, &buffer.front(), buffer.size()); in _err_msg() 245 return &buffer.front(); in _err_msg() 274 ssize_t len = readlink(exe.c_str(), &path.front(), path.size()); in exe_path() 311 return std::string(&path.front(), path.size()); in exe_path() [all …]
|
/external/libcxx/test/std/containers/sequences/array/ |
D | front_back.pass.cpp | 30 return arr.front() == val; in check_front() 47 C::reference r1 = c.front(); in main() 61 C::const_reference r1 = c.front(); in main() 72 static_assert((std::is_same<decltype(c.front()), T &>::value), ""); in main() 73 static_assert((std::is_same<decltype(cc.front()), const T &>::value), ""); in main() 77 TEST_IGNORE_NODISCARD c.front(); in main() 79 TEST_IGNORE_NODISCARD cc.front(); in main() 88 static_assert((std::is_same<decltype(c.front()), const T &>::value), ""); in main() 89 static_assert((std::is_same<decltype(cc.front()), const T &>::value), ""); in main() 93 TEST_IGNORE_NODISCARD c.front(); in main() [all …]
|
/external/llvm-project/libcxx/test/std/strings/basic.string/string.access/ |
D | front.pass.cpp | 25 ASSERT_SAME_TYPE(decltype( s.front()), typename S::reference); in test() 26 ASSERT_SAME_TYPE(decltype(cs.front()), typename S::const_reference); in test() 27 LIBCPP_ASSERT_NOEXCEPT( s.front()); in test() 28 LIBCPP_ASSERT_NOEXCEPT( cs.front()); in test() 29 assert(&cs.front() == &cs[0]); in test() 30 assert(&s.front() == &s[0]); in test() 31 s.front() = typename S::value_type('z'); in test() 32 assert(s.front() == typename S::value_type('z')); in test()
|
/external/llvm-project/compiler-rt/lib/scudo/standalone/tests/ |
D | list_test.cpp | 46 EXPECT_EQ(L->front(), I1); in checkList() 50 EXPECT_EQ(L->front(), I2); in checkList() 54 EXPECT_EQ(L->front(), I3); in checkList() 58 EXPECT_EQ(L->front(), I4); in checkList() 62 EXPECT_EQ(L->front(), I5); in checkList() 66 EXPECT_EQ(L->front(), I6); in checkList() 80 EXPECT_EQ(L.front(), X); in testListCommon() 88 EXPECT_EQ(L.front(), X); in testListCommon() 97 EXPECT_EQ(L.front(), Z); in testListCommon() 103 EXPECT_EQ(L.front(), Y); in testListCommon() [all …]
|
/external/scudo/standalone/tests/ |
D | list_test.cpp | 46 EXPECT_EQ(L->front(), I1); in checkList() 50 EXPECT_EQ(L->front(), I2); in checkList() 54 EXPECT_EQ(L->front(), I3); in checkList() 58 EXPECT_EQ(L->front(), I4); in checkList() 62 EXPECT_EQ(L->front(), I5); in checkList() 66 EXPECT_EQ(L->front(), I6); in checkList() 80 EXPECT_EQ(L.front(), X); in testListCommon() 88 EXPECT_EQ(L.front(), X); in testListCommon() 97 EXPECT_EQ(L.front(), Z); in testListCommon() 103 EXPECT_EQ(L.front(), Y); in testListCommon() [all …]
|
/external/llvm-project/libcxx/test/std/containers/sequences/deque/deque.capacity/ |
D | access.pass.cpp | 59 LIBCPP_ASSERT_NOEXCEPT( c.front()); in main() 60 ASSERT_SAME_TYPE(decltype(c.front()), C::reference); in main() 67 assert(c.front() == 0); in main() 75 LIBCPP_ASSERT_NOEXCEPT( c.front()); in main() 76 ASSERT_SAME_TYPE(decltype(c.front()), C::const_reference); in main() 83 assert(c.front() == 0); in main() 92 LIBCPP_ASSERT_NOEXCEPT( c.front()); in main() 93 ASSERT_SAME_TYPE(decltype(c.front()), C::reference); in main() 100 assert(c.front() == 0); in main() 108 LIBCPP_ASSERT_NOEXCEPT( c.front()); in main() [all …]
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_list_test.cpp | 36 CHECK_EQ(l->front(), i1); in CheckList() 40 CHECK_EQ(l->front(), i2); in CheckList() 44 CHECK_EQ(l->front(), i3); in CheckList() 48 CHECK_EQ(l->front(), i4); in CheckList() 52 CHECK_EQ(l->front(), i5); in CheckList() 56 CHECK_EQ(l->front(), i6); in CheckList() 80 CHECK_EQ(l.front(), x); in TEST() 88 CHECK_EQ(l.front(), x); in TEST() 97 CHECK_EQ(l.front(), z); in TEST() 103 CHECK_EQ(l.front(), y); in TEST() [all …]
|
/external/libcxx/test/std/containers/sequences/forwardlist/forwardlist.access/ |
D | front.pass.cpp | 28 assert(c.front() == 0); in main() 29 c.front() = 10; in main() 30 assert(c.front() == 10); in main() 38 assert(c.front() == 0); in main() 47 assert(c.front() == 0); in main() 48 c.front() = 10; in main() 49 assert(c.front() == 10); in main() 57 assert(c.front() == 0); in main()
|
/external/llvm-project/libcxx/test/std/containers/sequences/forwardlist/forwardlist.access/ |
D | front.pass.cpp | 28 assert(c.front() == 0); in main() 29 c.front() = 10; in main() 30 assert(c.front() == 10); in main() 38 assert(c.front() == 0); in main() 47 assert(c.front() == 0); in main() 48 c.front() = 10; in main() 49 assert(c.front() == 10); in main() 57 assert(c.front() == 0); in main()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_list_test.cc | 37 CHECK_EQ(l->front(), i1); in CheckList() 41 CHECK_EQ(l->front(), i2); in CheckList() 45 CHECK_EQ(l->front(), i3); in CheckList() 49 CHECK_EQ(l->front(), i4); in CheckList() 53 CHECK_EQ(l->front(), i5); in CheckList() 57 CHECK_EQ(l->front(), i6); in CheckList() 81 CHECK_EQ(l.front(), x); in TEST() 89 CHECK_EQ(l.front(), x); in TEST() 98 CHECK_EQ(l.front(), z); in TEST() 104 CHECK_EQ(l.front(), y); in TEST() [all …]
|