Home
last modified time | relevance | path

Searched refs:StopNow (Results 1 – 6 of 6) sorted by relevance

/external/mdnsresponder/mDNSPosix/
DIdentify.c67 static volatile int StopNow; // 0 means running, 1 means stop because we got an answer, 2 means sto… variable
116 StopNow = 1; in NameCallback()
160 if (/*NumHINFO && */ (NumAddr || NumAAAA)) StopNow = 1; in InfoCallback()
183 StopNow = 0; in WaitForAnswer()
185 while (!StopNow) in WaitForAnswer()
205 else if (errno != EINTR) StopNow = 2; in WaitForAnswer()
241 StopNow = 2; in DoOneQuery()
252 if (StopNow == 0 && NumAnswers == 0 && target && target->type) in DoQuery()
257 if (StopNow == 0 && NumAnswers == 0) in DoQuery()
259 return(StopNow); in DoQuery()
[all …]
DExampleClientApp.c34 static volatile mDNSBool StopNow; variable
41 StopNow = mDNStrue; in HandleSIG()
49 while (!StopNow) in ExampleClientEventLoop()
77 if (errno != EINTR) StopNow = mDNStrue; in ExampleClientEventLoop()
/external/tensorflow/tensorflow/stream_executor/host/
Dhost_timer.cc32 return stream->ThenDoHostCallback([this]() { this->StopNow(); }).ok(); in Stop()
45 void HostTimer::StopNow() { duration_ = clock::now() - start_time_; } in StopNow() function in stream_executor::host::HostTimer
Dhost_timer.h55 void StopNow();
/external/python/cpython2/Lib/test/
Dtest_itertools.py37 class StopNow: class
992 self.assertRaises(StopIteration, f(StopNow()).next)
995 self.assertRaises(StopIteration, islice(StopNow(), None).next)
1000 p, q = tee(StopNow())
1008 self.assertRaises(StopIteration, f(lambda x:x, StopNow()).next)
/external/python/cpython3/Lib/test/
Dtest_itertools.py48 class StopNow: class
1484 self.assertRaises(StopIteration, next, f(StopNow()))
1487 self.assertRaises(StopIteration, next, islice(StopNow(), None))
1492 p, q = tee(StopNow())
1500 self.assertRaises(StopIteration, next, f(lambda x:x, StopNow()))