Home
last modified time | relevance | path

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

/external/python/cpython3/Include/cpython/
Dunicodeobject.h219 } PyASCIIObject; typedef
225 PyASCIIObject _base;
260 (((PyASCIIObject *)(op))->wstr) ? \
263 assert(((PyASCIIObject *)(op))->wstr), \
278 (((PyASCIIObject *)(op))->wstr) ? (((PyASCIIObject *)(op))->wstr) : \
301 ((PyASCIIObject*)op)->state.ascii)
306 (((PyASCIIObject*)(op))->state.compact)
311 (((PyASCIIObject*)op)->state.ascii && PyUnicode_IS_COMPACT(op))
337 ((PyASCIIObject *)(op))->state.kind)
342 ((void*)((PyASCIIObject*)(op) + 1)) : \
[all …]
/external/python/cpython3/Python/
Dtraceback.c681 PyASCIIObject *ascii = (PyASCIIObject *)text; in _Py_DumpASCII()
695 wstr = ((PyASCIIObject *)text)->wstr; in _Py_DumpASCII()
702 data = ((PyASCIIObject*)text) + 1; in _Py_DumpASCII()
/external/python/cpython3/Objects/
Ddictobject.c534 Py_hash_t hash = ((PyASCIIObject *)key)->hash; in _PyDict_CheckConsistency()
1407 (hash = ((PyASCIIObject *) key)->hash) == -1) in PyDict_GetItem()
1467 Py_hash_t hash = ((PyASCIIObject *) key)->hash; in _PyDict_GetItemHint()
1518 (hash = ((PyASCIIObject *) key)->hash) == -1) in PyDict_GetItemWithError()
1539 Py_hash_t hash = ((PyASCIIObject *) kv)->hash; in _PyDict_GetItemIdWithError()
1572 (hash = ((PyASCIIObject *) key)->hash) == -1) in _PyDict_LoadGlobal()
1612 (hash = ((PyASCIIObject *) key)->hash) == -1) in PyDict_SetItem()
1679 (hash = ((PyASCIIObject *) key)->hash) == -1) { in PyDict_DelItem()
1957 (hash = ((PyASCIIObject *) key)->hash) == -1) { in _PyDict_Pop()
2190 (hash = ((PyASCIIObject *) key)->hash) == -1) { in dict_subscript()
[all …]
Dunicodeobject.c117 ((char*)((PyASCIIObject*)(op) + 1)) : \
125 ((PyASCIIObject*)(op))->length : \
128 (((PyASCIIObject*)(op))->wstr)
134 ((PyASCIIObject*)op)->length : \
139 (((PyASCIIObject *)(op))->length)
141 (((PyASCIIObject *)(op))->state)
143 (((PyASCIIObject *)(op))->hash)
146 ((PyASCIIObject *)(op))->state.kind)
149 ((PyASCIIObject *)(op))->length)
510 PyASCIIObject *ascii; in _PyUnicode_CheckConsistency()
[all …]
Dsetobject.c349 (hash = ((PyASCIIObject *) key)->hash) == -1) { in set_add_key()
363 (hash = ((PyASCIIObject *) key)->hash) == -1) { in set_contains_key()
377 (hash = ((PyASCIIObject *) key)->hash) == -1) { in set_discard_key()
Dtypeobject.c3744 (hash = ((PyASCIIObject *) name)->hash) == -1) in find_name_in_mro()
3840 assert(((PyASCIIObject *)(name))->hash != -1); in _PyType_Lookup()
/external/python/cpython3/Include/
Dunicodeobject.h274 (((PyASCIIObject *)(op))->state.interned)
/external/python/cpython3/Modules/
D_collectionsmodule.c2358 (hash = ((PyASCIIObject *) key)->hash) == -1) in _collections__count_elements_impl()
/external/python/cpython3/Doc/c-api/
Dunicode.rst70 .. c:type:: PyASCIIObject
/external/python/cpython3/Doc/whatsnew/
D3.3.rst2191 * :c:type:`PyASCIIObject` and :c:type:`PyCompactUnicodeObject` structures