/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/ |
1-2.c | 11 * these functions. The default value is PTHREAD_MUTEX_DEFAULT. 13 * Testing the PTHREAD_MUTEX_DEFAULT type. 17 * 2. Set tye mutexattr type to PTHREAD_MUTEX_DEFAULT 19 * attribute is set as the default value PTHREAD_MUTEX_DEFAULT. 39 /* Set the mutex attribute 'type' to PTHREAD_MUTEX_DEFAULT. */ 40 if (pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_DEFAULT) != 0) { 46 /* The 'type' attribute should be PTHREAD_MUTEX_DEFAULT */ 53 if (type != PTHREAD_MUTEX_DEFAULT) { 55 ("Test FAILED: Incorrect mutexattr 'type' value: %d. Should be PTHREAD_MUTEX_DEFAULT\n",
|
1-1.c | 11 * these functions. The default value is PTHREAD_MUTEX_DEFAULT. 18 * attribute is set as the default value PTHREAD_MUTEX_DEFAULT. 38 /* The default 'type' attribute should be PTHREAD_MUTEX_DEFAULT */ 45 if (type != PTHREAD_MUTEX_DEFAULT) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/ |
2-2-buildonly.c | 25 TEST_MACRO(PTHREAD_MUTEX_DEFAULT)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/ |
7-1.c | 44 invalid_type == PTHREAD_MUTEX_DEFAULT) {
|
1-1.c | 11 * these functions. The default value is PTHREAD_MUTEX_DEFAULT. 36 if (type != PTHREAD_MUTEX_DEFAULT) { 38 ("Test FAILED: Default value of the 'type' attribute is not PTHREAD_MUTEX_DEFAULT \n");
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/ |
5-2.c | 79 PTHREAD_MUTEX_DEFAULT, 0, "Default mutex"} 88 PTHREAD_MUTEX_DEFAULT, 1, "Pshared mutex"}
|
2-2.c | 78 PTHREAD_MUTEX_DEFAULT, 0, "Default mutex"} 87 PTHREAD_MUTEX_DEFAULT, 1, "Pshared mutex"}
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/ |
1-2.c | 107 #define PTHREAD_MUTEX_DEFAULT 0 122 PTHREAD_MUTEX_DEFAULT, 0, 0, 0, "Default mutex"} 131 PTHREAD_MUTEX_DEFAULT, 1, 0, 0, "PShared default mutex"} 140 PTHREAD_MUTEX_DEFAULT, 1, 0, 1, 154 PTHREAD_MUTEX_DEFAULT, 1, 1, 1, 167 PTHREAD_MUTEX_DEFAULT, 0, 1, 0, 180 PTHREAD_MUTEX_DEFAULT, 1, 1, 0,
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/ |
stress.c | 93 #define PTHREAD_MUTEX_DEFAULT 0 108 PTHREAD_MUTEX_DEFAULT, 0, 0, 0, "Default mutex"} 117 PTHREAD_MUTEX_DEFAULT, 1, 0, 0, "PShared default mutex"} 126 PTHREAD_MUTEX_DEFAULT, 1, 0, 1, 140 PTHREAD_MUTEX_DEFAULT, 1, 1, 1, 153 PTHREAD_MUTEX_DEFAULT, 0, 1, 0, 166 PTHREAD_MUTEX_DEFAULT, 1, 1, 0,
|
stress1.c | 118 #define PTHREAD_MUTEX_DEFAULT 0 133 PTHREAD_MUTEX_DEFAULT, 0, 0, 0, "Default mutex"} 142 PTHREAD_MUTEX_DEFAULT, 1, 0, 0, "PShared default mutex"} 151 PTHREAD_MUTEX_DEFAULT, 1, 0, 1, 165 PTHREAD_MUTEX_DEFAULT, 1, 1, 1, 178 PTHREAD_MUTEX_DEFAULT, 0, 1, 0, 191 PTHREAD_MUTEX_DEFAULT, 1, 1, 0,
|
stress2.c | 93 #define PTHREAD_MUTEX_DEFAULT 0 108 PTHREAD_MUTEX_DEFAULT, 0, 0, 0, "Default mutex"} 117 PTHREAD_MUTEX_DEFAULT, 1, 0, 0, "PShared default mutex"} 126 PTHREAD_MUTEX_DEFAULT, 1, 0, 1, 140 PTHREAD_MUTEX_DEFAULT, 1, 1, 1, 153 PTHREAD_MUTEX_DEFAULT, 0, 1, 0, 166 PTHREAD_MUTEX_DEFAULT, 1, 1, 0,
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
2-4.c | 79 PTHREAD_MUTEX_DEFAULT, 0, 0, 0, "Default mutex"} 88 PTHREAD_MUTEX_DEFAULT, 1, 0, 0, "PShared default mutex"} 97 PTHREAD_MUTEX_DEFAULT, 1, 0, 1, 111 PTHREAD_MUTEX_DEFAULT, 1, 1, 1, 124 PTHREAD_MUTEX_DEFAULT, 0, 1, 0, 137 PTHREAD_MUTEX_DEFAULT, 1, 1, 0,
|
2-7.c | 80 PTHREAD_MUTEX_DEFAULT, 0, 0, 0, "Default mutex"} 89 PTHREAD_MUTEX_DEFAULT, 1, 0, 0, "PShared default mutex"} 98 PTHREAD_MUTEX_DEFAULT, 1, 0, 1, 112 PTHREAD_MUTEX_DEFAULT, 1, 1, 1, 125 PTHREAD_MUTEX_DEFAULT, 0, 1, 0, 138 PTHREAD_MUTEX_DEFAULT, 1, 1, 0,
|
4-2.c | 78 PTHREAD_MUTEX_DEFAULT, 0, 0, 0, "Default mutex"} 87 PTHREAD_MUTEX_DEFAULT, 1, 0, 0, "PShared default mutex"} 96 PTHREAD_MUTEX_DEFAULT, 1, 0, 1, 110 PTHREAD_MUTEX_DEFAULT, 1, 1, 1, 123 PTHREAD_MUTEX_DEFAULT, 0, 1, 0, 136 PTHREAD_MUTEX_DEFAULT, 1, 1, 0,
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
2-2.c | 107 PTHREAD_MUTEX_DEFAULT, 0, 0, 0, "Default mutex"} 116 PTHREAD_MUTEX_DEFAULT, 1, 0, 0, "PShared default mutex"} 125 PTHREAD_MUTEX_DEFAULT, 1, 0, 1, 139 PTHREAD_MUTEX_DEFAULT, 1, 1, 1, 152 PTHREAD_MUTEX_DEFAULT, 0, 1, 0, 165 PTHREAD_MUTEX_DEFAULT, 1, 1, 0,
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/ |
stress1.c | 123 PTHREAD_MUTEX_DEFAULT, 0, 0, 0, "Default mutex"} 132 PTHREAD_MUTEX_DEFAULT, 1, 0, 0, "PShared default mutex"} 141 PTHREAD_MUTEX_DEFAULT, 1, 0, 1, 155 PTHREAD_MUTEX_DEFAULT, 1, 1, 1, 168 PTHREAD_MUTEX_DEFAULT, 0, 1, 0, 181 PTHREAD_MUTEX_DEFAULT, 1, 1, 0,
|
stress2.c | 99 PTHREAD_MUTEX_DEFAULT, 0, 0, 0, "Default mutex"} 108 PTHREAD_MUTEX_DEFAULT, 1, 0, 0, "PShared default mutex"} 117 PTHREAD_MUTEX_DEFAULT, 1, 0, 1, 131 PTHREAD_MUTEX_DEFAULT, 1, 1, 1, 144 PTHREAD_MUTEX_DEFAULT, 0, 1, 0, 157 PTHREAD_MUTEX_DEFAULT, 1, 1, 0,
|
/external/jemalloc/test/src/ |
mtx.c | 23 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_DEFAULT);
|
/external/jemalloc_new/test/src/ |
mtx.c | 24 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_DEFAULT);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
1-2.c | 91 #define PTHREAD_MUTEX_DEFAULT 0 106 PTHREAD_MUTEX_DEFAULT, 0, 0, 0, "Default mutex"}, { 110 PTHREAD_MUTEX_DEFAULT, 1, 0, 0, "PShared default mutex"}, { 114 PTHREAD_MUTEX_DEFAULT, 1, 0, 1, 124 PTHREAD_MUTEX_DEFAULT, 1, 1, 1, 136 PTHREAD_MUTEX_DEFAULT, 0, 1, 0, "Default mutex and alt clock condvar"}, 144 PTHREAD_MUTEX_DEFAULT, 1, 1, 0,
|
2-3.c | 76 #define PTHREAD_MUTEX_DEFAULT 0 91 PTHREAD_MUTEX_DEFAULT, 0, 0, 0, "Default mutex"}, { 95 PTHREAD_MUTEX_DEFAULT, 1, 0, 0, "PShared default mutex"}, { 99 PTHREAD_MUTEX_DEFAULT, 1, 0, 1, 109 PTHREAD_MUTEX_DEFAULT, 1, 1, 1, 121 PTHREAD_MUTEX_DEFAULT, 0, 1, 0, "Default mutex and alt clock condvar"}, 129 PTHREAD_MUTEX_DEFAULT, 1, 1, 0,
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/ |
2-1.c | 108 #define PTHREAD_MUTEX_DEFAULT 0 123 PTHREAD_MUTEX_DEFAULT, 0, 0, 0, "Default mutex"} 132 PTHREAD_MUTEX_DEFAULT, 1, 0, 0, "PShared default mutex"} 141 PTHREAD_MUTEX_DEFAULT, 1, 0, 1, 155 PTHREAD_MUTEX_DEFAULT, 1, 1, 1, 168 PTHREAD_MUTEX_DEFAULT, 0, 1, 0, 181 PTHREAD_MUTEX_DEFAULT, 1, 1, 0,
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/ |
1-2.c | 91 PTHREAD_MUTEX_DEFAULT, 0, 0, "Default mutex"} 102 PTHREAD_MUTEX_DEFAULT, 1, 0, "Pshared mutex"} 113 PTHREAD_MUTEX_DEFAULT, 1, 1, "Pshared mutex across processes"}
|
4-2.c | 89 PTHREAD_MUTEX_DEFAULT, 0, 0, "Default mutex"} 100 PTHREAD_MUTEX_DEFAULT, 1, 0, "Pshared mutex"} 111 PTHREAD_MUTEX_DEFAULT, 1, 1, "Pshared mutex across processes"}
|
/external/jemalloc/include/jemalloc/internal/ |
mutex.h | 24 # define MALLOC_MUTEX_TYPE PTHREAD_MUTEX_DEFAULT
|