Home
last modified time | relevance | path

Searched refs:test_alloc (Results 1 – 25 of 268) sorted by relevance

1234567891011

/dports/devel/z88dk/z88dk/src/z80asm/lib/t/
H A Dtest_alloc.ans8 [ERROR] (t/test_alloc.c:50) Out of memory
12 [ERROR] (alloc.c:351) memory free at t/test_alloc.c:61 failed
57 [INFO ] (t/test_alloc.c:286) create Person(John, 15)
59 [INFO ] (t/test_alloc.c:286) create Person(Fred, 16)
60 [INFO ] (t/test_alloc.c:334) allocated John and Fred
62 [INFO ] (t/test_alloc.c:238) destroy Person(Fred, 16)
63 [INFO ] (t/test_alloc.c:247) destroy string(Fred)
65 [INFO ] (t/test_alloc.c:238) destroy Person(John, 15)
66 [INFO ] (t/test_alloc.c:247) destroy string(John)
67 [INFO ] (t/test_alloc.c:247) destroy string(world)
[all …]
/dports/multimedia/transcode/transcode-1.1.7/testsuite/
H A Dtest-bufalloc.c73 test_alloc(0); in main()
74 test_alloc(1); in main()
75 test_alloc(MY_PAGE_SZ); in main()
76 test_alloc(MY_PAGE_SZ-1); in main()
77 test_alloc(MY_PAGE_SZ+1); in main()
78 test_alloc(HOW_MUCH); in main()
79 test_alloc(HOW_MUCH-1); in main()
80 test_alloc(HOW_MUCH+1); in main()
81 test_alloc(BIG_SIZE); in main()
82 test_alloc(BIG_SIZE-1); in main()
[all …]
/dports/devel/kyua/kyua-0.13/utils/
H A Doptional_test.cpp44 class test_alloc { class
55 test_alloc(int value_) : value(value_) in test_alloc() function in __anon135e9c600111::test_alloc
87 size_t test_alloc::instances = 0;
183 ATF_REQUIRE_EQ(0, test_alloc::instances); in ATF_TEST_CASE_BODY()
185 optional< test_alloc > optional1(test_alloc(3)); in ATF_TEST_CASE_BODY()
186 ATF_REQUIRE_EQ(1, test_alloc::instances); in ATF_TEST_CASE_BODY()
190 optional< test_alloc > optional2(optional1); in ATF_TEST_CASE_BODY()
191 ATF_REQUIRE_EQ(2, test_alloc::instances); in ATF_TEST_CASE_BODY()
195 ATF_REQUIRE_EQ(2, test_alloc::instances); in ATF_TEST_CASE_BODY()
199 ATF_REQUIRE_EQ(1, test_alloc::instances); in ATF_TEST_CASE_BODY()
[all …]
/dports/archivers/dpkg/dpkg-1.19.7/lib/dpkg/t/
H A Dt-pkg-list.c35 test_alloc(l1); in test_pkg_list_new()
40 test_alloc(l2); in test_pkg_list_new()
45 test_alloc(l3); in test_pkg_list_new()
59 test_alloc(head); in test_pkg_list_prepend()
65 test_alloc(head); in test_pkg_list_prepend()
71 test_alloc(head); in test_pkg_list_prepend()
77 test_alloc(head); in test_pkg_list_prepend()
H A Dt-path.c35 char *t = test_alloc(strdup((p))); \
132 dst = test_alloc(malloc(len)); in test_path_quote()
140 dst = test_alloc(malloc(len)); in test_path_quote()
148 dst = test_alloc(malloc(len)); in test_path_quote()
157 dst = test_alloc(malloc(len)); in test_path_quote()
165 dst = test_alloc(malloc(len)); in test_path_quote()
/dports/multimedia/v4l_compat/linux-5.13-rc2/mm/kfence/
H A Dkfence_test.c321 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_out_of_bounds_read()
345 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_out_of_bounds_write()
393 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_invalid_addr_free()
413 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_corruption()
500 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_shrink_memcache()
522 test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT), in test_free_bulk()
523 test_alloc(test, size, GFP_KERNEL, ALLOCATE_NONE), in test_free_bulk()
524 test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT), in test_free_bulk()
525 test_alloc(test, size, GFP_KERNEL, ALLOCATE_NONE), in test_free_bulk()
526 test_alloc(test, size, GFP_KERNEL, ALLOCATE_NONE), in test_free_bulk()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/mm/kfence/
H A Dkfence_test.c321 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_out_of_bounds_read()
345 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_out_of_bounds_write()
393 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_invalid_addr_free()
413 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_corruption()
500 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_shrink_memcache()
522 test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT), in test_free_bulk()
523 test_alloc(test, size, GFP_KERNEL, ALLOCATE_NONE), in test_free_bulk()
524 test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT), in test_free_bulk()
525 test_alloc(test, size, GFP_KERNEL, ALLOCATE_NONE), in test_free_bulk()
526 test_alloc(test, size, GFP_KERNEL, ALLOCATE_NONE), in test_free_bulk()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/mm/kfence/
H A Dkfence_test.c321 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_out_of_bounds_read()
345 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_out_of_bounds_write()
393 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_invalid_addr_free()
413 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT); in test_corruption()
500 buf = test_alloc(test, size, GFP_KERNEL, ALLOCATE_ANY); in test_shrink_memcache()
522 test_alloc(test, size, GFP_KERNEL, ALLOCATE_RIGHT), in test_free_bulk()
523 test_alloc(test, size, GFP_KERNEL, ALLOCATE_NONE), in test_free_bulk()
524 test_alloc(test, size, GFP_KERNEL, ALLOCATE_LEFT), in test_free_bulk()
525 test_alloc(test, size, GFP_KERNEL, ALLOCATE_NONE), in test_free_bulk()
526 test_alloc(test, size, GFP_KERNEL, ALLOCATE_NONE), in test_free_bulk()
[all …]
/dports/lang/gcc8/gcc-8.5.0/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>; in test01() typedef
38 std::basic_string<char, std::char_traits<char>, test_alloc> in test01()
39 s2{sv, test_alloc{}}; in test01()
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value, in test01()
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>; in test01() typedef
38 std::basic_string<char, std::char_traits<char>, test_alloc> in test01()
39 s2{sv, test_alloc{}}; in test01()
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value, in test01()
/dports/lang/gcc12-devel/gcc-12-20211205/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>; in test01() typedef
38 std::basic_string<char, std::char_traits<char>, test_alloc> in test01()
39 s2{sv, test_alloc{}}; in test01()
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value, in test01()
/dports/lang/gcc10/gcc-10.3.0/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>;
38 std::basic_string<char, std::char_traits<char>, test_alloc>
39 s2{sv, test_alloc{}};
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value,
/dports/lang/gcc11-devel/gcc-11-20211009/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>; in test01() typedef
38 std::basic_string<char, std::char_traits<char>, test_alloc> in test01()
39 s2{sv, test_alloc{}}; in test01()
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value, in test01()
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>; in test01() typedef
38 std::basic_string<char, std::char_traits<char>, test_alloc> in test01()
39 s2{sv, test_alloc{}}; in test01()
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value, in test01()
/dports/devel/avr-gcc/gcc-10.2.0/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>; in test01() typedef
38 std::basic_string<char, std::char_traits<char>, test_alloc> in test01()
39 s2{sv, test_alloc{}}; in test01()
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value, in test01()
/dports/lang/gcc9-devel/gcc-9-20211007/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>; in test01() typedef
38 std::basic_string<char, std::char_traits<char>, test_alloc> in test01()
39 s2{sv, test_alloc{}}; in test01()
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value, in test01()
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>; in test01() typedef
38 std::basic_string<char, std::char_traits<char>, test_alloc> in test01()
39 s2{sv, test_alloc{}}; in test01()
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value, in test01()
/dports/lang/gcc9/gcc-9.4.0/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>; in test01() typedef
38 std::basic_string<char, std::char_traits<char>, test_alloc> in test01()
39 s2{sv, test_alloc{}}; in test01()
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value, in test01()
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>; in test01() typedef
38 std::basic_string<char, std::char_traits<char>, test_alloc> in test01()
39 s2{sv, test_alloc{}}; in test01()
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value, in test01()
/dports/devel/gdb/gdb-11.1/gdb/unittests/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>; in test01() typedef
38 std::basic_string<char, std::char_traits<char>, test_alloc> in test01()
39 s2{sv, test_alloc{}}; in test01()
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value, in test01()
/dports/devel/riscv64-gcc/gcc-8.3.0/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>; in test01() typedef
38 std::basic_string<char, std::char_traits<char>, test_alloc> in test01()
39 s2{sv, test_alloc{}}; in test01()
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value, in test01()
/dports/lang/gcc11/gcc-11.2.0/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>; in test01() typedef
38 std::basic_string<char, std::char_traits<char>, test_alloc> in test01()
39 s2{sv, test_alloc{}}; in test01()
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value, in test01()
/dports/lang/gcc10-devel/gcc-10-20211008/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>; in test01() typedef
38 std::basic_string<char, std::char_traits<char>, test_alloc> in test01()
39 s2{sv, test_alloc{}}; in test01()
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value, in test01()
/dports/misc/cxx_atomics_pic/gcc-11.2.0/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>; in test01() typedef
38 std::basic_string<char, std::char_traits<char>, test_alloc> in test01()
39 s2{sv, test_alloc{}}; in test01()
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value, in test01()
/dports/lang/gcc9-aux/gcc-9.1.0/libstdc++-v3/testsuite/21_strings/basic_string_view/operations/string_conversion/
H A D1.cc37 using test_alloc = __gnu_test::tracker_allocator<char>; in test01() typedef
38 std::basic_string<char, std::char_traits<char>, test_alloc> in test01()
39 s2{sv, test_alloc{}}; in test01()
40 static_assert( std::is_same<decltype(s2)::allocator_type, test_alloc>::value, in test01()

1234567891011