OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pthread_mutexattr_settype
(Results
1 - 25
of
260
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_settype/
1-1.c
8
* Test
pthread_mutexattr_settype
()
9
* int
pthread_mutexattr_settype
(pthread_mutexattr_t *attr, int type);
43
if (
pthread_mutexattr_settype
(&mta, PTHREAD_MUTEX_NORMAL) != 0) {
58
if (
pthread_mutexattr_settype
(&mta, PTHREAD_MUTEX_ERRORCHECK) != 0) {
72
if (
pthread_mutexattr_settype
(&mta, PTHREAD_MUTEX_RECURSIVE) != 0) {
3-3.c
8
* Test
pthread_mutexattr_settype
()
44
if (
pthread_mutexattr_settype
(&mta, PTHREAD_MUTEX_ERRORCHECK) != 0) {
7-1.c
8
* Test
pthread_mutexattr_settype
()
19
* 2. Pass to
pthread_mutexattr_settype
an invalid type. It shall fail.
49
ret =
pthread_mutexattr_settype
(&mta, invalid_type);
2-1.c
8
* Test
pthread_mutexattr_settype
()
55
if (
pthread_mutexattr_settype
(&mta, PTHREAD_MUTEX_NORMAL) != 0) {
3-1.c
8
* Test
pthread_mutexattr_settype
()
44
if (
pthread_mutexattr_settype
(&mta, PTHREAD_MUTEX_ERRORCHECK) != 0) {
3-4.c
8
* Test
pthread_mutexattr_settype
()
44
if (
pthread_mutexattr_settype
(&mta, PTHREAD_MUTEX_ERRORCHECK) != 0) {
3-2.c
8
* Test
pthread_mutexattr_settype
()
57
if (
pthread_mutexattr_settype
(&mta, PTHREAD_MUTEX_ERRORCHECK) != 0) {
/external/valgrind/drd/tests/
pth_mutex_reinit.c
18
pthread_mutexattr_settype
(&attr, PTHREAD_MUTEX_NORMAL);
25
pthread_mutexattr_settype
(&attr, PTHREAD_MUTEX_RECURSIVE);
recursive_mutex.c
43
pthread_mutexattr_settype
(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
57
pthread_mutexattr_settype
(&attr, PTHREAD_MUTEX_ERRORCHECK_NP);
hold_lock.c
48
pthread_mutexattr_settype
(&mutexattr, PTHREAD_MUTEX_RECURSIVE);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutexattr_gettype/
1-2.c
41
if (
pthread_mutexattr_settype
(&mta, PTHREAD_MUTEX_DEFAULT) != 0) {
43
"
pthread_mutexattr_settype
(): Error setting the attribute 'type'\n");
1-3.c
41
if (
pthread_mutexattr_settype
(&mta, PTHREAD_MUTEX_NORMAL) != 0) {
43
"
pthread_mutexattr_settype
(): Error setting the attribute 'type'\n");
1-4.c
41
if (
pthread_mutexattr_settype
(&mta, PTHREAD_MUTEX_ERRORCHECK) != 0) {
43
"
pthread_mutexattr_settype
(): Error setting the attribute 'type'\n");
1-5.c
41
if (
pthread_mutexattr_settype
(&mta, PTHREAD_MUTEX_RECURSIVE) != 0) {
43
"
pthread_mutexattr_settype
(): Error setting the attribute 'type'\n");
/external/webrtc/webrtc/system_wrappers/source/
critical_section_posix.cc
23
(void)
pthread_mutexattr_settype
(&attr, PTHREAD_MUTEX_RECURSIVE);
/external/deqp/framework/delibs/dethread/unix/
deMutexUnix.c
52
if (
pthread_mutexattr_settype
(&attr, PTHREAD_MUTEX_ERRORCHECK) != 0)
54
if (
pthread_mutexattr_settype
(&attr, PTHREAD_MUTEX_NORMAL) != 0)
66
if (
pthread_mutexattr_settype
(&attr, PTHREAD_MUTEX_RECURSIVE) != 0)
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/
5-1.c
141
if ((ret =
pthread_mutexattr_settype
(pma[0], PTHREAD_MUTEX_NORMAL))) {
144
if ((ret =
pthread_mutexattr_settype
(pma[0], PTHREAD_MUTEX_DEFAULT))) {
147
if ((ret =
pthread_mutexattr_settype
(pma[0], PTHREAD_MUTEX_RECURSIVE))) {
150
if ((ret =
pthread_mutexattr_settype
(pma[0], PTHREAD_MUTEX_ERRORCHECK))) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_lock/
5-1.c
160
if ((ret =
pthread_mutexattr_settype
(pma[0], PTHREAD_MUTEX_NORMAL))) {
161
UNRESOLVED(ret, "
pthread_mutexattr_settype
(normal)");
163
if ((ret =
pthread_mutexattr_settype
(pma[1], PTHREAD_MUTEX_ERRORCHECK))) {
164
UNRESOLVED(ret, "
pthread_mutexattr_settype
(errorcheck)");
166
if ((ret =
pthread_mutexattr_settype
(pma[2], PTHREAD_MUTEX_RECURSIVE))) {
167
UNRESOLVED(ret, "
pthread_mutexattr_settype
(recursive)");
169
if ((ret =
pthread_mutexattr_settype
(pma[3], PTHREAD_MUTEX_DEFAULT))) {
170
UNRESOLVED(ret, "
pthread_mutexattr_settype
(default)");
3-1.c
189
if ((ret =
pthread_mutexattr_settype
(pma[0], PTHREAD_MUTEX_NORMAL))) {
190
UNRESOLVED(ret, "
pthread_mutexattr_settype
(normal)");
192
if ((ret =
pthread_mutexattr_settype
(pma[1], PTHREAD_MUTEX_ERRORCHECK))) {
193
UNRESOLVED(ret, "
pthread_mutexattr_settype
(errorcheck)");
195
if ((ret =
pthread_mutexattr_settype
(pma[2], PTHREAD_MUTEX_RECURSIVE))) {
196
UNRESOLVED(ret, "
pthread_mutexattr_settype
(recursive)");
198
if ((ret =
pthread_mutexattr_settype
(pma[3], PTHREAD_MUTEX_DEFAULT))) {
199
UNRESOLVED(ret, "
pthread_mutexattr_settype
(default)");
/external/valgrind/helgrind/tests/
tc10_rec_lock.c
22
r =
pthread_mutexattr_settype
( &attr, PTHREAD_MUTEX_RECURSIVE );
/external/v8/src/base/platform/
mutex.cc
21
result =
pthread_mutexattr_settype
(&attr, PTHREAD_MUTEX_ERRORCHECK);
39
result =
pthread_mutexattr_settype
(&attr, PTHREAD_MUTEX_RECURSIVE);
/external/jemalloc/test/src/
mtx.c
23
pthread_mutexattr_settype
(&attr, PTHREAD_MUTEX_DEFAULT);
/external/libchrome/base/synchronization/
lock_impl_posix.cc
21
rv =
pthread_mutexattr_settype
(&mta, PTHREAD_MUTEX_ERRORCHECK);
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_unlock/
5-1.c
123
ret =
pthread_mutexattr_settype
(&ma, PTHREAD_MUTEX_RECURSIVE);
5-2.c
103
ret =
pthread_mutexattr_settype
(&ma, PTHREAD_MUTEX_RECURSIVE);
Completed in 481 milliseconds
1
2
3
4
5
6
7
8
9
10
11