Home
last modified time | relevance | path

Searched refs:msg2 (Results 1 – 25 of 48) sorted by relevance

12

/netbsd/tests/lib/libc/sys/
H A Dt_msgrcv.c82 struct msg msg2 = { MSG_MTYPE_1, { 'x', 'y', 'z' } }; in ATF_TC_BODY() local
91 ATF_CHECK(msg1.buf[0] == msg2.buf[0]); in ATF_TC_BODY()
92 ATF_CHECK(msg1.buf[1] == msg2.buf[1]); in ATF_TC_BODY()
93 ATF_CHECK(msg1.buf[2] == msg2.buf[2]); in ATF_TC_BODY()
221 ATF_CHECK(msg1.buf[1] != msg2.buf[1]); in ATF_TC_BODY()
222 ATF_CHECK(msg1.buf[2] != msg2.buf[2]); in ATF_TC_BODY()
227 ATF_CHECK(msg1.buf[1] == msg2.buf[1]); in ATF_TC_BODY()
228 ATF_CHECK(msg1.buf[2] == msg2.buf[2]); in ATF_TC_BODY()
318 (void)msgrcv(id, &msg2, MSG_SMALLLEN, in ATF_TC_BODY()
321 ATF_CHECK(msg1.buf[0] == msg2.buf[0]); in ATF_TC_BODY()
[all …]
/netbsd/tests/lib/csu/
H A Dh_initfini_common.cxx17 static const char msg2[] = "stack unaligned \n"; in Test() local
18 write(STDOUT_FILENO, msg2, sizeof(msg2) - 1); in Test()
29 static const char msg2[] = "stack unaligned \n"; in ~Test() local
30 write(STDOUT_FILENO, msg2, sizeof(msg2) - 1); in ~Test()
H A Dh_initfini3.cxx9 static const char msg2[] = "main after dlopen\n"; in main() local
18 write(STDOUT_FILENO, msg2, sizeof(msg2) - 1); in main()
/netbsd/tests/lib/csu/dso/
H A Dh_initfini3_dso.cxx17 static const char msg2[] = "stack unaligned \n"; in Test2() local
18 write(STDOUT_FILENO, msg2, sizeof(msg2) - 1); in Test2()
29 static const char msg2[] = "stack unaligned \n"; in ~Test2() local
30 write(STDOUT_FILENO, msg2, sizeof(msg2) - 1); in ~Test2()
/netbsd/external/gpl2/gettext/dist/gettext-tools/src/
H A Dmsgl-check.c269 const char *msg2 = in check_plural() local
275 char *msg2ext = xasprintf ("%s\n%s", msg2, help); in check_plural()
285 header, NULL, 0, 0, false, msg2); in check_plural()
293 const char *msg2 = in check_plural() local
309 header, NULL, 0, 0, false, msg2); in check_plural()
383 char *msg2 = in check_plural() local
390 min_pos, NULL, 0, 0, false, msg2); in check_plural()
391 free (msg2); in check_plural()
399 char *msg2 = in check_plural() local
406 max_pos, NULL, 0, 0, false, msg2); in check_plural()
[all …]
/netbsd/external/gpl3/gcc.old/dist/libssp/
H A Dssp.c127 static const char msg2[] = " terminated\n"; in fail() local
132 len = msg1len + progname_len + sizeof(msg2)-1 + 1; in fail()
139 memcpy (p, msg2, sizeof(msg2)); in fail()
/netbsd/external/gpl3/gcc/dist/libssp/
H A Dssp.c127 static const char msg2[] = " terminated\n"; in fail() local
132 len = msg1len + progname_len + sizeof(msg2)-1 + 1; in fail()
139 memcpy (p, msg2, sizeof(msg2)); in fail()
/netbsd/external/bsd/ntp/dist/sntp/libevent/test/
H A Dregress_rpc.c739 struct msg *msg = NULL, *msg2 = NULL; in rpc_test() local
800 msg2 = msg_new(); in rpc_test()
801 if (evtag_unmarshal_msg(tmp, 0xdeaf, msg2) == -1) in rpc_test()
810 if (!EVTAG_HAS(msg2, from_name) || in rpc_test()
811 !EVTAG_HAS(msg2, to_name) || in rpc_test()
812 !EVTAG_HAS(msg2, attack)) { in rpc_test()
816 if (EVTAG_GET(msg2, attack, &attack) == -1) { in rpc_test()
820 if (EVTAG_ARRAY_LEN(msg2, run) != i) { in rpc_test()
825 if (EVTAG_ARRAY_GET(msg2, run, 0, &run) == -1) { in rpc_test()
879 if (msg2) in rpc_test()
[all …]
/netbsd/external/bsd/libevent/dist/test/
H A Dregress_rpc.c740 struct msg *msg = NULL, *msg2 = NULL; in rpc_test() local
801 msg2 = msg_new(); in rpc_test()
802 if (evtag_unmarshal_msg(tmp, 0xdeaf, msg2) == -1) in rpc_test()
811 if (!EVTAG_HAS(msg2, from_name) || in rpc_test()
812 !EVTAG_HAS(msg2, to_name) || in rpc_test()
813 !EVTAG_HAS(msg2, attack)) { in rpc_test()
817 if (EVTAG_GET(msg2, attack, &attack) == -1) { in rpc_test()
821 if (EVTAG_ARRAY_LEN(msg2, run) != i) { in rpc_test()
826 if (EVTAG_ARRAY_GET(msg2, run, 0, &run) == -1) { in rpc_test()
880 if (msg2) in rpc_test()
[all …]
/netbsd/external/bsd/openldap/dist/tests/progs/
H A Dslapd-watcher.c573 int i, rc, *msg1, *msg2; in main() local
654 msg2 = msg1 + numservers; in main()
666 msg2[i] = 0; in main()
694 msg2[i] = 0; in main()
699 if (( servers[i].flags & HAS_BASE ) && !msg2[i] ) { in main()
703 attrs, 0, NULL, NULL, NULL, LDAP_NO_LIMIT, &msg2[i] ); in main()
734 msg2[i] = 0; in main()
772 if ( msg2[i] ) { in main()
775 rc = ldap_result( ld, msg2[i], LDAP_MSG_ALL, &tv, &res ); in main()
/netbsd/external/gpl3/gdb/dist/gdb/
H A Dexceptions.c144 const char *msg2 = e2.message == nullptr ? "" : e2.what (); in exception_print_same() local
148 && strcmp (msg1, msg2) == 0); in exception_print_same()
/netbsd/external/gpl3/gdb.old/dist/gdb/
H A Dexceptions.c144 const char *msg2 = e2.message == nullptr ? "" : e2.what (); in exception_print_same() local
148 && strcmp (msg1, msg2) == 0); in exception_print_same()
/netbsd/crypto/external/bsd/openssl.old/dist/test/
H A Dcurve448_internal_test.c159 static const uint8_t msg2[1] = { variable
617 || !TEST_true(ED448_sign(outsig, msg2, sizeof(msg2), pubkey2, in test_ed448()
/netbsd/crypto/external/bsd/openssl/dist/test/
H A Dcurve448_internal_test.c149 static const uint8_t msg2[1] = { variable
607 || !TEST_true(ossl_ed448_sign(NULL, outsig, msg2, sizeof(msg2), in test_ed448()
/netbsd/external/bsd/ekermit/dist/
H A Dmain.c143 fatal(char *msg1, char *msg2, char *msg3) { /* Not to be called except */ in fatal() argument
146 if (msg2) fprintf(stderr,"%s",msg2); in fatal()
/netbsd/external/gpl2/gmake/dist/
H A Dmake.h347 #define S_(msg1,msg2,num) ngettext (msg1,msg2,num) argument
/netbsd/external/gpl3/gcc/dist/gcc/fortran/
H A Derror.c909 const char *msg, *msg2; in gfc_notify_std() local
928 msg2 = _(gmsgid); in gfc_notify_std()
929 buffer = (char *) alloca (strlen (msg) + strlen (msg2) + 2); in gfc_notify_std()
932 strcat (buffer, msg2); in gfc_notify_std()
H A Derror.cc1010 const char *msg, *msg2; in gfc_notify_std() local
1029 msg2 = _(gmsgid); in gfc_notify_std()
1030 buffer = (char *) alloca (strlen (msg) + strlen (msg2) + 2); in gfc_notify_std()
1033 strcat (buffer, msg2); in gfc_notify_std()
/netbsd/external/gpl3/gcc.old/dist/gcc/fortran/
H A Derror.c909 const char *msg, *msg2; in gfc_notify_std() local
928 msg2 = _(gmsgid); in gfc_notify_std()
929 buffer = (char *) alloca (strlen (msg) + strlen (msg2) + 2); in gfc_notify_std()
932 strcat (buffer, msg2); in gfc_notify_std()
/netbsd/external/gpl3/gdb/dist/zlib/examples/
H A Dgzappend.c93 local void bye(char *msg1, char *msg2) in bye() argument
95 fprintf(stderr, "gzappend error: %s%s\n", msg1, msg2); in bye()
/netbsd/external/gpl3/binutils.old/dist/zlib/examples/
H A Dgzappend.c93 local void bye(char *msg1, char *msg2) in bye() argument
95 fprintf(stderr, "gzappend error: %s%s\n", msg1, msg2); in bye()
/netbsd/external/gpl3/gdb.old/dist/zlib/examples/
H A Dgzappend.c93 local void bye(char *msg1, char *msg2) in bye() argument
95 fprintf(stderr, "gzappend error: %s%s\n", msg1, msg2); in bye()
/netbsd/common/dist/zlib/examples/
H A Dgzappend.c93 local void bye(char *msg1, char *msg2) in bye() argument
95 fprintf(stderr, "gzappend error: %s%s\n", msg1, msg2); in bye()
/netbsd/external/gpl3/binutils/dist/zlib/examples/
H A Dgzappend.c93 local void bye(char *msg1, char *msg2) in bye() argument
95 fprintf(stderr, "gzappend error: %s%s\n", msg1, msg2); in bye()
/netbsd/external/bsd/byacc/dist/test/
H A Dexpr.oxout.y188 {char *msg1,*msg2; in yyyHandleOverflow() local
210 msg2 = " Have to modify evaluator: -Y%c%ld.\n"; in yyyHandleOverflow()
211 fprintf(stderr,msg2,which,newSize); in yyyHandleOverflow()

12