Home
last modified time | relevance | path

Searched defs:test (Results 1 – 25 of 4207) sorted by relevance

12345678910>>...169

/llvm-project/clang/test/Lexer/
H A Dchar-escapes.c4 int test['\\' == 92 ? 1 : -1]; variable
5 int test['\"' == 34 ? 1 : -1]; variable
6 int test['\'' == 39 ? 1 : -1]; variable
7 int test['\?' == 63 ? 1 : -1]; variable
8 int test['\a' == 7 ? 1 : -1]; variable
9 int test['\b' == 8 ? 1 : -1]; variable
10 int test['\e' == 27 ? 1 : -1]; // expected-warning {{non-standard escape}} variable
11 int test['\E' == 27 ? 1 : -1]; // expected-warning {{non-standard escape}} variable
12 int test['\f' == 12 ? 1 : -1]; variable
13 int test['\n' == 10 ? 1 : -1]; variable
[all …]
/llvm-project/libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons.alloc/
H A Dctor_comp_alloc.pass.cpp21 struct test struct
24 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
28 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
29 test(const value_compare& compare, const test_allocator<int>& a) in test() function
31 test(const value_compare& compare, const container_type& container, in test() argument
34 test(const value_compare& compare, container_type&& container, in test() function
36 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() function
38 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
H A Dctor_alloc.pass.cpp21 struct test struct
24 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
28 explicit test(const test_allocator<int>& a) : base(a) {} in test() function
29 test(const value_compare& comp, const test_allocator<int>& a) in test() argument
31 test(const value_compare& comp, const container_type& container, in test() function
34 test(const value_compare& comp, container_type&& container, in test() function
36 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() argument
38 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
H A Dctor_comp_rcont_alloc.pass.cpp32 struct test struct
35 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
39 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
40 test(const value_compare& compare, const test_allocator<int>& a) in test() argument
42 test(const value_compare& compare, const container_type& container, in test() argument
45 test(const value_compare& compare, container_type&& container, in test() argument
47 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() function
49 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
H A Dctor_move_alloc.pass.cpp36 struct test struct
39 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
43 explicit test(const test_allocator<int>& a) : base(a) {} in test() function
44 test(const value_compare& compare, const test_allocator<int>& a) in test() argument
46 test(const value_compare& compare, const container_type& container, in test() function
48 test(const value_compare& compare, container_type&& container, in test() function
50 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() function
51 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
H A Dctor_comp_cont_alloc.pass.cpp32 struct test struct
35 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
39 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
40 test(const value_compare& compare, const test_allocator<int>& a) in test() function
42 test(const value_compare& compare, const container_type& container, in test() function
45 test(const value_compare& compare, container_type&& container, in test() function
47 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() function
49 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
H A Dctor_copy_alloc.pass.cpp31 struct test struct
34 typedef std::priority_queue<T, std::vector<T, test_allocator<T> > > base; argument
38 explicit test(const test_allocator<int>& a) : base(a) {} in test() function
39 test(const value_compare& compare, const test_allocator<int>& a) in test() argument
41 test(const value_compare& compare, const container_type& container, in test() function
43 test(const test& q, const test_allocator<int>& a) : base(q, a) {} in test() argument
44 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
/llvm-project/libcxx/test/std/containers/container.adaptors/stack/stack.cons.alloc/
H A Dctor_alloc.pass.cpp20 struct test struct
23 typedef std::stack<int, std::deque<int, test_allocator<int> > > base; argument
25 explicit test(const test_allocator<int>& a) : base(a) {} in test() function
26 test(const container_type& cont, const test_allocator<int>& a) : base(cont, a) {} in test() function
28 test(container_type&& cont, const test_allocator<int>& a) : base(std::move(cont), a) {} in test() function
29 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() function
31 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
H A Dctor_rcontainer_alloc.pass.cpp37 struct test struct
41 typedef test_allocator<MoveOnly> allocator_type; argument
44 explicit test(const allocator_type& a) : base(a) {} in test() argument
45 test(const container_type& cont, const allocator_type& a) : base(cont, a) {} in test() function
46 test(container_type&& cont, const allocator_type& a) : base(std::move(cont), a) {} in test() function
47 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test() argument
54 test<MoveOnly> q(make<C>(5), test_allocator<MoveOnly>(4)); in main() argument
H A Dctor_rqueue_alloc.pass.cpp37 struct test struct
41 typedef test_allocator<MoveOnly> allocator_type; argument
44 explicit test(const allocator_type& a) : base(a) {} in test() function
45 test(const container_type& cont, const allocator_type& a) : base(cont, a) {} in test() argument
46 test(container_type&& cont, const allocator_type& a) : base(std::move(cont), a) {} in test() argument
47 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test() argument
54 test<MoveOnly> q(make<C>(5), test_allocator<MoveOnly>(4)); in main() argument
H A Dctor_copy_alloc.pass.cpp33 struct test struct
37 typedef test_allocator<int> allocator_type; argument
40 explicit test(const allocator_type& a) : base(a) {} in test() argument
41 test(const container_type& cont, const allocator_type& a) : base(cont, a) {} in test() argument
42 test(const test& q, const allocator_type& a) : base(q, a) {} in test() function
48 test<int> q(make<C>(5), test_allocator<int>(4)); in main() argument
H A Dctor_container_alloc.pass.cpp33 struct test struct
38 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
39 test(const container_type& cont, const test_allocator<int>& a) : base(cont, a) {} in test() argument
41 test(container_type&& cont, const test_allocator<int>& a) : base(std::move(cont), a) {} in test() argument
42 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() function
44 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
/llvm-project/libcxx/test/std/containers/container.adaptors/queue/queue.cons.alloc/
H A Dctor_alloc.pass.cpp20 struct test struct
23 typedef std::queue<int, std::deque<int, test_allocator<int> > > base; argument
25 explicit test(const test_allocator<int>& a) : base(a) {} in test() function
26 test(const container_type& container, const test_allocator<int>& a) : base(container, a) {} in test() argument
28test(container_type&& container, const test_allocator<int>& a) : base(std::move(container), a) {} in test() function
29 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() argument
31 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
H A Dctor_rcontainer_alloc.pass.cpp37 struct test struct
41 typedef test_allocator<MoveOnly> allocator_type; argument
44 explicit test(const allocator_type& a) : base(a) {} in test() function
45 test(const container_type& container, const allocator_type& a) : base(container, a) {} in test() argument
46 test(container_type&& container, const allocator_type& a) : base(std::move(container), a) {} in test() function
47 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test() function
54 test<MoveOnly> q(make<C>(5), test_allocator<MoveOnly>(4)); in main() argument
H A Dctor_rqueue_alloc.pass.cpp37 struct test struct
41 typedef test_allocator<MoveOnly> allocator_type; argument
44 explicit test(const allocator_type& a) : base(a) {} in test() function
45 test(const container_type& container, const allocator_type& a) : base(container, a) {} in test() argument
46 test(container_type&& container, const allocator_type& a) : base(std::move(container), a) {} in test() function
47 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test() function
54 test<MoveOnly> q(make<C>(5), test_allocator<MoveOnly>(4)); in main() argument
H A Dctor_container_alloc.pass.cpp33 struct test struct
38 explicit test(const test_allocator<int>& a) : base(a) {} in test() argument
39 test(const container_type& container, const test_allocator<int>& a) : base(container, a) {} in test() argument
41test(container_type&& container, const test_allocator<int>& a) : base(std::move(container), a) {} in test() argument
42 test(test&& q, const test_allocator<int>& a) : base(std::move(q), a) {} in test() function
44 test_allocator<int> get_allocator() {return c.get_allocator();} in get_allocator() argument
H A Dctor_queue_alloc.pass.cpp33 struct test struct
37 typedef test_allocator<int> allocator_type; argument
40 explicit test(const allocator_type& a) : base(a) {} in test() function
41 test(const container_type& container, const allocator_type& a) : base(container, a) {} in test() function
42 test(const test& q, const allocator_type& a) : base(q, a) {} in test() argument
48 test<int> q(make<C>(5), test_allocator<int>(4)); in main() argument
/llvm-project/flang/test/Lower/HLFIR/
H A Dbindc-proc-interface.f904 subroutine test() subroutine
5 interface
16 procedure(iface_bindc) :: foo_iface_bindc
17 procedure(iface_explicit_name) :: foo_iface_explicit_name
18 procedure(iface_nobinding) :: foo_iface_nobinding
20 procedure(iface_bindc), bind(c) :: extra_bindc_iface_bindc
21 procedure(iface_explicit_name), bind(c) :: extra_bindc_iface_explicit_name
22 procedure(iface_nobinding), bind(c) :: extra_bindc_iface_nobinding
24 procedure(iface_bindc), bind(c, name="bar_iface_bindc_2") :: bar_iface_bindc
25 …ocedure(iface_explicit_name), bind(c,name="bar_iface_explicit_name_2") :: bar_iface_explicit_name
[all …]
H A Dconversion-ops.f904 subroutine test subroutine
5 i4test global() argument
6 i8test global() argument
7 r4test global() argument
8 r8test global() argument
9 z4test global() argument
10 z8test global() argument
12 l4test global() argument
13 l8test global() argument
/llvm-project/flang/test/Semantics/
H A Dform_team01.f904 subroutine test subroutine
6 type(team_type) :: team
7 integer :: team_number
8 integer :: team_index
9 integer :: statvar
10 character(len=50) :: errvar
11 integer, codimension[*] :: co_team_number
12 integer, codimension[*] :: co_team_index
13 type(team_type), dimension(1) :: array_team
14 integer, dimension(1) :: array_team_number
[all …]
H A Dnull01.f904 subroutine test subroutine
5 interface
36 type :: dt0
40 type :: dt1
43 type :: dt2
46 type :: dt3
49 type :: dt4
52 type, extends(dt4) :: dt5
54 integer :: j local
55 type(dt0) :: dt0x
[all …]
H A Dassociated.f9063 subroutine test(assumedRank) subroutine
64 real, pointer, intent(in out) :: assumedRank(..)
65 integer :: intVar
66 integer, target :: targetIntVar1
67 integer(kind=2), target :: targetIntVar2
68 real, target :: targetRealVar, targetRealMat(2,2)
69 real, pointer :: realScalarPtr, realVecPtr(:), realMatPtr(:,:)
70 integer, pointer :: intPointerVar1
71 integer, pointer :: intPointerVar2
72 integer, allocatable :: intAllocVar
[all …]
H A Dstructconst09.f9013 subroutine test(da, dp) subroutine
14 real, target :: y, da
15 procedure(f) dp
16 procedure(f), pointer :: lpp
18 type(t) :: a1 = t() ! ok
19 type(t) :: a2 = t(rp=x) ! ok
20 type(t) :: a3 = t(pp=f) ! ok
21 type(t) :: a4 = t(pp=ext) ! ok
23 type(t) :: a5 = t(rp=y)
25 type(t) :: a6 = t(rp=da)
[all …]
H A Dexpr-errors02.f9027 subroutine test(out, optional) subroutine
29 type(t(foo())) :: x1
30 integer :: local
32 type(t(local)) :: x2
34 type(t(internal(0))) :: x3
35 integer, intent(out) :: out
37 type(t(out)) :: x4
38 integer, intent(in), optional :: optional
40 type(t(optional)) :: x5
42 type(t(hasProcArg())) :: x6
[all …]
H A Dassign06.f908 subroutine test(n) subroutine
24 !ERROR: 'test' must be a default integer scalar variable argument
52 end subroutine test argument

12345678910>>...169