Lines Matching refs:offset
33 ZEND_ARG_INFO(0, offset)
42 ZEND_ARG_INFO(0, offset)
47 ZEND_ARG_INFO(0, offset)
52 ZEND_ARG_INFO(0, offset)
159 zend_long offset, count; in PHP_FUNCTION() local
163 …(ZEND_NUM_ARGS(), getThis(), "Oll", &id, dom_characterdata_class_entry, &offset, &count) == FAILUR… in PHP_FUNCTION()
176 …if (offset < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset >… in PHP_FUNCTION()
182 if ((offset + count) > length) { in PHP_FUNCTION()
183 count = length - offset; in PHP_FUNCTION()
186 substring = xmlUTF8Strsub(cur, (int)offset, (int)count); in PHP_FUNCTION()
242 zend_long offset; in PHP_FUNCTION() local
247 …(ZEND_NUM_ARGS(), getThis(), "Ols", &id, dom_characterdata_class_entry, &offset, &arg, &arg_len) =… in PHP_FUNCTION()
260 if (offset < 0 || ZEND_LONG_INT_OVFL(offset) || offset > length) { in PHP_FUNCTION()
266 first = xmlUTF8Strndup(cur, (int)offset); in PHP_FUNCTION()
267 second = xmlUTF8Strsub(cur, (int)offset, length - (int)offset); in PHP_FUNCTION()
290 zend_long offset, count; in PHP_FUNCTION() local
294 …(ZEND_NUM_ARGS(), getThis(), "Oll", &id, dom_characterdata_class_entry, &offset, &count) == FAILUR… in PHP_FUNCTION()
307 …if (offset < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset >… in PHP_FUNCTION()
313 if (offset > 0) { in PHP_FUNCTION()
314 substring = xmlUTF8Strsub(cur, 0, (int)offset); 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()
346 zend_long offset, count; in PHP_FUNCTION() local
351 …ZEND_NUM_ARGS(), getThis(), "Olls", &id, dom_characterdata_class_entry, &offset, &count, &arg, &ar… in PHP_FUNCTION()
364 …if (offset < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset >… in PHP_FUNCTION()
370 if (offset > 0) { in PHP_FUNCTION()
371 substring = xmlUTF8Strsub(cur, 0, (int)offset); 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()