Home
last modified time | relevance | path

Searched refs:msgptr (Results 1 – 25 of 66) sorted by relevance

123

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
D9-1.c39 const char *msgptr = MSGSTR; in main() local
55 if (mq_send(rdwrqueue, msgptr, strlen(msgptr), 1) == -1) { in main()
64 printf("Message %s sent\n", msgptr); in main()
88 if (mq_send(rdwrqueue2, msgptr, strlen(msgptr), 1) == -1) { in main()
98 printf("Message %s sent to second queue\n", msgptr); in main()
D8-1.c35 const char *msgptr = MSGSTR; in main() local
51 if (mq_send(woqueue, msgptr, strlen(msgptr), 1) != 0) { in main()
60 printf("Message %s sent\n", msgptr); in main()
85 if (mq_send(woqueue2, msgptr, strlen(msgptr), 1) != 0) { in main()
95 printf("Message %s sent to second queue\n", msgptr); in main()
D7-1.c35 const char *msgptr = MSGSTR; in main() local
51 if (mq_send(rdwrqueue, msgptr, strlen(msgptr), 1) != 0) { in main()
60 printf("Message %s sent\n", msgptr); in main()
89 if (mq_send(roqueue, msgptr, strlen(msgptr), 1) == 0) { in main()
D8-2.c46 const char *msgptr = MSGSTR; in main() local
95 if (mq_send(woqueue, msgptr, strlen(msgptr), 1) == -1) { in main()
101 printf("Message %s sent in child\n", msgptr); in main()
129 if (mq_send(woqueue, msgptr, strlen(msgptr), 1) != 0) { in main()
139 printf("Message %s sent\n", msgptr); in main()
D9-2.c46 const char *msgptr = MSGSTR; in main() local
87 if (mq_send(rdwrqueuechild, msgptr, strlen(msgptr) + 1, 1) == in main()
94 printf("Message %s sent in child\n", msgptr); in main()
132 if (mq_send(rdwrqueue, msgptr, strlen(msgptr), 1) == -1) { in main()
142 printf("Message %s sent\n", msgptr); in main()
D11-1.c33 const char *msgptr = MSGSTR; in main() local
45 if (mq_send(queue, msgptr, strlen(msgptr), 1) != 0) { in main()
65 if (mq_send(queue2, msgptr, strlen(msgptr), 1) != 0) { in main()
D7-2.c46 const char *msgptr = MSGSTR; in main() local
95 if (mq_send(roqueue, msgptr, strlen(msgptr) + 1, 1) == 0) { in main()
127 if (mq_send(rdwrqueue, msgptr, strlen(msgptr) + 1, 1) != 0) { in main()
137 printf("Message %s sent\n", msgptr); in main()
D2-1.c49 const char *msgptr = MSGSTR; in main() local
92 if (strcmp(msgptr, msgrcd) != 0) { in main()
93 printf("FAIL: sent %s received %s\n", msgptr, msgrcd); in main()
118 if (mq_send(queue, msgptr, strlen(msgptr) + 1, 1) != 0) { in main()
D1-1.c30 const char *msgptr = MSGSTR; in main() local
43 if (mq_send(queue, msgptr, strlen(msgptr), 1) != 0) { in main()
D18-1.c29 const char *msgptr = MSGSTR; in main() local
42 if (mq_send(queue, msgptr, strlen(msgptr), 1) != 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_send/
D1-1.c34 const char *msgptr = MSGSTR; in main() local
50 if (mq_send(queue, msgptr, strlen(msgptr), 1) != 0) { in main()
60 if (strncmp(msgptr, msgrcd, strlen(msgptr)) != 0) { in main()
61 printf("FAIL: sent %s received %s\n", msgptr, msgrcd); in main()
D4-3.c35 const char *msgptr = MSGSTR; in main() local
51 if (mq_send(queue, msgptr, strlen(msgptr), MQ_PRIO_MAX - 1) != 0) { in main()
61 if (strncmp(msgptr, msgrcd, strlen(msgptr)) != 0) { in main()
62 printf("FAIL: sent %s received %s\n", msgptr, msgrcd); in main()
D8-1.c34 const char *msgptr = MSGSTR; in main() local
50 ret = mq_send(queue, msgptr, strlen(msgptr), 1); in main()
57 if (strncmp(msgptr, msgrcd, strlen(msgptr)) != 0) { in main()
59 msgptr, msgrcd); in main()
D7-1.c43 char msgptr[MESSAGESIZE]; in main() local
61 sprintf(msgptr, "message %d", i); in main()
62 if (mq_send(queue, msgptr, strlen(msgptr), spri++) == -1) { in main()
76 if ((strcmp(msgptr, msgrcd) == 0) && (maxreached != 0)) { in main()
D10-1.c34 char msgptr[MESSAGESIZE]; in main() local
51 sprintf(msgptr, "message %d", i); in main()
52 if (mq_send(queue, msgptr, strlen(msgptr), 1) == -1) { in main()
D9-1.c36 const char *msgptr = MSGSTR; in main() local
53 if (mq_send(queue + 1, msgptr, strlen(msgptr), 1) != -1) { in main()
64 if (strcmp(msgptr, msgrcd) == 0) { in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/
D1-1.c35 const char *msgptr = MSGSTR; in main() local
54 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) != 0) { in main()
64 if (strncmp(msgptr, msgrcd, strlen(msgptr)) != 0) { in main()
65 printf("FAIL: sent %s received %s\n", msgptr, msgrcd); in main()
D8-1.c35 const char *msgptr = MSGSTR; in main() local
54 ret = mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts); in main()
61 if (strncmp(msgptr, msgrcd, strlen(msgptr)) != 0) { in main()
63 msgptr, msgrcd); in main()
D4-3.c36 const char *msgptr = MSGSTR; in main() local
55 if (mq_timedsend(queue, msgptr, strlen(msgptr), MQ_PRIO_MAX - 1, &ts) in main()
66 if (strncmp(msgptr, msgrcd, strlen(msgptr)) != 0) { in main()
67 printf("FAIL: sent %s received %s\n", msgptr, msgrcd); in main()
D7-1.c43 char msgptr[MESSAGESIZE]; in main() local
64 sprintf(msgptr, "message %d", i); in main()
66 if (mq_timedsend(queue, msgptr, strlen(msgptr), spri++, &ts) in main()
81 if ((strcmp(msgptr, msgrcd) == 0) && (maxreached != 0)) { in main()
D19-1.c42 char *msgptr = MSGSTR; in main() local
64 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) in main()
93 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) != -1) { in main()
D9-1.c37 const char *msgptr = MSGSTR; in main() local
57 if (mq_timedsend(queue + 1, msgptr, strlen(msgptr), 1, &ts) != -1) { in main()
68 if (strcmp(msgptr, msgrcd) == 0) { in main()
D10-1.c35 char msgptr[MESSAGESIZE]; in main() local
55 sprintf(msgptr, "message %d", i); in main()
56 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) == -1) { in main()
/external/tcpdump/
Dprint-olsr.c359 } msgptr; in olsr_print() local
365 msgptr.v6 = (const struct olsr_msg6 *) tptr; in olsr_print()
366 msg_type = msgptr.v6->msg_type; in olsr_print()
367 msg_len = EXTRACT_16BITS(msgptr.v6->msg_len); in olsr_print()
380 msg_type, ip6addr_string(ndo, msgptr.v6->originator), in olsr_print()
381 msgptr.v6->ttl, in olsr_print()
382 msgptr.v6->hopcount, in olsr_print()
383 ME_TO_DOUBLE(msgptr.v6->vtime), in olsr_print()
384 EXTRACT_16BITS(msgptr.v6->msg_seq), in olsr_print()
396 msgptr.v4 = (const struct olsr_msg4 *) tptr; in olsr_print()
[all …]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/speculative/
D18-2.c33 const char *msgptr = MSGSTR; in main() local
48 if (mq_timedsend(queue, msgptr, strlen(msgptr), 1, &ts) == -1) { in main()

123