Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/stringlib/
Dtransmogrify.h211 #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/
Dbytearrayobject.c1555 #define findchar(target, target_len, c) \ macro
1575 while ( (start=findchar(start, end-start, c)) != NULL ) { in countchar()
1676 next = findchar(start, end-start, from_c); in replace_delete_single_character()
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()
1876 next = findchar(start, end-start, from_c); in replace_single_character()
Dstringobject.c2323 #define findchar(target, target_len, c) \ macro
2347 while ( (start=findchar(start, end-start, c)) != NULL ) { in countchar()
2448 next = findchar(start, end-start, from_c); in replace_delete_single_character()
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()
2647 next = findchar(start, end-start, from_c); in replace_single_character()
Dunicodeobject.c3024 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/
Dtextio.c1207 findchar(const Py_UNICODE *s, Py_ssize_t size, Py_UNICODE ch) in findchar() function
1277 if (findchar(PyUnicode_AS_UNICODE(text), in textiowrapper_write()
1292 findchar(PyUnicode_AS_UNICODE(text), in textiowrapper_write()
/external/python/cpython3/Objects/
Dunicodeobject.c873 findchar(const void *s, int kind, in findchar() function
3802 if (findchar(PyUnicode_DATA(output), PyUnicode_KIND(output), in PyUnicode_FSDecoder()
9270 result = findchar((const char *)buf1 + kind1*start, in any_find_slice()
9572 result = findchar(PyUnicode_1BYTE_DATA(str) + kind*start, in PyUnicode_FindChar()
10503 pos = findchar(sbuf, skind, slen, u1, 1); in replace()
11213 result = findchar((const char *)buf1, kind1, len1, ch, 1) != -1; in PyUnicode_Contains()