Home
last modified time | relevance | path

Searched refs:mx1 (Results 1 – 5 of 5) sorted by relevance

/external/valgrind/helgrind/tests/
Dtc15_laog_lockdel.c14 pthread_mutex_t *mx1, *mx2; in main() local
16 mx1 = malloc(120 + sizeof(pthread_mutex_t) - sizeof(pthread_mutex_t)); in main()
19 assert(mx1); in main()
22 r = pthread_mutex_init( mx1, NULL ); assert(r==0); in main()
27 r = pthread_mutex_lock( mx1 ); assert(r==0); in main()
30 r = pthread_mutex_unlock( mx1 ); assert(r==0); in main()
36 r = pthread_mutex_lock( mx1 ); assert(r==0); in main()
38 r = pthread_mutex_unlock( mx1 ); assert(r==0); in main()
53 r = pthread_mutex_lock( mx1 ); assert(r==0); /* no error */ in main()
55 r = pthread_mutex_unlock( mx1 ); assert(r==0); in main()
[all …]
Dtc10_rec_lock.c16 pthread_mutex_t mx1; in nearly_main() local
24 r = pthread_mutex_init( &mx1, &attr ); in nearly_main()
28 r = pthread_mutex_lock( &mx1 ); assert(r == 0); in nearly_main()
30 r = pthread_mutex_lock( &mx1 ); assert(r == 0); in nearly_main()
32 r = pthread_mutex_lock( &mx1 ); assert(r == 0); in nearly_main()
35 r = pthread_mutex_unlock( &mx1 ); assert(r == 0); in nearly_main()
37 r = pthread_mutex_unlock( &mx1 ); assert(r == 0); in nearly_main()
39 r = pthread_mutex_unlock( &mx1 ); assert(r == 0); in nearly_main()
42 r = pthread_mutex_unlock( &mx1 ); /* FAILS: assert(r == 0); */ in nearly_main()
Dtc13_laog1.c13 pthread_mutex_t mx1, mx2; in main() local
14 r = pthread_mutex_init( &mx1, NULL ); assert(r==0); in main()
17 r = pthread_mutex_lock( &mx1 ); assert(r==0); in main()
20 r = pthread_mutex_unlock( &mx1 ); assert(r==0); in main()
24 r = pthread_mutex_lock( &mx1 ); assert(r==0); in main()
26 r = pthread_mutex_unlock( &mx1 ); assert(r==0); in main()
29 r = pthread_mutex_destroy( &mx1 ); in main()
Dtc09_bad_unlock.c18 pthread_mutex_t mx1, mx2; in nearly_main() local
23 pthread_mutex_init( &mx1, NULL ); in nearly_main()
24 pthread_mutex_lock( &mx1 ); in nearly_main()
25 pthread_mutex_unlock( &mx1 ); in nearly_main()
27 pthread_mutex_unlock( &mx1 ); /* ERROR */ in nearly_main()
/external/iputils/
DRELNOTES472 * Stepan Koltsov <yozh@mx1.ru>, tracepath/tracepth6 segfaulted when