Searched refs:mq1 (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/open_posix_testsuite/functional/mqueues/ |
D | send_rev_2.c | 42 mqd_t mq1 = *(mqd_t *) mq; in send_1() local 46 if (-1 == mq_send(mq1, s_msg_ptr[i], MSG_SIZE, i)) { in send_1() 77 mqd_t mq1 = *(mqd_t *) mq; in receive_1() local 81 if (-1 == mq_receive(mq1, r_msg_ptr_1[i], MSG_SIZE, NULL)) { in receive_1() 111 mqd_t mq1 = 0, mq2 = 0; in main() local 120 if ((mq1 = mq_open(MQ_NAME_1, oflag, 0777, &mqstat)) == -1) { in main() 128 pthread_create(&send1, NULL, (void *)send_1, (void *)&mq1); in main() 130 pthread_create(&rev1, NULL, (void *)receive_1, (void *)&mq1); in main() 137 mq_close(mq1); in main()
|
/external/eigen/test/ |
D | geo_quaternion.cpp | 194 MQuaternionA mq1(array1); in mapQuaternion() local 201 mq1 = AngleAxisx(a, v0.normalized()); in mapQuaternion() 202 mq2 = mq1; in mapQuaternion() 203 mq3 = mq1; in mapQuaternion() 205 Quaternionx q1 = mq1; in mapQuaternion() 218 VERIFY_IS_APPROX(mq1 * (mq1.inverse() * v1), v1); in mapQuaternion() 219 VERIFY_IS_APPROX(mq1 * (mq1.conjugate() * v1), v1); in mapQuaternion() 230 VERIFY_IS_APPROX(mq1*mq2, q1*q2); in mapQuaternion()
|