Searched refs:nb_index (Results 1 – 12 of 12) sorted by relevance
97 int nb_index; member148 WtvChunkEntry *t = wctx->index + wctx->nb_index; in write_chunk_header()149 av_assert0(wctx->nb_index < MAX_NB_INDEX); in write_chunk_header()154 wctx->nb_index++; in write_chunk_header()193 for (i = 0; i < wctx->nb_index; i++) { in write_index()201 wctx->nb_index = 0; // reset index in write_index()212 if (wctx->nb_index == MAX_NB_INDEX) in finish_chunk()436 if (wctx->nb_index) in write_header()
16 return (tp_as_number != NULL && tp_as_number->nb_index != NULL); in _PyIndex_Check()
14 {offsetof(PyNumberMethods, nb_index), offsetof(PyTypeObject, tp_as_number)},
927 (nbr->nb_float == NULL && nbr->nb_index == NULL && !PyComplex_Check(r))) in complex_new_impl()941 (nbi->nb_float == NULL && nbi->nb_index == NULL && !PyComplex_Check(i))) in complex_new_impl()
835 return nb && (nb->nb_index || nb->nb_int || nb->nb_float || PyComplex_Check(o)); in PyNumber_Check()1436 PyObject *result = Py_TYPE(item)->tp_as_number->nb_index(item); in _PyNumber_Index()1574 if (m && m->nb_index) { in PyNumber_Long()1680 if (m && m->nb_index) { in PyNumber_Float()
270 if (nb && nb->nb_index) { in PyFloat_AsDouble()
5817 COPYNUM(nb_index); in inherit_slots()8040 NBSLOT("__index__", nb_index, slot_nb_index, wrap_unaryfunc,
145 unaryfunc nb_index; member
288 Returns ``1`` if *o* is an index integer (has the nb_index slot of the
283 …| :c:member:`~PyNumberMethods.nb_index` | :c:type:`unaryfunc` | __…2131 unaryfunc nb_index;2185 .. c:member:: unaryfunc PyNumberMethods.nb_index
957 A corresponding :attr:`nb_index` slot was added to the C-level
18478 nb_index slot to the PyNumberMethods struct. The slot is consulted instead