Home
last modified time | relevance | path

Searched refs:find_prefix_at_end (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/
Dasynchat.py168 index = find_prefix_at_end (self.ac_in_buffer, terminator)
317 def find_prefix_at_end (haystack, needle): function
/external/python/cpython3/Lib/
Dasynchat.py174 index = find_prefix_at_end(self.ac_in_buffer, terminator)
303 def find_prefix_at_end(haystack, needle): function
/external/python/cpython3/Lib/test/
Dtest_asynchat.py274 self.assertEqual(asynchat.find_prefix_at_end("qwerty\r", "\r\n"), 1)
275 self.assertEqual(asynchat.find_prefix_at_end("qwertydkjf", "\r\n"), 0)
/external/python/cpython2/Lib/test/
Dtest_asynchat.py269 self.assertEqual(asynchat.find_prefix_at_end("qwerty\r", "\r\n"), 1)
270 self.assertEqual(asynchat.find_prefix_at_end("qwertydkjf", "\r\n"), 0)