Home
last modified time | relevance | path

Searched refs:nb_index (Results 1 – 12 of 12) sorted by relevance

/third_party/ffmpeg/libavformat/
Dwtvenc.c97 int nb_index; member
148 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()
/third_party/python/Include/internal/
Dpycore_abstract.h16 return (tp_as_number != NULL && tp_as_number->nb_index != NULL); in _PyIndex_Check()
/third_party/python/Objects/
Dtypeslots.inc14 {offsetof(PyNumberMethods, nb_index), offsetof(PyTypeObject, tp_as_number)},
Dcomplexobject.c927 (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()
Dabstract.c835 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()
Dfloatobject.c270 if (nb && nb->nb_index) { in PyFloat_AsDouble()
Dtypeobject.c5817 COPYNUM(nb_index); in inherit_slots()
8040 NBSLOT("__index__", nb_index, slot_nb_index, wrap_unaryfunc,
/third_party/python/Include/cpython/
Dobject.h145 unaryfunc nb_index; member
/third_party/python/Doc/c-api/
Dnumber.rst288 Returns ``1`` if *o* is an index integer (has the nb_index slot of the
Dtypeobj.rst283 …| :c:member:`~PyNumberMethods.nb_index` | :c:type:`unaryfunc` | __…
2131 unaryfunc nb_index;
2185 .. c:member:: unaryfunc PyNumberMethods.nb_index
/third_party/python/Doc/whatsnew/
D2.5.rst957 A corresponding :attr:`nb_index` slot was added to the C-level
/third_party/python/Misc/
DHISTORY18478 nb_index slot to the PyNumberMethods struct. The slot is consulted instead