Lines Matching refs:ok
103 int ok; in AndroidBufferQueueCallback() local
109 ok = pthread_mutex_lock(&mutex); in AndroidBufferQueueCallback()
110 assert(0 == ok); in AndroidBufferQueueCallback()
126 ok = pthread_cond_signal(&cond); in AndroidBufferQueueCallback()
127 assert(0 == ok); in AndroidBufferQueueCallback()
219 ok = pthread_mutex_unlock(&mutex); in AndroidBufferQueueCallback()
220 assert(0 == ok); in AndroidBufferQueueCallback()
528 int ok; in Java_com_example_nativemedia_NativeMedia_rewindStreamingMediaPlayer() local
529 ok = pthread_mutex_lock(&mutex); in Java_com_example_nativemedia_NativeMedia_rewindStreamingMediaPlayer()
530 assert(0 == ok); in Java_com_example_nativemedia_NativeMedia_rewindStreamingMediaPlayer()
535 ok = pthread_cond_wait(&cond, &mutex); in Java_com_example_nativemedia_NativeMedia_rewindStreamingMediaPlayer()
536 assert(0 == ok); in Java_com_example_nativemedia_NativeMedia_rewindStreamingMediaPlayer()
538 ok = pthread_mutex_unlock(&mutex); in Java_com_example_nativemedia_NativeMedia_rewindStreamingMediaPlayer()
539 assert(0 == ok); in Java_com_example_nativemedia_NativeMedia_rewindStreamingMediaPlayer()