Home
last modified time | relevance | path

Searched refs:mq (Results 1 – 25 of 99) sorted by relevance

1234

/external/jemalloc/test/include/test/
Dmq.h38 a_prefix##init(a_mq_type *mq) { \
40 if (mtx_init(&mq->lock)) \
42 ql_new(&mq->msgs); \
43 mq->count = 0; \
47 a_prefix##fini(a_mq_type *mq) \
50 mtx_fini(&mq->lock); \
53 a_prefix##count(a_mq_type *mq) \
57 mtx_lock(&mq->lock); \
58 count = mq->count; \
59 mtx_unlock(&mq->lock); \
[all …]
/external/jemalloc/test/unit/
Dmq.c14 mq_t mq; in mq_gen() local
17 assert_false(mq_init(&mq), "Unexpected mq_init() failure"); in mq_gen()
18 assert_u_eq(mq_count(&mq), 0, "mq should be empty"); in mq_gen()
19 assert_ptr_null(mq_tryget(&mq), in mq_gen()
22 mq_put(&mq, &msg); in mq_gen()
23 assert_u_eq(mq_count(&mq), 1, "mq should contain one message"); in mq_gen()
24 assert_ptr_eq(mq_tryget(&mq), &msg, "mq_tryget() should return msg"); in mq_gen()
26 mq_put(&mq, &msg); in mq_gen()
27 assert_ptr_eq(mq_get(&mq), &msg, "mq_get() should return msg"); in mq_gen()
29 mq_fini(&mq); in mq_gen()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D19-1.c60 mqd_t mq; in main() local
69 mq = mq_open(queue_name, O_RDWR | O_CREAT | O_NONBLOCK, in main()
72 if (mq == -1) { in main()
78 ret = mq_send(mq, message, sizeof(message), 0); in main()
81 mq_close(mq); in main()
88 ret = mq_getattr(mq, &mqa); in main()
91 mq_close(mq); in main()
98 mq_close(mq); in main()
108 mq_close(mq); in main()
116 ret = mq_getattr(mq, &mqa); in main()
[all …]
/external/ltp/testcases/open_posix_testsuite/functional/mqueues/
Dsend_rev_1.c36 mqd_t mq = 0; in main() local
49 if (((mqd_t) - 1) == (mq = mq_open(MQ_NAME, oflag, 0777, &mqstat))) { in main()
60 mq_getattr(mq, &attr); in main()
65 if (-1 == mq_send(mq, s_msg_ptr[i], attr.mq_msgsize, 1)) { in main()
78 mq_getattr(mq, &attr); in main()
82 mq_receive(mq, r_msg_ptr[i], attr.mq_msgsize, in main()
98 (void)mq_close(mq); in main()
Dsend_rev_2.c39 int *send_1(void *mq) in send_1() argument
42 mqd_t mq1 = *(mqd_t *) mq; in send_1()
57 int *send_2(void *mq) in send_2() argument
60 mqd_t mq2 = *(mqd_t *) mq; in send_2()
74 int *receive_1(void *mq) in receive_1() argument
77 mqd_t mq1 = *(mqd_t *) mq; in receive_1()
91 int *receive_2(void *mq) in receive_2() argument
94 mqd_t mq2 = *(mqd_t *) mq; in receive_2()
/external/ltp/testcases/open_posix_testsuite/stress/mqueues/
Dmulti_send_rev_2.c36 mqd_t mq = 0; variable
45 if (-1 == mq_send(mq, s_msg_ptr[i], MSG_SIZE, i)) { in send()
64 mq_receive(mq, r_msg_ptr[ThreadID][i], MSG_SIZE, NULL)) { in receive()
102 if ((mq = mq_open(MQ_NAME, oflag, 0777, &mqstat)) == -1) { in main()
119 mq_close(mq); in main()
Dmulti_send_rev_1.c88 mqd_t mq[Max_Threads]; in main() local
114 if ((mq[i] = mq_open(MQ_NAME[i], oflag, 0777, &mqstat)) == -1) { in main()
122 info[i].mqID = mq[i]; in main()
133 mq_close(mq[i]); in main()
134 mq_close(mq[i]); in main()
/external/testng/src/main/java/org/testng/reporters/
DEmailableReporter.java137 int mq = 0; in resultSummary() local
144 if (mq == 0) { in resultSummary()
150 if (mq > 0) { in resultSummary()
154 if (mq > 1) { in resultSummary()
155 m_out.print(" rowspan=\"" + mq + "\""); in resultSummary()
159 mq = 0; in resultSummary()
174 mq += 1; in resultSummary()
175 if (mq > 1) { in resultSummary()
193 if (mq > 0) { in resultSummary()
197 if (mq > 1) { in resultSummary()
[all …]
/external/iproute2/tc/
Dq_prio.c37 unsigned char mq = 0; in prio_parse_opt() local
55 mq = 1; in prio_parse_opt()
90 if (mq) in prio_parse_opt()
Dq_rr.c38 unsigned char mq = 0; in rr_parse_opt() local
59 mq = 1; in rr_parse_opt()
85 if (mq) in rr_parse_opt()
/external/valgrind/none/tests/
Dmq.vgtest1 prog: mq
DMakefile.am137 mq.stderr.exp mq.vgtest \
222 munmap_exe map_unaligned map_unmap mq \ program
/external/openssh/regress/unittests/sshkey/testdata/
Ddsa_1.pub1 …z4Dp3S8kLs+X5/1DMn/Tg1Y4D4yLB+6vCtHcJF7rVBFhvw/KZwc7G54ez3khyOtsg82fzpyOc8/mq+/+C5TMKO7DDjMF0k5emW…
Ddsa_1-cert.pub1 …z4Dp3S8kLs+X5/1DMn/Tg1Y4D4yLB+6vCtHcJF7rVBFhvw/KZwc7G54ez3khyOtsg82fzpyOc8/mq+/+C5TMKO7DDjMF0k5emW…
Ddsa_n_pw5 4D4yLB+6vCtHcJF7rVBFhvw/KZwc7G54ez3khyOtsg82fzpyOc8/mq+/+C5TMKO7DDjMF0
/external/google-breakpad/src/google_breakpad/common/
Dminidump_cpu_ppc.h133 uint32_t mq; /* Multiply/Quotient (PPC 601, POWER only) */ member
/external/dtc/tests/
Dmultilabel.dts3 m1: mq: /memreserve/ 0 0x1000;
Dmultilabel_merge.dts3 m1: mq: /memreserve/ 0 0x1000;
/external/valgrind/
DREADME.android195 mq -j2 && mq -j2 install DESTDIR=`pwd`/Inst && adb push Inst /
197 # where 'mq' is an alias for 'make --quiet'.
/external/icu/icu4c/source/data/unit/
Daz.txt1084 dnam{"mq/dl"}
1085 one{"{0} mq/dl"}
1086 other{"{0} mq/dl"}
1447 dnam{"mq"}
1448 one{"{0} mq"}
1449 other{"{0} mq"}
/external/jemalloc/
DAndroid.bp166 "test/src/mq.c",
216 "test/unit/mq.c",
/external/ImageMagick/PerlMagick/t/reference/filter/
DMinify.miff15 …Z`a\mOIP@<;A<3H@3H?7N=6�>4�</�;,�;/�=0�9/�4.�4*�<.�I@�D>�?9�AF�BV�Ei�Lt�Tn�mq̸���������կ��=:2;80C>…
/external/strace/tests/
Dpure_executables.am155 mq \
Dpure_executables.list154 mq
/external/strace/tests-m32/
Dpure_executables.am155 mq \

1234