Home
last modified time | relevance | path

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

/external/python/cpython3/Include/cpython/
Dunicodeobject.h222 } PyASCIIObject; typedef
228 PyASCIIObject _base;
256 ((PyASCIIObject*)op)->length : \
267 (((PyASCIIObject *)(op))->wstr) ? \
270 assert(((PyASCIIObject *)(op))->wstr), \
285 (((PyASCIIObject *)(op))->wstr) ? (((PyASCIIObject *)(op))->wstr) : \
308 ((PyASCIIObject*)op)->state.ascii)
313 (((PyASCIIObject*)(op))->state.compact)
318 (((PyASCIIObject*)op)->state.ascii && PyUnicode_IS_COMPACT(op))
344 ((PyASCIIObject *)(op))->state.kind)
[all …]
/external/python/cpython3/Python/
Dtraceback.c683 PyASCIIObject *ascii = (PyASCIIObject *)text; in _Py_DumpASCII()
697 wstr = ((PyASCIIObject *)text)->wstr; in _Py_DumpASCII()
704 data = ((PyASCIIObject*)text) + 1; in _Py_DumpASCII()
/external/python/cpython3/Objects/
Ddictobject.c499 Py_hash_t hash = ((PyASCIIObject *)key)->hash; in _PyDict_CheckConsistency()
1367 (hash = ((PyASCIIObject *) key)->hash) == -1) in PyDict_GetItem()
1442 (hash = ((PyASCIIObject *) key)->hash) == -1) in PyDict_GetItemWithError()
1494 (hash = ((PyASCIIObject *) key)->hash) == -1) in _PyDict_LoadGlobal()
1534 (hash = ((PyASCIIObject *) key)->hash) == -1) in PyDict_SetItem()
1601 (hash = ((PyASCIIObject *) key)->hash) == -1) { in PyDict_DelItem()
1879 (hash = ((PyASCIIObject *) key)->hash) == -1) { in _PyDict_Pop()
2105 (hash = ((PyASCIIObject *) key)->hash) == -1) { in dict_subscript()
2828 (hash = ((PyASCIIObject *) key)->hash) == -1) { in dict___contains__()
2860 (hash = ((PyASCIIObject *) key)->hash) == -1) { in dict_get_impl()
[all …]
Dunicodeobject.c108 ((char*)((PyASCIIObject*)(op) + 1)) : \
116 ((PyASCIIObject*)(op))->length : \
119 (((PyASCIIObject*)(op))->wstr)
123 (((PyASCIIObject *)(op))->length)
125 (((PyASCIIObject *)(op))->state)
127 (((PyASCIIObject *)(op))->hash)
130 ((PyASCIIObject *)(op))->state.kind)
133 ((PyASCIIObject *)(op))->length)
448 PyASCIIObject *ascii; in _PyUnicode_CheckConsistency()
454 ascii = (PyASCIIObject *)op; in _PyUnicode_CheckConsistency()
[all …]
Dsetobject.c421 (hash = ((PyASCIIObject *) key)->hash) == -1) { in set_add_key()
435 (hash = ((PyASCIIObject *) key)->hash) == -1) { in set_contains_key()
449 (hash = ((PyASCIIObject *) key)->hash) == -1) { in set_discard_key()
Dtypeobject.c33 ((PyASCIIObject *)(name))->hash)
3049 (hash = ((PyASCIIObject *) name)->hash) == -1) in find_name_in_mro()
3147 assert(((PyASCIIObject *)(name))->hash != -1); in _PyType_Lookup()
/external/python/cpython3/Include/
Dunicodeobject.h271 (((PyASCIIObject *)(op))->state.interned)
/external/python/cpython3/Modules/
D_collectionsmodule.c2292 (hash = ((PyASCIIObject *) key)->hash) == -1) in _collections__count_elements_impl()
/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