Searched refs:findchar (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython3/Objects/stringlib/ |
D | transmogrify.h | 211 #define findchar(target, target_len, c) \ macro 223 while ((start = findchar(start, end - start, c)) != NULL) { in countchar() 337 next = findchar(start, end - start, from_c); in stringlib_replace_delete_single_character() 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() 541 next = findchar(start, end - start, from_c); in stringlib_replace_single_character() 701 #undef findchar
|
/external/python/cpython2/Objects/ |
D | bytearrayobject.c | 1534 #define findchar(target, target_len, c) \ macro 1554 while ( (start=findchar(start, end-start, c)) != NULL ) { in countchar() 1656 next = findchar(start, end-start, from_c); in replace_delete_single_character() 1735 next = findchar(self_s, self_len, from_c); in replace_single_character_in_place() 1756 next = findchar(start, end-start, from_c); in replace_single_character_in_place() 1860 next = findchar(start, end-start, from_c); in replace_single_character()
|
D | stringobject.c | 2317 #define findchar(target, target_len, c) \ macro 2341 while ( (start=findchar(start, end-start, c)) != NULL ) { in countchar() 2443 next = findchar(start, end-start, from_c); in replace_delete_single_character() 2521 next = findchar(self_s, self_len, from_c); in replace_single_character_in_place() 2542 next = findchar(start, end-start, from_c); in replace_single_character_in_place() 2646 next = findchar(start, end-start, from_c); in replace_single_character()
|
D | unicodeobject.c | 3024 Py_LOCAL_INLINE(const Py_UNICODE *) findchar(const Py_UNICODE *s, in findchar() function 3086 *p++ = (findchar(s, size, '\'') && in unicodeescape_string() 3087 !findchar(s, size, '"')) ? '"' : '\''; in unicodeescape_string() 5904 if (!findchar(self->str, self->length, str1->str[0])) in replace()
|
/external/python/cpython2/Modules/_io/ |
D | textio.c | 1204 findchar(const Py_UNICODE *s, Py_ssize_t size, Py_UNICODE ch) in findchar() function 1274 if (findchar(PyUnicode_AS_UNICODE(text), in textiowrapper_write() 1289 findchar(PyUnicode_AS_UNICODE(text), in textiowrapper_write()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 830 findchar(const void *s, int kind, in findchar() function 3960 if (findchar(PyUnicode_DATA(output), PyUnicode_KIND(output), in PyUnicode_FSDecoder() 9266 result = findchar((const char *)buf1 + kind1*start, in any_find_slice() 9510 result = findchar(PyUnicode_1BYTE_DATA(str) + kind*start, in PyUnicode_FindChar() 10534 pos = findchar(sbuf, skind, slen, u1, 1); in replace() 11258 result = findchar((const char *)buf1, kind1, len1, ch, 1) != -1; in PyUnicode_Contains()
|