Lines Matching refs:length
128 long length = 0; in dom_characterdata_length_read() local
138 length = xmlUTF8Strlen(content); in dom_characterdata_length_read()
142 ZVAL_LONG(retval, length); in dom_characterdata_length_read()
160 int length; in PHP_FUNCTION() local
174 length = xmlUTF8Strlen(cur); in PHP_FUNCTION()
176 …t < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset > length) { in PHP_FUNCTION()
182 if ((offset + count) > length) { in PHP_FUNCTION()
183 count = length - offset; in PHP_FUNCTION()
243 int length; in PHP_FUNCTION() local
258 length = xmlUTF8Strlen(cur); in PHP_FUNCTION()
260 if (offset < 0 || ZEND_LONG_INT_OVFL(offset) || offset > length) { in PHP_FUNCTION()
267 second = xmlUTF8Strsub(cur, (int)offset, length - (int)offset); in PHP_FUNCTION()
291 int length; in PHP_FUNCTION() local
305 length = xmlUTF8Strlen(cur); in PHP_FUNCTION()
307 …t < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset > length) { in PHP_FUNCTION()
319 if ((offset + count) > length) { in PHP_FUNCTION()
320 count = length - offset; in PHP_FUNCTION()
323 second = xmlUTF8Strsub(cur, (int)offset + (int)count, length - (int)offset); in PHP_FUNCTION()
347 int length; in PHP_FUNCTION() local
362 length = xmlUTF8Strlen(cur); in PHP_FUNCTION()
364 …t < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset > length) { in PHP_FUNCTION()
376 if ((offset + count) > length) { in PHP_FUNCTION()
377 count = length - offset; in PHP_FUNCTION()
380 if (offset < length) { in PHP_FUNCTION()
381 second = xmlUTF8Strsub(cur, (int)offset + count, length - (int)offset); in PHP_FUNCTION()