Lines Matching refs:length

1810 PHPAPI HashTable* php_splice(HashTable *in_hash, int offset, int length, zval ***list, int list_cou…  in php_splice()  argument
1835 if (length < 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()
1861 for ( ; pos < offset + length && p; pos++, p = p->pListNext) { in php_splice()
1871 for ( ; pos < offset + length && p; pos++, p = p->pListNext); in php_splice()
2056 length = 0, in PHP_FUNCTION() local
2060 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "al|lz/", &array, &offset, &length, &repl_arr… in PHP_FUNCTION()
2067 length = num_in; in PHP_FUNCTION()
2085 int size = length; in PHP_FUNCTION()
2095 if (length < 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()
2107 new_hash = php_splice(Z_ARRVAL_P(array), offset, length, repl, repl_num, rem_hash); in PHP_FUNCTION()
2133 length = 0; in PHP_FUNCTION() local
2151 length = num_in; in PHP_FUNCTION()
2154 length = Z_LVAL_PP(z_length); in PHP_FUNCTION()
2166 if (length < 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()
2173 array_init_size(return_value, length > 0 ? length : 0); in PHP_FUNCTION()
2175 if (length <= 0) { in PHP_FUNCTION()
2188 …while (pos < offset + length && zend_hash_get_current_data_ex(Z_ARRVAL_P(input), (void **)&entry, … in PHP_FUNCTION()