Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dtypeslots.inc7 offsetof(PyHeapTypeObject, as_number.nb_absolute),
8 offsetof(PyHeapTypeObject, as_number.nb_add),
9 offsetof(PyHeapTypeObject, as_number.nb_and),
10 offsetof(PyHeapTypeObject, as_number.nb_bool),
11 offsetof(PyHeapTypeObject, as_number.nb_divmod),
12 offsetof(PyHeapTypeObject, as_number.nb_float),
13 offsetof(PyHeapTypeObject, as_number.nb_floor_divide),
14 offsetof(PyHeapTypeObject, as_number.nb_index),
15 offsetof(PyHeapTypeObject, as_number.nb_inplace_add),
16 offsetof(PyHeapTypeObject, as_number.nb_inplace_and),
[all …]
Dtypeobject.c2615 type->tp_as_number = &et->as_number; in type_new()
2993 type->tp_as_number = &res->as_number; in PyType_FromModuleAndSpec()
7103 ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, DOC)
7105 ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, \
7108 ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, \
7111 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_l, \
7114 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_r, \
7117 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_l, \
7120 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_r, \
7332 else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_number)) { in slotptr()
[all …]
/external/rust/crates/criterion/src/plot/gnuplot_backend/
Dsummary.rs91 let x = id.as_number().unwrap(); in line_comparison()
/external/python/cpython3/Include/cpython/
Dobject.h282 PyNumberMethods as_number; member
/external/rust/crates/criterion/src/plot/plotters_backend/
Dsummary.rs140 let x = id.as_number().unwrap(); in line_comparison_series_data()
/external/python/cpython2/Objects/
Dtypeobject.c2368 type->tp_as_number = &et->as_number; in type_new()
6017 ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, DOC)
6019 ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, \
6022 ETSLOT(NAME, as_number.SLOT, FUNCTION, WRAPPER, \
6025 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_l, \
6028 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_r, \
6031 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_l, \
6034 ETSLOT(NAME, as_number.SLOT, FUNCTION, wrap_binaryfunc_r, \
6252 else if ((size_t)offset >= offsetof(PyHeapTypeObject, as_number)) {
6254 offset -= offsetof(PyHeapTypeObject, as_number);
/external/python/cpython2/Include/
Dobject.h419 PyNumberMethods as_number; member
/external/python/pybind11/include/pybind11/detail/
Dclass.h666 type->tp_as_number = &heap_type->as_number; in make_new_python_type()
/external/rust/crates/criterion/src/
Dreport.rs171 pub fn as_number(&self) -> Option<f64> { in as_number() method
/external/rust/crates/criterion/src/html/
Dmod.rs775 let values: Vec<_> = data.iter().map(|&&(ref id, _)| id.as_number()).collect(); in generate_summary()