Home
last modified time | relevance | path

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

12345678910

/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_new/test/include/test/
Dmq.h38 a_prefix##init(a_mq_type *mq) { \
40 if (mtx_init(&mq->lock)) { \
43 ql_new(&mq->msgs); \
44 mq->count = 0; \
48 a_prefix##fini(a_mq_type *mq) { \
49 mtx_fini(&mq->lock); \
52 a_prefix##count(a_mq_type *mq) { \
55 mtx_lock(&mq->lock); \
56 count = mq->count; \
57 mtx_unlock(&mq->lock); \
[all …]
/external/jemalloc_new/test/unit/
Dmq.c13 mq_t mq; in mq_gen() local
16 assert_false(mq_init(&mq), "Unexpected mq_init() failure"); in mq_gen()
17 assert_u_eq(mq_count(&mq), 0, "mq should be empty"); in mq_gen()
18 assert_ptr_null(mq_tryget(&mq), in mq_gen()
21 mq_put(&mq, &msg); in mq_gen()
22 assert_u_eq(mq_count(&mq), 1, "mq should contain one message"); in mq_gen()
23 assert_ptr_eq(mq_tryget(&mq), &msg, "mq_tryget() should return msg"); in mq_gen()
25 mq_put(&mq, &msg); in mq_gen()
26 assert_ptr_eq(mq_get(&mq), &msg, "mq_get() should return msg"); in mq_gen()
28 mq_fini(&mq); in mq_gen()
[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.c58 mqd_t mq; in main() local
67 mq = mq_open(queue_name, O_RDWR | O_CREAT | O_NONBLOCK, in main()
70 if (mq == -1) { in main()
76 ret = mq_send(mq, message, sizeof(message), 0); in main()
79 mq_close(mq); in main()
86 ret = mq_getattr(mq, &mqa); in main()
89 mq_close(mq); in main()
96 mq_close(mq); in main()
106 mq_close(mq); in main()
114 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_rr.c38 unsigned char mq = 0; in rr_parse_opt() local
59 mq = 1; in rr_parse_opt()
86 if (mq) in rr_parse_opt()
Dq_prio.c37 unsigned char mq = 0; in prio_parse_opt() local
55 mq = 1; in prio_parse_opt()
91 if (mq) in prio_parse_opt()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowMessage.java140 private static ShadowMessageQueue shadowOf(MessageQueue mq) { in shadowOf() argument
141 return Shadow.extract(mq); in shadowOf()
DShadowLooper.java406 private static ShadowMessageQueue shadowOf(MessageQueue mq) { in shadowOf() argument
407 return Shadow.extract(mq); in shadowOf()
/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/u-boot/arch/powerpc/include/asm/
Dptrace.h35 PPC_REG mq; /* 601 only (not used at present) */ member
/external/dtc/tests/
Dmultilabel.dts3 m1: mq: /memreserve/ 0 0x1000;
Dmultilabel_merge.dts3 m1: mq: /memreserve/ 0 0x1000;
/external/icu/icu4c/source/data/unit/
Daz.txt1118 dnam{"mq/dl"}
1119 one{"{0} mq/dl"}
1120 other{"{0} mq/dl"}
1502 dnam{"mq"}
1503 one{"{0} mq"}
1504 other{"{0} mq"}
/external/jemalloc/
DAndroid.bp188 "test/src/mq.c",
235 "test/unit/mq.c",
/external/hyphenation-patterns/la/
Dhyph-la.pat.txt114 2mq
/external/honggfuzz/examples/apache-httpd/corpus_http2/
Df808afbca7db2cec69749840e5094edb.0000125d.honggfuzz.cov29 …�ʯ[����%j�A�)Y[�ᒵE�9����L��#�1v�p�����s���&���ߢ�k�2� �^�UaF3�a�=�wmq����PNG9�pD�P`�r�…

12345678910