Home
last modified time | relevance | path

Searched refs:Box (Results 1 – 25 of 31) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/libcxx/ranges/range.adaptors/range.copy.wrap/
H A Dassign.move.pass.cpp33 Box x(std::in_place, 5); in test()
34 Box y(std::in_place, 10); in test()
44 Box x(std::in_place, 5); in test()
60 Box x(std::in_place, 5); in test()
61 Box y(std::in_place, 10); in test()
72 Box x(std::in_place, 5); in test()
89 Box x(std::in_place, 5); in test()
101 Box x(std::in_place, 5); in test()
118 Box x(std::in_place, 5); in test()
179 Box y(std::in_place, 10); in test_empty_state()
[all …]
H A Dassign.copy.pass.cpp33 Box x(std::in_place, 5); in test()
35 Box& result = (x = y); in test()
45 Box& result = (x = x); in test()
62 Box& result = (x = y); in test()
73 Box& result = (x = x); in test()
91 Box& result = (x = y); in test()
101 Box& result = (x = x); in test()
122 Box& result = (x = y); in test_empty_state()
133 Box& result = (x = y); in test_empty_state()
143 Box& result = (x = y); in test_empty_state()
[all …]
H A Dctor.in_place.pass.cpp33 using Box = std::ranges::__copyable_box<CopyConstructible>; in test() typedef
34 Box x(std::in_place, 5); in test()
37 static_assert(!std::is_constructible_v<Box, std::in_place_t, UnknownType>); in test()
42 using Box = std::ranges::__copyable_box<Copyable>; in test() typedef
43 Box x(std::in_place, 5); in test()
46 static_assert(!std::is_constructible_v<Box, std::in_place_t, UnknownType>); in test()
51 using Box = std::ranges::__copyable_box<NothrowCopyConstructible>; in test() typedef
52 Box x(std::in_place, 5); in test()
55 static_assert(!std::is_constructible_v<Box, std::in_place_t, UnknownType>); in test()
H A Dno_unique_address.pass.cpp30 using Box = std::ranges::__copyable_box<Empty>; typedef
32 struct Inherit : Box { };
34 struct Hold : Box {
41 Box& base = static_cast<Box&>(box); in main()
42 Box& member = static_cast<Box&>(box.member); in main()
H A Dctor.default.pass.cpp23 using Box = std::ranges::__copyable_box<T>; typedef
28 static_assert(!std::is_default_constructible_v<Box<NoDefault>>);
34 static_assert( std::is_nothrow_default_constructible_v<Box<DefaultNoexcept<true>>>);
35 static_assert(!std::is_nothrow_default_constructible_v<Box<DefaultNoexcept<false>>>);
40 Box<CopyConstructible> box; in test()
47 Box<Copyable> box; in test()
54 Box<NothrowCopyConstructible> box; in test()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dtemplate-param-objects.cpp7 struct Box { struct
10 bool operator ==(Box lhs, Box rhs) { in operator ==() argument
13 template <Box V> void dumps() { in dumps()
19 template void dumps<Box{6}>();
24 template <Box A1, Box A2, Box B1, Box B2> void stable_addresses() { in stable_addresses()
33 template void stable_addresses<Box{1}, Box{1}, Box{2}, Box{2}>(); variable
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.join.view/iterator/
H A Darrow.pass.cpp61 struct MoveOnlyIterInner : BufferView<move_only_input_iter_with_arrow<Box*>, move_iter_sentinel<Box
64 using iterator = move_only_input_iter_with_arrow<Box*>;
65 using sentinel = move_iter_sentinel<Box*>;
95 using ArrowInner = BufferView<arrow_input_iter<Box*>>;
100 Box buffer[4][4] = {{{1111}, {2222}, {3333}, {4444}}, in test()
107 ValueView<Box> children[4] = {ValueView(buffer[0]), ValueView(buffer[1]), ValueView(buffer[2]), in test()
109 std::ranges::join_view jv(ValueView<ValueView<Box>>{children}); in test()
141 using Inner = BufferView<forward_iterator<Box*>>; in test()
156 std::same_as<arrow_input_iter<Box*>> auto arrow_it = jv_it.operator->(); in test()
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DSymbolMap.h75 using Box = fir::BoxValue; member
78 PointerOrAllocatable, Box, None>;
119 [](const Box &x) { in isIntrinsic()
131 [](const Box &x) { return x.hasRank(); }, in hasRank()
140 [](const Box &arr) { return arr.getLBounds().empty(); }, in hasSimpleLBounds()
156 [&](const Box &box) { return box.getLBounds()[dim]; }, in getLBound()
284 SymbolBox::Box(irBox, lbounds, explicitParams, explicitExtents),
287 void addBoxSymbol(semantics::SymbolRef sym, const SymbolBox::Box &value,
H A DIntrinsicCall.h44 Box, enumerator
H A DCallInterface.h102 Box,
125 Box,
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-unused-value.cpp8 class Box { class
16 Box* box = new Box; in doit()
/llvm-project-15.0.7/clang/test/Modules/Inputs/odr_hash-Friend/
H A DBad.h7 template <class T = int> struct Box { struct
17 Box<> B;
H A DGood.h7 template <class T = int> struct Box { struct
17 Box<> B;
H A Dmodule.modulemap1 module Box {
2 header "Box.h"
H A DM2.h3 Box<> Unused; in x()
H A DM1.h4 Box<> Gift; in Peek()
H A DM3.h5 Box<> Present; in Party()
H A DBox.h7 template <class T = int> struct Box { struct
/llvm-project-15.0.7/llvm/unittests/Support/
H A DErrorTest.cpp1073 Optional<int> Box; member
1075 explicit MoveOnlyBox(int I) : Box(I) {} in MoveOnlyBox()
1084 if (bool(Box) != bool(RHS.Box)) in operator ==() local
1086 return Box ? *Box == *RHS.Box : false; in operator ==()
1100 EXPECT_EQ(None, V.Box); in TEST()
1104 EXPECT_EQ(5, V.Box); in TEST()
1108 EXPECT_EQ(7, V.Box); in TEST()
1114 EXPECT_EQ(7, V.Box); in TEST()
/llvm-project-15.0.7/clang/test/Modules/
H A Dodr_hash-Friend.cpp89 Box<> Present; in Run()
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dirtranslator-extract-used-by-dbg.ll328 !300 = !DIDerivedType(tag: DW_TAG_pointer_type, name: "Box<std::io::error::Custom>", baseType: !301…
333 !305 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Box<Error>", scope: !306, file:…
381 !353 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "alloc::boxed::Box<[u8]>", file:…
/llvm-project-15.0.7/polly/www/video-js/
H A Dvideo-js.css7 /* Box containing video, controls, and download links.
115 .vjs-progress-holder { /* Box containing play and load progresses */
/llvm-project-15.0.7/libcxx/test/std/ranges/range.adaptors/range.join.view/
H A Dtypes.h111 struct Box { struct
/llvm-project-15.0.7/flang/lib/Lower/
H A DCallInterface.cpp868 addFirOperand(boxType, nextPassedArgPosition(), Property::Box, attrs); in handleExplicitDummy()
869 addPassedArg(PassEntityBy::Box, entity, characteristics); in handleExplicitDummy()
/llvm-project-15.0.7/lldb/source/Core/
H A DIOHandlerCursesGUI.cpp440 void Box(chtype v_char = ACS_VLINE, chtype h_char = ACS_HLINE) { in Box() function in curses::Surface
446 Box(v_char, h_char); in TitledBox()
454 void Box(const Rect &bounds, chtype v_char = ACS_VLINE, in Box() function in curses::Surface
476 Box(bounds, v_char, h_char); in TitledBox()
762 Box(); in DrawTitleBox()
4106 window.Box(); in WindowDelegateDraw()

12