Home
last modified time | relevance | path

Searched refs:PyASCIIObject (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython3/Include/
Dunicodeobject.h331 } PyASCIIObject; typedef
337 PyASCIIObject _base;
371 ((PyASCIIObject*)op)->length : \
381 (((PyASCIIObject *)(op))->wstr) ? \
384 assert(((PyASCIIObject *)(op))->wstr), \
399 (((PyASCIIObject *)(op))->wstr) ? (((PyASCIIObject *)(op))->wstr) : \
423 ((PyASCIIObject*)op)->state.ascii)
428 (((PyASCIIObject*)(op))->state.compact)
433 (((PyASCIIObject*)op)->state.ascii && PyUnicode_IS_COMPACT(op))
459 ((PyASCIIObject *)(op))->state.kind)
[all …]
/external/python/cpython3/Python/
Dtraceback.c672 PyASCIIObject *ascii = (PyASCIIObject *)text; in _Py_DumpASCII()
686 wstr = ((PyASCIIObject *)text)->wstr; in _Py_DumpASCII()
693 data = ((PyASCIIObject*)text) + 1; in _Py_DumpASCII()
/external/python/cpython3/Objects/
Ddictobject.c475 Py_hash_t hash = ((PyASCIIObject *)key)->hash; in _PyDict_CheckConsistency()
1301 (hash = ((PyASCIIObject *) key)->hash) == -1) in PyDict_GetItem()
1376 (hash = ((PyASCIIObject *) key)->hash) == -1) in PyDict_GetItemWithError()
1415 (hash = ((PyASCIIObject *) key)->hash) == -1) in _PyDict_LoadGlobal()
1455 (hash = ((PyASCIIObject *) key)->hash) == -1) in PyDict_SetItem()
1516 (hash = ((PyASCIIObject *) key)->hash) == -1) { in PyDict_DelItem()
1794 (hash = ((PyASCIIObject *) key)->hash) == -1) { in _PyDict_Pop()
2020 (hash = ((PyASCIIObject *) key)->hash) == -1) { in dict_subscript()
2732 (hash = ((PyASCIIObject *) key)->hash) == -1) { in dict___contains__()
2764 (hash = ((PyASCIIObject *) key)->hash) == -1) { in dict_get_impl()
[all …]
Dunicodeobject.c99 ((char*)((PyASCIIObject*)(op) + 1)) : \
107 ((PyASCIIObject*)(op))->length : \
110 (((PyASCIIObject*)(op))->wstr)
114 (((PyASCIIObject *)(op))->length)
116 (((PyASCIIObject *)(op))->state)
118 (((PyASCIIObject *)(op))->hash)
121 ((PyASCIIObject *)(op))->state.kind)
124 ((PyASCIIObject *)(op))->length)
411 PyASCIIObject *ascii; in _PyUnicode_CheckConsistency()
416 ascii = (PyASCIIObject *)op; in _PyUnicode_CheckConsistency()
[all …]
Dsetobject.c420 (hash = ((PyASCIIObject *) key)->hash) == -1) { in set_add_key()
434 (hash = ((PyASCIIObject *) key)->hash) == -1) { in set_contains_key()
448 (hash = ((PyASCIIObject *) key)->hash) == -1) { in set_discard_key()
Dtypeobject.c32 ((PyASCIIObject *)(name))->hash)
3020 (hash = ((PyASCIIObject *) name)->hash) == -1) in find_name_in_mro()
3118 assert(((PyASCIIObject *)(name))->hash != -1); in _PyType_Lookup()
/external/python/cpython3/Modules/
D_collectionsmodule.c2309 (hash = ((PyASCIIObject *) key)->hash) == -1) in _count_elements()
/external/python/cpython3/Doc/c-api/
Dunicode.rst66 .. c:type:: PyASCIIObject
/external/python/cpython3/Doc/whatsnew/
D3.3.rst2191 * :c:type:`PyASCIIObject` and :c:type:`PyCompactUnicodeObject` structures