Searched defs:int_buf (Results 1 - 2 of 2) sorted by relevance

/external/clang/test/Sema/
H A Dwarn-type-safety.cpp51 void test1(C *c, int *int_buf) argument
53 c->MPI_Send(int_buf, 1, MPI_INT); // no-warning
54 c->MPI_Send(int_buf, 1, MPI_FLOAT); // expected-warning {{argument type 'int *' doesn't match specified 'mpi' type tag that requires 'float *'}}
64 void test2(C *c, int *int_buf, T tag) argument
66 c->MPI_Send(int_buf, 1, tag); // no-warning
69 void test3(C *c, int *int_buf) { argument
70 test2(c, int_buf, MPI_INT);
71 test2(c, int_buf, MPI_NULL);
H A Dwarn-type-safety-mpi-hdf5.c138 int *int_buf,
148 MPI_Send(int_buf, 1, MPI_INT); // no-warning
184 int_buf, 1, MPI_INT);
189 int_buf, 1, MPI_INT);
191 MPI_Gather(int_buf, 0, MPI_DATATYPE_NULL, // expected-warning {{specified mpi type tag requires a null pointer}}
192 int_buf, 1, MPI_INT);
207 void test_user_types(int *int_buf, argument
213 MPI_Send(int_buf, 1, my_int_datatype); // no-warning
224 MPI_Send(int_buf, 1, my_e1_datatype); // expected-warning {{argument type 'int *' doesn't match specified 'mpi' type tag that requires 'enum E1 *'}}
229 void test_not_annotated(int *int_buf, argument
137 test_mpi_predefined_types( int *int_buf, long *long_buf1, long *long_buf2, void *void_buf, struct pair_float_int *pfi, struct pair_int_int *pii) argument
289 test_hdf5(char *char_buf, signed char *schar_buf, unsigned char *uchar_buf, int *int_buf, long *long_buf) argument
[all...]

Completed in 568 milliseconds