Home
last modified time | relevance | path

Searched refs:int_buf (Results 1 – 3 of 3) sorted by relevance

/external/clang/test/Sema/
Dwarn-type-safety.cpp51 void test1(C *c, int *int_buf) in test1() argument
53 c->MPI_Send(int_buf, 1, MPI_INT); // no-warning in test1()
54 …c->MPI_Send(int_buf, 1, MPI_FLOAT); // expected-warning {{argument type 'int *' doesn't match spec… in test1()
62 void test2(C *c, int *int_buf, T tag) in test2() argument
64 c->MPI_Send(int_buf, 1, tag); // no-warning in test2()
67 void test3(C *c, int *int_buf) { in test3() argument
68 test2(c, int_buf, MPI_INT); in test3()
69 test2(c, int_buf, MPI_NULL); in test3()
Dwarn-type-safety-mpi-hdf5.c138 int *int_buf, in test_mpi_predefined_types() argument
148 MPI_Send(int_buf, 1, MPI_INT); // no-warning in test_mpi_predefined_types()
180 int_buf, 1, MPI_INT); in test_mpi_predefined_types()
185 int_buf, 1, MPI_INT); in test_mpi_predefined_types()
187 …MPI_Gather(int_buf, 0, MPI_DATATYPE_NULL, // expected-warning {{specified mpi type tag requires a … in test_mpi_predefined_types()
188 int_buf, 1, MPI_INT); in test_mpi_predefined_types()
200 void test_user_types(int *int_buf, in test_user_types() argument
205 MPI_Send(int_buf, 1, my_int_datatype); // no-warning in test_user_types()
217 void test_not_annotated(int *int_buf, in test_not_annotated() argument
223 MPI_Send(int_buf, 1, type); // no-warning in test_not_annotated()
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_allocator_test.cc59 InternalScopedBuffer<int> int_buf(kSize); in TEST() local
60 EXPECT_EQ(sizeof(int) * kSize, int_buf.size()); // NOLINT in TEST()