/llvm-project/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.default/ |
H A D | ranges_uninitialized_default_construct.pass.cpp | 45 Buffer<Counted, 1> buf; in main() local 69 Buffer<Counted, 5> buf; in main() local 82 Buffer<Counted, N> buf; in main() local 96 Buffer<Counted, 5> buf; main() local 110 Buffer<Counted, 5> buf; main() local 123 Buffer<Counted, 5> buf; main() local 138 Buffer<Counted, 5> buf; main() local 153 Buffer<Counted, 5> buf; main() local 169 Buffer<Counted, N> buf; main() local 181 Buffer<Counted, N> buf; main() local [all...] |
H A D | ranges_uninitialized_default_construct_n.pass.cpp | 40 Buffer<Counted, 1> buf; in main() local 50 Buffer<Counted, N> buf; in main() local 65 Buffer<Counted, N> buf; in main() local 81 Buffer<Counted, N> buf; main() local [all...] |
/llvm-project/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.construct.value/ |
H A D | ranges_uninitialized_value_construct.pass.cpp | 47 Buffer<Counted, 1> buf; in main() local 71 Buffer<Counted, N> buf; in main() local 84 Buffer<Counted, N> buf; in main() local 98 Buffer<Counted, 5> buf; main() local 111 Buffer<Counted, 5> buf; main() local 124 Buffer<Counted, 5> buf; main() local 156 Buffer<Counted, 5> buf; main() local 172 Buffer<Counted, 5> buf; main() local 189 Buffer<Counted, N> buf; main() local 201 Buffer<Counted, N> buf; main() local [all...] |
H A D | ranges_uninitialized_value_construct_n.pass.cpp | 41 Buffer<Counted, 1> buf; in main() local 51 Buffer<Counted, N> buf; in main() local 83 Buffer<Counted, N> buf; in main() local 100 Buffer<Counted, N> buf; main() local [all...] |
/llvm-project/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.cons/ |
H A D | string.pass.cpp | 25 std::stringbuf buf("testing"); in main() local 29 std::stringbuf buf("testing", std::ios_base::in); in main() local 33 std::stringbuf buf("testing", std::ios_base::out); in main() local 38 std::wstringbuf buf(L"testing"); in main() local 42 std::wstringbuf buf(L"testing", std::ios_base::in); in main() local 46 std::wstringbuf buf(L"testing", std::ios_base::out); in main() local
|
H A D | default.pass.cpp | 53 assert(buf.str() == ""); in main() local 57 buf.check(); in main() local 44 std::stringbuf buf; main() local 48 testbuf<char> buf; main() local
|
H A D | move.pass.cpp | 53 test_stringbuf<CharT> buf(std::move(static_cast<StringBuf&>(buf1))); in test() local 60 test_stringbuf<CharT> buf(std::move(static_cast<StringBuf&>(buf1))); in test() local 67 test_stringbuf<CharT> buf(std::move(static_cast<StringBuf&>(buf1))); in test() local 74 test_stringbuf<CharT> buf(std::move(static_cast<StringBuf&>(buf1))); in test() local 82 StringBuf buf(std::move(buf1)); in test() local
|
H A D | string.move.mode.pass.cpp | 32 const std::basic_stringbuf<CharT> buf(std::move(s)); in test() local 37 const std::basic_stringbuf<CharT> buf(std::move(s), std::ios_base::out); in test() local 42 …const std::basic_stringbuf<CharT, std::char_traits<CharT>, test_allocator<CharT>> buf(std::move(s)… in test() local 47 const std::basic_stringbuf<CharT, std::char_traits<CharT>, test_allocator<CharT>> buf( in test() local
|
/llvm-project/clang/test/Analysis/ |
H A D | out-of-bounds-new.cpp | 7 int *buf = new int[100]; in test1() local 12 int *buf = new int[100]; in test1_ok() local 21 int *buf = new int[100]; in test1_ptr() local 27 int *buf = new int[100]; in test1_ptr_ok() local 37 int *buf = new int[100]; in test1_ptr_arith() local 44 int *buf = new int[100]; in test1_ptr_arith_ok() local 51 int *buf = new int[100]; in test1_ptr_arith_bad() local 58 int *buf = new int[100]; in test1_ptr_arith_ok2() local 68 int *buf = new int[100]; in test2() local 77 int *buf = new int[100]; in test2_ptr() local [all …]
|
H A D | out-of-bounds.c | 9 int buf[100]; in test1() local 14 int buf[100]; in test1_ok() local 38 int buf[100]; in test1_ptr() local 44 int buf[100]; in test1_ptr_ok() local 54 int buf[100]; in test1_ptr_arith() local 61 int buf[100]; in test1_ptr_arith_ok() local 68 int buf[100]; in test1_ptr_arith_bad() local 75 int buf[100]; in test1_ptr_arith_ok2() local 85 int buf[100]; in test2() local 94 int buf[100]; in test2_ptr() local [all …]
|
H A D | mpichecker.cpp | 7 double buf = 0; in matchedWait1() local 21 double buf = 0; in matchedWait2() local 34 double buf = 0; in matchedWait3() local 52 double buf = 0; in missingWait1() local 59 double buf = 0; in missingWait2() local 73 double buf = 0; in doubleNonblocking() local 87 double buf = 0; in doubleNonblocking2() local 101 double buf = 0; in doubleNonblocking3() local 111 double buf = 0; in doubleNonblocking4() local 122 double buf = 0; in tripleNonblocking() local [all …]
|
H A D | undef-buffers.c | 12 char buf[2]; in stackBased1() local 18 char buf[2]; in stackBased2() local 25 char buf[2]; in stackBased3() local 35 char *buf = malloc(2); in heapBased1() local 43 char *buf = malloc(2); in heapBased2() local
|
H A D | std-c-library-functions-arg-constraints.c | 171 void test_notnull_symbolic(FILE *fp, int *buf) { in test_notnull_symbolic() 179 void test_notnull_symbolic2(FILE *fp, int *buf) { in test_notnull_symbolic2() 190 void test_notnull_buffer_1(void *buf) { in test_notnull_buffer_1() 203 void test_notnull_buffer_2(void *buf) { in test_notnull_buffer_2() 216 void test_notnull_buffer_3(void *buf) { in test_notnull_buffer_3() 225 void test_no_node_after_bug(FILE *fp, size_t size, size_t n, void *buf) { in test_no_node_after_bug() 290 char buf[3]; // bugpath-note{{'buf' initialized here}} in test_buf_size_concrete() local 297 char buf[3]; in test_buf_size_symbolic() local 306 char buf[3]; in test_buf_size_symbolic_and_offset() local 317 short buf[3]; // bugpath-note{{'buf' initialized here}} in test_buf_size_concrete_with_multiplication() local [all …]
|
H A D | null-deref-ps-region.c | 46 char buf[13]; in testStackArray() local 51 char *buf = (char *)malloc(13); in testHeapSymbol() local 57 char buf[1]; in testStackArrayOutOfBound() local 64 char *buf = (char *)malloc(1); in testHeapSymbolOutOfBound() local 71 char buf[1]; in testStackArraySameSize() local 76 char *buf = (char *)malloc(1); in testHeapSymbolSameSize() local
|
/llvm-project/libcxx/test/std/utilities/memory/specialized.algorithms/uninitialized.fill/ |
H A D | ranges_uninitialized_fill.pass.cpp | 51 Buffer<Counted, 1> buf; in main() local 77 Buffer<Counted, N> buf; in main() local 91 Buffer<Counted, N> buf; main() local 106 Buffer<Counted, 5> buf; main() local 120 Buffer<Counted, 5> buf; main() local 134 Buffer<Counted, 5> buf; main() local 168 Buffer<Counted, 5> buf; main() local 186 Buffer<Counted, 5> buf; main() local 204 Buffer<Counted, N> buf; main() local 218 Buffer<Counted, N> buf; main() local [all...] |
/llvm-project/libcxx/test/std/input.output/string.streams/stringbuf/stringbuf.assign/ |
H A D | nonmember_swap.pass.cpp | 27 std::stringbuf buf; in main() local 34 std::stringbuf buf; in main() local 41 std::stringbuf buf; in main() local 49 std::wstringbuf buf; in main() local 56 std::wstringbuf buf; in main() local 63 std::wstringbuf buf; in main() local
|
H A D | member_swap.pass.cpp | 25 std::stringbuf buf; in main() local 32 std::stringbuf buf; in main() local 39 std::stringbuf buf; in main() local 47 std::wstringbuf buf; in main() local 54 std::wstringbuf buf; in main() local 61 std::wstringbuf buf; in main() local
|
H A D | move.pass.cpp | 50 test_stringbuf<CharT> buf; in test() local 57 test_stringbuf<CharT> buf; in test() local 64 test_stringbuf<CharT> buf; in test() local 71 test_stringbuf<CharT> buf; in test() local 78 std::basic_stringbuf<CharT> buf; in test() local
|
/llvm-project/libcxx/test/std/input.output/syncstream/syncbuf/syncstream.syncbuf.cons/ |
H A D | cons.pointer.pass.cpp | 37 Buf buf{nullptr}; in test() local 47 Buf buf{&w}; in test() local 67 Buf buf{nullptr}; in test() local 77 Buf buf{&w}; in test() local 97 Buf buf{nullptr}; in test() local 107 Buf buf{&w}; in test() local
|
H A D | cons.pointer.allocator.pass.cpp | 34 Buf buf = {nullptr, alloc}; in test() local 44 Buf buf = {&w, alloc}; in test() local 61 Buf buf = {nullptr, alloc}; in test() local 71 Buf buf{&w, alloc}; in test() local 88 Buf buf = {nullptr, alloc}; in test() local 98 Buf buf{&w, alloc}; in test() local
|
/llvm-project/libcxx/test/std/depr/depr.str.strstreams/depr.strstreambuf/depr.strstreambuf.cons/ |
H A D | scp_size_scp.pass.cpp | 26 signed char buf[] = "abcd"; in main() local 36 signed char buf[] = "abcd"; in main() local 45 signed char buf[] = "abcd"; in main() local 62 signed char buf[] = "abcd"; in main() local 77 signed char buf[10] = "abcd"; in main() local
|
H A D | cp_size_cp.pass.cpp | 26 char buf[] = "abcd"; in main() local 36 char buf[] = "abcd"; in main() local 45 char buf[] = "abcd"; in main() local 62 char buf[] = "abcd"; in main() local 77 char buf[10] = "abcd"; in main() local
|
H A D | ucp_size_ucp.pass.cpp | 26 unsigned char buf[] = "abcd"; in main() local 36 unsigned char buf[] = "abcd"; in main() local 45 unsigned char buf[] = "abcd"; in main() local 62 unsigned char buf[] = "abcd"; in main() local 77 unsigned char buf[10] = "abcd"; in main() local
|
/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
H A D | setvbuf.cpp | 12 void print_one_byte(char *buf) { in print_one_byte() 17 char buf[BUFSIZ]; in test_setbuf() local 33 char buf[BUFSIZ]; in test_setbuffer() local 57 char buf[BUFSIZ]; in test_setvbuf() local
|
/llvm-project/compiler-rt/test/msan/Linux/ |
H A D | xattr.cpp | 34 ssize_t listxattr_wrapper(char *buf, size_t size) { in listxattr_wrapper() 38 ssize_t llistxattr_wrapper(char *buf, size_t size) { in llistxattr_wrapper() 42 ssize_t flistxattr_wrapper(char *buf, size_t size) { in flistxattr_wrapper() 46 ssize_t getxattr_wrapper(const char *name, char *buf, size_t size) { in getxattr_wrapper() 50 ssize_t lgetxattr_wrapper(const char *name, char *buf, size_t size) { in lgetxattr_wrapper() 54 ssize_t fgetxattr_wrapper(const char *name, char *buf, size_t size) { in fgetxattr_wrapper() 58 size_t test_list(ssize_t fun(char*, size_t), char **buf) { in test_list() argument 82 char *buf; in test_get_single_attr() local
|