/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/ |
1-3.c | 13 * Testing the PTHREAD_MUTEX_NORMAL type. 17 * 2. Set tye mutexattr type to PTHREAD_MUTEX_NORMAL 19 * attribute is set as the value PTHREAD_MUTEX_NORMAL. 39 /* Set the mutex attribute 'type' to PTHREAD_MUTEX_NORMAL. */ 40 if (pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_NORMAL) != 0) { 46 /* The 'type' attribute should be PTHREAD_MUTEX_NORMAL */ 53 if (type != PTHREAD_MUTEX_NORMAL) { 55 ("Test FAILED: Incorrect mutexattr 'type' value: %d. Should be PTHREAD_MUTEX_NORMAL\n",
|
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/ |
2-2-buildonly.c | 31 TEST_MACRO(PTHREAD_MUTEX_NORMAL)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/ |
1-1.c | 42 if (pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_NORMAL) != 0) { 52 if (type != PTHREAD_MUTEX_NORMAL) {
|
7-1.c | 41 while (invalid_type == PTHREAD_MUTEX_NORMAL ||
|
2-1.c | 10 * PTHREAD_MUTEX_NORMAL 19 * 2 Set the 'type' of the mutexattr object to PTHREAD_MUTEX_NORMAL. 53 /* Set the 'type' attribute to be PTHREAD_MUTEX_NORMAL */ 54 if (pthread_mutexattr_settype(&mta, PTHREAD_MUTEX_NORMAL) != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/ |
5-2.c | 81 PTHREAD_MUTEX_NORMAL, 0, "Normal mutex"} 90 PTHREAD_MUTEX_NORMAL, 1, "Pshared Normal mutex"}
|
2-2.c | 80 PTHREAD_MUTEX_NORMAL, 0, "Normal mutex"} 89 PTHREAD_MUTEX_NORMAL, 1, "Pshared Normal mutex"}
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/ |
1-2.c | 108 #define PTHREAD_MUTEX_NORMAL 0 124 PTHREAD_MUTEX_NORMAL, 0, 0, 0, "Normal mutex"} 133 PTHREAD_MUTEX_NORMAL, 1, 0, 0, "Pshared normal mutex"} 143 PTHREAD_MUTEX_NORMAL, 1, 0, 1, 157 PTHREAD_MUTEX_NORMAL, 1, 1, 1, 170 PTHREAD_MUTEX_NORMAL, 0, 1, 0, 183 PTHREAD_MUTEX_NORMAL, 1, 1, 0,
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/ |
stress.c | 94 #define PTHREAD_MUTEX_NORMAL 0 110 PTHREAD_MUTEX_NORMAL, 0, 0, 0, "Normal mutex"} 119 PTHREAD_MUTEX_NORMAL, 1, 0, 0, "Pshared normal mutex"} 129 PTHREAD_MUTEX_NORMAL, 1, 0, 1, 143 PTHREAD_MUTEX_NORMAL, 1, 1, 1, 156 PTHREAD_MUTEX_NORMAL, 0, 1, 0, 169 PTHREAD_MUTEX_NORMAL, 1, 1, 0,
|
stress1.c | 119 #define PTHREAD_MUTEX_NORMAL 0 135 PTHREAD_MUTEX_NORMAL, 0, 0, 0, "Normal mutex"} 144 PTHREAD_MUTEX_NORMAL, 1, 0, 0, "Pshared normal mutex"} 154 PTHREAD_MUTEX_NORMAL, 1, 0, 1, 168 PTHREAD_MUTEX_NORMAL, 1, 1, 1, 181 PTHREAD_MUTEX_NORMAL, 0, 1, 0, 194 PTHREAD_MUTEX_NORMAL, 1, 1, 0,
|
stress2.c | 94 #define PTHREAD_MUTEX_NORMAL 0 110 PTHREAD_MUTEX_NORMAL, 0, 0, 0, "Normal mutex"} 119 PTHREAD_MUTEX_NORMAL, 1, 0, 0, "Pshared normal mutex"} 129 PTHREAD_MUTEX_NORMAL, 1, 0, 1, 143 PTHREAD_MUTEX_NORMAL, 1, 1, 1, 156 PTHREAD_MUTEX_NORMAL, 0, 1, 0, 169 PTHREAD_MUTEX_NORMAL, 1, 1, 0,
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
2-4.c | 81 PTHREAD_MUTEX_NORMAL, 0, 0, 0, "Normal mutex"} 90 PTHREAD_MUTEX_NORMAL, 1, 0, 0, "Pshared normal mutex"} 100 PTHREAD_MUTEX_NORMAL, 1, 0, 1, 114 PTHREAD_MUTEX_NORMAL, 1, 1, 1, 127 PTHREAD_MUTEX_NORMAL, 0, 1, 0, 140 PTHREAD_MUTEX_NORMAL, 1, 1, 0,
|
2-7.c | 82 PTHREAD_MUTEX_NORMAL, 0, 0, 0, "Normal mutex"} 91 PTHREAD_MUTEX_NORMAL, 1, 0, 0, "Pshared normal mutex"} 101 PTHREAD_MUTEX_NORMAL, 1, 0, 1, 115 PTHREAD_MUTEX_NORMAL, 1, 1, 1, 128 PTHREAD_MUTEX_NORMAL, 0, 1, 0, 141 PTHREAD_MUTEX_NORMAL, 1, 1, 0,
|
4-2.c | 80 PTHREAD_MUTEX_NORMAL, 0, 0, 0, "Normal mutex"} 89 PTHREAD_MUTEX_NORMAL, 1, 0, 0, "Pshared normal mutex"} 99 PTHREAD_MUTEX_NORMAL, 1, 0, 1, 113 PTHREAD_MUTEX_NORMAL, 1, 1, 1, 126 PTHREAD_MUTEX_NORMAL, 0, 1, 0, 139 PTHREAD_MUTEX_NORMAL, 1, 1, 0,
|
2-6.c | 210 0, 0, PTHREAD_MUTEX_NORMAL, "Normal mutex"} 213 1, 0, PTHREAD_MUTEX_NORMAL, "Normal mutex + altclock cond"} 215 1, 1, PTHREAD_MUTEX_NORMAL, "PShared mutex + altclock cond"} 218 0, 1, PTHREAD_MUTEX_NORMAL, "Pshared mutex"}
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
2-2.c | 109 PTHREAD_MUTEX_NORMAL, 0, 0, 0, "Normal mutex"} 118 PTHREAD_MUTEX_NORMAL, 1, 0, 0, "Pshared normal mutex"} 128 PTHREAD_MUTEX_NORMAL, 1, 0, 1, 142 PTHREAD_MUTEX_NORMAL, 1, 1, 1, 155 PTHREAD_MUTEX_NORMAL, 0, 1, 0, 168 PTHREAD_MUTEX_NORMAL, 1, 1, 0,
|
2-3.c | 220 0, 0, PTHREAD_MUTEX_NORMAL, "Normal mutex"} 223 1, 0, PTHREAD_MUTEX_NORMAL, "Normal mutex + altclock cond"} 225 1, 1, PTHREAD_MUTEX_NORMAL, "PShared mutex + altclock cond"} 228 0, 1, PTHREAD_MUTEX_NORMAL, "Pshared mutex"}
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/ |
stress1.c | 125 PTHREAD_MUTEX_NORMAL, 0, 0, 0, "Normal mutex"} 134 PTHREAD_MUTEX_NORMAL, 1, 0, 0, "Pshared normal mutex"} 144 PTHREAD_MUTEX_NORMAL, 1, 0, 1, 158 PTHREAD_MUTEX_NORMAL, 1, 1, 1, 171 PTHREAD_MUTEX_NORMAL, 0, 1, 0, 184 PTHREAD_MUTEX_NORMAL, 1, 1, 0,
|
stress2.c | 101 PTHREAD_MUTEX_NORMAL, 0, 0, 0, "Normal mutex"} 110 PTHREAD_MUTEX_NORMAL, 1, 0, 0, "Pshared normal mutex"} 120 PTHREAD_MUTEX_NORMAL, 1, 0, 1, 134 PTHREAD_MUTEX_NORMAL, 1, 1, 1, 147 PTHREAD_MUTEX_NORMAL, 0, 1, 0, 160 PTHREAD_MUTEX_NORMAL, 1, 1, 0,
|
/external/deqp/framework/delibs/dethread/unix/ |
deMutexUnix.c | 54 if (pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_NORMAL) != 0)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
1-2.c | 92 #define PTHREAD_MUTEX_NORMAL 0 107 PTHREAD_MUTEX_NORMAL, 0, 0, 0, "Normal mutex"}, { 111 PTHREAD_MUTEX_NORMAL, 1, 0, 0, "Pshared normal mutex"}, { 116 PTHREAD_MUTEX_NORMAL, 1, 0, 1, "Pshared normal mutex across processes"}, 127 PTHREAD_MUTEX_NORMAL, 1, 1, 1, 138 PTHREAD_MUTEX_NORMAL, 0, 1, 0, "Normal mutex and alt clock condvar"}, 146 PTHREAD_MUTEX_NORMAL, 1, 1, 0,
|
2-3.c | 77 #define PTHREAD_MUTEX_NORMAL 0 92 PTHREAD_MUTEX_NORMAL, 0, 0, 0, "Normal mutex"}, { 96 PTHREAD_MUTEX_NORMAL, 1, 0, 0, "Pshared normal mutex"}, { 101 PTHREAD_MUTEX_NORMAL, 1, 0, 1, "Pshared normal mutex across processes"}, 112 PTHREAD_MUTEX_NORMAL, 1, 1, 1, 123 PTHREAD_MUTEX_NORMAL, 0, 1, 0, "Normal mutex and alt clock condvar"}, 131 PTHREAD_MUTEX_NORMAL, 1, 1, 0,
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_destroy/ |
2-1.c | 109 #define PTHREAD_MUTEX_NORMAL 0 125 PTHREAD_MUTEX_NORMAL, 0, 0, 0, "Normal mutex"} 134 PTHREAD_MUTEX_NORMAL, 1, 0, 0, "Pshared normal mutex"} 144 PTHREAD_MUTEX_NORMAL, 1, 0, 1, 158 PTHREAD_MUTEX_NORMAL, 1, 1, 1, 171 PTHREAD_MUTEX_NORMAL, 0, 1, 0, 184 PTHREAD_MUTEX_NORMAL, 1, 1, 0,
|
/external/llvm/lib/Support/ |
Mutex.cpp | 58 int kind = ( recursive ? PTHREAD_MUTEX_RECURSIVE : PTHREAD_MUTEX_NORMAL );
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
Mutex.cpp | 74 int kind = ( recursive ? PTHREAD_MUTEX_RECURSIVE : PTHREAD_MUTEX_NORMAL );
|