Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 18 of 18) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dlistobject.c1459 PyObject **pb, Py_ssize_t nb) in merge_lo() argument
1467 assert(ms && pa && pb && na > 0 && nb > 0 && pa + na == pb); in merge_lo()
1475 --nb; in merge_lo()
1476 if (nb == 0) in merge_lo()
1491 assert(na > 1 && nb > 0); in merge_lo()
1499 --nb; in merge_lo()
1500 if (nb == 0) in merge_lo()
1524 assert(na > 1 && nb > 0); in merge_lo()
1546 --nb; in merge_lo()
1547 if (nb == 0) in merge_lo()
[all …]
Dintobject.c152 PyNumberMethods *nb; in PyInt_AsLong() local
159 if (op == NULL || (nb = Py_TYPE(op)->tp_as_number) == NULL || in PyInt_AsLong()
160 nb->nb_int == NULL) { in PyInt_AsLong()
165 io = (PyIntObject*) (*nb->nb_int) (op); in PyInt_AsLong()
196 PyNumberMethods *nb; in PyInt_AsSsize_t() local
214 if ((nb = Py_TYPE(op)->tp_as_number) == NULL || in PyInt_AsSsize_t()
215 (nb->nb_int == NULL && nb->nb_long == 0)) { in PyInt_AsSsize_t()
220 if (nb->nb_long != 0) in PyInt_AsSsize_t()
221 io = (PyIntObject*) (*nb->nb_long) (op); in PyInt_AsSsize_t()
223 io = (PyIntObject*) (*nb->nb_int) (op); in PyInt_AsSsize_t()
[all …]
Dlongobject.c268 PyNumberMethods *nb; in PyLong_AsLongAndOverflow() local
269 nb = vv->ob_type->tp_as_number; in PyLong_AsLongAndOverflow()
270 if (nb == NULL || nb->nb_int == NULL) { in PyLong_AsLongAndOverflow()
275 vv = (*nb->nb_int) (vv); in PyLong_AsLongAndOverflow()
948 PyNumberMethods *nb; in PyLong_AsLongLong() local
952 if ((nb = vv->ob_type->tp_as_number) == NULL || in PyLong_AsLongLong()
953 nb->nb_int == NULL) { in PyLong_AsLongLong()
957 io = (*nb->nb_int) (vv); in PyLong_AsLongLong()
1068 PyNumberMethods *nb; in PyLong_AsLongLongAndOverflow() local
1069 nb = vv->ob_type->tp_as_number; in PyLong_AsLongLongAndOverflow()
[all …]
Dfloatobject.c253 PyNumberMethods *nb; in PyFloat_AsDouble() local
265 if ((nb = Py_TYPE(op)->tp_as_number) == NULL || nb->nb_float == NULL) { in PyFloat_AsDouble()
270 fo = (PyFloatObject*) (*nb->nb_float) (op); in PyFloat_AsDouble()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dlistobject.c1459 PyObject **pb, Py_ssize_t nb) in merge_lo() argument
1467 assert(ms && pa && pb && na > 0 && nb > 0 && pa + na == pb); in merge_lo()
1475 --nb; in merge_lo()
1476 if (nb == 0) in merge_lo()
1491 assert(na > 1 && nb > 0); in merge_lo()
1499 --nb; in merge_lo()
1500 if (nb == 0) in merge_lo()
1524 assert(na > 1 && nb > 0); in merge_lo()
1546 --nb; in merge_lo()
1547 if (nb == 0) in merge_lo()
[all …]
Dintobject.c152 PyNumberMethods *nb; in PyInt_AsLong() local
159 if (op == NULL || (nb = Py_TYPE(op)->tp_as_number) == NULL || in PyInt_AsLong()
160 nb->nb_int == NULL) { in PyInt_AsLong()
165 io = (PyIntObject*) (*nb->nb_int) (op); in PyInt_AsLong()
210 PyNumberMethods *nb; in PyInt_AsSsize_t() local
228 if ((nb = Py_TYPE(op)->tp_as_number) == NULL || in PyInt_AsSsize_t()
229 (nb->nb_int == NULL && nb->nb_long == 0)) { in PyInt_AsSsize_t()
234 if (nb->nb_long != 0) in PyInt_AsSsize_t()
235 io = (*nb->nb_long)(op); in PyInt_AsSsize_t()
237 io = (*nb->nb_int)(op); in PyInt_AsSsize_t()
[all …]
Dfloatobject.c253 PyNumberMethods *nb; in PyFloat_AsDouble() local
265 if ((nb = Py_TYPE(op)->tp_as_number) == NULL || nb->nb_float == NULL) { in PyFloat_AsDouble()
270 fo = (PyFloatObject*) (*nb->nb_float) (op); in PyFloat_AsDouble()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_mimetools.py33 nb = mimetools.choose_boundary()
34 self.assertNotIn(nb, s)
35 s.add(nb)
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlstrlib.c908 int nb = 0; /* number of bytes in added item */ in str_format() local
914 nb = sprintf(buff, form, luaL_checkint(L, arg)); in str_format()
924 nb = sprintf(buff, form, ni); in str_format()
934 nb = sprintf(buff, form, ni); in str_format()
943 nb = sprintf(buff, form, (LUA_FLTFRM_T)luaL_checknumber(L, arg)); in str_format()
960 nb = sprintf(buff, form, s); in str_format()
970 luaL_addsize(&b, nb); in str_format()
Dlvm.c524 lua_Number nb = nvalue(rb), nc = nvalue(rc); \
525 setnvalue(ra, op(L, nb, nc)); \
638 lua_Number nb = nvalue(rb); in luaV_execute()
639 setnvalue(ra, luai_numunm(L, nb)); in luaV_execute()
/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/
Dstrtodg.c187 int bdif, e, j, k, k1, nb, rv; in rvOK() local
191 bdif -= nb = fpi->nbits; in rvOK()
198 if (P == nb) { in rvOK()
241 if ( (j = nb & kmask) !=0) in rvOK()
256 if (k > nb || fpi->sudden_underflow) { in rvOK()
288 copybits(bits, nb, b); in rvOK()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dbltinmodule.c1197 PyNumberMethods *nb; in builtin_hex() local
1200 if ((nb = v->ob_type->tp_as_number) == NULL || in builtin_hex()
1201 nb->nb_hex == NULL) { in builtin_hex()
1206 res = (*nb->nb_hex)(v); in builtin_hex()
1465 PyNumberMethods *nb; in builtin_oct() local
1468 if (v == NULL || (nb = v->ob_type->tp_as_number) == NULL || in builtin_oct()
1469 nb->nb_oct == NULL) { in builtin_oct()
1474 res = (*nb->nb_oct)(v); in builtin_oct()
1770 PyNumberMethods *nb; in get_range_long_argument() local
1776 (nb = Py_TYPE(arg)->tp_as_number) == NULL || in get_range_long_argument()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dbltinmodule.c1189 PyNumberMethods *nb; in builtin_hex() local
1192 if ((nb = v->ob_type->tp_as_number) == NULL || in builtin_hex()
1193 nb->nb_hex == NULL) { in builtin_hex()
1198 res = (*nb->nb_hex)(v); in builtin_hex()
1457 PyNumberMethods *nb; in builtin_oct() local
1460 if (v == NULL || (nb = v->ob_type->tp_as_number) == NULL || in builtin_oct()
1461 nb->nb_oct == NULL) { in builtin_oct()
1466 res = (*nb->nb_oct)(v); in builtin_oct()
1760 PyNumberMethods *nb; in get_range_long_argument() local
1766 (nb = Py_TYPE(arg)->tp_as_number) == NULL || in get_range_long_argument()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Objects/
Dlongobject.c268 PyNumberMethods *nb; in PyLong_AsLongAndOverflow() local
269 nb = vv->ob_type->tp_as_number; in PyLong_AsLongAndOverflow()
270 if (nb == NULL || nb->nb_int == NULL) { in PyLong_AsLongAndOverflow()
275 vv = (*nb->nb_int) (vv); in PyLong_AsLongAndOverflow()
948 PyNumberMethods *nb; in PyLong_AsLongLong() local
952 if ((nb = vv->ob_type->tp_as_number) == NULL || in PyLong_AsLongLong()
953 nb->nb_int == NULL) { in PyLong_AsLongLong()
957 io = (*nb->nb_int) (vv); in PyLong_AsLongLong()
1068 PyNumberMethods *nb; in PyLong_AsLongLongAndOverflow() local
1069 nb = vv->ob_type->tp_as_number; in PyLong_AsLongLongAndOverflow()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Objects/
Dlongobject.c264 PyNumberMethods *nb; in PyLong_AsLongAndOverflow() local
265 nb = vv->ob_type->tp_as_number; in PyLong_AsLongAndOverflow()
266 if (nb == NULL || nb->nb_int == NULL) { in PyLong_AsLongAndOverflow()
271 vv = (*nb->nb_int) (vv); in PyLong_AsLongAndOverflow()
962 PyNumberMethods *nb; in PyLong_AsLongLong() local
966 if ((nb = vv->ob_type->tp_as_number) == NULL || in PyLong_AsLongLong()
967 nb->nb_int == NULL) { in PyLong_AsLongLong()
971 io = (*nb->nb_int) (vv); in PyLong_AsLongLong()
1082 PyNumberMethods *nb; in PyLong_AsLongLongAndOverflow() local
1083 nb = vv->ob_type->tp_as_number; in PyLong_AsLongLongAndOverflow()
[all …]
/device/common/
Dgenerate-packages.sh72 elif [[ $ONE_FILE == */arm/nb/* ]]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dflmodule.c1962 int nb; in forms_show_choice() local
1970 nb = PyTuple_Size(args) - 3; in forms_show_choice()
1971 if (nb <= 0) { in forms_show_choice()
1981 switch (nb) { in forms_show_choice()
1994 rv = fl_show_choice(m1, m2, m3, nb, b1, b2, b3); in forms_show_choice()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
DChangeLog232 - Spell out "number" (instead of "nb") in zlib.h for total_in, total_out