/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/ |
D | 2-2.c | 40 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 63 perror(ERROR_PREFIX "fd[0]"); in main() 68 perror(ERROR_PREFIX "fd[1]"); in main() 73 perror(ERROR_PREFIX "fork"); in main() 100 perror(ERROR_PREFIX "mq_open"); in parent_process() 109 printf(ERROR_PREFIX "send_receive: " "expected a 'b'\n"); in parent_process() 118 printf(ERROR_PREFIX "send_receive: " in parent_process() 125 perror(ERROR_PREFIX "mq_unlink(2)"); in parent_process() 137 printf(ERROR_PREFIX "mq_unlink\n"); in parent_process() 152 printf(ERROR_PREFIX "send_receive: " "expected an 'a'"); in child_process() [all …]
|
D | 2-1.c | 43 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 68 perror(ERROR_PREFIX "fd[0]"); in main() 73 perror(ERROR_PREFIX "fd[1]"); in main() 78 perror(ERROR_PREFIX "fork"); in main() 105 perror(ERROR_PREFIX "mq_open"); in parent_process() 114 printf(ERROR_PREFIX "send_receive: " "expected a 'b'"); in parent_process() 126 printf(ERROR_PREFIX "mq_unlink(2)"); in parent_process() 135 printf(ERROR_PREFIX "mq_unlink \n"); in parent_process() 150 printf(ERROR_PREFIX "send_receive: " "expected an 'a'\n"); in child_process() 155 perror(ERROR_PREFIX "mq_open"); in child_process() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstack/ |
D | 4-1.c | 30 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 46 perror(ERROR_PREFIX "stack wrong"); in thread_func() 64 perror(ERROR_PREFIX "pthread_attr_init"); in main() 71 perror(ERROR_PREFIX "pthread_attr_getstack"); in main() 80 perror(ERROR_PREFIX "out of memory while " in main() 88 perror(ERROR_PREFIX "pthread_attr_setstack"); in main() 94 perror(ERROR_PREFIX "pthread_attr_getstack"); in main() 100 perror(ERROR_PREFIX "got the wrong stacksize or stackaddr"); in main() 106 perror(ERROR_PREFIX "failed to create a thread"); in main() 112 perror(ERROR_PREFIX "pthread_join"); in main() [all …]
|
D | 2-1.c | 33 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 46 printf(ERROR_PREFIX "pthread_getattr_np: %s", strerror(rc)); in thread_func() 50 printf(ERROR_PREFIX "pthread_attr_getstack: %s", strerror(rc)); in thread_func() 54 printf(ERROR_PREFIX "got the wrong stacksize or stackaddr"); in thread_func() 73 printf(ERROR_PREFIX "pthread_attr_init: %s", strerror(rc)); in main() 80 printf(ERROR_PREFIX "pthread_attr_getstack: %s", strerror(rc)); in main() 95 printf(ERROR_PREFIX "posix_memalign: %s\n", strerror(rc)); in main() 100 printf(ERROR_PREFIX "pthread_attr_setstack: %s\n", in main() 106 printf(ERROR_PREFIX "pthread_attr_getstack: %s\n", in main() 112 printf(ERROR_PREFIX "pthread_create: %s\n", strerror(rc)); in main() [all …]
|
D | 1-1.c | 28 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 52 perror(ERROR_PREFIX "pthread_attr_init"); in main() 59 perror(ERROR_PREFIX "pthread_attr_getstack"); in main() 68 perror(ERROR_PREFIX "out of memory while " in main() 76 perror(ERROR_PREFIX "pthread_attr_setstack"); in main() 82 perror(ERROR_PREFIX "pthread_attr_getstack"); in main() 89 perror(ERROR_PREFIX "failed to create a thread"); in main() 95 perror(ERROR_PREFIX "pthread_join"); in main() 101 perror(ERROR_PREFIX "pthread_attr_destroy"); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getschedparam/ |
D | 1-1.c | 25 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 38 printf(ERROR_PREFIX "pthread_attr_getschedparam\n"); in verify_param() 42 printf(ERROR_PREFIX "got wrong sched param\n"); in verify_param() 57 printf(ERROR_PREFIX "pthread_attr_init\n"); in main() 63 printf(ERROR_PREFIX "pthread_attr_setschedpolicy\n"); in main() 68 printf(ERROR_PREFIX "sched_get_priority_max\n"); in main() 74 printf(ERROR_PREFIX "pthread_attr_setschedparam\n"); in main() 81 printf(ERROR_PREFIX "pthread_attr_setschedpolicy\n"); in main() 86 printf(ERROR_PREFIX "sched_get_priority_max\n"); in main() 92 printf(ERROR_PREFIX "pthread_attr_setschedparam\n"); in main() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setstacksize/ |
D | 2-1.c | 33 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 45 printf(ERROR_PREFIX "pthread_getattr_np: %s\n", strerror(rc)); in thread_func() 49 printf(ERROR_PREFIX "pthread_attr_getstacksize: %s\n", in thread_func() 54 printf(ERROR_PREFIX "stack size is lesser than minimal " in thread_func() 72 perror(ERROR_PREFIX "pthread_attr_init"); in main() 87 printf(ERROR_PREFIX "posix_memalign: %s", strerror(rc)); in main() 93 printf(ERROR_PREFIX "pthread_attr_setstacksize: %s\n", in main() 100 printf(ERROR_PREFIX "pthread_attr_getstacksize: %s\n", in main() 107 printf(ERROR_PREFIX "pthread_create: %s\n", strerror(rc)); in main() 113 printf(ERROR_PREFIX "pthread_join: %s\n", strerror(rc)); in main() [all …]
|
D | 1-1.c | 28 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 50 perror(ERROR_PREFIX "pthread_attr_init"); in main() 59 printf(ERROR_PREFIX "out of memory while " in main() 66 printf(ERROR_PREFIX "pthread_attr_setstacksize: %s", in main() 73 printf(ERROR_PREFIX "pthread_attr_getstacksize: %s", in main() 81 printf(ERROR_PREFIX "failed to create a thread: %s", in main() 88 printf(ERROR_PREFIX "pthread_join: %s", strerror(rc)); in main() 94 printf(ERROR_PREFIX "pthread_attr_destroy: %s", strerror(rc)); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getschedpolicy/ |
D | 2-1.c | 24 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 37 printf(ERROR_PREFIX "pthread_attr_getschedpolicy\n"); in verify_policy() 43 printf(ERROR_PREFIX "got wrong policy param\n"); in verify_policy() 49 printf(ERROR_PREFIX "got wrong policy param\n"); in verify_policy() 55 printf(ERROR_PREFIX "got wrong policy param\n"); in verify_policy() 70 printf(ERROR_PREFIX "pthread_attr_init\n"); in main() 76 printf(ERROR_PREFIX "pthread_attr_setschedpolicy\n"); in main() 83 printf(ERROR_PREFIX "pthread_attr_setschedpolicy\n"); in main() 90 printf(ERROR_PREFIX "pthread_attr_setschedpolicy\n"); in main() 97 printf(ERROR_PREFIX "pthread_attr_destroy\n"); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_close/ |
D | 2-1.c | 33 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 56 perror(ERROR_PREFIX "pipe (1)"); in main() 62 perror(ERROR_PREFIX "pipe (2)"); in main() 73 perror(ERROR_PREFIX "fork"); in main() 112 perror(ERROR_PREFIX "mq_notify (1)"); in parent_process() 126 puts(ERROR_PREFIX "send_receive: " "expected a 'b'"); in parent_process() 135 perror(ERROR_PREFIX "mq_close:"); in parent_process() 151 puts(ERROR_PREFIX "bad reply from child"); in parent_process() 170 puts(ERROR_PREFIX "send_receive: " "expected an 'a'"); in child_process() 181 puts(ERROR_PREFIX "mq_notify (2): " "should have failed"); in child_process() [all …]
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setinheritsched/ |
D | 2-1.c | 30 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 44 perror(ERROR_PREFIX "pthread_getschedparam"); in thread_func() 48 fprintf(stderr, ERROR_PREFIX "The scheduling attribute is not " in thread_func() 65 perror(ERROR_PREFIX "pthread_attr_init"); in main() 71 perror(ERROR_PREFIX "pthread_attr_setschedpolicy"); in main() 78 perror(ERROR_PREFIX "pthread_attr_setinheritsched"); in main() 84 perror(ERROR_PREFIX "pthread_create"); in main() 90 perror(ERROR_PREFIX "pthread_join"); in main() 95 perror(ERROR_PREFIX "pthread_attr_destroy"); in main()
|
D | 2-2.c | 35 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 50 perror(ERROR_PREFIX "pthread_getschedparam"); in thread_func() 54 fprintf(stderr, ERROR_PREFIX "The scheduling attribute should " in thread_func() 72 printf(ERROR_PREFIX "pthread_attr_init"); in main() 78 printf(ERROR_PREFIX "pthread_attr_setschedpolicy"); in main() 85 printf(ERROR_PREFIX "pthread_attr_setschedparam"); in main() 92 printf(ERROR_PREFIX "pthread_attr_setinheritsched"); in main() 104 printf(ERROR_PREFIX "pthread_join"); in main() 109 printf(ERROR_PREFIX "pthread_attr_destroy"); in main()
|
D | 1-1.c | 24 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 36 perror(ERROR_PREFIX "pthread_attr_getinheritsched"); in verify_inheritsched() 42 perror(ERROR_PREFIX "got wrong inheritsched param"); in verify_inheritsched() 48 perror(ERROR_PREFIX "got wrong inheritsched param"); in verify_inheritsched() 63 perror(ERROR_PREFIX "pthread_attr_init"); in main() 69 perror(ERROR_PREFIX "pthread_attr_setinheritsched"); in main() 76 perror(ERROR_PREFIX "pthread_attr_setinheritsched"); in main() 83 perror(ERROR_PREFIX "pthread_attr_destroy"); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getscope/ |
D | 1-1.c | 26 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 38 perror(ERROR_PREFIX "pthread_attr_getscope"); in verify_scope() 44 perror(ERROR_PREFIX "got wrong scope param"); in verify_scope() 50 perror(ERROR_PREFIX "got wrong scope param"); in verify_scope() 65 perror(ERROR_PREFIX "pthread_attr_init"); in main() 71 perror(ERROR_PREFIX "PTHREAD_SCOPE_SYSTEM is not supported"); in main() 77 perror(ERROR_PREFIX "PTHREAD_SCOPE_SYSTEM is not supported"); in main() 84 perror(ERROR_PREFIX "pthread_attr_destroy"); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setscope/ |
D | 1-1.c | 26 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 46 perror(ERROR_PREFIX "pthread_attr_init"); in main() 52 perror(ERROR_PREFIX "PTHREAD_SCOPE_SYSTEM is not supported"); in main() 58 perror(ERROR_PREFIX "pthread_create"); in main() 64 perror(ERROR_PREFIX "pthread_attr_getscope"); in main() 69 fprintf(stderr, ERROR_PREFIX "The contentionscope is not " in main() 76 perror(ERROR_PREFIX "pthread_join"); in main() 82 perror(ERROR_PREFIX "pthread_attr_destroy"); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/ |
D | 2-3.c | 30 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 66 printf(ERROR_PREFIX "pthread_setcanceltype\n"); in a_thread_func() 72 printf(ERROR_PREFIX "pthread_key_create\n"); in a_thread_func() 78 printf(ERROR_PREFIX "pthread_setspecific\n"); in a_thread_func() 105 printf(ERROR_PREFIX "pthread_create\n"); in main() 116 printf(ERROR_PREFIX "pthread_cancel\n"); in main() 124 printf(ERROR_PREFIX in main() 130 printf(ERROR_PREFIX in main() 140 printf(ERROR_PREFIX in main()
|
D | 2-2.c | 28 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 49 printf(ERROR_PREFIX "pthread_setcanceltype\n"); in a_thread_func() 55 printf(ERROR_PREFIX "pthread_key_create\n"); in a_thread_func() 61 printf(ERROR_PREFIX "pthread_setspecific\n"); in a_thread_func() 83 printf(ERROR_PREFIX "pthread_create\n"); in main() 94 printf(ERROR_PREFIX "pthread_cancel\n"); in main() 102 printf(ERROR_PREFIX in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getinheritsched/ |
D | 1-1.c | 24 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 36 perror(ERROR_PREFIX "pthread_attr_getinheritsched"); in verify_inheritsched() 42 perror(ERROR_PREFIX "got wrong inheritsched param"); in verify_inheritsched() 48 perror(ERROR_PREFIX "got wrong inheritsched param"); in verify_inheritsched() 63 perror(ERROR_PREFIX "pthread_attr_init"); in main() 69 perror(ERROR_PREFIX "pthread_attr_setinheritsched"); in main() 76 perror(ERROR_PREFIX "pthread_attr_setinheritsched"); in main() 83 perror(ERROR_PREFIX "pthread_attr_destroy"); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setschedparam/ |
D | 1-2.c | 25 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 50 printf(ERROR_PREFIX "pthread_attr_init\n"); in main() 56 printf(ERROR_PREFIX "pthread_attr_setschedpolicy\n"); in main() 62 printf(ERROR_PREFIX "sched_priority_get_max\n"); in main() 69 printf(ERROR_PREFIX "pthread_attr_setschedparam\n"); in main() 76 printf(ERROR_PREFIX in main() 81 printf(ERROR_PREFIX "pthread_create()\n"); in main() 90 printf(ERROR_PREFIX "Thread was not created\n"); in main()
|
D | 1-1.c | 24 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 49 printf(ERROR_PREFIX "pthread_attr_init\n"); in main() 55 printf(ERROR_PREFIX "pthread_attr_setschedpolicy\n"); in main() 61 printf(ERROR_PREFIX "sched_priority_get_max\n"); in main() 67 printf(ERROR_PREFIX "pthread_attr_setschedparam\n"); in main() 74 printf(ERROR_PREFIX in main() 79 printf(ERROR_PREFIX "pthread_create()\n"); in main() 88 printf(ERROR_PREFIX "Thread was not created\n"); in main()
|
D | 1-3.c | 26 #define ERROR_PREFIX "unexpected error: " AREA " " TEST ": " macro 42 printf(ERROR_PREFIX "pthread_getschedparam\n"); in thread() 64 printf(ERROR_PREFIX "pthread_attr_init\n"); in main() 69 printf(ERROR_PREFIX "pthread_attr_setschedpolicy\n"); in main() 75 printf(ERROR_PREFIX "pthread_attr_setschedparam\n"); in main() 81 printf(ERROR_PREFIX "pthread_attr_setinheritsched\n"); in main() 88 printf(ERROR_PREFIX "pthread_create\n"); in main() 94 printf(ERROR_PREFIX "pthread_join\n"); in main()
|
D | 1-4.c | 26 #define ERROR_PREFIX "unexpected error: " AREA " " TEST ": " macro 45 printf(ERROR_PREFIX "pthread_getschedparam\n"); in thread() 67 printf(ERROR_PREFIX "pthread_attr_init\n"); in main() 72 printf(ERROR_PREFIX "pthread_attr_setschedpolicy\n"); in main() 78 printf(ERROR_PREFIX "pthread_attr_setschedparam\n"); in main() 84 printf(ERROR_PREFIX "pthread_attr_setinheritsched\n"); in main() 91 printf(ERROR_PREFIX "pthread_create\n"); in main() 98 printf(ERROR_PREFIX "pthread_join\nn"); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstacksize/ |
D | 1-1.c | 28 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 41 perror(ERROR_PREFIX "pthread_attr_init"); in main() 48 perror(ERROR_PREFIX "pthread_attr_getstacksize"); in main() 56 perror(ERROR_PREFIX "out of memory while " in main() 64 perror(ERROR_PREFIX "pthread_attr_setstacksize"); in main() 70 perror(ERROR_PREFIX "pthread_attr_getstacksize"); in main() 77 perror(ERROR_PREFIX "pthread_attr_destroy"); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_receive/ |
D | 1-1.c | 27 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 49 perror(ERROR_PREFIX "mq_open"); in main() 54 perror(ERROR_PREFIX "mq_send"); in main() 58 perror(ERROR_PREFIX "mq_send"); in main() 63 perror(ERROR_PREFIX "mq_receive"); in main() 78 perror(ERROR_PREFIX "mq_receive"); in main() 92 perror(ERROR_PREFIX "mq_close"); in main() 97 perror(ERROR_PREFIX "mq_unlink"); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getstack/ |
D | 1-1.c | 28 #define ERROR_PREFIX "unexpected error: " FUNCTION " " TEST ": " macro 42 perror(ERROR_PREFIX "pthread_attr_init"); in main() 49 perror(ERROR_PREFIX "pthread_attr_getstack"); in main() 58 perror(ERROR_PREFIX "out of memory while " in main() 66 perror(ERROR_PREFIX "pthread_attr_setstack"); in main() 72 perror(ERROR_PREFIX "pthread_attr_getstack"); in main() 79 perror(ERROR_PREFIX "pthread_attr_destroy"); in main()
|