Searched refs:n_members (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Objects/ |
D | structseq.c | 340 Py_ssize_t n_members, Py_ssize_t n_unnamed_members) { in initialize_structseq_dict() argument 357 SET_DICT_FROM_SIZE(real_length_key, n_members); in initialize_structseq_dict() 364 Py_ssize_t n_members) { in initialize_members() argument 367 for (i = k = 0; i < n_members; ++i) { in initialize_members() 389 Py_ssize_t n_members, n_unnamed_members; in PyStructSequence_InitType2() local 417 n_members = count_members(desc, &n_unnamed_members); in PyStructSequence_InitType2() 418 members = PyMem_NEW(PyMemberDef, n_members - n_unnamed_members + 1); in PyStructSequence_InitType2() 423 initialize_members(desc, members, n_members); in PyStructSequence_InitType2() 433 desc, type->tp_dict, n_members, n_unnamed_members) < 0) { in PyStructSequence_InitType2() 456 Py_ssize_t n_members, n_unnamed_members; in PyStructSequence_NewType() local [all …]
|
/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_() 727 EVUTIL_ASSERT(0 == g->n_members); in bufferevent_rate_limit_group_free() 763 ++g->n_members; in bufferevent_add_to_rate_limit_group() 797 --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 | 1124 const size_t n_members = interface->m_members.size(); in checkVarying() local 1126 for (size_t i = 0; i < n_members; ++i) in checkVarying() 1149 const size_t n_members = interface->m_members.size(); in checkVarying() local 1172 for (size_t j = 0; j < n_members; ++j) in checkVarying() 1186 for (GLuint i = 0; i < n_members; ++i) in checkVarying() 5361 const size_t n_members = interface.m_members.size(); in calculateStride() local 5365 for (size_t i = 0; i < n_members; ++i) in calculateStride() 5386 const size_t n_members = interface.m_members.size(); in generateData() local 5389 for (size_t i = 0; i < n_members; ++i) in generateData() 6784 const GLuint n_members = static_cast<GLuint>(interface->m_members.size()); in test() local [all …]
|