Home
last modified time | relevance | path

Searched refs:maxitem (Results 1 – 3 of 3) sorted by relevance

/external/lua/src/
Dlstrlib.c1239 int maxitem = MAX_ITEM; in str_format() local
1240 char *buff = luaL_prepbuffsize(&b, maxitem); /* to put formatted item */ in str_format()
1247 nb = l_sprintf(buff, maxitem, form, (int)luaL_checkinteger(L, arg)); in str_format()
1254 nb = l_sprintf(buff, maxitem, form, (LUAI_UACINT)n); in str_format()
1259 nb = lua_number2strx(L, buff, maxitem, form, in str_format()
1263 maxitem = MAX_ITEMF; /* extra space for '%f' */ in str_format()
1264 buff = luaL_prepbuffsize(&b, maxitem); in str_format()
1269 nb = l_sprintf(buff, maxitem, form, (LUAI_UACNUMBER)n); in str_format()
1278 nb = l_sprintf(buff, maxitem, form, p); in str_format()
1299 nb = l_sprintf(buff, maxitem, form, s); in str_format()
[all …]
/external/python/cpython3/Python/
Dbltinmodule.c1587 PyObject *v, *it, *item, *val, *maxitem, *maxval, *keyfunc=NULL; in min_max() local
1630 maxitem = NULL; /* the result */ in min_max()
1647 maxitem = item; in min_max()
1657 Py_DECREF(maxitem); in min_max()
1659 maxitem = item; in min_max()
1670 assert(maxitem == NULL); in min_max()
1673 maxitem = defaultval; in min_max()
1682 return maxitem; in min_max()
1690 Py_XDECREF(maxitem); in min_max()
/external/python/cpython2/Python/
Dbltinmodule.c1360 PyObject *v, *it, *item, *val, *maxitem, *maxval, *keyfunc=NULL; in min_max() local
1384 maxitem = NULL; /* the result */ in min_max()
1401 maxitem = item; in min_max()
1411 Py_DECREF(maxitem); in min_max()
1413 maxitem = item; in min_max()
1426 assert(maxitem == NULL); in min_max()
1432 return maxitem; in min_max()
1440 Py_XDECREF(maxitem); in min_max()