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