Home
last modified time | relevance | path

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

/third_party/python/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 …]
/third_party/python/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()
/third_party/python/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.c3746 (hash = ((PyASCIIObject *) name)->hash) == -1) in find_name_in_mro()
3842 assert(((PyASCIIObject *)(name))->hash != -1); in _PyType_Lookup()
/third_party/python/Include/
Dunicodeobject.h274 (((PyASCIIObject *)(op))->state.interned)
/third_party/python/Modules/
D_collectionsmodule.c2358 (hash = ((PyASCIIObject *) key)->hash) == -1) in _collections__count_elements_impl()
/third_party/python/Doc/c-api/
Dunicode.rst70 .. c:type:: PyASCIIObject
/third_party/python/Doc/whatsnew/
D3.3.rst2191 * :c:type:`PyASCIIObject` and :c:type:`PyCompactUnicodeObject` structures