Lines Matching refs:num_elems
933 int num_elems; in from_zval_write_control_array() local
945 num_elems = zend_hash_num_elements(Z_ARRVAL_P(arr)); in from_zval_write_control_array()
946 if (num_elems == 0) { in from_zval_write_control_array()
951 control_buf = accounted_safe_ecalloc(num_elems, CMSG_SPACE(20), 0, ctx); in from_zval_write_control_array()
953 control_len = (size_t)num_elems * CMSG_SPACE(20); in from_zval_write_control_array()
1362 int num_elems; in calculate_scm_rights_space() local
1369 num_elems = zend_hash_num_elements(Z_ARRVAL_P(arr)); in calculate_scm_rights_space()
1370 if (num_elems == 0) { in calculate_scm_rights_space()
1421 int num_elems, in to_zval_read_fd_array() local
1439 num_elems = (*cmsg_len - data_offset) / sizeof(int); in to_zval_read_fd_array()
1441 array_init_size(zv, num_elems); in to_zval_read_fd_array()
1443 for (i = 0; i < num_elems; i++) { in to_zval_read_fd_array()