Lines Matching refs:length

126 	long length = 0;  in dom_characterdata_length_read()  local
136 length = xmlUTF8Strlen(content); in dom_characterdata_length_read()
140 ZVAL_LONG(retval, length); in dom_characterdata_length_read()
158 int length; in PHP_FUNCTION() local
172 length = xmlUTF8Strlen(cur); in PHP_FUNCTION()
174 …t < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset > length) { in PHP_FUNCTION()
180 if ((offset + count) > length) { in PHP_FUNCTION()
181 count = length - offset; in PHP_FUNCTION()
241 int length; in PHP_FUNCTION() local
256 length = xmlUTF8Strlen(cur); in PHP_FUNCTION()
258 if (offset < 0 || ZEND_LONG_INT_OVFL(offset) || offset > length) { in PHP_FUNCTION()
265 second = xmlUTF8Strsub(cur, (int)offset, length - (int)offset); in PHP_FUNCTION()
289 int length; in PHP_FUNCTION() local
303 length = xmlUTF8Strlen(cur); in PHP_FUNCTION()
305 …t < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset > length) { in PHP_FUNCTION()
317 if ((offset + count) > length) { in PHP_FUNCTION()
318 count = length - offset; in PHP_FUNCTION()
321 second = xmlUTF8Strsub(cur, (int)offset + (int)count, length - (int)offset); in PHP_FUNCTION()
345 int length; in PHP_FUNCTION() local
360 length = xmlUTF8Strlen(cur); in PHP_FUNCTION()
362 …t < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset > length) { in PHP_FUNCTION()
374 if ((offset + count) > length) { in PHP_FUNCTION()
375 count = length - offset; in PHP_FUNCTION()
378 if (offset < length) { in PHP_FUNCTION()
379 second = xmlUTF8Strsub(cur, (int)offset + count, length - (int)offset); in PHP_FUNCTION()