Lines Matching refs:counter
415 // The disabled program counter address ranges for profile dumping
475 return (intptr_t)p; // kinda evil: store the counter directly in the void*
484 // kinda evil: store the counter directly in the void*
501 void* p = (void*)main_thread_counter; // store the counter directly
512 // counter than to check whether or not heap-checking is on
514 int counter = get_thread_disable_counter();
515 set_thread_disable_counter(counter + 1);
516 RAW_VLOG(10, "Increasing thread disable counter to %d", counter + 1);
520 int counter = get_thread_disable_counter();
521 RAW_DCHECK(counter > 0, "");
522 if (counter > 0) {
523 set_thread_disable_counter(counter - 1);
524 RAW_VLOG(10, "Decreasing thread disable counter to %d", counter);
526 RAW_VLOG(0, "Thread disable counter underflow : %d", counter);
572 const int counter = get_thread_disable_counter();
573 const bool ignore = (counter > 0);
575 int(counter));