Searched refs:mta (Results 1 - 25 of 47) sorted by relevance

12

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_destroy/
H A D3-1.c26 pthread_mutexattr_t mta; local
29 if (pthread_mutexattr_init(&mta) != 0) {
35 if (pthread_mutexattr_destroy(&mta) != 0) {
H A D2-1.c28 pthread_mutexattr_t mta; local
31 if (pthread_mutexattr_init(&mta) != 0) {
37 if (pthread_mutexattr_destroy(&mta) != 0) {
43 if (pthread_mutexattr_init(&mta) != 0) {
H A D1-1.c24 pthread_mutexattr_t mta; local
28 if ((rc = pthread_mutexattr_init(&mta)) != 0) {
34 if (pthread_mutexattr_destroy(&mta) != 0) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/
H A D1-2.c31 pthread_mutexattr_t mta; local
35 if (pthread_mutexattr_init(&mta) != 0) {
41 if (pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_DEFAULT) != 0) {
48 if (pthread_mutexattr_gettype(&mta, &type) != 0) {
H A D1-3.c31 pthread_mutexattr_t mta; local
35 if (pthread_mutexattr_init(&mta) != 0) {
41 if (pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_NORMAL) != 0) {
48 if (pthread_mutexattr_gettype(&mta, &type) != 0) {
H A D1-4.c31 pthread_mutexattr_t mta; local
35 if (pthread_mutexattr_init(&mta) != 0) {
41 if (pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_ERRORCHECK) != 0) {
48 if (pthread_mutexattr_gettype(&mta, &type) != 0) {
H A D1-5.c31 pthread_mutexattr_t mta; local
35 if (pthread_mutexattr_init(&mta) != 0) {
41 if (pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_RECURSIVE) != 0) {
48 if (pthread_mutexattr_gettype(&mta, &type) != 0) {
H A D1-1.c30 pthread_mutexattr_t mta; local
34 if (pthread_mutexattr_init(&mta) != 0) {
40 if (pthread_mutexattr_gettype(&mta, &type) != 0) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/speculative/
H A D3-1.c31 pthread_mutexattr_t mta; local
35 memset(&mta, 0, sizeof(mta));
38 ret = pthread_mutexattr_gettype(&mta, &type);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setpshared/
H A D1-1.c44 pthread_mutexattr_t mta; local
48 if (pthread_mutexattr_init(&mta) != 0) {
55 pthread_mutexattr_setpshared(&mta,
65 pthread_mutexattr_setpshared(&mta, PTHREAD_PROCESS_SHARED)) != 0) {
H A D1-2.c33 pthread_mutexattr_t mta;
37 if (pthread_mutexattr_init(&mta) != 0) {
43 if (pthread_mutexattr_getpshared(&mta, &pshared) != 0) {
H A D2-1.c33 pthread_mutexattr_t mta;
37 if (pthread_mutexattr_init(&mta) != 0) {
43 ret = pthread_mutexattr_setpshared(&mta, PTHREAD_PROCESS_PRIVATE);
H A D2-2.c33 pthread_mutexattr_t mta;
37 if (pthread_mutexattr_init(&mta) != 0) {
43 ret = pthread_mutexattr_setpshared(&mta, PTHREAD_PROCESS_SHARED);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/
H A D3-3.c35 pthread_mutexattr_t mta; local
38 if (pthread_mutexattr_init(&mta) != 0) {
44 if (pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_ERRORCHECK) != 0) {
50 if (pthread_mutex_init(&mutex, &mta) != 0) {
H A D1-1.c23 pthread_mutexattr_t mta; local
27 if (pthread_mutexattr_init(&mta) != 0) {
32 if (pthread_mutexattr_gettype(&mta, &type) != 0) {
43 if (pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_NORMAL) != 0) {
48 if (pthread_mutexattr_gettype(&mta, &type) != 0) {
58 if (pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_ERRORCHECK) != 0) {
62 if (pthread_mutexattr_gettype(&mta, &type) != 0) {
72 if (pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_RECURSIVE) != 0) {
77 if (pthread_mutexattr_gettype(&mta, &type) != 0) {
87 if (pthread_mutexattr_destroy(&mta) !
[all...]
H A D3-1.c35 pthread_mutexattr_t mta; local
38 if (pthread_mutexattr_init(&mta) != 0) {
44 if (pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_ERRORCHECK) != 0) {
50 if (pthread_mutex_init(&mutex, &mta) != 0) {
72 if (pthread_mutexattr_destroy(&mta) != 0) {
H A D3-4.c35 pthread_mutexattr_t mta; local
38 if (pthread_mutexattr_init(&mta) != 0) {
44 if (pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_ERRORCHECK) != 0) {
50 if (pthread_mutex_init(&mutex, &mta) != 0) {
77 if (pthread_mutexattr_destroy(&mta)) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_getpshared/
H A D1-2.c35 pthread_mutexattr_t mta;
40 if (pthread_mutexattr_init(&mta) != 0) {
46 ret = pthread_mutexattr_setpshared(&mta, PTHREAD_PROCESS_SHARED);
54 if (pthread_mutexattr_getpshared(&mta, &pshared) != 0) {
H A D1-3.c35 pthread_mutexattr_t mta;
40 if (pthread_mutexattr_init(&mta) != 0) {
46 ret = pthread_mutexattr_setpshared(&mta, PTHREAD_PROCESS_PRIVATE);
54 if (pthread_mutexattr_getpshared(&mta, &pshared) != 0) {
H A D3-1.c36 pthread_mutexattr_t mta;
41 memset(&mta, 0, sizeof(mta));
44 ret = pthread_mutexattr_getpshared(&mta, &pshared);
H A D1-1.c33 pthread_mutexattr_t mta;
37 if (pthread_mutexattr_init(&mta) != 0) {
43 if (pthread_mutexattr_getpshared(&mta, &pshared) != 0) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_getprotocol/
H A D1-1.c27 pthread_mutexattr_t mta; local
31 if (pthread_mutexattr_init(&mta) != 0) {
37 if ((rc = pthread_mutexattr_getprotocol(&mta, &protocol)) != 0) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/
H A D1-1.c25 pthread_mutexattr_t mta; local
30 if ((rc = pthread_mutexattr_init(&mta)) != 0) {
37 if ((rc = pthread_mutex_init(&mutex1, &mta)) != 0) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_init/
H A D1-1.c25 pthread_mutexattr_t mta; local
32 if ((rc = pthread_mutexattr_init(&mta)) != 0) {
42 if (pthread_mutexattr_getpshared(&mta, &pshared) != 0) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_setprioceiling/
H A D1-1.c34 pthread_mutexattr_t mta; local
38 if (pthread_mutexattr_init(&mta) != 0) {
50 if (pthread_mutexattr_setprioceiling(&mta, i)) {

Completed in 198 milliseconds

12