Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/stringlib/
Dtransmogrify.h309 char from_c, Py_ssize_t maxcount) in stringlib_replace_delete_single_character() argument
320 count = countchar(self_s, self_len, from_c, maxcount); in stringlib_replace_delete_single_character()
337 next = findchar(start, end - start, from_c); in stringlib_replace_delete_single_character()
405 char from_c, char to_c, in stringlib_replace_single_character_in_place() argument
417 next = findchar(self_s, self_len, from_c); in stringlib_replace_single_character_in_place()
439 next = findchar(start, end - start, from_c); in stringlib_replace_single_character_in_place()
504 char from_c, in stringlib_replace_single_character() argument
517 count = countchar(self_s, self_len, from_c, maxcount); in stringlib_replace_single_character()
541 next = findchar(start, end - start, from_c); in stringlib_replace_single_character()
/external/python/cpython2/Objects/
Dbytearrayobject.c1649 char from_c, Py_ssize_t maxcount) in replace_delete_single_character() argument
1660 count = countchar(self_s, self_len, from_c, maxcount); in replace_delete_single_character()
1676 next = findchar(start, end-start, from_c); in replace_delete_single_character()
1744 char from_c, char to_c, in replace_single_character_in_place() argument
1755 next = findchar(self_s, self_len, from_c); in replace_single_character_in_place()
1776 next = findchar(start, end-start, from_c); in replace_single_character_in_place()
1840 char from_c, in replace_single_character() argument
1853 count = countchar(self_s, self_len, from_c, maxcount); in replace_single_character()
1876 next = findchar(start, end-start, from_c); in replace_single_character()
Dstringobject.c2421 char from_c, Py_ssize_t maxcount) in replace_delete_single_character() argument
2432 count = countchar(self_s, self_len, from_c, maxcount); in replace_delete_single_character()
2448 next = findchar(start, end-start, from_c); in replace_delete_single_character()
2515 char from_c, char to_c, in replace_single_character_in_place() argument
2526 next = findchar(self_s, self_len, from_c); in replace_single_character_in_place()
2547 next = findchar(start, end-start, from_c); in replace_single_character_in_place()
2611 char from_c, in replace_single_character() argument
2624 count = countchar(self_s, self_len, from_c, maxcount); in replace_single_character()
2647 next = findchar(start, end-start, from_c); in replace_single_character()
/external/python/cpython3/Lib/test/
Dtest_typing.py1357 self.from_c = arg
1363 self.assertEqual(c.from_c, 'foo')
1388 obj.from_c = 'c'
1394 self.assertEqual(c.from_c, 'c')