Lines Matching refs:num_in

1813 	int			 num_in,			/* Number of entries in the input hashtable */  in php_splice()  local
1825 num_in = zend_hash_num_elements(in_hash); in php_splice()
1828 if (offset > num_in) { in php_splice()
1829 offset = num_in; in php_splice()
1830 } else if (offset < 0 && (offset = (num_in + offset)) < 0) { in php_splice()
1836 length = num_in - offset + length; in php_splice()
1837 } else if (((unsigned)offset + (unsigned)length) > (unsigned)num_in) { in php_splice()
1838 length = num_in - offset; in php_splice()
1843 zend_hash_init(out_hash, (length > 0 ? num_in - length : 0) + list_count, NULL, ZVAL_PTR_DTOR, 0); in php_splice()
2058 int num_in; /* Number of elements in the input array */ in PHP_FUNCTION() local
2064 num_in = zend_hash_num_elements(Z_ARRVAL_P(array)); in PHP_FUNCTION()
2067 length = num_in; in PHP_FUNCTION()
2088 if (offset > num_in) { in PHP_FUNCTION()
2089 offset = num_in; in PHP_FUNCTION()
2090 } else if (offset < 0 && (offset = (num_in + offset)) < 0) { in PHP_FUNCTION()
2096 size = num_in - offset + length; in PHP_FUNCTION()
2097 } else if (((unsigned long) offset + (unsigned long) length) > (unsigned) num_in) { in PHP_FUNCTION()
2098 size = num_in - offset; in PHP_FUNCTION()
2135 int num_in, /* Number of elements in the input array */ in PHP_FUNCTION() local
2147 num_in = zend_hash_num_elements(Z_ARRVAL_P(input)); in PHP_FUNCTION()
2151 length = num_in; in PHP_FUNCTION()
2158 if (offset > num_in) { in PHP_FUNCTION()
2161 } else if (offset < 0 && (offset = (num_in + offset)) < 0) { in PHP_FUNCTION()
2167 length = num_in - offset + length; in PHP_FUNCTION()
2168 } else if (((unsigned long) offset + (unsigned long) length) > (unsigned) num_in) { in PHP_FUNCTION()
2169 length = num_in - offset; in PHP_FUNCTION()
4441 int argc = ZEND_NUM_ARGS(), key_type, num_in; in PHP_FUNCTION() local
4461 num_in = zend_hash_num_elements(Z_ARRVAL_P(input)); in PHP_FUNCTION()
4463 if (size > num_in) { in PHP_FUNCTION()
4464 size = num_in > 0 ? num_in : 1; in PHP_FUNCTION()
4467 array_init_size(return_value, ((num_in - 1) / size) + 1); in PHP_FUNCTION()