Lines Matching refs:nested
39 static int nested = 0;
56 ASSERT(nested == 0 && "close_cb must be called from a fresh stack");
64 ASSERT(nested == 0 && "shutdown_cb must be called from a fresh stack");
71 ASSERT(nested == 0 && "read_cb must be called from a fresh stack");
82 nested++;
84 nested--;
95 nested++;
102 nested--;
109 ASSERT(nested == 0 && "timer_cb must be called from a fresh stack");
113 nested++;
117 nested--;
129 ASSERT(nested == 0 && "write_cb must be called from a fresh stack");
137 nested++;
142 nested--;
154 ASSERT(nested == 0 && "connect_cb must be called from a fresh stack");
156 nested++;
165 nested--;
182 nested++;
190 nested--;
194 ASSERT_OK(nested);