Home
last modified time | relevance | path

Searched refs:PyUnicode_IS_ASCII (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython3/Modules/_sqlite/
Drow.c89 if (!PyUnicode_IS_ASCII(left) || !PyUnicode_IS_ASCII(right)) { in equal_ignore_case()
/external/python/cpython3/Objects/
Dunicodeobject.c978 if (PyUnicode_IS_ASCII(unicode)) in resize_compact()
1010 if (!PyUnicode_IS_ASCII(unicode)) in resize_compact()
1016 if (!PyUnicode_IS_ASCII(unicode)) in resize_compact()
1219 if (PyUnicode_IS_ASCII(unicode)) in unicode_kind_name()
1234 if (PyUnicode_IS_ASCII(unicode)) in unicode_kind_name()
1512 && !PyUnicode_IS_ASCII(from) && PyUnicode_IS_ASCII(to)) in _copy_characters()
1997 if (PyUnicode_IS_ASCII(unicode)) { in unicode_write_cstr()
2358 if (PyUnicode_IS_ASCII(unicode)) in _PyUnicode_FindMaxChar()
2391 if (PyUnicode_IS_ASCII(unicode)) in unicode_adjust_maxchar()
4921 if (PyUnicode_IS_ASCII(writer.buffer)) in unicode_decode_utf8()
[all …]
Dbytesobject.c840 assert(PyUnicode_IS_ASCII(temp)); in _PyBytes_FormatEx()
902 assert(PyUnicode_IS_ASCII(temp)); in _PyBytes_FormatEx()
2356 if (!PyUnicode_IS_ASCII(string)) { in _PyBytes_FromHex()
Dcomplexobject.c918 assert(PyUnicode_IS_ASCII(s_buffer)); in complex_subtype_from_string()
Dcodeobject.c29 if (!PyUnicode_IS_ASCII(o)) in all_name_chars()
Dobject.c618 if (PyUnicode_IS_ASCII(repr)) in PyObject_ASCII()
Dfloatobject.c178 assert(PyUnicode_IS_ASCII(s_buffer)); in PyFloat_FromString()
Dlongobject.c2682 assert(PyUnicode_IS_ASCII(asciidig)); in PyLong_FromUnicodeObject()
/external/python/cpython3/Include/cpython/
Dunicodeobject.h305 #define PyUnicode_IS_ASCII(op) \ macro
348 (PyUnicode_IS_ASCII(op) ? \
444 (PyUnicode_IS_ASCII(op) ? \
/external/python/cpython3/Modules/
D_operator.c815 if (!PyUnicode_IS_ASCII(a) || !PyUnicode_IS_ASCII(b)) { in _operator__compare_digest_impl()
Dbinascii.c219 if (!PyUnicode_IS_ASCII(arg)) { in ascii_buffer_converter()
D_tkinter.c1097 if (PyUnicode_IS_ASCII(value)) { in AsObj()
D_pickle.c3862 if (!PyUnicode_IS_ASCII(pid_str)) { in save_pers()
/external/python/cpython3/Objects/stringlib/
Dcodecs.h402 if (!PyUnicode_IS_ASCII(rep)) { in STRINGLIB()
/external/python/cpython2/Objects/
Dbytesobject.c836 assert(PyUnicode_IS_ASCII(temp)); in _PyBytes_FormatEx()
898 assert(PyUnicode_IS_ASCII(temp)); in _PyBytes_FormatEx()
2371 if (!PyUnicode_IS_ASCII(string)) { in _PyBytes_FromHex()
/external/python/cpython3/Modules/_io/
Dtextio.c1511 assert(PyUnicode_IS_ASCII(pending)); in _textiowrapper_writeflush()
1534 assert(PyUnicode_IS_ASCII(obj)); in _textiowrapper_writeflush()
1618 if (PyUnicode_IS_ASCII(text) && is_asciicompat_encoding(self->encodefunc)) { in _io_TextIOWrapper_write_impl()
/external/python/cpython3/Python/
Dmarshal.c429 if (p->version >= 4 && PyUnicode_IS_ASCII(v)) { in w_complex_object()
Dast.c619 if (!PyUnicode_IS_ASCII(id)) { in new_identifier()