a 175 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c static void evaluate_assignment(int *a) { a 186 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c if(0 < weights[i][a[i]-1]) { a 188 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c assignment_weight += weights[i][a[i]-1]; a 200 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c best_assignment[i] = a[i]-1; a 207 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c static void visit(int k, int level, int siz, int *a) a 209 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c level = level+1; a[k] = level; a 212 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c evaluate_assignment(a); a 216 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c if (a[i] == 0) a 217 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c visit(i, level, siz, a); a 220 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c level = level-1; a[k] = 0; a 379 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c int rc, *a = NULL; a 581 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c a = (int *) malloc(perm_size * sizeof(int)); a 582 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c if (NULL == a) { a 592 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c memset(a, 0, perm_size * sizeof(int)); a 595 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c visit(0, -1, perm_size, a); a 672 contrib/build-mca-comps-outside-of-tree/btl_tcp2_proc.c free(a); a 1840 ompi/communicator/comm.c int *a, *b; a 1844 ompi/communicator/comm.c a = (int*)p; a 1848 ompi/communicator/comm.c if (a[1] < b[1]) { a 1851 ompi/communicator/comm.c if (a[1] > b[1]) { a 1856 ompi/communicator/comm.c if (a[1] == b[1]) { a 1857 ompi/communicator/comm.c if (a[0] < b[0]) { a 1860 ompi/communicator/comm.c if (a[0] == b[0]) { a 1863 ompi/communicator/comm.c if (a[0] > b[0]) { a 311 ompi/datatype/ompi_datatype.h int32_t * ca, ptrdiff_t* a, a 315 ompi/datatype/ompi_datatype.h int32_t ca, const ptrdiff_t* a, a 44 ompi/datatype/ompi_datatype_args.c __ompi_datatype_create_from_args( int32_t* i, ptrdiff_t * a, a 55 ompi/datatype/ompi_datatype_args.c ptrdiff_t* a; a 91 ompi/datatype/ompi_datatype_args.c if( pArgs->ca == 0 ) pArgs->a = NULL; \ a 93 ompi/datatype/ompi_datatype_args.c pArgs->a = (ptrdiff_t*)buf; \ a 113 ompi/datatype/ompi_datatype_args.c int32_t ca, const ptrdiff_t* a, a 225 ompi/datatype/ompi_datatype_args.c if( pArgs->a != NULL ) a 226 ompi/datatype/ompi_datatype_args.c memcpy( pArgs->a, a, ca * sizeof(ptrdiff_t) ); a 271 ompi/datatype/ompi_datatype_args.c if( pArgs->a != NULL ) { a 274 ompi/datatype/ompi_datatype_args.c printf( "%ld ", (long)pArgs->a[i] ); a 323 ompi/datatype/ompi_datatype_args.c int32_t* ca, ptrdiff_t* a, a 359 ompi/datatype/ompi_datatype_args.c if( (NULL != a) && (NULL != pArgs->a) ) { a 360 ompi/datatype/ompi_datatype_args.c memcpy( a, pArgs->a, pArgs->ca * sizeof(ptrdiff_t) ); a 455 ompi/datatype/ompi_datatype_args.c memcpy( next_packed, args->a, sizeof(ptrdiff_t) * args->ca ); a 684 ompi/datatype/ompi_datatype_args.c static ompi_datatype_t* __ompi_datatype_create_from_args( int32_t* i, MPI_Aint* a, a 712 ompi/datatype/ompi_datatype_args.c ompi_datatype_create_hvector( i[0], i[1], a[0], d[0], &datatype ); a 715 ompi/datatype/ompi_datatype_args.c ompi_datatype_set_args( datatype, 2, a_i, 1, a, 1, d, MPI_COMBINER_HVECTOR ); a 729 ompi/datatype/ompi_datatype_args.c ompi_datatype_create_hindexed( i[0], &(i[1]), a, d[0], &datatype ); a 732 ompi/datatype/ompi_datatype_args.c ompi_datatype_set_args( datatype, i[0] + 1, a_i, i[0], a, 1, d, MPI_COMBINER_HINDEXED ); a 746 ompi/datatype/ompi_datatype_args.c ompi_datatype_create_struct( i[0], &(i[1]), a, d, &datatype ); a 749 ompi/datatype/ompi_datatype_args.c ompi_datatype_set_args( datatype, i[0] + 1, a_i, i[0], a, i[0], d, MPI_COMBINER_STRUCT ); a 787 ompi/datatype/ompi_datatype_args.c ompi_datatype_create_resized(d[0], a[0], a[1], &datatype); a 788 ompi/datatype/ompi_datatype_args.c ompi_datatype_set_args( datatype, 0, NULL, 2, a, 1, d, MPI_COMBINER_RESIZED ); a 792 ompi/datatype/ompi_datatype_args.c ompi_datatype_create_hindexed_block( i[0], i[1], a, d[0], &datatype ); a 795 ompi/datatype/ompi_datatype_args.c ompi_datatype_set_args( datatype, 2, a_i, i[0], a, 1, d, MPI_COMBINER_HINDEXED_BLOCK ); a 51 ompi/debuggers/ompi_mpihandles_dll.c #define OPAL_ALIGN(x,a,t) (((x)+((t)(a)-1)) & ~(((t)(a)-1))) a 146 ompi/debuggers/ompi_msgq_dll.c #define concat(a,b) a/**/b a 147 ompi/debuggers/ompi_msgq_dll.c #define stringize(a) "a" a 149 ompi/debuggers/ompi_msgq_dll.c #define concat(a,b) a##b a 150 ompi/debuggers/ompi_msgq_dll.c #define stringize(a) #a a 153 ompi/debuggers/ompi_msgq_dll.c #define OPAL_ALIGN(x,a,t) (((x)+((t)(a)-1)) & ~(((t)(a)-1))) a 579 ompi/debuggers/ompi_msgq_dll.c static int compare_comms (const void *a, const void *b) a 581 ompi/debuggers/ompi_msgq_dll.c communicator_t * ca = *(communicator_t **)a; a 32 ompi/include/mpif-externals.h ! Note that MPI_CONVERSION_FN_NULL is a "constant" (it is only ever a 34 ompi/include/mpif-externals.h ! a function pointer (to MPI_REGISTER_DATAREP) and therefore must be a 307 ompi/mca/coll/base/coll_base_comm_select.c static int avail_coll_compare (opal_list_item_t **a, a 309 ompi/mca/coll/base/coll_base_comm_select.c avail_coll_t *acoll = (avail_coll_t *) *a; a 303 ompi/mca/coll/base/coll_base_reduce_scatter_block.c static int ompi_range_sum(int a, int b, int r) a 305 ompi/mca/coll/base/coll_base_reduce_scatter_block.c if (r < a) a 306 ompi/mca/coll/base/coll_base_reduce_scatter_block.c return b - a + 1; a 308 ompi/mca/coll/base/coll_base_reduce_scatter_block.c return 2 * (b - a + 1); a 309 ompi/mca/coll/base/coll_base_reduce_scatter_block.c return 2 * (r - a + 1) + b - r; a 41 ompi/mca/coll/libnbc/libdict/dict.c const int *a = (int*)k1, *b = (int*)k2; a 43 ompi/mca/coll/libnbc/libdict/dict.c return (*a < *b) ? -1 : (*a > *b) ? +1 : 0; a 49 ompi/mca/coll/libnbc/libdict/dict.c const unsigned int *a = (unsigned int*)k1, *b = (unsigned int*)k2; a 51 ompi/mca/coll/libnbc/libdict/dict.c return (*a < *b) ? -1 : (*a > *b) ? +1 : 0; a 57 ompi/mca/coll/libnbc/libdict/dict.c const long *a = (long*)k1, *b = (long*)k2; a 59 ompi/mca/coll/libnbc/libdict/dict.c return (*a < *b) ? -1 : (*a > *b) ? +1 : 0; a 65 ompi/mca/coll/libnbc/libdict/dict.c const unsigned long *a = (unsigned long*)k1, *b = (unsigned long*)k2; a 67 ompi/mca/coll/libnbc/libdict/dict.c return (*a < *b) ? -1 : (*a > *b) ? +1 : 0; a 79 ompi/mca/coll/libnbc/libdict/dict.c const char *a = (char*)k1, *b = (char*)k2; a 83 ompi/mca/coll/libnbc/libdict/dict.c p = *a++; q = *b++; a 67 ompi/mca/coll/libnbc/libdict/dict_private.h #define ABS(a) ((a) < 0 ? -(a) : +(a)) a 68 ompi/mca/coll/libnbc/libdict/dict_private.h #define MIN(a,b) ((a) < (b) ? (a) : (b)) a 69 ompi/mca/coll/libnbc/libdict/dict_private.h #define MAX(a,b) ((a) > (b) ? (a) : (b)) a 70 ompi/mca/coll/libnbc/libdict/dict_private.h #define SWAP(a,b,v) v = (a), (a) = (b), (b) = v a 34 ompi/mca/coll/libnbc/nbc_iallgather.c int NBC_Allgather_args_compare(NBC_Allgather_args *a, NBC_Allgather_args *b, void *param) { a 35 ompi/mca/coll/libnbc/nbc_iallgather.c if ((a->sendbuf == b->sendbuf) && a 36 ompi/mca/coll/libnbc/nbc_iallgather.c (a->sendcount == b->sendcount) && a 37 ompi/mca/coll/libnbc/nbc_iallgather.c (a->sendtype == b->sendtype) && a 38 ompi/mca/coll/libnbc/nbc_iallgather.c (a->recvbuf == b->recvbuf) && a 39 ompi/mca/coll/libnbc/nbc_iallgather.c (a->recvcount == b->recvcount) && a 40 ompi/mca/coll/libnbc/nbc_iallgather.c (a->recvtype == b->recvtype) ) { a 44 ompi/mca/coll/libnbc/nbc_iallgather.c if( a->sendbuf < b->sendbuf ) { a 44 ompi/mca/coll/libnbc/nbc_iallreduce.c int NBC_Allreduce_args_compare(NBC_Allreduce_args *a, NBC_Allreduce_args *b, void *param) { a 45 ompi/mca/coll/libnbc/nbc_iallreduce.c if ((a->sendbuf == b->sendbuf) && a 46 ompi/mca/coll/libnbc/nbc_iallreduce.c (a->recvbuf == b->recvbuf) && a 47 ompi/mca/coll/libnbc/nbc_iallreduce.c (a->count == b->count) && a 48 ompi/mca/coll/libnbc/nbc_iallreduce.c (a->datatype == b->datatype) && a 49 ompi/mca/coll/libnbc/nbc_iallreduce.c (a->op == b->op)) { a 53 ompi/mca/coll/libnbc/nbc_iallreduce.c if( a->sendbuf < b->sendbuf ) { a 38 ompi/mca/coll/libnbc/nbc_ialltoall.c int NBC_Alltoall_args_compare(NBC_Alltoall_args *a, NBC_Alltoall_args *b, void *param) { a 39 ompi/mca/coll/libnbc/nbc_ialltoall.c if ((a->sendbuf == b->sendbuf) && a 40 ompi/mca/coll/libnbc/nbc_ialltoall.c (a->sendcount == b->sendcount) && a 41 ompi/mca/coll/libnbc/nbc_ialltoall.c (a->sendtype == b->sendtype) && a 42 ompi/mca/coll/libnbc/nbc_ialltoall.c (a->recvbuf == b->recvbuf) && a 43 ompi/mca/coll/libnbc/nbc_ialltoall.c (a->recvcount == b->recvcount) && a 44 ompi/mca/coll/libnbc/nbc_ialltoall.c (a->recvtype == b->recvtype)) { a 48 ompi/mca/coll/libnbc/nbc_ialltoall.c if( a->sendbuf < b->sendbuf ) { a 34 ompi/mca/coll/libnbc/nbc_ibcast.c int NBC_Bcast_args_compare(NBC_Bcast_args *a, NBC_Bcast_args *b, void *param) { a 35 ompi/mca/coll/libnbc/nbc_ibcast.c if ((a->buffer == b->buffer) && a 36 ompi/mca/coll/libnbc/nbc_ibcast.c (a->count == b->count) && a 37 ompi/mca/coll/libnbc/nbc_ibcast.c (a->datatype == b->datatype) && a 38 ompi/mca/coll/libnbc/nbc_ibcast.c (a->root == b->root) ) { a 42 ompi/mca/coll/libnbc/nbc_ibcast.c if( a->buffer < b->buffer ) { a 37 ompi/mca/coll/libnbc/nbc_iexscan.c int NBC_Scan_args_compare(NBC_Scan_args *a, NBC_Scan_args *b, void *param) { a 38 ompi/mca/coll/libnbc/nbc_iexscan.c if ((a->sendbuf == b->sendbuf) && a 39 ompi/mca/coll/libnbc/nbc_iexscan.c (a->recvbuf == b->recvbuf) && a 40 ompi/mca/coll/libnbc/nbc_iexscan.c (a->count == b->count) && a 41 ompi/mca/coll/libnbc/nbc_iexscan.c (a->datatype == b->datatype) && a 42 ompi/mca/coll/libnbc/nbc_iexscan.c (a->op == b->op) ) { a 46 ompi/mca/coll/libnbc/nbc_iexscan.c if( a->sendbuf < b->sendbuf ) { a 28 ompi/mca/coll/libnbc/nbc_igather.c int NBC_Gather_args_compare(NBC_Gather_args *a, NBC_Gather_args *b, void *param) { a 29 ompi/mca/coll/libnbc/nbc_igather.c if ((a->sendbuf == b->sendbuf) && a 30 ompi/mca/coll/libnbc/nbc_igather.c (a->sendcount == b->sendcount) && a 31 ompi/mca/coll/libnbc/nbc_igather.c (a->sendtype == b->sendtype) && a 32 ompi/mca/coll/libnbc/nbc_igather.c (a->recvbuf == b->recvbuf) && a 33 ompi/mca/coll/libnbc/nbc_igather.c (a->recvcount == b->recvcount) && a 34 ompi/mca/coll/libnbc/nbc_igather.c (a->recvtype == b->recvtype) && a 35 ompi/mca/coll/libnbc/nbc_igather.c (a->root == b->root)) { a 39 ompi/mca/coll/libnbc/nbc_igather.c if( a->sendbuf < b->sendbuf ) { a 28 ompi/mca/coll/libnbc/nbc_ineighbor_allgather.c int NBC_Ineighbor_allgather_args_compare(NBC_Ineighbor_allgather_args *a, NBC_Ineighbor_allgather_args *b, void *param) { a 29 ompi/mca/coll/libnbc/nbc_ineighbor_allgather.c if ((a->sbuf == b->sbuf) && a 30 ompi/mca/coll/libnbc/nbc_ineighbor_allgather.c (a->scount == b->scount) && a 31 ompi/mca/coll/libnbc/nbc_ineighbor_allgather.c (a->stype == b->stype) && a 32 ompi/mca/coll/libnbc/nbc_ineighbor_allgather.c (a->rbuf == b->rbuf) && a 33 ompi/mca/coll/libnbc/nbc_ineighbor_allgather.c (a->rcount == b->rcount) && a 34 ompi/mca/coll/libnbc/nbc_ineighbor_allgather.c (a->rtype == b->rtype) ) { a 38 ompi/mca/coll/libnbc/nbc_ineighbor_allgather.c if( a->sbuf < b->sbuf ) { a 28 ompi/mca/coll/libnbc/nbc_ineighbor_allgatherv.c int NBC_Ineighbor_allgatherv_args_compare(NBC_Ineighbor_allgatherv_args *a, NBC_Ineighbor_allgatherv_args *b, void *param) { a 29 ompi/mca/coll/libnbc/nbc_ineighbor_allgatherv.c if ((a->sbuf == b->sbuf) && a 30 ompi/mca/coll/libnbc/nbc_ineighbor_allgatherv.c (a->scount == b->scount) && a 31 ompi/mca/coll/libnbc/nbc_ineighbor_allgatherv.c (a->stype == b->stype) && a 32 ompi/mca/coll/libnbc/nbc_ineighbor_allgatherv.c (a->rbuf == b->rbuf) && a 33 ompi/mca/coll/libnbc/nbc_ineighbor_allgatherv.c (a->rcount == b->rcount) && a 34 ompi/mca/coll/libnbc/nbc_ineighbor_allgatherv.c (a->rtype == b->rtype) ) { a 38 ompi/mca/coll/libnbc/nbc_ineighbor_allgatherv.c if( a->sbuf < b->sbuf ) { a 28 ompi/mca/coll/libnbc/nbc_ineighbor_alltoall.c int NBC_Ineighbor_alltoall_args_compare(NBC_Ineighbor_alltoall_args *a, NBC_Ineighbor_alltoall_args *b, void *param) { a 29 ompi/mca/coll/libnbc/nbc_ineighbor_alltoall.c if( (a->sbuf == b->sbuf) && a 30 ompi/mca/coll/libnbc/nbc_ineighbor_alltoall.c (a->scount == b->scount) && a 31 ompi/mca/coll/libnbc/nbc_ineighbor_alltoall.c (a->stype == b->stype) && a 32 ompi/mca/coll/libnbc/nbc_ineighbor_alltoall.c (a->rbuf == b->rbuf) && a 33 ompi/mca/coll/libnbc/nbc_ineighbor_alltoall.c (a->rcount == b->rcount) && a 34 ompi/mca/coll/libnbc/nbc_ineighbor_alltoall.c (a->rtype == b->rtype) ) { a 37 ompi/mca/coll/libnbc/nbc_ineighbor_alltoall.c if( a->sbuf < b->sbuf ) { a 28 ompi/mca/coll/libnbc/nbc_ineighbor_alltoallv.c int NBC_Ineighbor_alltoallv_args_compare(NBC_Ineighbor_alltoallv_args *a, NBC_Ineighbor_alltoallv_args *b, void *param) { a 29 ompi/mca/coll/libnbc/nbc_ineighbor_alltoallv.c if ((a->sbuf == b->sbuf) && a 30 ompi/mca/coll/libnbc/nbc_ineighbor_alltoallv.c (a->scount == b->scount) && a 31 ompi/mca/coll/libnbc/nbc_ineighbor_alltoallv.c (a->stype == b->stype) && a 32 ompi/mca/coll/libnbc/nbc_ineighbor_alltoallv.c (a->rbuf == b->rbuf) && a 33 ompi/mca/coll/libnbc/nbc_ineighbor_alltoallv.c (a->rcount == b->rcount) && a 34 ompi/mca/coll/libnbc/nbc_ineighbor_alltoallv.c (a->rtype == b->rtype) ) { a 38 ompi/mca/coll/libnbc/nbc_ineighbor_alltoallv.c if (a->sbuf < b->sbuf) { a 28 ompi/mca/coll/libnbc/nbc_ineighbor_alltoallw.c int NBC_Ineighbor_alltoallw_args_compare(NBC_Ineighbor_alltoallw_args *a, NBC_Ineighbor_alltoallw_args *b, void *param) { a 29 ompi/mca/coll/libnbc/nbc_ineighbor_alltoallw.c if ((a->sbuf == b->sbuf) && a 30 ompi/mca/coll/libnbc/nbc_ineighbor_alltoallw.c (a->scount == b->scount) && a 31 ompi/mca/coll/libnbc/nbc_ineighbor_alltoallw.c (a->stype == b->stype) && a 32 ompi/mca/coll/libnbc/nbc_ineighbor_alltoallw.c (a->rbuf == b->rbuf) && a 33 ompi/mca/coll/libnbc/nbc_ineighbor_alltoallw.c (a->rcount == b->rcount) && a 34 ompi/mca/coll/libnbc/nbc_ineighbor_alltoallw.c (a->rtype == b->rtype)) { a 38 ompi/mca/coll/libnbc/nbc_ineighbor_alltoallw.c if (a->sbuf < b->sbuf) { a 181 ompi/mca/coll/libnbc/nbc_internal.h int NBC_Alltoall_args_compare(NBC_Alltoall_args *a, NBC_Alltoall_args *b, void *param); a 192 ompi/mca/coll/libnbc/nbc_internal.h int NBC_Allgather_args_compare(NBC_Allgather_args *a, NBC_Allgather_args *b, void *param); a 202 ompi/mca/coll/libnbc/nbc_internal.h int NBC_Allreduce_args_compare(NBC_Allreduce_args *a, NBC_Allreduce_args *b, void *param); a 211 ompi/mca/coll/libnbc/nbc_internal.h int NBC_Bcast_args_compare(NBC_Bcast_args *a, NBC_Bcast_args *b, void *param); a 223 ompi/mca/coll/libnbc/nbc_internal.h int NBC_Gather_args_compare(NBC_Gather_args *a, NBC_Gather_args *b, void *param); a 234 ompi/mca/coll/libnbc/nbc_internal.h int NBC_Reduce_args_compare(NBC_Reduce_args *a, NBC_Reduce_args *b, void *param); a 244 ompi/mca/coll/libnbc/nbc_internal.h int NBC_Scan_args_compare(NBC_Scan_args *a, NBC_Scan_args *b, void *param); a 256 ompi/mca/coll/libnbc/nbc_internal.h int NBC_Scatter_args_compare(NBC_Scatter_args *a, NBC_Scatter_args *b, void *param); a 43 ompi/mca/coll/libnbc/nbc_ireduce.c int NBC_Reduce_args_compare(NBC_Reduce_args *a, NBC_Reduce_args *b, void *param) { a 44 ompi/mca/coll/libnbc/nbc_ireduce.c if ((a->sendbuf == b->sendbuf) && a 45 ompi/mca/coll/libnbc/nbc_ireduce.c (a->recvbuf == b->recvbuf) && a 46 ompi/mca/coll/libnbc/nbc_ireduce.c (a->count == b->count) && a 47 ompi/mca/coll/libnbc/nbc_ireduce.c (a->datatype == b->datatype) && a 48 ompi/mca/coll/libnbc/nbc_ireduce.c (a->op == b->op) && a 49 ompi/mca/coll/libnbc/nbc_ireduce.c (a->root == b->root)) { a 53 ompi/mca/coll/libnbc/nbc_ireduce.c if (a->sendbuf < b->sendbuf) { a 37 ompi/mca/coll/libnbc/nbc_iscan.c int NBC_Scan_args_compare(NBC_Scan_args *a, NBC_Scan_args *b, void *param) { a 38 ompi/mca/coll/libnbc/nbc_iscan.c if ((a->sendbuf == b->sendbuf) && a 39 ompi/mca/coll/libnbc/nbc_iscan.c (a->recvbuf == b->recvbuf) && a 40 ompi/mca/coll/libnbc/nbc_iscan.c (a->count == b->count) && a 41 ompi/mca/coll/libnbc/nbc_iscan.c (a->datatype == b->datatype) && a 42 ompi/mca/coll/libnbc/nbc_iscan.c (a->op == b->op) ) { a 46 ompi/mca/coll/libnbc/nbc_iscan.c if (a->sendbuf < b->sendbuf) { a 28 ompi/mca/coll/libnbc/nbc_iscatter.c int NBC_Scatter_args_compare(NBC_Scatter_args *a, NBC_Scatter_args *b, void *param) { a 29 ompi/mca/coll/libnbc/nbc_iscatter.c if ((a->sendbuf == b->sendbuf) && a 30 ompi/mca/coll/libnbc/nbc_iscatter.c (a->sendcount == b->sendcount) && a 31 ompi/mca/coll/libnbc/nbc_iscatter.c (a->sendtype == b->sendtype) && a 32 ompi/mca/coll/libnbc/nbc_iscatter.c (a->recvbuf == b->recvbuf) && a 33 ompi/mca/coll/libnbc/nbc_iscatter.c (a->recvcount == b->recvcount) && a 34 ompi/mca/coll/libnbc/nbc_iscatter.c (a->recvtype == b->recvtype) && a 35 ompi/mca/coll/libnbc/nbc_iscatter.c (a->root == b->root)) { a 39 ompi/mca/coll/libnbc/nbc_iscatter.c if (a->sendbuf < b->sendbuf) { a 359 ompi/mca/coll/portals4/coll_portals4.h #define div(a,b) (((a)+(b)-1) / (b)) a 360 ompi/mca/coll/portals4/coll_portals4.h #define min(a,b) (((a) < (b)) ? (a) : (b)) a 361 ompi/mca/coll/portals4/coll_portals4.h #define min_zero(a) (((a) < 0) ? 0 : (a)) a 56 ompi/mca/coll/sm/coll_sm_reduce.c static inline int min(int a, int b) a 58 ompi/mca/coll/sm/coll_sm_reduce.c return (a < b) ? a : b; a 468 ompi/mca/coll/tuned/coll_tuned_decision_fixed.c const double a = 0.0012; a 496 ompi/mca/coll/tuned/coll_tuned_decision_fixed.c (comm_size >= a * total_message_size + b)) { a 45 ompi/mca/common/ompio/common_ompio.h #define OMPIO_MIN(a, b) (((a) < (b)) ? (a) : (b)) a 46 ompi/mca/common/ompio/common_ompio.h #define OMPIO_MAX(a, b) (((a) < (b)) ? (b) : (a)) a 572 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c #define TRAFFIC_MSG_DUMP_PEER(lv, a) { \ a 574 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c traffic_message_dump_peer a; \ a 577 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c #define TRAFFIC_MSG_DUMP_MSG_LIST(lv, a) { \ a 579 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c traffic_message_dump_msg_list a; \ a 582 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c #define TRAFFIC_MSG_DUMP_MSG_INDV(lv, a) { \ a 584 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c traffic_message_dump_msg_indv a; \ a 587 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c #define TRAFFIC_MSG_DUMP_MSG_CONTENT_INDV(lv, a) { \ a 589 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c traffic_message_dump_msg_content_indv a; \ a 592 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c #define TRAFFIC_MSG_DUMP_DRAIN_MSG_INDV(lv, a) { \ a 594 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c traffic_message_dump_drain_msg_indv a; \ a 598 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c #define TRAFFIC_MSG_DUMP_PEER(lv, a) ; a 599 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c #define TRAFFIC_MSG_DUMP_MSG_LIST(lv, a) ; a 600 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c #define TRAFFIC_MSG_DUMP_MSG_INDV(lv, a) ; a 601 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c #define TRAFFIC_MSG_DUMP_MSG_CONTENT_INDV(lv, a) ; a 602 ompi/mca/crcp/bkmrk/crcp_bkmrk_pml.c #define TRAFFIC_MSG_DUMP_DRAIN_MSG_INDV(lv, a) ; a 1426 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c heap_struct *a, tmp; a 1429 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a = (heap_struct *) malloc((nprocs_recv+1)*sizeof(heap_struct)); a 1434 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[j].off_list = &(others_req[i].offsets[start_pos[i]]); a 1435 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[j].len_list = &(others_req[i].lens[start_pos[i]]); a 1436 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[j].nelem = count[i]; a 1448 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c (*(a[l].off_list) < *(a[k].off_list))) a 1453 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c (*(a[r].off_list) < *(a[smallest].off_list))) a 1457 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c tmp.off_list = a[k].off_list; a 1458 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c tmp.len_list = a[k].len_list; a 1459 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c tmp.nelem = a[k].nelem; a 1461 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[k].off_list = a[smallest].off_list; a 1462 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[k].len_list = a[smallest].len_list; a 1463 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[k].nelem = a[smallest].nelem; a 1465 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[smallest].off_list = tmp.off_list; a 1466 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[smallest].len_list = tmp.len_list; a 1467 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[smallest].nelem = tmp.nelem; a 1478 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c srt_off[i] = *(a[0].off_list); a 1479 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c srt_len[i] = *(a[0].len_list); a 1480 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c (a[0].nelem)--; a 1482 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c if (!a[0].nelem) { a 1483 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[0].off_list = a[heapsize-1].off_list; a 1484 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[0].len_list = a[heapsize-1].len_list; a 1485 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[0].nelem = a[heapsize-1].nelem; a 1489 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c (a[0].off_list)++; a 1490 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c (a[0].len_list)++; a 1500 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c (*(a[l].off_list) < *(a[k].off_list))) a 1505 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c (*(a[r].off_list) < *(a[smallest].off_list))) a 1509 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c tmp.off_list = a[k].off_list; a 1510 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c tmp.len_list = a[k].len_list; a 1511 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c tmp.nelem = a[k].nelem; a 1513 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[k].off_list = a[smallest].off_list; a 1514 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[k].len_list = a[smallest].len_list; a 1515 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[k].nelem = a[smallest].nelem; a 1517 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[smallest].off_list = tmp.off_list; a 1518 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[smallest].len_list = tmp.len_list; a 1519 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c a[smallest].nelem = tmp.nelem; a 1526 ompi/mca/fcoll/two_phase/fcoll_two_phase_file_write_all.c free(a); a 1412 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c heap_struct *a, tmp; a 1415 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a = (heap_struct *) ADIOI_Malloc((nprocs_recv+1)*sizeof(heap_struct)); a 1420 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[j].off_list = &(others_req[i].offsets[start_pos[i]]); a 1421 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[j].len_list = &(others_req[i].lens[start_pos[i]]); a 1422 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[j].nelem = count[i]; a 1441 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c (*(a[l].off_list) < *(a[k].off_list))) a 1446 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c (*(a[r].off_list) < *(a[smallest].off_list))) a 1450 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c tmp.off_list = a[k].off_list; a 1451 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c tmp.len_list = a[k].len_list; a 1452 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c tmp.nelem = a[k].nelem; a 1454 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[k].off_list = a[smallest].off_list; a 1455 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[k].len_list = a[smallest].len_list; a 1456 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[k].nelem = a[smallest].nelem; a 1458 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[smallest].off_list = tmp.off_list; a 1459 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[smallest].len_list = tmp.len_list; a 1460 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[smallest].nelem = tmp.nelem; a 1470 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c srt_off[i] = *(a[0].off_list); a 1471 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c srt_len[i] = *(a[0].len_list); a 1472 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c (a[0].nelem)--; a 1474 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c if (!a[0].nelem) { a 1475 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[0].off_list = a[heapsize-1].off_list; a 1476 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[0].len_list = a[heapsize-1].len_list; a 1477 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[0].nelem = a[heapsize-1].nelem; a 1481 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c (a[0].off_list)++; a 1482 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c (a[0].len_list)++; a 1492 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c (*(a[l].off_list) < *(a[k].off_list))) a 1497 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c (*(a[r].off_list) < *(a[smallest].off_list))) a 1501 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c tmp.off_list = a[k].off_list; a 1502 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c tmp.len_list = a[k].len_list; a 1503 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c tmp.nelem = a[k].nelem; a 1505 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[k].off_list = a[smallest].off_list; a 1506 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[k].len_list = a[smallest].len_list; a 1507 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[k].nelem = a[smallest].nelem; a 1509 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[smallest].off_list = tmp.off_list; a 1510 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[smallest].len_list = tmp.len_list; a 1511 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c a[smallest].nelem = tmp.nelem; a 1519 ompi/mca/io/romio321/romio/adio/ad_gpfs/ad_gpfs_wrcoll.c ADIOI_Free(a); a 55 ompi/mca/io/romio321/romio/adio/ad_gpfs/bg/ad_bg_pset.h #define MIN(a,b) (((a)<(b) ? (a) : (b))) a 979 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c heap_struct *a, tmp; a 982 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a = (heap_struct *) ADIOI_Malloc((nprocs_recv+1)*sizeof(heap_struct)); a 987 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[j].off_list = &(others_req[i].offsets[start_pos[i]]); a 988 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[j].len_list = &(others_req[i].lens[start_pos[i]]); a 989 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[j].nelem = count[i]; a 1008 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c (*(a[l].off_list) < *(a[k].off_list))) a 1013 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c (*(a[r].off_list) < *(a[smallest].off_list))) a 1017 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c tmp.off_list = a[k].off_list; a 1018 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c tmp.len_list = a[k].len_list; a 1019 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c tmp.nelem = a[k].nelem; a 1021 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[k].off_list = a[smallest].off_list; a 1022 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[k].len_list = a[smallest].len_list; a 1023 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[k].nelem = a[smallest].nelem; a 1025 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[smallest].off_list = tmp.off_list; a 1026 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[smallest].len_list = tmp.len_list; a 1027 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[smallest].nelem = tmp.nelem; a 1037 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c srt_off[i] = *(a[0].off_list); a 1038 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c srt_len[i] = *(a[0].len_list); a 1039 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c (a[0].nelem)--; a 1041 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c if (!a[0].nelem) { a 1042 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[0].off_list = a[heapsize-1].off_list; a 1043 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[0].len_list = a[heapsize-1].len_list; a 1044 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[0].nelem = a[heapsize-1].nelem; a 1048 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c (a[0].off_list)++; a 1049 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c (a[0].len_list)++; a 1059 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c (*(a[l].off_list) < *(a[k].off_list))) a 1064 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c (*(a[r].off_list) < *(a[smallest].off_list))) a 1068 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c tmp.off_list = a[k].off_list; a 1069 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c tmp.len_list = a[k].len_list; a 1070 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c tmp.nelem = a[k].nelem; a 1072 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[k].off_list = a[smallest].off_list; a 1073 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[k].len_list = a[smallest].len_list; a 1074 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[k].nelem = a[smallest].nelem; a 1076 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[smallest].off_list = tmp.off_list; a 1077 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[smallest].len_list = tmp.len_list; a 1078 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c a[smallest].nelem = tmp.nelem; a 1085 ompi/mca/io/romio321/romio/adio/common/ad_write_coll.c ADIOI_Free(a); a 39 ompi/mca/io/romio321/romio/adio/include/adio.h #define FORT_MIXED_LEN(a) , int a a 40 ompi/mca/io/romio321/romio/adio/include/adio.h #define FORT_END_LEN(a) a 44 ompi/mca/io/romio321/romio/adio/include/adio.h #define FORT_MIXED_LEN(a) a 45 ompi/mca/io/romio321/romio/adio/include/adio.h #define FORT_END_LEN(a) , int a a 60 ompi/mca/io/romio321/romio/adio/include/adio.h #define ADIOI_UNREFERENCED_ARG(a) a a 62 ompi/mca/io/romio321/romio/adio/include/adio.h #define ADIOI_UNREFERENCED_ARG(a) a 222 ompi/mca/io/romio321/romio/adio/include/adioi.h #define ADIOI_MIN(a, b) ((a) < (b) ? (a) : (b)) a 223 ompi/mca/io/romio321/romio/adio/include/adioi.h #define ADIOI_MAX(a, b) ((a) > (b) ? (a) : (b)) a 933 ompi/mca/io/romio321/romio/adio/include/adioi.h #define ADIOI_Malloc(a) ADIOI_Malloc_fn(a,__LINE__,__FILE__) a 934 ompi/mca/io/romio321/romio/adio/include/adioi.h #define ADIOI_Calloc(a,b) ADIOI_Calloc_fn(a,b,__LINE__,__FILE__) a 935 ompi/mca/io/romio321/romio/adio/include/adioi.h #define ADIOI_Realloc(a,b) ADIOI_Realloc_fn(a,b,__LINE__,__FILE__) a 936 ompi/mca/io/romio321/romio/adio/include/adioi.h #define ADIOI_Free(a) ADIOI_Free_fn(a,__LINE__,__FILE__) a 963 ompi/mca/io/romio321/romio/adio/include/adioi.h #define ATTRIBUTE(a) __attribute__(a) a 965 ompi/mca/io/romio321/romio/adio/include/adioi.h #define ATTRIBUTE(a) a 48 ompi/mca/io/romio321/romio/mpi-io/mpioimpl.h #define MPIU_UNREFERENCED_ARG(a) a a 50 ompi/mca/io/romio321/romio/mpi-io/mpioimpl.h #define MPIU_UNREFERENCED_ARG(a) a 446 ompi/mca/mtl/mtl.h #define OMPI_MTL_CALL_STAMP(a, b) ompi_mtl_ ## a ## _ ## b a 447 ompi/mca/mtl/mtl.h #define OMPI_MTL_CALL_EXPANDER(a, b) OMPI_MTL_CALL_STAMP(a,b) a 448 ompi/mca/mtl/mtl.h #define OMPI_MTL_CALL(a) OMPI_MTL_CALL_EXPANDER(MCA_ompi_mtl_DIRECT_CALL_COMPONENT, a) a 453 ompi/mca/mtl/mtl.h #define OMPI_MTL_CALL(a) ompi_mtl->mtl_ ## a a 329 ompi/mca/mtl/portals4/mtl_portals4_flowctl.c ompi_mtl_portals4_pending_request_t *a = a 334 ompi/mca/mtl/portals4/mtl_portals4_flowctl.c if (a->ptl_request->opcount > b->ptl_request->opcount) { a 336 ompi/mca/mtl/portals4/mtl_portals4_flowctl.c } else if (a->ptl_request->opcount == b->ptl_request->opcount) { a 248 ompi/mca/mtl/psm/mtl_psm.c # define min(a,b) ((a) < (b) ? (a) : (b)) a 252 ompi/mca/mtl/psm/mtl_psm.c # define max(a,b) ((a) > (b) ? (a) : (b)) a 236 ompi/mca/mtl/psm2/mtl_psm2.c # define min(a,b) ((a) < (b) ? (a) : (b)) a 240 ompi/mca/mtl/psm2/mtl_psm2.c # define max(a,b) ((a) > (b) ? (a) : (b)) a 46 ompi/mca/op/base/op_base_functions.c type *a = (type *) in; \ a 49 ompi/mca/op/base/op_base_functions.c *(b++) op *(a++); \ a 66 ompi/mca/op/base/op_base_functions.c type *a = (type *) in; \ a 69 ompi/mca/op/base/op_base_functions.c *(b) = current_func(*(b), *(a)); \ a 71 ompi/mca/op/base/op_base_functions.c ++a; \ a 94 ompi/mca/op/base/op_base_functions.c ompi_op_predefined_##type_name##_t *a = (ompi_op_predefined_##type_name##_t*) in; \ a 96 ompi/mca/op/base/op_base_functions.c for (i = 0; i < *count; ++i, ++a, ++b) { \ a 97 ompi/mca/op/base/op_base_functions.c if (a->v op b->v) { \ a 98 ompi/mca/op/base/op_base_functions.c b->v = a->v; \ a 99 ompi/mca/op/base/op_base_functions.c b->k = a->k; \ a 100 ompi/mca/op/base/op_base_functions.c } else if (a->v == b->v) { \ a 101 ompi/mca/op/base/op_base_functions.c b->k = (b->k < a->k ? b->k : a->k); \ a 118 ompi/mca/op/base/op_base_functions.c type (*a)[2] = (type (*)[2]) in; \ a 120 ompi/mca/op/base/op_base_functions.c for (i = 0; i < *count; ++i, ++a, ++b) { \ a 121 ompi/mca/op/base/op_base_functions.c (*b)[0] += (*a)[0]; \ a 122 ompi/mca/op/base/op_base_functions.c (*b)[1] += (*a)[1]; \ a 138 ompi/mca/op/base/op_base_functions.c type (*a)[2] = (type (*)[2]) in; \ a 141 ompi/mca/op/base/op_base_functions.c for (i = 0; i < *count; ++i, ++a, ++b) { \ a 142 ompi/mca/op/base/op_base_functions.c c[0] = (*a)[0] * (*b)[0] - (*a)[1] * (*b)[1]; \ a 143 ompi/mca/op/base/op_base_functions.c c[1] = (*a)[0] * (*b)[1] + (*a)[1] * (*b)[0]; \ a 154 ompi/mca/op/base/op_base_functions.c #define current_func(a, b) ((a) > (b) ? (a) : (b)) a 217 ompi/mca/op/base/op_base_functions.c #define current_func(a, b) ((a) < (b) ? (a) : (b)) a 417 ompi/mca/op/base/op_base_functions.c #define current_func(a, b) ((a) && (b)) a 439 ompi/mca/op/base/op_base_functions.c #define current_func(a, b) ((a) || (b)) a 461 ompi/mca/op/base/op_base_functions.c #define current_func(a, b) ((a ? 1 : 0) ^ (b ? 1: 0)) a 483 ompi/mca/op/base/op_base_functions.c #define current_func(a, b) ((a) & (b)) a 520 ompi/mca/op/base/op_base_functions.c #define current_func(a, b) ((a) | (b)) a 557 ompi/mca/op/base/op_base_functions.c #define current_func(a, b) ((a) ^ (b)) a 782 ompi/mca/op/base/op_base_functions.c #define current_func(a, b) ((a) > (b) ? (a) : (b)) a 845 ompi/mca/op/base/op_base_functions.c #define current_func(a, b) ((a) < (b) ? (a) : (b)) a 1045 ompi/mca/op/base/op_base_functions.c #define current_func(a, b) ((a) && (b)) a 1067 ompi/mca/op/base/op_base_functions.c #define current_func(a, b) ((a) || (b)) a 1089 ompi/mca/op/base/op_base_functions.c #define current_func(a, b) ((a ? 1 : 0) ^ (b ? 1: 0)) a 1111 ompi/mca/op/base/op_base_functions.c #define current_func(a, b) ((a) & (b)) a 1148 ompi/mca/op/base/op_base_functions.c #define current_func(a, b) ((a) | (b)) a 1185 ompi/mca/op/base/op_base_functions.c #define current_func(a, b) ((a) ^ (b)) a 55 ompi/mca/osc/pt2pt/osc_pt2pt_active_target.c int a = *((int *) ptra); a 58 ompi/mca/osc/pt2pt/osc_pt2pt_active_target.c if (a < b) { a 60 ompi/mca/osc/pt2pt/osc_pt2pt_active_target.c } else if (a > b) { a 122 ompi/mca/osc/rdma/osc_rdma_active_target.c int a = *((int *) ptra); a 125 ompi/mca/osc/rdma/osc_rdma_active_target.c if (a < b) { a 127 ompi/mca/osc/rdma/osc_rdma_active_target.c } else if (a > b) { a 24 ompi/mca/osc/rdma/osc_rdma_comm.h #define min(a,b) ((a) < (b) ? (a) : (b)) a 40 ompi/mca/osc/sm/osc_sm_active_target.c int a = *((int *) ptra); a 43 ompi/mca/osc/sm/osc_sm_active_target.c if (a < b) { a 45 ompi/mca/osc/sm/osc_sm_active_target.c } else if (a > b) { a 543 ompi/mca/pml/pml.h #define MCA_PML_CALL_STAMP(a, b) mca_pml_ ## a ## _ ## b a 544 ompi/mca/pml/pml.h #define MCA_PML_CALL_EXPANDER(a, b) MCA_PML_CALL_STAMP(a,b) a 545 ompi/mca/pml/pml.h #define MCA_PML_CALL(a) MCA_PML_CALL_EXPANDER(MCA_ompi_pml_DIRECT_CALL_COMPONENT, a) a 548 ompi/mca/pml/pml.h #define MCA_PML_CALL(a) mca_pml.pml_ ## a a 52 ompi/mca/rte/orte/rte_orte.h #define OMPI_NAME_PRINT(a) ORTE_NAME_PRINT((const orte_process_name_t*)a) a 53 ompi/mca/rte/orte/rte_orte.h #define ompi_rte_compare_name_fields(a, b, c) orte_util_compare_name_fields(a, (const orte_process_name_t*)(b), (const orte_process_name_t*)(c)) a 54 ompi/mca/rte/orte/rte_orte.h #define ompi_rte_convert_string_to_process_name(a,b) orte_util_convert_string_to_process_name(a,b) a 55 ompi/mca/rte/orte/rte_orte.h #define ompi_rte_convert_process_name_to_string(a,b) orte_util_convert_process_name_to_string(a,b) a 76 ompi/mca/rte/orte/rte_orte.h #define OMPI_CAST_RTE_NAME(a) ((orte_process_name_t*)(a)) a 88 ompi/mca/rte/orte/rte_orte.h #define ompi_rte_abort_peers(a, b, c) orte_errmgr.abort_peers(a, b, c) a 92 ompi/mca/rte/orte/rte_orte.h #define ompi_rte_init(a, b) orte_init(a, b, ORTE_PROC_MPI) a 69 ompi/mca/rte/pmix/rte_pmix.h #define OMPI_NAME_PRINT(a) ompi_pmix_print_name(a) a 100 ompi/mca/rte/pmix/rte_pmix.h #define OMPI_CAST_RTE_NAME(a) ((opal_process_name_t*)(a)) a 23 ompi/mca/topo/treematch/treematch/tm_kpartitioning.c #define MIN(a,b) ((a)<(b)?(a):(b)) a 13 ompi/mca/topo/treematch/treematch/tm_malloc.c #define MIN(a,b) ((a)<(b)?(a):(b)) a 32 ompi/mca/topo/treematch/treematch/tm_mapping.c #define MIN(a,b) (a)<(b)?(a):(b) a 192 ompi/mca/topo/treematch/treematch/tm_mt.c unsigned long a = genrand_int32() >> 5, b = genrand_int32() >> 6; a 194 ompi/mca/topo/treematch/treematch/tm_mt.c return (a * 67108864.0 + b) * (1.0 / 9007199254740992.0); a 89 ompi/mca/topo/treematch/treematch/tm_solution.c double a,c,sol; a 106 ompi/mca/topo/treematch/treematch/tm_solution.c a = cost[depth-distance(topology,sigma[i],sigma[j])]; a 108 ompi/mca/topo/treematch/treematch/tm_solution.c printf("T_%d_%d %f*%f=%f\n",i,j,c,a,c*a); a 109 ompi/mca/topo/treematch/treematch/tm_solution.c sol += c*a; a 125 ompi/mca/topo/treematch/treematch/tm_solution.c double a,c,sol; a 142 ompi/mca/topo/treematch/treematch/tm_solution.c a = cost[depth-distance(topology,sigma[i],sigma[j])]; a 144 ompi/mca/topo/treematch/treematch/tm_solution.c printf("T_%d_%d %f*%f=%f\n",i,j,c,a,c*a); a 145 ompi/mca/topo/treematch/treematch/tm_solution.c if(c*a > sol) a 146 ompi/mca/topo/treematch/treematch/tm_solution.c sol = c*a; a 360 ompi/mca/topo/treematch/treematch/tm_solution.c double a,c,res; a 367 ompi/mca/topo/treematch/treematch/tm_solution.c a = arch[sol[i]][sol[j]]; a 368 ompi/mca/topo/treematch/treematch/tm_solution.c res += c/a; a 27 ompi/mca/topo/treematch/treematch/tm_thread_pool.c #define MIN(a, b) ((a)<(b)?(a):(b)) a 28 ompi/mca/topo/treematch/treematch/tm_thread_pool.c #define MAX(a, b) ((a)>(b)?(a):(b)) a 310 ompi/mca/topo/treematch/treematch/tm_thread_pool.c int a, b; a 311 ompi/mca/topo/treematch/treematch/tm_thread_pool.c a = *(int*)args[0]; a 313 ompi/mca/topo/treematch/treematch/tm_thread_pool.c printf("id: %d, nb_args=%d, a=%d, b=%d\n",thread_id, nb_args,a,b); a 338 ompi/mca/topo/treematch/treematch/tm_thread_pool.c int a=3, c; a 351 ompi/mca/topo/treematch/treematch/tm_thread_pool.c args1[0] = &a; a 617 ompi/mca/topo/treematch/treematch/tm_topology.c int a,i; a 629 ompi/mca/topo/treematch/treematch/tm_topology.c a = (*arity)[n]; a 630 ompi/mca/topo/treematch/treematch/tm_topology.c if( (a%3 == 0) && (a > 3) ){ a 651 ompi/mca/topo/treematch/treematch/tm_topology.c new_arity[n+1] = a/3; a 668 ompi/mca/topo/treematch/treematch/tm_topology.c }else if( (a%2==0) && (a>2) ){/* same as above but for arity == 2 instead of 3 */ a 679 ompi/mca/topo/treematch/treematch/tm_topology.c new_arity[n+1] = a/2; a 17 ompi/mca/topo/treematch/treematch/tm_tree.c #define MIN(a, b) ((a)<(b)?(a):(b)) a 18 ompi/mca/topo/treematch/treematch/tm_tree.c #define MAX(a, b) ((a)>(b)?(a):(b)) a 376 ompi/mca/topo/treematch/treematch/uthash.h #define HASH_JEN_MIX(a,b,c) \ a 378 ompi/mca/topo/treematch/treematch/uthash.h a -= b; a -= c; a ^= ( c >> 13 ); \ a 379 ompi/mca/topo/treematch/treematch/uthash.h b -= c; b -= a; b ^= ( a << 8 ); \ a 380 ompi/mca/topo/treematch/treematch/uthash.h c -= a; c -= b; c ^= ( b >> 13 ); \ a 381 ompi/mca/topo/treematch/treematch/uthash.h a -= b; a -= c; a ^= ( c >> 12 ); \ a 382 ompi/mca/topo/treematch/treematch/uthash.h b -= c; b -= a; b ^= ( a << 16 ); \ a 383 ompi/mca/topo/treematch/treematch/uthash.h c -= a; c -= b; c ^= ( b >> 5 ); \ a 384 ompi/mca/topo/treematch/treematch/uthash.h a -= b; a -= c; a ^= ( c >> 3 ); \ a 385 ompi/mca/topo/treematch/treematch/uthash.h b -= c; b -= a; b ^= ( a << 10 ); \ a 386 ompi/mca/topo/treematch/treematch/uthash.h c -= a; c -= b; c ^= ( b >> 15 ); \ a 565 ompi/mca/topo/treematch/treematch/uthash.h #define HASH_KEYCMP(a,b,len) memcmp(a,b,len) a 165 ompi/mpi/c/comm_join.c ssize_t a; a 174 ompi/mpi/c/comm_join.c a = write ( fd, c_ptr, s_num ); a 175 ompi/mpi/c/comm_join.c if ( a == -1 ) { a 197 ompi/mpi/c/comm_join.c num -= a; a 198 ompi/mpi/c/comm_join.c c_ptr += a; a 214 ompi/mpi/c/comm_join.c ssize_t a; a 223 ompi/mpi/c/comm_join.c a = read ( fd, c_ptr, s_num ); a 224 ompi/mpi/c/comm_join.c if ( a == -1 ) { a 246 ompi/mpi/c/comm_join.c num -= a; a 247 ompi/mpi/c/comm_join.c c_ptr += a; a 49 ompi/mpi/cxx/datatype.h inline bool operator== (const Datatype &a) const a 50 ompi/mpi/cxx/datatype.h { return (bool) (pmpi_datatype == a.pmpi_datatype); } a 52 ompi/mpi/cxx/datatype.h inline bool operator!= (const Datatype &a) const a 53 ompi/mpi/cxx/datatype.h { return (bool) !(*this == a); } a 80 ompi/mpi/cxx/datatype.h inline bool operator== (const Datatype &a) const a 81 ompi/mpi/cxx/datatype.h { return (bool) (mpi_datatype == a.mpi_datatype); } a 83 ompi/mpi/cxx/datatype.h inline bool operator!= (const Datatype &a) const a 84 ompi/mpi/cxx/datatype.h { return (bool) !(*this == a); } a 41 ompi/mpi/cxx/errhandler.h inline bool operator==(const Errhandler &a) { a 42 ompi/mpi/cxx/errhandler.h return (bool)(mpi_errhandler == a.mpi_errhandler); } a 44 ompi/mpi/cxx/errhandler.h inline bool operator!=(const Errhandler &a) { a 45 ompi/mpi/cxx/errhandler.h return (bool)!(*this == a); } a 34 ompi/mpi/cxx/errhandler_inln.h PMPI::Errhandler::operator==(const PMPI::Errhandler &a) a 36 ompi/mpi/cxx/errhandler_inln.h return (MPI2CPP_BOOL_T)(mpi_errhandler == a.mpi_errhandler); a 47 ompi/mpi/cxx/exception.h inline Exception(const Exception& a) a 48 ompi/mpi/cxx/exception.h : error_code(a.error_code), error_class(a.error_class) a 55 ompi/mpi/cxx/exception.h error_string[i] = a.error_string[i]; a 44 ompi/mpi/cxx/group.h inline bool operator== (const Group &a) { a 45 ompi/mpi/cxx/group.h return (bool)(pmpi_group == a.pmpi_group); a 47 ompi/mpi/cxx/group.h inline bool operator!= (const Group &a) { a 48 ompi/mpi/cxx/group.h return (bool)!(*this == a); a 72 ompi/mpi/cxx/group.h inline bool operator== (const Group &a) { return (bool)(mpi_group == a.mpi_group); } a 73 ompi/mpi/cxx/group.h inline bool operator!= (const Group &a) { return (bool)!(*this == a); } a 37 ompi/mpi/cxx/op.h inline bool operator== (const Op &a); a 38 ompi/mpi/cxx/op.h inline bool operator!= (const Op &a); a 42 ompi/mpi/cxx/op_inln.h MPI::Op::operator== (const MPI::Op &a) { a 43 ompi/mpi/cxx/op_inln.h return (bool)(pmpi_op == a.pmpi_op); a 47 ompi/mpi/cxx/op_inln.h MPI::Op::operator!= (const MPI::Op &a) { a 48 ompi/mpi/cxx/op_inln.h return (bool)!(*this == a); a 92 ompi/mpi/cxx/op_inln.h MPI::Op::operator== (const MPI::Op &a) { return (bool)(mpi_op == a.mpi_op); } a 95 ompi/mpi/cxx/op_inln.h MPI::Op::operator!= (const MPI::Op &a) { return (bool)!(*this == a); } a 44 ompi/mpi/cxx/request.h bool operator== (const Request &a) a 45 ompi/mpi/cxx/request.h { return (bool)(pmpi_request == a.pmpi_request); } a 46 ompi/mpi/cxx/request.h bool operator!= (const Request &a) a 47 ompi/mpi/cxx/request.h { return (bool)!(*this == a); } a 71 ompi/mpi/cxx/request.h bool operator== (const Request &a) a 72 ompi/mpi/cxx/request.h { return (bool)(mpi_request == a.mpi_request); } a 73 ompi/mpi/cxx/request.h bool operator!= (const Request &a) a 74 ompi/mpi/cxx/request.h { return (bool)!(*this == a); } a 35 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_ARRAY_NAME_DECL(a) a 36 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_2_DIM_ARRAY_NAME_DECL(a, dim2) a 37 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_SINGLE_NAME_DECL(a) a 38 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_ARRAY_NAME_CONVERT(a) a a 39 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_SINGLE_NAME_CONVERT(a) a a 40 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_INT_2_FINT(a) a a 41 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_FINT_2_INT(a) a a 42 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_PFINT_2_PINT(a) a a 52 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_ARRAY_NAME_DECL(a) int *c_##a a 53 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_2_DIM_ARRAY_NAME_DECL(a, dim2) int (*c_##a)[dim2], dim2_index a 54 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_SINGLE_NAME_DECL(a) int c_##a a 55 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_ARRAY_NAME_CONVERT(a) c_##a a 56 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_SINGLE_NAME_CONVERT(a) &c_##a a 57 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_INT_2_FINT(a) a a 58 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_FINT_2_INT(a) (int) (a) a 59 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_PFINT_2_PINT(a) (int *) (a) a 109 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_ARRAY_NAME_DECL(a) int *c_##a a 110 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_2_DIM_ARRAY_NAME_DECL(a, dim2) int (*c_##a)[dim2], dim2_index a 111 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_SINGLE_NAME_DECL(a) int c_##a a 112 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_ARRAY_NAME_CONVERT(a) c_##a a 113 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_SINGLE_NAME_CONVERT(a) &c_##a a 114 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_INT_2_FINT(a) (MPI_Fint)(a) a 115 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_FINT_2_INT(a) (a) a 116 ompi/mpi/fortran/base/fint_2_int.h #define OMPI_PFINT_2_PINT(a) a a 191 ompi/mpi/fortran/base/fint_2_int.h # define OMPI_LOGICAL_2_INT(a) a a 192 ompi/mpi/fortran/base/fint_2_int.h # define OMPI_INT_2_LOGICAL(a) a a 195 ompi/mpi/fortran/base/fint_2_int.h # define OMPI_SINGLE_INT_2_LOGICAL(a) /* Single-OUT variable -- Not needed for int==logical, true=1 */ a 212 ompi/mpi/fortran/base/fint_2_int.h # define OMPI_LOGICAL_2_INT(a) (int)a a 213 ompi/mpi/fortran/base/fint_2_int.h # define OMPI_INT_2_LOGICAL(a) (ompi_fortran_logical_t)a a 214 ompi/mpi/fortran/base/fint_2_int.h # define OMPI_SINGLE_INT_2_LOGICAL(a) *a=(OMPI_INT_2_LOGICAL(OMPI_LOGICAL_NAME_CONVERT(a))) a 216 ompi/mpi/fortran/base/fint_2_int.h # define OMPI_LOGICAL_2_INT(a) ((a)==0? 0 : 1) a 217 ompi/mpi/fortran/base/fint_2_int.h # define OMPI_INT_2_LOGICAL(a) ((a)==0? 0 : OMPI_FORTRAN_VALUE_TRUE) a 218 ompi/mpi/fortran/base/fint_2_int.h # define OMPI_SINGLE_INT_2_LOGICAL(a) *a=(OMPI_INT_2_LOGICAL(OMPI_LOGICAL_NAME_CONVERT(a))) a 25 ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h ! invoke a back-end ompi_*_f() subroutine, which is BIND(C)-bound to a a 28 ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h ! However, a bunch of MPI Fortran subroutines use LOGICAL dummy a 35 ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h ! 1. If the Fortran interface has a LOGICAL parameter and no a 37 ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h ! files (e.g., finalized_f08.F90) use the "mpi" module to get a a 42 ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h ! This is a bit of a hack: the "mpi" module will provide the right a 48 ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h ! subroutine takes a *scalar*, and then we pass sendtypes(0)%MPI_VAL. a 54 ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h ! will pass a pointer to sendtypes(0)%MPI_VAL (i.e., the first integer a 56 ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h ! to be exactly equivalent to a single INTEGER, an array of mpi_f08 a 64 ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h ! The key here is that there is a disconnect between Fortran and C: a 68 ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h ! Yes, this is a total hack. But Craig Rasumussen tells me that this a 69 ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h ! is actually quite a common hack in the Fortran developer world, so a 79 ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h ! was cleverly designed so that it can be identical (in terms of a a 105 ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h ! just put a byte-equivalent prototype in source.c: a 115 ompi/mpi/fortran/use-mpi-f08/bindings/mpi-f-interfaces-bind.h ! The main difference here is that in Fortran, it is an error -- not a a 12 ompi/mpi/fortran/use-mpi-tkr/mpi-f90-cptr-interfaces.h ! gfortran on RHEL 5 does not support this module/type). So we use a a 15 ompi/mpi/fortran/use-mpi-tkr/mpi-f90-cptr-interfaces.h ! This file is included via a preprocessor include directorive in a 14 ompi/mpi/fortran/use-mpi-tkr/pmpi-f90-cptr-interfaces.h ! gfortran on RHEL 5 does not support this module/type). So we use a a 17 ompi/mpi/fortran/use-mpi-tkr/pmpi-f90-cptr-interfaces.h ! This file is included via a preprocessor include directorive in a 8 ompi/mpi/fortran/use-mpi-tkr/test/align_c.c void align_c(char *a, char *w, char *x, char *y, char *z) a 36 ompi/mpi/fortran/use-mpi-tkr/test/align_c.c diff = a - w; a 38 ompi/mpi/fortran/use-mpi-tkr/test/align_c.c *a = diff; a 43 ompi/mpi/fortran/use-mpi-tkr/test/align_c.c void align_c_(char *a, char *w, char *x, char *y, char *z) a 45 ompi/mpi/fortran/use-mpi-tkr/test/align_c.c align_c(a, w, x, y, z); a 49 ompi/mpi/fortran/use-mpi-tkr/test/align_c.c void align_c__(char *a, char *w, char *x, char *y, char *z) a 51 ompi/mpi/fortran/use-mpi-tkr/test/align_c.c align_c(a, w, x, y, z); a 55 ompi/mpi/fortran/use-mpi-tkr/test/align_c.c void ALIGN_C(char *a, char *w, char *x, char *y, char *z) a 57 ompi/mpi/fortran/use-mpi-tkr/test/align_c.c align_c(a, w, x, y, z); a 61 ompi/mpi/fortran/use-mpi-tkr/test/align_c.c void ALIGN_C_(char *a, char *w, char *x, char *y, char *z) a 63 ompi/mpi/fortran/use-mpi-tkr/test/align_c.c align_c(a, w, x, y, z); a 67 ompi/mpi/fortran/use-mpi-tkr/test/align_c.c void ALIGN_C__(char *a, char *w, char *x, char *y, char *z) a 69 ompi/mpi/fortran/use-mpi-tkr/test/align_c.c align_c(a, w, x, y, z); a 33 ompi/mpi/fortran/use-mpi-tkr/test/send_t.c void mpi_send_1di(int* a, int* count, int* datatype, a 40 ompi/mpi/fortran/use-mpi-tkr/test/send_t.c if (a[i] != 10 - i) { a 41 ompi/mpi/fortran/use-mpi-tkr/test/send_t.c printf("a[%d] = %d\n", i, a[i]); a 53 ompi/mpi/fortran/use-mpi-tkr/test/send_t.c void mpi_send_1di1(char* a, int* count, int* datatype, a 60 ompi/mpi/fortran/use-mpi-tkr/test/send_t.c if (a[i] != i+1) { a 61 ompi/mpi/fortran/use-mpi-tkr/test/send_t.c printf("a[%d] = %d\n", i, a[i]); a 450 ompi/mpi/java/c/mpi_Intracomm.c jstring a = (*env)->GetObjectArrayElement(env, jArgv, i); a 451 ompi/mpi/java/c/mpi_Intracomm.c argv[i] = strdup((*env)->GetStringUTFChars(env, a, NULL)); a 452 ompi/mpi/java/c/mpi_Intracomm.c (*env)->DeleteLocalRef(env, a); a 469 ompi/mpi/java/c/mpi_Intracomm.c jstring a = (*env)->GetObjectArrayElement(env, jArgv, i); a 470 ompi/mpi/java/c/mpi_Intracomm.c (*env)->ReleaseStringUTFChars(env, a, argv[i]); a 471 ompi/mpi/java/c/mpi_Intracomm.c (*env)->DeleteLocalRef(env, a); a 512 ompi/mpi/java/c/mpi_Intracomm.c jstring a = (*env)->GetObjectArrayElement(env, jCommands, i); a 513 ompi/mpi/java/c/mpi_Intracomm.c commands[i] = (char*)(*env)->GetStringUTFChars(env, a, NULL); a 514 ompi/mpi/java/c/mpi_Intracomm.c (*env)->DeleteLocalRef(env, a); a 530 ompi/mpi/java/c/mpi_Intracomm.c jstring a = (*env)->GetObjectArrayElement(env, arr, j); a 531 ompi/mpi/java/c/mpi_Intracomm.c argv[i][j] = (char*)(*env)->GetStringUTFChars(env, a, NULL); a 532 ompi/mpi/java/c/mpi_Intracomm.c (*env)->DeleteLocalRef(env, a); a 557 ompi/mpi/java/c/mpi_Intracomm.c jstring a = (*env)->GetObjectArrayElement(env, arr, j); a 558 ompi/mpi/java/c/mpi_Intracomm.c (*env)->ReleaseStringUTFChars(env, a, argv[i][j]); a 559 ompi/mpi/java/c/mpi_Intracomm.c (*env)->DeleteLocalRef(env, a); a 571 ompi/mpi/java/c/mpi_Intracomm.c jstring a = (*env)->GetObjectArrayElement(env, jCommands, i); a 572 ompi/mpi/java/c/mpi_Intracomm.c (*env)->ReleaseStringUTFChars(env, a, commands[i]); a 573 ompi/mpi/java/c/mpi_Intracomm.c (*env)->DeleteLocalRef(env, a); a 195 ompi/mpi/java/c/mpi_MPI.c struct { int a; int b; } s; a 196 ompi/mpi/java/c/mpi_MPI.c int iOff = (int)((MPI_Aint)(&(s.b)) - (MPI_Aint)(&(s.a))); a 204 ompi/mpi/java/c/mpi_MPI.c struct { short a; int b; } s; a 205 ompi/mpi/java/c/mpi_MPI.c int iOff = (int)((MPI_Aint)(&(s.b)) - (MPI_Aint)(&(s.a))); a 213 ompi/mpi/java/c/mpi_MPI.c struct { long a; int b; } s; a 214 ompi/mpi/java/c/mpi_MPI.c int iOff = (int)((MPI_Aint)(&(s.b)) - (MPI_Aint)(&(s.a))); a 222 ompi/mpi/java/c/mpi_MPI.c struct { float a; int b; } s; a 223 ompi/mpi/java/c/mpi_MPI.c int iOff = (int)((MPI_Aint)(&(s.b)) - (MPI_Aint)(&(s.a))); a 231 ompi/mpi/java/c/mpi_MPI.c struct { double a; int b; } s; a 232 ompi/mpi/java/c/mpi_MPI.c int iOff = (int)((MPI_Aint)(&(s.b)) - (MPI_Aint)(&(s.a))); a 283 ompi/proc/proc.c static int ompi_proc_compare_vid (opal_list_item_t **a, opal_list_item_t **b) a 285 ompi/proc/proc.c ompi_proc_t *proca = (ompi_proc_t *) *a; a 888 opal/class/opal_list.h typedef int (*opal_list_item_compare_fn_t)(opal_list_item_t **a, a 307 opal/datatype/opal_datatype.h int32_t * ca, ptrdiff_t* a, a 312 opal/datatype/opal_datatype.h int32_t ca, ptrdiff_t* a, a 43 opal/datatype/opal_datatype_add.c static inline ptrdiff_t LMAX( ptrdiff_t a, ptrdiff_t b ) { return ( a < b ? b : a ); } a 44 opal/datatype/opal_datatype_add.c static inline ptrdiff_t LMIN( ptrdiff_t a, ptrdiff_t b ) { return ( a < b ? a : b ); } a 45 opal/datatype/opal_datatype_add.c static inline int IMAX( int a, int b ) { return ( a < b ? b : a ); } a 33 opal/datatype/opal_datatype_copy.h # define DT__CONCAT(a, b) a##b a 34 opal/datatype/opal_datatype_copy.h # define DT_CONCAT(a, b) DT__CONCAT(a, b) a 25 opal/include/opal/align.h #define OPAL_DOWN_ALIGN(x,a,t) ((x) & ~(((t)(a)-1))) a 26 opal/include/opal/align.h #define OPAL_DOWN_ALIGN_PTR(x,a,t) ((t)OPAL_DOWN_ALIGN((uintptr_t)x, a, uintptr_t)) a 27 opal/include/opal/align.h #define OPAL_ALIGN(x,a,t) (((x)+((t)(a)-1)) & ~(((t)(a)-1))) a 28 opal/include/opal/align.h #define OPAL_ALIGN_PTR(x,a,t) ((t)OPAL_ALIGN((uintptr_t)x, a, uintptr_t)) a 113 opal/include/opal/sys/powerpc/atomic.h #define OPAL_ASM_ADDR(a) ((uintptr_t)a) a 115 opal/include/opal/sys/powerpc/atomic.h #define OPAL_ASM_ADDR(a) (a) a 45 opal/include/opal/sys/sparcv9/timer.h int a, b; a 49 opal/include/opal/sys/sparcv9/timer.h "=r"(a), "=r"(b) a 52 opal/include/opal/sys/sparcv9/timer.h ret = (0x00000000FFFFFFFF & a) | (((opal_timer_t) b) << 32); a 94 opal/include/opal_config_bottom.h # define __opal_attribute_aligned__(a) __attribute__((__aligned__(a))) a 97 opal/include/opal_config_bottom.h # define __opal_attribute_aligned__(a) a 126 opal/include/opal_config_bottom.h # define __opal_attribute_format__(a,b,c) __attribute__((__format__(a, b, c))) a 128 opal/include/opal_config_bottom.h # define __opal_attribute_format__(a,b,c) a 133 opal/include/opal_config_bottom.h # define __opal_attribute_format_funcptr__(a,b,c) __attribute__((__format__(a, b, c))) a 135 opal/include/opal_config_bottom.h # define __opal_attribute_format_funcptr__(a,b,c) a 169 opal/include/opal_config_bottom.h # define __opal_attribute_nonnull__(a) __attribute__((__nonnull__(a))) a 172 opal/include/opal_config_bottom.h # define __opal_attribute_nonnull__(a) a 214 opal/include/opal_config_bottom.h # define __opal_attribute_visibility__(a) __attribute__((__visibility__(a))) a 216 opal/include/opal_config_bottom.h # define __opal_attribute_visibility__(a) a 226 opal/include/opal_config_bottom.h # define __opal_attribute_weak_alias__(a) __attribute__((__weak__, __alias__(a))) a 228 opal/include/opal_config_bottom.h # define __opal_attribute_weak_alias__(a) a 170 opal/mca/base/base.h OPAL_DECLSPEC int mca_base_component_compare_priority(mca_base_component_priority_list_item_t *a, a 172 opal/mca/base/base.h OPAL_DECLSPEC int mca_base_component_compare(const mca_base_component_t *a, a 174 opal/mca/base/base.h OPAL_DECLSPEC int mca_base_component_compatible(const mca_base_component_t *a, a 176 opal/mca/base/base.h OPAL_DECLSPEC char * mca_base_component_to_string(const mca_base_component_t *a); a 41 opal/mca/base/mca_base_component_compare.c mca_base_component_compare_priority(mca_base_component_priority_list_item_t *a, a 46 opal/mca/base/mca_base_component_compare.c if (a->cpli_priority > b->cpli_priority) { a 48 opal/mca/base/mca_base_component_compare.c } else if (a->cpli_priority < b->cpli_priority) { a 51 opal/mca/base/mca_base_component_compare.c return mca_base_component_compare(a->super.cli_component, a 144 opal/mca/base/mca_base_component_compare.c char * mca_base_component_to_string(const mca_base_component_t *a) { a 146 opal/mca/base/mca_base_component_compare.c if(0 > opal_asprintf(&str, "%s.%s.%d.%d", a->mca_type_name, a 147 opal/mca/base/mca_base_component_compare.c a->mca_component_name, a->mca_component_major_version, a 148 opal/mca/base/mca_base_component_compare.c a->mca_component_minor_version)) { a 35 opal/mca/base/mca_base_pvar.c #define min(a,b) ((a) < (b) ? (a) : (b)) a 36 opal/mca/base/mca_base_pvar.c #define max(a,b) ((a) > (b) ? (a) : (b)) a 233 opal/mca/btl/tcp/btl_tcp_proc.c static void evaluate_assignment(mca_btl_tcp_proc_data_t *proc_data, int *a) { a 244 opal/mca/btl/tcp/btl_tcp_proc.c if(0 < proc_data->weights[i][a[i]-1]) { a 246 opal/mca/btl/tcp/btl_tcp_proc.c assignment_weight += proc_data->weights[i][a[i]-1]; a 258 opal/mca/btl/tcp/btl_tcp_proc.c proc_data->best_assignment[i] = a[i]-1; a 265 opal/mca/btl/tcp/btl_tcp_proc.c static void visit(mca_btl_tcp_proc_data_t *proc_data, int k, int level, int siz, int *a) a 267 opal/mca/btl/tcp/btl_tcp_proc.c level = level+1; a[k] = level; a 270 opal/mca/btl/tcp/btl_tcp_proc.c evaluate_assignment(proc_data, a); a 274 opal/mca/btl/tcp/btl_tcp_proc.c if (a[i] == 0) a 275 opal/mca/btl/tcp/btl_tcp_proc.c visit(proc_data, i, level, siz, a); a 278 opal/mca/btl/tcp/btl_tcp_proc.c level = level-1; a[k] = 0; a 445 opal/mca/btl/tcp/btl_tcp_proc.c int rc, *a = NULL; a 670 opal/mca/btl/tcp/btl_tcp_proc.c a = (int *) malloc(perm_size * sizeof(int)); a 671 opal/mca/btl/tcp/btl_tcp_proc.c if (NULL == a) { a 682 opal/mca/btl/tcp/btl_tcp_proc.c memset(a, 0, perm_size * sizeof(int)); a 685 opal/mca/btl/tcp/btl_tcp_proc.c visit(proc_data, 0, -1, perm_size, a); a 773 opal/mca/btl/tcp/btl_tcp_proc.c free(a); a 368 opal/mca/btl/uct/btl_uct_tl.c static int tl_compare (opal_list_item_t **a, opal_list_item_t **b) a 370 opal/mca/btl/uct/btl_uct_tl.c mca_btl_uct_tl_t *tl_a = (mca_btl_uct_tl_t *) *a; a 74 opal/mca/btl/usnic/btl_usnic.h #define max(a, b) (((a) > (b)) ? (a) : (b)) a 73 opal/mca/btl/usnic/btl_usnic_compat.h usnic_compat_proc_name_compare(opal_process_name_t a, a 76 opal/mca/btl/usnic/btl_usnic_compat.h return (bool) (a.jobid == b.jobid && a.vpid == b.vpid); a 46 opal/mca/btl/usnic/btl_usnic_endpoint.h #define WINDOW_SIZE_MOD(a) (((a) & (WINDOW_SIZE - 1))) a 32 opal/mca/btl/usnic/btl_usnic_map.c opal_btl_usnic_module_t *a = *((opal_btl_usnic_module_t**) aa); a 35 opal/mca/btl/usnic/btl_usnic_map.c return strcmp(a->linux_device_name, a 96 opal/mca/btl/usnic/btl_usnic_map.c opal_btl_usnic_endpoint_t *a = *((opal_btl_usnic_endpoint_t**) aa); a 99 opal/mca/btl/usnic/btl_usnic_map.c if (NULL == a && NULL == b) { a 101 opal/mca/btl/usnic/btl_usnic_map.c } else if (NULL == a) { a 107 opal/mca/btl/usnic/btl_usnic_map.c return strcmp(a->endpoint_module->linux_device_name, a 172 opal/mca/btl/usnic/btl_usnic_map.c opal_btl_usnic_proc_t *a = *((opal_btl_usnic_proc_t**) aa); a 174 opal/mca/btl/usnic/btl_usnic_map.c opal_process_name_t *an = &(a->proc_opal->proc_name); a 19 opal/mca/btl/usnic/btl_usnic_test.h # define check(a) \ a 21 opal/mca/btl/usnic/btl_usnic_test.h if (!(a)) { \ a 22 opal/mca/btl/usnic/btl_usnic_test.h test_out("%s:%d: check failed, '%s'\n", __func__, __LINE__, #a); \ a 26 opal/mca/btl/usnic/btl_usnic_test.h # define check_str_eq(a,b) \ a 28 opal/mca/btl/usnic/btl_usnic_test.h const char *a_ = (a); \ a 48 opal/mca/btl/usnic/btl_usnic_test.h # define check_msg(a, msg) \ a 50 opal/mca/btl/usnic/btl_usnic_test.h if (!(a)) { \ a 52 opal/mca/btl/usnic/btl_usnic_test.h __func__, __LINE__, #a, (msg)); \ a 69 opal/mca/btl/usnic/btl_usnic_test.h # define USNIC_PASTE(a,b) USNIC_PASTE2(a,b) a 70 opal/mca/btl/usnic/btl_usnic_test.h # define USNIC_PASTE2(a,b) a ## b a 161 opal/mca/btl/usnic/btl_usnic_util.c void opal_btl_usnic_snprintf_bool_array(char *s, size_t slen, bool a[], a 175 opal/mca/btl/usnic/btl_usnic_util.c tmp |= !!a[i+0] << 3; a 176 opal/mca/btl/usnic/btl_usnic_util.c tmp |= !!a[i+1] << 2; a 177 opal/mca/btl/usnic/btl_usnic_util.c tmp |= !!a[i+2] << 1; a 178 opal/mca/btl/usnic/btl_usnic_util.c tmp |= !!a[i+3] << 0; a 18 opal/mca/btl/usnic/btl_usnic_util.h # define MIN(a,b) ((a) < (b) ? (a) : (b)) a 45 opal/mca/btl/usnic/btl_usnic_util.h void opal_btl_usnic_snprintf_bool_array(char *s, size_t slen, bool a[], size_t alen); a 69 opal/mca/btl/vader/btl_vader.h #define min(a,b) ((a) < (b) ? (a) : (b)) a 219 opal/mca/common/cuda/common_cuda.c #define CUDA_DUMP_MEMHANDLE(a) cuda_dump_memhandle a a 220 opal/mca/common/cuda/common_cuda.c #define CUDA_DUMP_EVTHANDLE(a) cuda_dump_evthandle a a 222 opal/mca/common/cuda/common_cuda.c #define CUDA_DUMP_MEMHANDLE(a) a 223 opal/mca/common/cuda/common_cuda.c #define CUDA_DUMP_EVTHANDLE(a) a 129 opal/mca/event/libevent2022/libevent/evdns.c #define MIN(a,b) ((a)<(b)?(a):(b)) a 206 opal/mca/event/libevent2022/libevent/evdns.c } a; a 781 opal/mca/event/libevent2022/libevent/evdns.c cb->reply.data.a.addrcount, cb->ttl, a 782 opal/mca/event/libevent2022/libevent/evdns.c cb->reply.data.a.addresses, a 1100 opal/mca/event/libevent2022/libevent/evdns.c addrtocopy = MIN(MAX_V4_ADDRS - reply.data.a.addrcount, (unsigned)addrcount); a 1105 opal/mca/event/libevent2022/libevent/evdns.c memcpy(&reply.data.a.addresses[reply.data.a.addrcount], a 1108 opal/mca/event/libevent2022/libevent/evdns.c reply.data.a.addrcount += addrtocopy; a 1110 opal/mca/event/libevent2022/libevent/evdns.c if (reply.data.a.addrcount == MAX_V4_ADDRS) break; a 1836 opal/mca/event/libevent2022/libevent/evdns.c u32 a; a 1843 opal/mca/event/libevent2022/libevent/evdns.c a = ntohl(in->s_addr); a 1845 opal/mca/event/libevent2022/libevent/evdns.c (int)(u8)((a )&0xff), a 1846 opal/mca/event/libevent2022/libevent/evdns.c (int)(u8)((a>>8 )&0xff), a 1847 opal/mca/event/libevent2022/libevent/evdns.c (int)(u8)((a>>16)&0xff), a 1848 opal/mca/event/libevent2022/libevent/evdns.c (int)(u8)((a>>24)&0xff)); a 2902 opal/mca/event/libevent2022/libevent/evdns.c u32 a; a 2904 opal/mca/event/libevent2022/libevent/evdns.c a = ntohl(in->s_addr); a 2906 opal/mca/event/libevent2022/libevent/evdns.c (int)(u8)((a )&0xff), a 2907 opal/mca/event/libevent2022/libevent/evdns.c (int)(u8)((a>>8 )&0xff), a 2908 opal/mca/event/libevent2022/libevent/evdns.c (int)(u8)((a>>16)&0xff), a 2909 opal/mca/event/libevent2022/libevent/evdns.c (int)(u8)((a>>24)&0xff)); a 178 opal/mca/event/libevent2022/libevent/event.c eq_debug_entry(const struct event_debug_entry *a, a 181 opal/mca/event/libevent2022/libevent/event.c return a->ptr == b->ptr; a 1594 opal/mca/event/libevent2022/libevent/evutil.c const ev_uint32_t a = ntohl(in->s_addr); a 1597 opal/mca/event/libevent2022/libevent/evutil.c (int)(ev_uint8_t)((a>>24)&0xff), a 1598 opal/mca/event/libevent2022/libevent/evutil.c (int)(ev_uint8_t)((a>>16)&0xff), a 1599 opal/mca/event/libevent2022/libevent/evutil.c (int)(ev_uint8_t)((a>>8 )&0xff), a 1600 opal/mca/event/libevent2022/libevent/evutil.c (int)(ev_uint8_t)((a )&0xff)); a 1689 opal/mca/event/libevent2022/libevent/evutil.c int a,b,c,d; a 1692 opal/mca/event/libevent2022/libevent/evutil.c if (sscanf(src, "%d.%d.%d.%d%c", &a,&b,&c,&d,&more) != 4) a 1694 opal/mca/event/libevent2022/libevent/evutil.c if (a < 0 || a > 255) return 0; a 1698 opal/mca/event/libevent2022/libevent/evutil.c addr->s_addr = htonl((a<<24) | (b<<16) | (c<<8) | d); a 165 opal/mca/event/libevent2022/libevent/http.c #define MIN(a,b) (((a)<(b))?(a):(b)) a 33 opal/mca/event/libevent2022/libevent/log-internal.h #define EV_CHECK_FMT(a,b) __attribute__((format(printf, a, b))) a 36 opal/mca/event/libevent2022/libevent/log-internal.h #define EV_CHECK_FMT(a,b) a 41 opal/mca/event/libevent2022/libevent/minheap-internal.h unsigned n, a; a 48 opal/mca/event/libevent2022/libevent/minheap-internal.h static inline int min_heap_elem_greater(struct event *a, struct event *b); a 59 opal/mca/event/libevent2022/libevent/minheap-internal.h int min_heap_elem_greater(struct event *a, struct event *b) a 61 opal/mca/event/libevent2022/libevent/minheap-internal.h return evutil_timercmp(&a->ev_timeout, &b->ev_timeout, >); a 64 opal/mca/event/libevent2022/libevent/minheap-internal.h void min_heap_ctor(min_heap_t* s) { s->p = 0; s->n = 0; s->a = 0; } a 119 opal/mca/event/libevent2022/libevent/minheap-internal.h if (s->a < n) a 122 opal/mca/event/libevent2022/libevent/minheap-internal.h unsigned a = s->a ? s->a * 2 : 8; a 123 opal/mca/event/libevent2022/libevent/minheap-internal.h if (a < n) a 124 opal/mca/event/libevent2022/libevent/minheap-internal.h a = n; a 125 opal/mca/event/libevent2022/libevent/minheap-internal.h if (!(p = (struct event**)mm_realloc(s->p, a * sizeof *p))) a 128 opal/mca/event/libevent2022/libevent/minheap-internal.h s->a = a; a 44 opal/mca/event/libevent2022/libevent/sample/dns-example.c u32 a = ntohl(address); a 46 opal/mca/event/libevent2022/libevent/sample/dns-example.c (int)(u8)((a>>24)&0xff), a 47 opal/mca/event/libevent2022/libevent/sample/dns-example.c (int)(u8)((a>>16)&0xff), a 48 opal/mca/event/libevent2022/libevent/sample/dns-example.c (int)(u8)((a>>8 )&0xff), a 49 opal/mca/event/libevent2022/libevent/sample/dns-example.c (int)(u8)((a )&0xff)); a 153 opal/mca/event/libevent2022/libevent/sample/le-proxy.c struct sockaddr *a, int slen, void *p) a 125 opal/mca/event/libevent2022/libevent/test/regress_buffer.c size_t a, w, u; a 127 opal/mca/event/libevent2022/libevent/test/regress_buffer.c u = a = w = 0; a 133 opal/mca/event/libevent2022/libevent/test/regress_buffer.c a += chain->buffer_len; a 139 opal/mca/event/libevent2022/libevent/test/regress_buffer.c a += chain->buffer_len; a 148 opal/mca/event/libevent2022/libevent/test/regress_buffer.c a += chain->buffer_len; a 158 opal/mca/event/libevent2022/libevent/test/regress_buffer.c a += chain->buffer_len; a 160 opal/mca/event/libevent2022/libevent/test/regress_buffer.c *allocatedp = a; a 498 opal/mca/event/libevent2022/libevent/test/regress_buffer.c size_t a,w,u; a 507 opal/mca/event/libevent2022/libevent/test/regress_buffer.c a=w=u=0; a 508 opal/mca/event/libevent2022/libevent/test/regress_buffer.c evbuffer_get_waste(buf, &a,&w,&u); a 511 opal/mca/event/libevent2022/libevent/test/regress_buffer.c tt_assert(a >= 20000); a 1012 opal/mca/event/libevent2022/libevent/test/regress_buffer.c size_t a,w,u; a 1013 opal/mca/event/libevent2022/libevent/test/regress_buffer.c a=w=u=0; a 1014 opal/mca/event/libevent2022/libevent/test/regress_buffer.c evbuffer_get_waste(buf, &a, &w, &u); a 1017 opal/mca/event/libevent2022/libevent/test/regress_buffer.c (unsigned)a, (unsigned)w, (unsigned)u); a 1018 opal/mca/event/libevent2022/libevent/test/regress_buffer.c tt_assert( ((double)w)/a < .125); a 1572 opal/mca/event/libevent2022/libevent/test/regress_buffer.c #define FREEZE_EQ(a, startcase, endcase) \ a 1575 opal/mca/event/libevent2022/libevent/test/regress_buffer.c tt_int_op((a), ==, (startcase)); \ a 1577 opal/mca/event/libevent2022/libevent/test/regress_buffer.c tt_int_op((a), ==, (endcase)); \ a 1201 opal/mca/event/libevent2022/libevent/test/regress_dns.c struct evutil_addrinfo hints, *a; a 1275 opal/mca/event/libevent2022/libevent/test/regress_dns.c a = ai_find_by_protocol(local_outcome.ai, IPPROTO_TCP); a 1276 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_assert(a); a 1277 opal/mca/event/libevent2022/libevent/test/regress_dns.c test_ai_eq(a, "5.6.7.8", SOCK_STREAM, IPPROTO_TCP); a 1278 opal/mca/event/libevent2022/libevent/test/regress_dns.c a = ai_find_by_protocol(local_outcome.ai, IPPROTO_UDP); a 1279 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_assert(a); a 1280 opal/mca/event/libevent2022/libevent/test/regress_dns.c test_ai_eq(a, "5.6.7.8", SOCK_DGRAM, IPPROTO_UDP); a 1296 opal/mca/event/libevent2022/libevent/test/regress_dns.c a = ai_find_by_family(local_outcome.ai, PF_INET); a 1297 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_assert(a); a 1298 opal/mca/event/libevent2022/libevent/test/regress_dns.c test_ai_eq(a, "0.0.0.0:9090", SOCK_DGRAM, IPPROTO_UDP); a 1300 opal/mca/event/libevent2022/libevent/test/regress_dns.c a = ai_find_by_family(local_outcome.ai, PF_INET6); a 1301 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_assert(a); a 1302 opal/mca/event/libevent2022/libevent/test/regress_dns.c test_ai_eq(a, "[::]:9090", SOCK_DGRAM, IPPROTO_UDP); a 1317 opal/mca/event/libevent2022/libevent/test/regress_dns.c a = ai_find_by_family(local_outcome.ai, PF_INET); a 1318 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_assert(a); a 1319 opal/mca/event/libevent2022/libevent/test/regress_dns.c test_ai_eq(a, "127.0.0.1:2", SOCK_STREAM, IPPROTO_TCP); a 1321 opal/mca/event/libevent2022/libevent/test/regress_dns.c a = ai_find_by_family(local_outcome.ai, PF_INET6); a 1322 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_assert(a); a 1323 opal/mca/event/libevent2022/libevent/test/regress_dns.c test_ai_eq(a, "[::1]:2", SOCK_STREAM, IPPROTO_TCP); a 1338 opal/mca/event/libevent2022/libevent/test/regress_dns.c a = ai_find_by_family(local_outcome.ai, PF_INET); a 1339 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_assert(a); a 1340 opal/mca/event/libevent2022/libevent/test/regress_dns.c test_ai_eq(a, "127.0.0.1:80", SOCK_STREAM, IPPROTO_TCP); a 1342 opal/mca/event/libevent2022/libevent/test/regress_dns.c a = ai_find_by_family(local_outcome.ai, PF_INET6); a 1343 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_assert(a); a 1344 opal/mca/event/libevent2022/libevent/test/regress_dns.c test_ai_eq(a, "[::1]:80", SOCK_STREAM, IPPROTO_TCP); a 1358 opal/mca/event/libevent2022/libevent/test/regress_dns.c a = local_outcome.ai; a 1359 opal/mca/event/libevent2022/libevent/test/regress_dns.c test_ai_eq(a, "[::1]:9999", SOCK_STREAM, IPPROTO_TCP); a 1360 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_ptr_op(a->ai_next, ==, NULL); a 1478 opal/mca/event/libevent2022/libevent/test/regress_dns.c a = ai_find_by_family(a_out[0].ai, PF_INET); a 1479 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_assert(a); a 1480 opal/mca/event/libevent2022/libevent/test/regress_dns.c test_ai_eq(a, "80.80.32.32:8000", SOCK_STREAM, IPPROTO_TCP); a 1481 opal/mca/event/libevent2022/libevent/test/regress_dns.c a = ai_find_by_family(a_out[0].ai, PF_INET6); a 1482 opal/mca/event/libevent2022/libevent/test/regress_dns.c tt_assert(a); a 1483 opal/mca/event/libevent2022/libevent/test/regress_dns.c test_ai_eq(a, "[80ff::bbbb]:8000", SOCK_STREAM, IPPROTO_TCP); a 1534 opal/mca/event/libevent2022/libevent/test/regress_dns.c a = ai_find_by_family(a_out[9].ai, PF_INET); a 1535 opal/mca/event/libevent2022/libevent/test/regress_dns.c if (a) a 1536 opal/mca/event/libevent2022/libevent/test/regress_dns.c test_ai_eq(a, "80.80.32.32:8009", SOCK_STREAM, IPPROTO_TCP); a 1539 opal/mca/event/libevent2022/libevent/test/regress_dns.c a = ai_find_by_family(a_out[9].ai, PF_INET6); a 1540 opal/mca/event/libevent2022/libevent/test/regress_dns.c if (a) a 1541 opal/mca/event/libevent2022/libevent/test/regress_dns.c test_ai_eq(a, "[80ff::bbbb]:8009", SOCK_STREAM, IPPROTO_TCP); a 623 opal/mca/event/libevent2022/libevent/test/regress_util.c const char *a; a 633 opal/mca/event/libevent2022/libevent/test/regress_util.c es1.a = "World"; a 877 opal/mca/event/libevent2022/libevent/test/regress_util.c struct evutil_addrinfo *ai = NULL, *a; a 955 opal/mca/event/libevent2022/libevent/test/regress_util.c a = ai_find_by_family(ai, PF_INET6); a 956 opal/mca/event/libevent2022/libevent/test/regress_util.c tt_assert(a); a 957 opal/mca/event/libevent2022/libevent/test/regress_util.c test_ai_eq(a, "[::]:9996", SOCK_STREAM, IPPROTO_TCP); a 958 opal/mca/event/libevent2022/libevent/test/regress_util.c a = ai_find_by_family(ai, PF_INET); a 959 opal/mca/event/libevent2022/libevent/test/regress_util.c tt_assert(a); a 960 opal/mca/event/libevent2022/libevent/test/regress_util.c test_ai_eq(a, "0.0.0.0:9996", SOCK_STREAM, IPPROTO_TCP); a 971 opal/mca/event/libevent2022/libevent/test/regress_util.c a = ai_find_by_protocol(ai, IPPROTO_TCP); a 972 opal/mca/event/libevent2022/libevent/test/regress_util.c tt_assert(a); a 973 opal/mca/event/libevent2022/libevent/test/regress_util.c test_ai_eq(a, "1.2.3.4", SOCK_STREAM, IPPROTO_TCP); a 974 opal/mca/event/libevent2022/libevent/test/regress_util.c a = ai_find_by_protocol(ai, IPPROTO_UDP); a 975 opal/mca/event/libevent2022/libevent/test/regress_util.c tt_assert(a); a 976 opal/mca/event/libevent2022/libevent/test/regress_util.c test_ai_eq(a, "1.2.3.4", SOCK_DGRAM, IPPROTO_UDP); a 113 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h #define tt_assert_test_fmt_type(a,b,str_test,type,test,printf_type,printf_fmt, \ a 116 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h type _val1 = (type)(a); \ a 143 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h #define tt_assert_test_type(a,b,str_test,type,test,fmt,die_on_fail) \ a 144 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h tt_assert_test_fmt_type(a,b,str_test,type,test,type,fmt, \ a 149 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h #define tt_assert_op_type(a,op,b,type,fmt) \ a 150 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h tt_assert_test_type(a,b,#a" "#op" "#b,type,(_val1 op _val2),fmt, \ a 153 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h #define tt_int_op(a,op,b) \ a 154 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h tt_assert_test_type(a,b,#a" "#op" "#b,long,(_val1 op _val2), \ a 157 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h #define tt_uint_op(a,op,b) \ a 158 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h tt_assert_test_type(a,b,#a" "#op" "#b,unsigned long, \ a 161 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h #define tt_ptr_op(a,op,b) \ a 162 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h tt_assert_test_type(a,b,#a" "#op" "#b,void*, \ a 165 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h #define tt_str_op(a,op,b) \ a 166 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h tt_assert_test_type(a,b,#a" "#op" "#b,const char *, \ a 169 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h #define tt_want_int_op(a,op,b) \ a 170 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h tt_assert_test_type(a,b,#a" "#op" "#b,long,(_val1 op _val2),"%ld",(void)0) a 172 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h #define tt_want_uint_op(a,op,b) \ a 173 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h tt_assert_test_type(a,b,#a" "#op" "#b,unsigned long, \ a 176 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h #define tt_want_ptr_op(a,op,b) \ a 177 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h tt_assert_test_type(a,b,#a" "#op" "#b,void*, \ a 180 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h #define tt_want_str_op(a,op,b) \ a 181 opal/mca/event/libevent2022/libevent/test/tinytest_macros.h tt_assert_test_type(a,b,#a" "#op" "#b,const char *, \ a 1853 opal/mca/hwloc/base/hwloc_base_util.c static int dist_cmp_fn (opal_list_item_t **a, opal_list_item_t **b) a 1855 opal/mca/hwloc/base/hwloc_base_util.c opal_rmaps_numa_node_t *aitem = *((opal_rmaps_numa_node_t **) a); a 690 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c static int hwloc_compare_values(uint64_t a, uint64_t b, float accuracy) a 692 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c if (accuracy != 0.0f && fabsf((float)a-(float)b) < (float)a * accuracy) a 694 opal/mca/hwloc/hwloc201/hwloc/hwloc/distances.c return a < b ? -1 : a == b ? 0 : 1; a 219 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c hwloc_pci_compare_busids(struct hwloc_obj *a, struct hwloc_obj *b) a 222 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c if (a->type == HWLOC_OBJ_BRIDGE) a 223 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c assert(a->attr->bridge.upstream_type == HWLOC_OBJ_BRIDGE_PCI); a 228 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c if (a->attr->pcidev.domain < b->attr->pcidev.domain) a 230 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c if (a->attr->pcidev.domain > b->attr->pcidev.domain) a 233 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c if (a->type == HWLOC_OBJ_BRIDGE a 234 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c && b->attr->pcidev.bus >= a->attr->bridge.downstream.pci.secondary_bus a 235 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c && b->attr->pcidev.bus <= a->attr->bridge.downstream.pci.subordinate_bus) a 238 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c && a->attr->pcidev.bus >= b->attr->bridge.downstream.pci.secondary_bus a 239 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c && a->attr->pcidev.bus <= b->attr->bridge.downstream.pci.subordinate_bus) a 242 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c if (a->attr->pcidev.bus < b->attr->pcidev.bus) a 244 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c if (a->attr->pcidev.bus > b->attr->pcidev.bus) a 247 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c if (a->attr->pcidev.dev < b->attr->pcidev.dev) a 249 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c if (a->attr->pcidev.dev > b->attr->pcidev.dev) a 252 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c if (a->attr->pcidev.func < b->attr->pcidev.func) a 254 opal/mca/hwloc/hwloc201/hwloc/hwloc/pci-common.c if (a->attr->pcidev.func > b->attr->pcidev.func) a 3515 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c char *a, *b; a 3516 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c hwloc_bitmap_asprintf(&a, curpackage->cpuset); a 3521 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c mypackageid, a, b); a 3531 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology-linux.c free(a); a 1876 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c const struct hwloc_memory_page_type_s *a = _a; a 1882 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c if (b->size == a->size) a 1884 opal/mca/hwloc/hwloc201/hwloc/hwloc/topology.c return a->size < b->size ? -1 : 1; a 28 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/rename.h #define HWLOC_MUNGE_NAME(a, b) HWLOC_MUNGE_NAME2(a, b) a 29 opal/mca/hwloc/hwloc201/hwloc/include/hwloc/rename.h #define HWLOC_MUNGE_NAME2(a, b) a ## b a 61 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_init(a,_icd) do { \ a 62 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h memset(a,0,sizeof(UT_array)); \ a 63 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h (a)->icd=*_icd; \ a 66 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_done(a) do { \ a 67 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if ((a)->n) { \ a 68 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if ((a)->icd.dtor) { \ a 70 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h for(_ut_i=0; _ut_i < (a)->i; _ut_i++) { \ a 71 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h (a)->icd.dtor(utarray_eltptr(a,_ut_i)); \ a 74 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h free((a)->d); \ a 76 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h (a)->n=0; \ a 79 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_new(a,_icd) do { \ a 80 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h a=(UT_array*)malloc(sizeof(UT_array)); \ a 81 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h utarray_init(a,_icd); \ a 84 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_free(a) do { \ a 85 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h utarray_done(a); \ a 86 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h free(a); \ a 89 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_reserve(a,by) do { \ a 90 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if (((a)->i+(by)) > ((a)->n)) { \ a 92 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h while(((a)->i+(by)) > ((a)->n)) { (a)->n = ((a)->n ? (2*(a)->n) : 8); } \ a 93 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h utarray_tmp=(char*)realloc((a)->d, (a)->n*(a)->icd.sz); \ a 95 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h (a)->d=utarray_tmp; \ a 99 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_push_back(a,p) do { \ a 100 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h utarray_reserve(a,1); \ a 101 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if ((a)->icd.copy) { (a)->icd.copy( _utarray_eltptr(a,(a)->i++), p); } \ a 102 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h else { memcpy(_utarray_eltptr(a,(a)->i++), p, (a)->icd.sz); }; \ a 105 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_pop_back(a) do { \ a 106 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if ((a)->icd.dtor) { (a)->icd.dtor( _utarray_eltptr(a,--((a)->i))); } \ a 107 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h else { (a)->i--; } \ a 110 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_extend_back(a) do { \ a 111 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h utarray_reserve(a,1); \ a 112 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if ((a)->icd.init) { (a)->icd.init(_utarray_eltptr(a,(a)->i)); } \ a 113 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h else { memset(_utarray_eltptr(a,(a)->i),0,(a)->icd.sz); } \ a 114 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h (a)->i++; \ a 117 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_len(a) ((a)->i) a 119 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_eltptr(a,j) (((j) < (a)->i) ? _utarray_eltptr(a,j) : NULL) a 120 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define _utarray_eltptr(a,j) ((char*)((a)->d + ((a)->icd.sz*(j) ))) a 122 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_insert(a,p,j) do { \ a 123 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if (j > (a)->i) utarray_resize(a,j); \ a 124 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h utarray_reserve(a,1); \ a 125 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if ((j) < (a)->i) { \ a 126 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h memmove( _utarray_eltptr(a,(j)+1), _utarray_eltptr(a,j), \ a 127 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h ((a)->i - (j))*((a)->icd.sz)); \ a 129 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if ((a)->icd.copy) { (a)->icd.copy( _utarray_eltptr(a,j), p); } \ a 130 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h else { memcpy(_utarray_eltptr(a,j), p, (a)->icd.sz); }; \ a 131 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h (a)->i++; \ a 134 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_inserta(a,w,j) do { \ a 136 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if (j > (a)->i) utarray_resize(a,j); \ a 137 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h utarray_reserve(a,utarray_len(w)); \ a 138 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if ((j) < (a)->i) { \ a 139 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h memmove(_utarray_eltptr(a,(j)+utarray_len(w)), \ a 140 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h _utarray_eltptr(a,j), \ a 141 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h ((a)->i - (j))*((a)->icd.sz)); \ a 143 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if ((a)->icd.copy) { \ a 146 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h (a)->icd.copy(_utarray_eltptr(a,j+_ut_i), _utarray_eltptr(w,_ut_i)); \ a 149 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h memcpy(_utarray_eltptr(a,j), _utarray_eltptr(w,0), \ a 150 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h utarray_len(w)*((a)->icd.sz)); \ a 152 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h (a)->i += utarray_len(w); \ a 180 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_erase(a,pos,len) do { \ a 181 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if ((a)->icd.dtor) { \ a 184 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h (a)->icd.dtor(utarray_eltptr((a),pos+_ut_i)); \ a 187 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if ((a)->i > (pos+len)) { \ a 188 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h memmove( _utarray_eltptr((a),pos), _utarray_eltptr((a),pos+len), \ a 189 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h (((a)->i)-(pos+len))*((a)->icd.sz)); \ a 191 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h (a)->i -= (len); \ a 194 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_renew(a,u) do { \ a 195 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if (a) utarray_clear(a); \ a 196 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h else utarray_new((a),(u)); \ a 199 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_clear(a) do { \ a 200 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if ((a)->i > 0) { \ a 201 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h if ((a)->icd.dtor) { \ a 203 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h for(_ut_i=0; _ut_i < (a)->i; _ut_i++) { \ a 204 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h (a)->icd.dtor(utarray_eltptr(a,_ut_i)); \ a 207 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h (a)->i = 0; \ a 211 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_sort(a,cmp) do { \ a 212 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h qsort((a)->d, (a)->i, (a)->icd.sz, cmp); \ a 215 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_find(a,v,cmp) bsearch((v),(a)->d,(a)->i,(a)->icd.sz,cmp) a 217 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_front(a) (((a)->i) ? (_utarray_eltptr(a,0)) : NULL) a 218 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_next(a,e) (((e)==NULL) ? utarray_front(a) : ((((a)->i) > (utarray_eltidx(a,e)+1)) ? _utarray_eltptr(a,utarray_eltidx(a,e)+1) : NULL)) a 219 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_prev(a,e) (((e)==NULL) ? utarray_back(a) : ((utarray_eltidx(a,e) > 0) ? _utarray_eltptr(a,utarray_eltidx(a,e)-1) : NULL)) a 220 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_back(a) (((a)->i) ? (_utarray_eltptr(a,(a)->i-1)) : NULL) a 221 opal/mca/hwloc/hwloc201/hwloc/include/netloc/utarray.h #define utarray_eltidx(a,e) (((char*)(e) >= (char*)((a)->d)) ? (((char*)(e) - (char*)((a)->d))/(size_t)(a)->icd.sz) : (unsigned int)-1) a 420 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h #define HASH_JEN_MIX(a,b,c) \ a 422 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h a -= b; a -= c; a ^= ( c >> 13 ); \ a 423 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h b -= c; b -= a; b ^= ( a << 8 ); \ a 424 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h c -= a; c -= b; c ^= ( b >> 13 ); \ a 425 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h a -= b; a -= c; a ^= ( c >> 12 ); \ a 426 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h b -= c; b -= a; b ^= ( a << 16 ); \ a 427 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h c -= a; c -= b; c ^= ( b >> 5 ); \ a 428 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h a -= b; a -= c; a ^= ( c >> 3 ); \ a 429 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h b -= c; b -= a; b ^= ( a << 10 ); \ a 430 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h c -= a; c -= b; c ^= ( b >> 15 ); \ a 611 opal/mca/hwloc/hwloc201/hwloc/include/netloc/uthash.h #define HASH_KEYCMP(a,b,len) memcmp(a,b,(unsigned long)(len)) a 194 opal/mca/mpool/hugepage/mpool_hugepage_component.c static int page_compare (opal_list_item_t **a, opal_list_item_t **b) { a 195 opal/mca/mpool/hugepage/mpool_hugepage_component.c mca_mpool_hugepage_hugepage_t *pagea = (mca_mpool_hugepage_hugepage_t *) *a; a 81 opal/mca/patcher/base/patcher_base_patch.c static void flush_and_invalidate_cache (unsigned long a) a 104 opal/mca/patcher/base/patcher_base_patch.c __asm__ volatile("mfence;clflush %0;mfence" : :"m" (*(char*)a)); a 107 opal/mca/patcher/base/patcher_base_patch.c __asm__ volatile("mfence;clflush %0;mfence" : :"m" (*(char*)a)); a 109 opal/mca/patcher/base/patcher_base_patch.c __asm__ volatile ("fc %0;; sync.i;; srlz.i;;" : : "r"(a) : "memory"); a 115 opal/mca/patcher/base/patcher_base_patch.c "isb":: "r" (a)); a 58 opal/mca/pmix/base/base.h #define opal_pmix_condition_wait(a,b) pthread_cond_wait(a, &(b)->m_lock_pthread) a 60 opal/mca/pmix/base/base.h #define opal_pmix_condition_broadcast(a) pthread_cond_broadcast(a) a 61 opal/mca/pmix/base/base.h #define opal_pmix_condition_signal(a) pthread_cond_signal(a) a 163 opal/mca/pmix/cray/pmix_cray.c #define CRAY_WAIT_FOR_COMPLETION(a) \ a 165 opal/mca/pmix/cray/pmix_cray.c while ((a)) { \ a 39 opal/mca/pmix/ext1x/pmix1x_client.c #define PMIX_WAIT_FOR_COMPLETION(a) \ a 41 opal/mca/pmix/ext1x/pmix1x_client.c while ((a)) { \ a 62 opal/mca/pmix/ext1x/pmix1x_server_south.c #define PMIX_WAIT_FOR_COMPLETION(a) \ a 64 opal/mca/pmix/ext1x/pmix1x_server_south.c while ((a)) { \ a 135 opal/mca/pmix/pmix4x/pmix/examples/server.c #define PMIX_WAIT_FOR_COMPLETION(a) \ a 137 opal/mca/pmix/pmix4x/pmix/examples/server.c while ((a)) { \ a 140 opal/mca/pmix/pmix4x/pmix/examples/server.c PMIX_ACQUIRE_OBJECT((a)); \ a 67 opal/mca/pmix/pmix4x/pmix/include/pmix_extend.h #define PMIX_CHECK_KEY(a, b) \ a 68 opal/mca/pmix/pmix4x/pmix/include/pmix_extend.h (0 == strncmp((a)->key, (b), PMIX_MAX_KEYLEN)) a 71 opal/mca/pmix/pmix4x/pmix/include/pmix_extend.h #define PMIX_CHECK_NSPACE(a, b) \ a 72 opal/mca/pmix/pmix4x/pmix/include/pmix_extend.h (0 == strncmp((a), (b), PMIX_MAX_NSLEN)) a 75 opal/mca/pmix/pmix4x/pmix/include/pmix_extend.h #define PMIX_CHECK_PROCID(a, b) \ a 76 opal/mca/pmix/pmix4x/pmix/include/pmix_extend.h (PMIX_CHECK_NSPACE((a)->nspace, (b)->nspace) && ((a)->rank == (b)->rank || (PMIX_RANK_WILDCARD == (a)->rank || PMIX_RANK_WILDCARD == (b)->rank))) a 114 opal/mca/pmix/pmix4x/pmix/src/atomics/sys/powerpc/atomic.h #define PMIX_ASM_ADDR(a) ((uintptr_t)a) a 116 opal/mca/pmix/pmix4x/pmix/src/atomics/sys/powerpc/atomic.h #define PMIX_ASM_ADDR(a) (a) a 45 opal/mca/pmix/pmix4x/pmix/src/atomics/sys/sparcv9/timer.h int a, b; a 49 opal/mca/pmix/pmix4x/pmix/src/atomics/sys/sparcv9/timer.h "=r"(a), "=r"(b) a 52 opal/mca/pmix/pmix4x/pmix/src/atomics/sys/sparcv9/timer.h ret = (0x00000000FFFFFFFF & a) | (((pmix_timer_t) b) << 32); a 882 opal/mca/pmix/pmix4x/pmix/src/class/pmix_list.h typedef int (*pmix_list_item_compare_fn_t)(pmix_list_item_t **a, a 25 opal/mca/pmix/pmix4x/pmix/src/include/align.h #define PMIX_ALIGN(x,a,t) (((x)+((t)(a)-1)) & ~(((t)(a)-1))) a 26 opal/mca/pmix/pmix4x/pmix/src/include/align.h #define PMIX_ALIGN_PTR(x,a,t) ((t)PMIX_ALIGN((uintptr_t)x, a, uintptr_t)) a 126 opal/mca/pmix/pmix4x/pmix/src/include/pmix_config_bottom.h # define __pmix_attribute_aligned__(a) __attribute__((__aligned__(a))) a 129 opal/mca/pmix/pmix4x/pmix/src/include/pmix_config_bottom.h # define __pmix_attribute_aligned__(a) a 194 opal/mca/pmix/pmix4x/pmix/src/include/pmix_config_bottom.h # define __pmix_attribute_format__(a,b,c) __attribute__((__format__(a, b, c))) a 196 opal/mca/pmix/pmix4x/pmix/src/include/pmix_config_bottom.h # define __pmix_attribute_format__(a,b,c) a 201 opal/mca/pmix/pmix4x/pmix/src/include/pmix_config_bottom.h # define __pmix_attribute_format_funcptr__(a,b,c) __attribute__((__format__(a, b, c))) a 203 opal/mca/pmix/pmix4x/pmix/src/include/pmix_config_bottom.h # define __pmix_attribute_format_funcptr__(a,b,c) a 257 opal/mca/pmix/pmix4x/pmix/src/include/pmix_config_bottom.h # define __pmix_attribute_nonnull__(a) __attribute__((__nonnull__(a))) a 260 opal/mca/pmix/pmix4x/pmix/src/include/pmix_config_bottom.h # define __pmix_attribute_nonnull__(a) a 168 opal/mca/pmix/pmix4x/pmix/src/mca/base/base.h PMIX_EXPORT int pmix_mca_base_component_compare_priority(pmix_mca_base_component_priority_list_item_t *a, a 170 opal/mca/pmix/pmix4x/pmix/src/mca/base/base.h PMIX_EXPORT int pmix_mca_base_component_compare(const pmix_mca_base_component_t *a, a 172 opal/mca/pmix/pmix4x/pmix/src/mca/base/base.h PMIX_EXPORT int pmix_mca_base_component_compatible(const pmix_mca_base_component_t *a, a 174 opal/mca/pmix/pmix4x/pmix/src/mca/base/base.h PMIX_EXPORT char * pmix_mca_base_component_to_string(const pmix_mca_base_component_t *a); a 41 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_compare.c pmix_mca_base_component_compare_priority(pmix_mca_base_component_priority_list_item_t *a, a 46 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_compare.c if (a->cpli_priority > b->cpli_priority) { a 48 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_compare.c } else if (a->cpli_priority < b->cpli_priority) { a 51 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_compare.c return pmix_mca_base_component_compare(a->super.cli_component, a 143 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_compare.c char * pmix_mca_base_component_to_string(const pmix_mca_base_component_t *a) { a 145 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_compare.c if(0 > asprintf(&str, "%s.%s.%d.%d", a->pmix_mca_type_name, a 146 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_compare.c a->pmix_mca_component_name, a->pmix_mca_component_major_version, a 147 opal/mca/pmix/pmix4x/pmix/src/mca/base/pmix_mca_base_component_compare.c a->pmix_mca_component_minor_version)) { a 61 opal/mca/pmix/pmix4x/pmix/src/threads/threads.h #define pmix_condition_wait(a,b) pthread_cond_wait(a, &(b)->m_lock_pthread) a 63 opal/mca/pmix/pmix4x/pmix/src/threads/threads.h #define pmix_condition_broadcast(a) pthread_cond_broadcast(a) a 64 opal/mca/pmix/pmix4x/pmix/src/threads/threads.h #define pmix_condition_signal(a) pthread_cond_signal(a) a 144 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c static void fill(const pmix_cmd_line_option_t *a, char result[3][BUFSIZ]); a 145 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c static int qsort_callback(const void *a, const void *b); a 1277 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c static void fill(const pmix_cmd_line_option_t *a, char result[3][BUFSIZ]) a 1285 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c if ('\0' != a->clo_short_name) { a 1286 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c snprintf(&result[i][0], BUFSIZ, "%c", a->clo_short_name); a 1289 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c if (NULL != a->clo_single_dash_name) { a 1290 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c snprintf(&result[i][0], BUFSIZ, "%s", a->clo_single_dash_name); a 1293 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c if (NULL != a->clo_long_name) { a 1294 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c snprintf(&result[i][0], BUFSIZ, "%s", a->clo_long_name); a 1304 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c const pmix_cmd_line_option_t *a = *((const pmix_cmd_line_option_t**) aa); a 1312 opal/mca/pmix/pmix4x/pmix/src/util/cmd_line.c fill(a, str1); a 132 opal/mca/pmix/pmix4x/pmix/src/util/net.c uint32_t a, b, c, d, bits, addr; a 147 opal/mca/pmix/pmix4x/pmix/src/util/net.c (void)sscanf( arg, "%u.%u.%u.%u/%u", &a, &b, &c, &d, &bits ); a 149 opal/mca/pmix/pmix4x/pmix/src/util/net.c if( (a > 255) || (b > 255) || (c > 255) || a 159 opal/mca/pmix/pmix4x/pmix/src/util/net.c addr = (a << 24) | (b << 16) | (c << 8) | d; a 504 opal/mca/pmix/pmix4x/pmix/src/util/output.h #define PMIX_OUTPUT(a) pmix_output a a 513 opal/mca/pmix/pmix4x/pmix/src/util/output.h #define PMIX_OUTPUT_VERBOSE(a) pmix_output_verbose a a 522 opal/mca/pmix/pmix4x/pmix/src/util/output.h #define PMIX_OUTPUT(a) a 531 opal/mca/pmix/pmix4x/pmix/src/util/output.h #define PMIX_OUTPUT_VERBOSE(a) a 77 opal/mca/pmix/pmix4x/pmix/src/util/pif.c # define MIN(a,b) ((a) < (b) ? (a) : (b)) a 291 opal/mca/pmix/pmix4x/pmix/src/util/printf.c char a[10]; a 301 opal/mca/pmix/pmix4x/pmix/src/util/printf.c length = pmix_snprintf(a, sizeof(a), "this is a string %d", 1004); a 302 opal/mca/pmix/pmix4x/pmix/src/util/printf.c printf("string = %s\n", a); a 304 opal/mca/pmix/pmix4x/pmix/src/util/printf.c printf("strlen = %d\n", (int) strlen(a)); a 21 opal/mca/pmix/pmix4x/pmix/src/util/strnlen.h #define PMIX_STRNLEN(c, a, b) \ a 22 opal/mca/pmix/pmix4x/pmix/src/util/strnlen.h (c) = strnlen(a, b) a 24 opal/mca/pmix/pmix4x/pmix/src/util/strnlen.h #define PMIX_STRNLEN(c, a, b) \ a 29 opal/mca/pmix/pmix4x/pmix/src/util/strnlen.h if ('\0' == (a)[_x]) { \ a 42 opal/mca/pmix/pmix4x/pmix/test/simple/simpdmodex.c #define PMIX_WAIT_FOR_COMPLETION(a) \ a 44 opal/mca/pmix/pmix4x/pmix/test/simple/simpdmodex.c while ((a)) { \ a 634 opal/mca/pmix/s1/pmix_s1.c #define S1_WAIT_FOR_COMPLETION(a) \ a 636 opal/mca/pmix/s1/pmix_s1.c while ((a)) { \ a 653 opal/mca/pmix/s2/pmix_s2.c #define S2_WAIT_FOR_COMPLETION(a) \ a 655 opal/mca/pmix/s2/pmix_s2.c while ((a)) { \ a 138 opal/mca/shmem/sysv/shmem_sysv_component.c char *a = NULL; a 187 opal/mca/shmem/sysv/shmem_sysv_component.c a = addr; a 188 opal/mca/shmem/sysv/shmem_sysv_component.c *a = c; a 42 opal/util/bipartite_graph.c # define MAX(a,b) ((a) > (b) ? (a) : (b)) a 46 opal/util/bipartite_graph.c # define MIN(a,b) ((a) < (b) ? (a) : (b)) a 52 opal/util/bipartite_graph.c static inline void check_add64_overflow(int64_t a, int64_t b) a 54 opal/util/bipartite_graph.c assert(!((b > 0) && (a > (INT64_MAX - b))) && a 55 opal/util/bipartite_graph.c !((b < 0) && (a < (INT64_MIN - b)))); a 144 opal/util/cmd_line.c static void fill(const ompi_cmd_line_option_t *a, char result[3][BUFSIZ]); a 145 opal/util/cmd_line.c static int qsort_callback(const void *a, const void *b); a 1282 opal/util/cmd_line.c static void fill(const ompi_cmd_line_option_t *a, char result[3][BUFSIZ]) a 1290 opal/util/cmd_line.c if ('\0' != a->clo_short_name) { a 1291 opal/util/cmd_line.c snprintf(&result[i][0], BUFSIZ, "%c", a->clo_short_name); a 1294 opal/util/cmd_line.c if (NULL != a->clo_single_dash_name) { a 1295 opal/util/cmd_line.c snprintf(&result[i][0], BUFSIZ, "%s", a->clo_single_dash_name); a 1298 opal/util/cmd_line.c if (NULL != a->clo_long_name) { a 1299 opal/util/cmd_line.c snprintf(&result[i][0], BUFSIZ, "%s", a->clo_long_name); a 1309 opal/util/cmd_line.c const ompi_cmd_line_option_t *a = *((const ompi_cmd_line_option_t**) aa); a 1317 opal/util/cmd_line.c fill(a, str1); a 78 opal/util/if.c # define MIN(a,b) ((a) < (b) ? (a) : (b)) a 155 opal/util/net.c uint32_t a, b, c, d, bits, addr; a 170 opal/util/net.c (void)sscanf( arg, "%u.%u.%u.%u/%u", &a, &b, &c, &d, &bits ); a 172 opal/util/net.c if( (a > 255) || (b > 255) || (c > 255) || a 182 opal/util/net.c addr = (a << 24) | (b << 16) | (c << 8) | d; a 40 opal/util/opal_getcwd.c struct stat a, b; a 66 opal/util/opal_getcwd.c if (0 != stat(cwd, &a)) { a 78 opal/util/opal_getcwd.c if (a.st_dev != b.st_dev || a.st_ino != b.st_ino) { a 509 opal/util/output.h #define OPAL_OUTPUT(a) opal_output a a 518 opal/util/output.h #define OPAL_OUTPUT_VERBOSE(a) opal_output_verbose a a 527 opal/util/output.h #define OPAL_OUTPUT(a) a 536 opal/util/output.h #define OPAL_OUTPUT_VERBOSE(a) a 312 opal/util/printf.c char a[10]; a 322 opal/util/printf.c length = opal_snprintf(a, sizeof(a), "this is a string %d", 1004); a 323 opal/util/printf.c printf("string = %s\n", a); a 325 opal/util/printf.c printf("strlen = %d\n", (int) strlen(a)); a 46 opal/util/qsort.c #define min(a, b) (a) < (b) ? a : b a 62 opal/util/qsort.c #define SWAPINIT(a, es) swaptype = ((char *)a - (char *)0) % sizeof(long) || \ a 66 opal/util/qsort.c swapfunc(a, b, n, swaptype) a 67 opal/util/qsort.c char *a, *b; a 71 opal/util/qsort.c swapcode(long, a, b, n) a 73 opal/util/qsort.c swapcode(char, a, b, n) a 76 opal/util/qsort.c #define swap(a, b) \ a 78 opal/util/qsort.c long t = *(long *)(a); \ a 79 opal/util/qsort.c *(long *)(a) = *(long *)(b); \ a 82 opal/util/qsort.c swapfunc(a, b, es, swaptype) a 84 opal/util/qsort.c #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype) a 89 opal/util/qsort.c med3(char *a, char *b, char *c, cmp_t *cmp, void *thunk) a 91 opal/util/qsort.c return CMP(thunk, a, b) < 0 ? a 92 opal/util/qsort.c (CMP(thunk, b, c) < 0 ? b : (CMP(thunk, a, c) < 0 ? c : a )) a 93 opal/util/qsort.c :(CMP(thunk, b, c) > 0 ? b : (CMP(thunk, a, c) < 0 ? a : c )); a 98 opal/util/qsort.c opal_qsort(void *a, size_t n, size_t es, cmp_t *cmp) a 103 opal/util/qsort.c loop: SWAPINIT(a, es); a 106 opal/util/qsort.c for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es) a 108 opal/util/qsort.c pl > (char *)a && CMP(thunk, pl - es, pl) > 0; a 113 opal/util/qsort.c pm = (char *)a + (n / 2) * es; a 115 opal/util/qsort.c pl = a; a 116 opal/util/qsort.c pn = (char *)a + (n - 1) * es; a 125 opal/util/qsort.c swap(a, pm); a 126 opal/util/qsort.c pa = pb = (char *)a + es; a 128 opal/util/qsort.c pc = pd = (char *)a + (n - 1) * es; a 130 opal/util/qsort.c while (pb <= pc && (r = CMP(thunk, pb, a)) <= 0) { a 138 opal/util/qsort.c while (pb <= pc && (r = CMP(thunk, pc, a)) >= 0) { a 154 opal/util/qsort.c for (pm = (char *)a + es; pm < (char *)a + n * es; pm += es) a 156 opal/util/qsort.c pl > (char *)a && CMP(thunk, pl - es, pl) > 0; a 162 opal/util/qsort.c pn = (char *)a + n * es; a 163 opal/util/qsort.c r = (int) min(pa - (char *)a, pb - pa); a 164 opal/util/qsort.c vecswap(a, pb - r, r); a 168 opal/util/qsort.c opal_qsort(a, r / es, es, cmp); a 171 opal/util/qsort.c a = pn - r; a 30 opal/util/qsort.h void opal_qsort(void *a, size_t n, size_t es, int (*cmp)(const void *, const void*)); a 155 opal/win32/win_compat.h #define posix_memalign(p, a, s) *p=_aligned_malloc(s,a) a 133 orte/mca/iof/iof.h #define ORTE_IOF_PROXY_PULL(a, b) \ a 145 orte/mca/iof/iof.h nm.jobid = (a)->jobid; \ a 66 orte/mca/oob/tcp/oob_tcp_connection.h #define ORTE_ACTIVATE_TCP_ACCEPT_STATE(s, a, cbfunc) \ a 159 orte/mca/sstore/central/sstore_central_global.c static int central_snapshot_sort_compare_fn(opal_list_item_t **a, a 1200 orte/mca/sstore/central/sstore_central_global.c static int central_snapshot_sort_compare_fn(opal_list_item_t **a, a 1205 orte/mca/sstore/central/sstore_central_global.c snap_a = (orte_sstore_base_local_snapshot_info_t*)(*a); a 187 orte/mca/sstore/stage/sstore_stage_global.c static int stage_snapshot_sort_compare_fn(opal_list_item_t **a, a 1721 orte/mca/sstore/stage/sstore_stage_global.c static int stage_snapshot_sort_compare_fn(opal_list_item_t **a, a 1726 orte/mca/sstore/stage/sstore_stage_global.c snap_a = (orte_sstore_base_local_snapshot_info_t*)(*a); a 56 orte/orted/pmix/pmix_server_internal.h #define ORTE_ADJUST_TIMEOUT(a) \ a 58 orte/orted/pmix/pmix_server_internal.h (a)->timeout = (2 * orte_process_info.num_daemons) / 1000; \ a 59 orte/orted/pmix/pmix_server_internal.h if ((a)->timeout < ORTED_PMIX_MIN_DMX_TIMEOUT) { \ a 60 orte/orted/pmix/pmix_server_internal.h (a)->timeout = ORTED_PMIX_MIN_DMX_TIMEOUT; \ a 41 orte/tools/orte-info/output.c #define OMPI_max(a,b) (((a) > (b)) ? (a) : (b)) a 78 orte/util/session_dir.c #define OMPI_PRINTF_FIX_STRING(a) ((NULL == a) ? "(null)" : a) a 249 orte/util/show_help.c static int match(const char *a, const char *b) a 256 orte/util/show_help.c if (0 == strcmp(a, b)) return ORTE_SUCCESS; a 258 orte/util/show_help.c if (NULL != strchr(a, '*') || NULL != strchr(b, '*')) { a 259 orte/util/show_help.c tmp1 = strdup(a); a 30 orte/util/threads.h #define orte_condition_wait(a,b) pthread_cond_wait(a, &(b)->m_lock_pthread) a 32 orte/util/threads.h #define orte_condition_broadcast(a) pthread_cond_broadcast(a) a 33 orte/util/threads.h #define orte_condition_signal(a) pthread_cond_signal(a) a 240 oshmem/mca/atomic/atomic.h #define MCA_ATOMIC_CALL(a) mca_atomic.atomic_ ## a a 116 oshmem/mca/atomic/base/atomic_base_select.c static int avail_com_compare (opal_list_item_t **a, a 119 oshmem/mca/atomic/base/atomic_base_select.c avail_com_t *acom = (avail_com_t *) *a; a 131 oshmem/mca/memheap/memheap.h #define MCA_MEMHEAP_CALL_STAMP(a, b) mca_memheap_ ## a ## _ ## b a 132 oshmem/mca/memheap/memheap.h #define MCA_MEMHEAP_CALL_EXPANDER(a, b) MCA_MEMHEAP_CALL_STAMP(a,b) a 133 oshmem/mca/memheap/memheap.h #define MCA_MEMHEAP_CALL(a) MCA_MEMHEAP_CALL_EXPANDER(MCA_oshmem_memheap_DIRECT_CALL_COMPONENT, a) a 136 oshmem/mca/memheap/memheap.h #define MCA_MEMHEAP_CALL(a) mca_memheap.memheap_ ## a a 1401 oshmem/mca/memheap/ptmalloc/malloc.c #define CALL_MUNMAP(a, s) (-1) a 1409 oshmem/mca/memheap/ptmalloc/malloc.c #define CALL_MUNMAP(a, s) munmap((a), (s)) a 1465 oshmem/mca/memheap/ptmalloc/malloc.c #define CALL_MUNMAP(a, s) win32munmap((a), (s)) a 2705 oshmem/mca/memheap/ptmalloc/malloc.c #define ok_address(M, a) ((char*)(a) >= (M)->least_addr) a 2714 oshmem/mca/memheap/ptmalloc/malloc.c #define ok_address(M, a) (1) a 4196 oshmem/mca/memheap/ptmalloc/malloc.c size_t a = MALLOC_ALIGNMENT << 1; a 4197 oshmem/mca/memheap/ptmalloc/malloc.c while (a < alignment) a <<= 1; a 4198 oshmem/mca/memheap/ptmalloc/malloc.c alignment = a; a 266 oshmem/mca/scoll/base/scoll_base_select.c static int avail_coll_compare(opal_list_item_t **a, a 269 oshmem/mca/scoll/base/scoll_base_select.c avail_com_t *acom = (avail_com_t *) *a; a 433 oshmem/mca/spml/spml.h #define MCA_SPML_CALL_STAMP(a, b) mca_spml_ ## a ## _ ## b a 434 oshmem/mca/spml/spml.h #define MCA_SPML_CALL_EXPANDER(a, b) MCA_SPML_CALL_STAMP(a,b) a 435 oshmem/mca/spml/spml.h #define MCA_SPML_CALL(a) MCA_SPML_CALL_EXPANDER(MCA_oshmem_spml_DIRECT_CALL_COMPONENT, a) a 438 oshmem/mca/spml/spml.h #define MCA_SPML_CALL(a) mca_spml.spml_ ## a a 99 oshmem/mca/sshmem/sysv/sshmem_sysv_component.c char *a = NULL; a 156 oshmem/mca/sshmem/sysv/sshmem_sysv_component.c a = addr; a 157 oshmem/mca/sshmem/sysv/sshmem_sysv_component.c *a = c; a 37 oshmem/mca/sshmem/ucx/sshmem_ucx_module.c #define min(a,b) ((a) < (b) ? (a) : (b)) a 38 oshmem/mca/sshmem/ucx/sshmem_ucx_module.c #define max(a,b) ((a) > (b) ? (a) : (b)) a 170 oshmem/op/op.c type *a = (type *) in; \ a 173 oshmem/op/op.c *(b) = calc(*(b), *(a)); \ a 175 oshmem/op/op.c ++a; \ a 190 oshmem/op/op.c #define __and_op(a, b) ((a) & (b)) a 203 oshmem/op/op.c #define __or_op(a, b) ((a) | (b)) a 216 oshmem/op/op.c #define __xor_op(a, b) ((a) ^ (b)) a 229 oshmem/op/op.c #define __max_op(a, b) ((a) > (b) ? (a) : (b)) a 250 oshmem/op/op.c #define __min_op(a, b) ((a) < (b) ? (a) : (b)) a 271 oshmem/op/op.c #define __sum_op(a, b) ((a) + (b)) a 294 oshmem/op/op.c #define __prod_op(a, b) ((a) * (b)) a 317 oshmem/op/op.c #define __swap_op(a, b) (a) a 15 oshmem/shmem/fortran/shmem_fortran_pointer.h #define FPTR_2_VOID_PTR(a) ((void *)(a)) a 33 test/class/opal_fifo.c #define timersub(a, b, r) \ a 35 test/class/opal_fifo.c (r)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ a 36 test/class/opal_fifo.c if ((a)->tv_usec < (b)->tv_usec) { \ a 38 test/class/opal_fifo.c (a)->tv_usec += 1000000; \ a 40 test/class/opal_fifo.c (r)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ a 31 test/class/opal_lifo.c #define timersub(a, b, r) \ a 33 test/class/opal_lifo.c (r)->tv_sec = (a)->tv_sec - (b)->tv_sec; \ a 34 test/class/opal_lifo.c if ((a)->tv_usec < (b)->tv_usec) { \ a 36 test/class/opal_lifo.c (a)->tv_usec += 1000000; \ a 38 test/class/opal_lifo.c (r)->tv_usec = (a)->tv_usec - (b)->tv_usec; \ a 55 test/datatype/ddt_test.c struct iovec a; a 92 test/datatype/ddt_test.c a.iov_base = ptr; a 93 test/datatype/ddt_test.c a.iov_len = split_chunk; a 96 test/datatype/ddt_test.c opal_convertor_unpack( pConv, &a, &iov_count, &max_data ); a 73 test/datatype/opal_datatype_test.c struct iovec a; a 110 test/datatype/opal_datatype_test.c a.iov_base = ptr; a 111 test/datatype/opal_datatype_test.c a.iov_len = split_chunk; a 114 test/datatype/opal_datatype_test.c opal_convertor_unpack( pConv, &a, &iov_count, &max_data ); a 52 test/datatype/unpack_hetero.c struct iovec a; a 66 test/datatype/unpack_hetero.c a.iov_base = sbuf; a 67 test/datatype/unpack_hetero.c a.iov_len = 4; a 70 test/datatype/unpack_hetero.c opal_unpack_general( pConv, &a, &iov_count, &max_data ); a 85 test/datatype/unpack_hetero.c a.iov_base = sbuf; a 86 test/datatype/unpack_hetero.c a.iov_len = 4; a 89 test/datatype/unpack_hetero.c opal_unpack_general( pConv, &a, &iov_count, &max_data ); a 66 test/datatype/unpack_ooo.c struct iovec a; a 93 test/datatype/unpack_ooo.c a.iov_base = malloc(arr[i][0]+2048); a 94 test/datatype/unpack_ooo.c if (NULL == a.iov_base) { a 98 test/datatype/unpack_ooo.c memset(a.iov_base, 0xAA, 1024); a 99 test/datatype/unpack_ooo.c memcpy((char*)a.iov_base+1024, (char *)pbar + arr[i][1], arr[i][0]); a 100 test/datatype/unpack_ooo.c memset((char*)a.iov_base+1024+arr[i][0], 0xAA, 1024); a 101 test/datatype/unpack_ooo.c a.iov_base = (char*)a.iov_base + 1024; a 102 test/datatype/unpack_ooo.c a.iov_len = arr[i][0]; a 104 test/datatype/unpack_ooo.c max_data = a.iov_len; a 108 test/datatype/unpack_ooo.c opal_convertor_unpack( pConv, &a, &iov_count, &max_data ); a 109 test/datatype/unpack_ooo.c a.iov_base = (char*)a.iov_base - 1024; a 110 test/datatype/unpack_ooo.c free(a.iov_base); a 44 test/monitoring/test_overhead.c const double*a = _a; a 46 test/monitoring/test_overhead.c if(*a < *b) a 48 test/monitoring/test_overhead.c else if(*a > *b) a 37 test/support/support.c void test_init(const char *a) a 43 test/support/support.c len = strlen(a); a 47 test/support/support.c strcpy(opal_description, a); a 66 test/support/support.c void test_failure(const char *a) a 72 test/support/support.c fprintf(stderr, "%s", a); a 29 test/support/support.h void test_init(const char *a); a 31 test/support/support.h void test_failure(const char *a); a 22 test/util/bipartite_graph.c # define check(a) \ a 24 test/util/bipartite_graph.c if (!(a)) { \ a 25 test/util/bipartite_graph.c test_out("%s:%d: check failed, '%s'\n", __func__, __LINE__, #a); \ a 29 test/util/bipartite_graph.c # define check_str_eq(a,b) \ a 31 test/util/bipartite_graph.c const char *a_ = (a); \ a 51 test/util/bipartite_graph.c # define check_msg(a, msg) \ a 53 test/util/bipartite_graph.c if (!(a)) { \ a 55 test/util/bipartite_graph.c __func__, __LINE__, #a, (msg)); \ a 110 test/util/bipartite_graph.c static int cmp_int_pair(const void *a, const void *b) a 112 test/util/bipartite_graph.c int *ia = (int *)a; a 88 test/util/opal_argv.c char *a[] = { "argv1", "argv2", "argv3", NULL }; a 104 test/util/opal_argv.c for (i = 0; a[i] != NULL; ++i) { a 105 test/util/opal_argv.c if (opal_argv_append(&argc, &argv, a[i]) != OPAL_SUCCESS) { a 109 test/util/opal_argv.c if (strcmp(argv[j], a[j]) != 0) { a 131 test/util/opal_argv.c char *a[] = { "aaa", "bbb", "ccc", NULL }; a 141 test/util/opal_argv.c for (i = 0; a[i] != NULL; ++i) { a 142 test/util/opal_argv.c b[i] = strdup(a[i]); a 152 test/util/opal_argv.c if (strcmp(argv[j], a[j]) != 0) { a 178 test/util/opal_argv.c char *a[] = { "aaa", "bbb", "ccc", NULL }; a 190 test/util/opal_argv.c for (i = 0; a[i] != NULL; ++i) { a 191 test/util/opal_argv.c if (opal_argv_append(&argc, &argv, a[i]) != OPAL_SUCCESS) { a 202 test/util/opal_argv.c for (i = 0; a[i] != NULL; ++i) { a 203 test/util/opal_argv.c b[i] = strdup(a[i]); a 225 test/util/opal_argv.c char *a = strdup("the quick brown fox jumped over the lazy dog a_really_long_argument_to_force_a_long_copy_zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"); a 233 test/util/opal_argv.c b = opal_argv_split(a, ' '); a 235 test/util/opal_argv.c for (count = i = 1; i < strlen(a); ++i) { a 236 test/util/opal_argv.c if (a[i] != ' ' && a[i - 1] == ' ') { a 249 test/util/opal_argv.c for (start = a, count = i = 0; i < strlen(a); ++i) { a 250 test/util/opal_argv.c if (a[i] == ' ' && a[i - 1] != ' ') { a 251 test/util/opal_argv.c a[i] = '\0'; a 256 test/util/opal_argv.c a[i] = ' '; a 258 test/util/opal_argv.c if (a[i] == ' ' && a[i + 1] != ' ') { a 259 test/util/opal_argv.c start = a + i + 1; a 269 test/util/opal_argv.c free(a); a 276 test/util/opal_argv.c char *a[] = { "aaa", "bbb", "ccc", NULL }; a 278 test/util/opal_argv.c return (opal_argv_count(NULL) == 0 && opal_argv_count(a) == 3); a 284 test/util/opal_argv.c char *a = "the quick brown fox jumped over the lazy dog a_really_long_argument_to_force_a_long_copy_zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz"; a 291 test/util/opal_argv.c b = opal_argv_split(a, ' '); a 294 test/util/opal_argv.c if (strcmp(a, c) != 0) { a 308 test/util/opal_argv.c char *a[] = { "a", "b", "c", NULL }; a 321 test/util/opal_argv.c if (opal_argv_len(a) != a_len) { a 333 test/util/opal_argv.c char *a[] = { "aaa", "bbbbbbbb", "cccccccccc", NULL }; a 345 test/util/opal_argv.c b = opal_argv_copy(a); a 347 test/util/opal_argv.c if (opal_argv_count(a) != opal_argv_count(b)) { a 350 test/util/opal_argv.c for (i = 0; a[i] != NULL; ++i) { a 351 test/util/opal_argv.c if (0 != strcmp(a[i], b[i])) { a 365 test/util/opal_argv.c char **a = NULL; a 374 test/util/opal_argv.c a = NULL; a 376 test/util/opal_argv.c opal_argv_append(&argc, &a, "foo"); a 377 test/util/opal_argv.c if (OPAL_SUCCESS != opal_argv_delete(&argc, &a, 7, 1) || a 378 test/util/opal_argv.c 1 != opal_argv_count(a)) { a 381 test/util/opal_argv.c opal_argv_free(a); a 383 test/util/opal_argv.c a = NULL; a 385 test/util/opal_argv.c opal_argv_append(&argc, &a, "foo"); a 386 test/util/opal_argv.c if (OPAL_SUCCESS != opal_argv_delete(&argc, &a, 0, 0) || a 387 test/util/opal_argv.c 1 != opal_argv_count(a)) { a 390 test/util/opal_argv.c opal_argv_free(a); a 395 test/util/opal_argv.c a = NULL; a 397 test/util/opal_argv.c opal_argv_append(&argc, &a, "a"); a 398 test/util/opal_argv.c opal_argv_append(&argc, &a, "b"); a 399 test/util/opal_argv.c opal_argv_append(&argc, &a, "c"); a 400 test/util/opal_argv.c opal_argv_append(&argc, &a, "d"); a 401 test/util/opal_argv.c opal_argv_append(&argc, &a, "e"); a 402 test/util/opal_argv.c opal_argv_append(&argc, &a, "f"); a 403 test/util/opal_argv.c if (OPAL_SUCCESS != opal_argv_delete(&argc, &a, 0, 1) || a 404 test/util/opal_argv.c 5 != opal_argv_count(a) || a 405 test/util/opal_argv.c 0 != strcmp(a[0], "b") || a 406 test/util/opal_argv.c 0 != strcmp(a[1], "c") || a 407 test/util/opal_argv.c 0 != strcmp(a[2], "d") || a 408 test/util/opal_argv.c 0 != strcmp(a[3], "e") || a 409 test/util/opal_argv.c 0 != strcmp(a[4], "f")) { a 412 test/util/opal_argv.c opal_argv_free(a); a 416 test/util/opal_argv.c a = NULL; a 418 test/util/opal_argv.c opal_argv_append(&argc, &a, "a"); a 419 test/util/opal_argv.c opal_argv_append(&argc, &a, "b"); a 420 test/util/opal_argv.c opal_argv_append(&argc, &a, "c"); a 421 test/util/opal_argv.c opal_argv_append(&argc, &a, "d"); a 422 test/util/opal_argv.c opal_argv_append(&argc, &a, "e"); a 423 test/util/opal_argv.c opal_argv_append(&argc, &a, "f"); a 424 test/util/opal_argv.c if (OPAL_SUCCESS != opal_argv_delete(&argc, &a, 0, 2) || a 425 test/util/opal_argv.c 4 != opal_argv_count(a) || a 426 test/util/opal_argv.c 0 != strcmp(a[0], "c") || a 427 test/util/opal_argv.c 0 != strcmp(a[1], "d") || a 428 test/util/opal_argv.c 0 != strcmp(a[2], "e") || a 429 test/util/opal_argv.c 0 != strcmp(a[3], "f")) { a 432 test/util/opal_argv.c opal_argv_free(a); a 436 test/util/opal_argv.c a = NULL; a 438 test/util/opal_argv.c opal_argv_append(&argc, &a, "a"); a 439 test/util/opal_argv.c opal_argv_append(&argc, &a, "b"); a 440 test/util/opal_argv.c opal_argv_append(&argc, &a, "c"); a 441 test/util/opal_argv.c opal_argv_append(&argc, &a, "d"); a 442 test/util/opal_argv.c opal_argv_append(&argc, &a, "e"); a 443 test/util/opal_argv.c opal_argv_append(&argc, &a, "f"); a 444 test/util/opal_argv.c if (OPAL_SUCCESS != opal_argv_delete(&argc, &a, 1, 1) || a 445 test/util/opal_argv.c 5 != opal_argv_count(a) || a 446 test/util/opal_argv.c 0 != strcmp(a[0], "a") || a 447 test/util/opal_argv.c 0 != strcmp(a[1], "c") || a 448 test/util/opal_argv.c 0 != strcmp(a[2], "d") || a 449 test/util/opal_argv.c 0 != strcmp(a[3], "e") || a 450 test/util/opal_argv.c 0 != strcmp(a[4], "f")) { a 453 test/util/opal_argv.c opal_argv_free(a); a 457 test/util/opal_argv.c a = NULL; a 459 test/util/opal_argv.c opal_argv_append(&argc, &a, "a"); a 460 test/util/opal_argv.c opal_argv_append(&argc, &a, "b"); a 461 test/util/opal_argv.c opal_argv_append(&argc, &a, "c"); a 462 test/util/opal_argv.c opal_argv_append(&argc, &a, "d"); a 463 test/util/opal_argv.c opal_argv_append(&argc, &a, "e"); a 464 test/util/opal_argv.c opal_argv_append(&argc, &a, "f"); a 465 test/util/opal_argv.c if (OPAL_SUCCESS != opal_argv_delete(&argc, &a, 1, 2) || a 466 test/util/opal_argv.c 4 != opal_argv_count(a) || a 467 test/util/opal_argv.c 0 != strcmp(a[0], "a") || a 468 test/util/opal_argv.c 0 != strcmp(a[1], "d") || a 469 test/util/opal_argv.c 0 != strcmp(a[2], "e") || a 470 test/util/opal_argv.c 0 != strcmp(a[3], "f")) { a 473 test/util/opal_argv.c opal_argv_free(a); a 477 test/util/opal_argv.c a = NULL; a 479 test/util/opal_argv.c opal_argv_append(&argc, &a, "a"); a 480 test/util/opal_argv.c opal_argv_append(&argc, &a, "b"); a 481 test/util/opal_argv.c if (OPAL_SUCCESS != opal_argv_delete(&argc, &a, 0, 99) || a 482 test/util/opal_argv.c 0 != opal_argv_count(a)) { a 485 test/util/opal_argv.c opal_argv_free(a); a 489 test/util/opal_argv.c a = NULL; a 491 test/util/opal_argv.c opal_argv_append(&argc, &a, "a"); a 492 test/util/opal_argv.c opal_argv_append(&argc, &a, "b"); a 493 test/util/opal_argv.c if (OPAL_SUCCESS != opal_argv_delete(&argc, &a, 1, 99) || a 494 test/util/opal_argv.c 1 != opal_argv_count(a) || a 495 test/util/opal_argv.c 0 != strcmp(a[0], "a")) { a 498 test/util/opal_argv.c opal_argv_free(a); a 139 test/util/opal_os_create_dirpath.c char *a[] = { "aaa", "bbb", "ccc", NULL }; a 146 test/util/opal_os_create_dirpath.c out = opal_os_path(true, a[0], a[1], a[2], NULL); a 148 test/util/opal_os_create_dirpath.c out = opal_os_path(true, a[0], a[1], a[2], NULL); a 151 test/util/opal_os_create_dirpath.c out = opal_os_path(true, a[0], a[1], NULL); a 154 test/util/opal_os_create_dirpath.c out = opal_os_path(true, a[0], NULL); a 110 test/util/opal_os_path.c char *a[] = { "aaa", "bbb", "ccc", NULL }; a 121 test/util/opal_os_path.c strcat(out, a[0]); a 123 test/util/opal_os_path.c tmp = opal_os_path(true, a[0], NULL); a 129 test/util/opal_os_path.c strcat(out, a[1]); a 130 test/util/opal_os_path.c tmp = opal_os_path(true, a[0], a[1], NULL); a 136 test/util/opal_os_path.c strcat(out, a[2]); a 137 test/util/opal_os_path.c tmp = opal_os_path(true, a[0], a[1], a[2], NULL); a 150 test/util/opal_os_path.c char *a[] = { "aaa", "bbb", "ccc", NULL }; a 160 test/util/opal_os_path.c strcat(out, a[0]); a 161 test/util/opal_os_path.c tmp = opal_os_path(false, a[0], NULL); a 167 test/util/opal_os_path.c strcat(out, a[1]); a 168 test/util/opal_os_path.c tmp = opal_os_path(false, a[0], a[1], NULL); a 174 test/util/opal_os_path.c strcat(out, a[2]); a 175 test/util/opal_os_path.c tmp = opal_os_path(false, a[0], a[1], a[2], NULL); a 185 test/util/opal_os_path.c char a[MAXPATHLEN + 10]; a 194 test/util/opal_os_path.c a[i] = 'a'; a 196 test/util/opal_os_path.c a[i] = '\0'; a 197 test/util/opal_os_path.c if (NULL != opal_os_path(false, a, NULL)) {