Lines Matching refs:sleep
3 void sleep(int x) {} in sleep() function
43 sleep(3); // expected-warning {{Call to blocking function 'sleep' inside of critical section}} in testBlockInCriticalSectionWithStdMutex()
53 sleep(3); // expected-warning {{Call to blocking function 'sleep' inside of critical section}} in testBlockInCriticalSectionWithPthreadMutex()
61 sleep(3); // expected-warning {{Call to blocking function 'sleep' inside of critical section}} in testBlockInCriticalSectionWithPthreadMutex()
71 sleep(3); // expected-warning {{Call to blocking function 'sleep' inside of critical section}} in testBlockInCriticalSectionC11Locks()
79 sleep(3); // expected-warning {{Call to blocking function 'sleep' inside of critical section}} in testBlockInCriticalSectionC11Locks()
87 sleep(3); // expected-warning {{Call to blocking function 'sleep' inside of critical section}} in testBlockInCriticalSectionC11Locks()
100 sleep(3); // expected-warning {{Call to blocking function 'sleep' inside of critical section}} in testBlockInCriticalSectionWithNestedMutexes()
102 sleep(5); // expected-warning {{Call to blocking function 'sleep' inside of critical section}} in testBlockInCriticalSectionWithNestedMutexes()
104 sleep(3); // expected-warning {{Call to blocking function 'sleep' inside of critical section}} in testBlockInCriticalSectionWithNestedMutexes()
106 sleep(3); // no-warning in testBlockInCriticalSectionWithNestedMutexes()
110 sleep(1000); // expected-warning {{Call to blocking function 'sleep' inside of critical section}} in f()
123 sleep(1); // no-warning in testBlockInCriticalSectionUnexpectedUnlock()
125 sleep(1); // expected-warning {{Call to blocking function 'sleep' inside of critical section}} in testBlockInCriticalSectionUnexpectedUnlock()
131 sleep(1); // no-warning in testBlockInCriticalSectionLockGuard()
134 sleep(1); // expected-warning {{Call to blocking function 'sleep' inside of critical section}} in testBlockInCriticalSectionLockGuard()
139 sleep(1); // no-warning in testBlockInCriticalSectionLockGuardNested()
145 sleep(1); // no-warning in testBlockInCriticalSectionUniqueLock()
148 sleep(1); // expected-warning {{Call to blocking function 'sleep' inside of critical section}} in testBlockInCriticalSectionUniqueLock()
153 sleep(1); // no-warning in testBlockInCriticalSectionUniqueLockNested()