Searched refs:nattrs (Results 1 – 3 of 3) sorted by relevance
1142 Py_ssize_t nattrs; member1154 Py_ssize_t nattrs, idx, char_idx; in attrgetter_new() local1159 nattrs = PyTuple_GET_SIZE(args); in attrgetter_new()1160 if (nattrs <= 1) { in attrgetter_new()1165 attr = PyTuple_New(nattrs); in attrgetter_new()1170 for (idx = 0; idx < nattrs; ++idx) { in attrgetter_new()1255 ag->nattrs = nattrs; in attrgetter_new()1313 Py_ssize_t i, nattrs=ag->nattrs; in attrgetter_call() local1320 if (ag->nattrs == 1) /* ag->attr is always a tuple */ in attrgetter_call()1324 assert(PyTuple_GET_SIZE(ag->attr) == nattrs); in attrgetter_call()[all …]
596 Py_ssize_t nattrs; member607 Py_ssize_t nattrs; in attrgetter_new() local612 nattrs = PyTuple_GET_SIZE(args); in attrgetter_new()613 if (nattrs <= 1) { in attrgetter_new()626 ag->nattrs = nattrs; in attrgetter_new()694 Py_ssize_t i, nattrs=ag->nattrs; in attrgetter_call() local700 if (ag->nattrs == 1) in attrgetter_call()704 assert(PyTuple_GET_SIZE(ag->attr) == nattrs); in attrgetter_call()706 result = PyTuple_New(nattrs); in attrgetter_call()710 for (i=0 ; i < nattrs ; i++) { in attrgetter_call()
79 nattrs = nl.nla_get_nested(attr[nl80211.NL80211_ATTR_WIPHY_BANDS])80 for nattr in nattrs: