Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dunicodeobject.c938 if (PyUnicode_IS_ASCII(unicode)) in resize_compact()
970 if (!PyUnicode_IS_ASCII(unicode)) in resize_compact()
976 if (!PyUnicode_IS_ASCII(unicode)) in resize_compact()
1179 if (PyUnicode_IS_ASCII(unicode)) in unicode_kind_name()
1194 if (PyUnicode_IS_ASCII(unicode)) in unicode_kind_name()
1469 && !PyUnicode_IS_ASCII(from) && PyUnicode_IS_ASCII(to)) in _copy_characters()
1954 if (PyUnicode_IS_ASCII(unicode)) { in unicode_write_cstr()
2315 if (PyUnicode_IS_ASCII(unicode)) in _PyUnicode_FindMaxChar()
2348 if (PyUnicode_IS_ASCII(unicode)) in unicode_adjust_maxchar()
4866 if (PyUnicode_IS_ASCII(writer.buffer)) in PyUnicode_DecodeUTF8Stateful()
[all …]
Dbytesobject.c842 assert(PyUnicode_IS_ASCII(temp)); in _PyBytes_FormatEx()
904 assert(PyUnicode_IS_ASCII(temp)); in _PyBytes_FormatEx()
2364 if (!PyUnicode_IS_ASCII(string)) { in _PyBytes_FromHex()
Dcodeobject.c19 if (!PyUnicode_IS_ASCII(o)) in all_name_chars()
Dcomplexobject.c917 assert(PyUnicode_IS_ASCII(s_buffer)); in complex_subtype_from_string()
Dobject.c592 if (PyUnicode_IS_ASCII(repr)) in PyObject_ASCII()
Dfloatobject.c178 assert(PyUnicode_IS_ASCII(s_buffer)); in PyFloat_FromString()
Dlongobject.c2519 assert(PyUnicode_IS_ASCII(asciidig)); in PyLong_FromUnicodeObject()
/external/python/cpython3/Include/
Dunicodeobject.h420 #define PyUnicode_IS_ASCII(op) \ macro
463 (PyUnicode_IS_ASCII(op) ? \
559 (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.c217 if (!PyUnicode_IS_ASCII(arg)) { in ascii_buffer_converter()
D_pickle.c3604 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/Python/
Dmarshal.c448 if (p->version >= 4 && PyUnicode_IS_ASCII(v)) { in w_complex_object()
Dast.c639 if (!PyUnicode_IS_ASCII(id)) { in new_identifier()