Searched refs:n_members (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Objects/ |
D | structseq.c | 336 Py_ssize_t n_members, n_unnamed_members, i, k; in PyStructSequence_InitType2() local 351 n_members = i; in PyStructSequence_InitType2() 358 members = PyMem_NEW(PyMemberDef, n_members-n_unnamed_members+1); in PyStructSequence_InitType2() 364 for (i = k = 0; i < n_members; ++i) { in PyStructSequence_InitType2() 397 SET_DICT_FROM_SIZE(real_length_key, n_members); in PyStructSequence_InitType2()
|
/external/python/cpython2/Objects/ |
D | structseq.c | 481 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/ |
D | bufferevent_ratelim.c | 247 share = LIM(g->rate_limit) / g->n_members; in bufferevent_get_rlim_max_() 453 if (!group->n_members) in bev_group_random_element_() 458 which = evutil_weakrand_range_(&group->weakrand_seed, group->n_members); in bev_group_random_element_() 728 EVUTIL_ASSERT(0 == g->n_members); in bufferevent_rate_limit_group_free() 765 ++g->n_members; in bufferevent_add_to_rate_limit_group() 800 --g->n_members; in bufferevent_remove_from_rate_limit_group_internal_()
|
D | bufferevent-internal.h | 109 int n_members; member
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cEnhancedLayoutsTests.cpp | 1067 const size_t n_members = interface->m_members.size(); in checkVarying() local 1069 for (size_t i = 0; i < n_members; ++i) in checkVarying() 1092 const size_t n_members = interface->m_members.size(); in checkVarying() local 1115 for (size_t j = 0; j < n_members; ++j) in checkVarying() 1129 for (GLuint i = 0; i < n_members; ++i) in checkVarying() 5298 const size_t n_members = interface.m_members.size(); in calculateStride() local 5302 for (size_t i = 0; i < n_members; ++i) in calculateStride() 5323 const size_t n_members = interface.m_members.size(); in generateData() local 5326 for (size_t i = 0; i < n_members; ++i) in generateData() 6701 const GLuint n_members = static_cast<GLuint>(interface->m_members.size()); in test() local [all …]
|