Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dstructseq.c481 int n_members, n_unnamed_members, i, k; in PyStructSequence_InitType() local
495 n_members = i; in PyStructSequence_InitType()
501 sizeof(PyObject*)*(n_members-1); in PyStructSequence_InitType()
504 members = PyMem_NEW(PyMemberDef, n_members-n_unnamed_members+1); in PyStructSequence_InitType()
508 for (i = k = 0; i < n_members; ++i) { in PyStructSequence_InitType()
538 SET_DICT_FROM_INT(real_length_key, n_members); in PyStructSequence_InitType()
/external/libevent/
Dbufferevent_ratelim.c249 share = LIM(g->rate_limit) / g->n_members; in _bufferevent_get_rlim_max()
452 if (!group->n_members) in _bev_group_random_element()
457 which = _evutil_weakrand() % group->n_members; in _bev_group_random_element()
724 EVUTIL_ASSERT(0 == g->n_members); in bufferevent_rate_limit_group_free()
761 ++g->n_members; in bufferevent_add_to_rate_limit_group()
796 --g->n_members; in bufferevent_remove_from_rate_limit_group_internal()
Dbufferevent-internal.h96 int n_members; member