/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_destroy/ |
3-1.c | 26 pthread_mutexattr_t mta; local 29 if (pthread_mutexattr_init(&mta) != 0) { 35 if (pthread_mutexattr_destroy(&mta) != 0) {
|
2-1.c | 28 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) {
|
1-1.c | 24 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/ |
1-2.c | 31 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) {
|
1-3.c | 31 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) {
|
1-4.c | 31 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) {
|
1-5.c | 31 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) {
|
1-1.c | 30 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/ |
3-1.c | 31 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/ |
1-1.c | 44 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) {
|
1-2.c | 33 pthread_mutexattr_t mta; 37 if (pthread_mutexattr_init(&mta) != 0) { 43 if (pthread_mutexattr_getpshared(&mta, &pshared) != 0) {
|
2-1.c | 33 pthread_mutexattr_t mta; 37 if (pthread_mutexattr_init(&mta) != 0) { 43 ret = pthread_mutexattr_setpshared(&mta, PTHREAD_PROCESS_PRIVATE);
|
2-2.c | 33 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/ |
3-3.c | 35 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) {
|
1-1.c | 23 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) != 0) [all...] |
3-1.c | 35 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) {
|
3-4.c | 35 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/ |
1-2.c | 35 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) {
|
1-3.c | 35 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) {
|
3-1.c | 36 pthread_mutexattr_t mta; 41 memset(&mta, 0, sizeof(mta)); 44 ret = pthread_mutexattr_getpshared(&mta, &pshared);
|
1-1.c | 33 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/ |
1-1.c | 27 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/ |
1-1.c | 25 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/ |
1-1.c | 25 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/ |
1-1.c | 34 pthread_mutexattr_t mta; local 38 if (pthread_mutexattr_init(&mta) != 0) { 50 if (pthread_mutexattr_setprioceiling(&mta, i)) {
|