Lines Matching refs:offset

31 	ZEND_ARG_INFO(0, offset)
40 ZEND_ARG_INFO(0, offset)
45 ZEND_ARG_INFO(0, offset)
50 ZEND_ARG_INFO(0, offset)
157 zend_long offset, count; in PHP_FUNCTION() local
161 …(ZEND_NUM_ARGS(), getThis(), "Oll", &id, dom_characterdata_class_entry, &offset, &count) == FAILUR… in PHP_FUNCTION()
174 …if (offset < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset >… in PHP_FUNCTION()
180 if ((offset + count) > length) { in PHP_FUNCTION()
181 count = length - offset; in PHP_FUNCTION()
184 substring = xmlUTF8Strsub(cur, (int)offset, (int)count); in PHP_FUNCTION()
240 zend_long offset; in PHP_FUNCTION() local
245 …(ZEND_NUM_ARGS(), getThis(), "Ols", &id, dom_characterdata_class_entry, &offset, &arg, &arg_len) =… in PHP_FUNCTION()
258 if (offset < 0 || ZEND_LONG_INT_OVFL(offset) || offset > length) { in PHP_FUNCTION()
264 first = xmlUTF8Strndup(cur, (int)offset); in PHP_FUNCTION()
265 second = xmlUTF8Strsub(cur, (int)offset, length - (int)offset); in PHP_FUNCTION()
288 zend_long offset, count; in PHP_FUNCTION() local
292 …(ZEND_NUM_ARGS(), getThis(), "Oll", &id, dom_characterdata_class_entry, &offset, &count) == FAILUR… in PHP_FUNCTION()
305 …if (offset < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset >… in PHP_FUNCTION()
311 if (offset > 0) { in PHP_FUNCTION()
312 substring = xmlUTF8Strsub(cur, 0, (int)offset); 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()
344 zend_long offset, count; in PHP_FUNCTION() local
349 …ZEND_NUM_ARGS(), getThis(), "Olls", &id, dom_characterdata_class_entry, &offset, &count, &arg, &ar… in PHP_FUNCTION()
362 …if (offset < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset >… in PHP_FUNCTION()
368 if (offset > 0) { in PHP_FUNCTION()
369 substring = xmlUTF8Strsub(cur, 0, (int)offset); 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()