• Home
  • Raw
  • Download

Lines Matching refs:LOGGER_ASSERT

49     LOGGER_ASSERT(length);  // Catch if the buffer is set too small.  in VLogF()
60 LOGGER_ASSERT(!thread_running_); in StartThread()
62 LOGGER_ASSERT(0 == pthread_create(&thread_, NULL, &StartRoutine, this)); in StartThread()
72 LOGGER_ASSERT(0 == retval); in StopThread()
76 LOGGER_ASSERT(0 == retval); in StopThread()
79 LOGGER_ASSERT(0 == retval); in StopThread()
82 LOGGER_ASSERT(0 == retval); in StopThread()
90 LOGGER_ASSERT(0 == pthread_mutex_init(&queued_lines_mutex_, NULL)); in Logger()
91 LOGGER_ASSERT(0 == pthread_cond_init(&queued_lines_cond_, NULL)); in Logger()
92 LOGGER_ASSERT(0 == pthread_cond_init(&full_queue_cond_, NULL)); in Logger()
96 LOGGER_ASSERT(0 == pthread_mutex_destroy(&queued_lines_mutex_)); in ~Logger()
97 LOGGER_ASSERT(0 == pthread_cond_destroy(&queued_lines_cond_)); in ~Logger()
98 LOGGER_ASSERT(0 == pthread_cond_destroy(&full_queue_cond_)); in ~Logger()
102 LOGGER_ASSERT(line != NULL); in QueueLogLine()
103 LOGGER_ASSERT(0 == pthread_mutex_lock(&queued_lines_mutex_)); in QueueLogLine()
106 LOGGER_ASSERT(0 == pthread_cond_wait(&full_queue_cond_, in QueueLogLine()
110 LOGGER_ASSERT(0 == pthread_cond_signal(&queued_lines_cond_)); in QueueLogLine()
116 LOGGER_ASSERT(0 == pthread_mutex_unlock(&queued_lines_mutex_)); in QueueLogLine()
120 LOGGER_ASSERT(line != NULL); in WriteAndDeleteLogLine()
124 LOGGER_ASSERT(bytes_written == static_cast<ssize_t>(line->size())); in WriteAndDeleteLogLine()
127 LOGGER_ASSERT(bytes_written == static_cast<ssize_t>(line->size())); in WriteAndDeleteLogLine()
139 LOGGER_ASSERT(0 == pthread_mutex_lock(&queued_lines_mutex_)); in ThreadMain()
143 LOGGER_ASSERT(0 == pthread_cond_wait(&queued_lines_cond_, in ThreadMain()
153 LOGGER_ASSERT(0 == pthread_cond_broadcast(&full_queue_cond_)); in ThreadMain()
157 LOGGER_ASSERT(0 == pthread_mutex_unlock(&queued_lines_mutex_)); in ThreadMain()
168 LOGGER_ASSERT(0 == pthread_mutex_lock(&queued_lines_mutex_)); in ThreadMain()