Home
last modified time | relevance | path

Searched refs:PyUnicode_IS_ASCII (Results 1 – 21 of 21) 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.c1055 if (PyUnicode_IS_ASCII(unicode)) in resize_compact()
1091 if (!PyUnicode_IS_ASCII(unicode)) in resize_compact()
1097 if (!PyUnicode_IS_ASCII(unicode)) in resize_compact()
1300 if (PyUnicode_IS_ASCII(unicode)) in unicode_kind_name()
1315 if (PyUnicode_IS_ASCII(unicode)) in unicode_kind_name()
1594 && !PyUnicode_IS_ASCII(from) && PyUnicode_IS_ASCII(to)) in _copy_characters()
2088 if (PyUnicode_IS_ASCII(unicode)) { in unicode_write_cstr()
2461 if (PyUnicode_IS_ASCII(unicode)) in _PyUnicode_FindMaxChar()
2494 if (PyUnicode_IS_ASCII(unicode)) in unicode_adjust_maxchar()
5029 if (PyUnicode_IS_ASCII(writer.buffer)) in unicode_decode_utf8()
[all …]
Dbytesobject.c825 assert(PyUnicode_IS_ASCII(temp)); in _PyBytes_FormatEx()
887 assert(PyUnicode_IS_ASCII(temp)); in _PyBytes_FormatEx()
2360 if (!PyUnicode_IS_ASCII(string)) { in _PyBytes_FromHex()
Dcomplexobject.c886 assert(PyUnicode_IS_ASCII(s_buffer)); in complex_subtype_from_string()
Dcodeobject.c30 if (!PyUnicode_IS_ASCII(o)) in all_name_chars()
Dfloatobject.c179 assert(PyUnicode_IS_ASCII(s_buffer)); in PyFloat_FromString()
Dobject.c510 if (PyUnicode_IS_ASCII(repr)) in PyObject_ASCII()
Dlongobject.c2635 assert(PyUnicode_IS_ASCII(asciidig)); in PyLong_FromUnicodeObject()
/external/python/cpython3/Include/cpython/
Dunicodeobject.h298 #define PyUnicode_IS_ASCII(op) \ macro
341 (PyUnicode_IS_ASCII(op) ? \
437 (PyUnicode_IS_ASCII(op) ? \
/external/python/markupsafe/src/markupsafe/
D_speedups.c107 PyUnicode_IS_ASCII(in) ? 127 : 255); in escape_unicode_kind1()
/external/python/cpython3/Modules/
D_operator.c817 if (!PyUnicode_IS_ASCII(a) || !PyUnicode_IS_ASCII(b)) { in _operator__compare_digest_impl()
D_hashopenssl.c1892 if (!PyUnicode_IS_ASCII(a) || !PyUnicode_IS_ASCII(b)) { in _hashlib_compare_digest_impl()
Dbinascii.c234 if (!PyUnicode_IS_ASCII(arg)) { in ascii_buffer_converter()
D_tkinter.c1095 if (PyUnicode_IS_ASCII(value)) { in AsObj()
D_pickle.c3894 if (!PyUnicode_IS_ASCII(pid_str)) { in save_pers()
/external/python/cpython3/Objects/stringlib/
Dcodecs.h404 if (!PyUnicode_IS_ASCII(rep)) { in STRINGLIB()
/external/python/cpython3/Modules/_io/
Dtextio.c1556 assert(PyUnicode_IS_ASCII(pending)); in _textiowrapper_writeflush()
1579 assert(PyUnicode_IS_ASCII(obj)); in _textiowrapper_writeflush()
1662 if (PyUnicode_IS_ASCII(text) && is_asciicompat_encoding(self->encodefunc)) { in _io_TextIOWrapper_write_impl()
/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/Python/
Dmarshal.c425 if (p->version >= 4 && PyUnicode_IS_ASCII(v)) { in w_complex_object()
Dast.c613 if (!PyUnicode_IS_ASCII(id)) { in new_identifier()
/external/python/cpython3/Parser/pegen/
Dpegen.c91 if (!PyUnicode_IS_ASCII(id)) in _PyPegen_new_identifier()