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)
160 zend_long offset, count; in PHP_FUNCTION() local
165 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ll", &offset, &count) == FAILURE) { in PHP_FUNCTION()
178 …if (offset < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset >… in PHP_FUNCTION()
184 if ((offset + count) > length) { in PHP_FUNCTION()
185 count = length - offset; in PHP_FUNCTION()
188 substring = xmlUTF8Strsub(cur, (int)offset, (int)count); in PHP_FUNCTION()
233 zend_long offset; in PHP_FUNCTION() local
239 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ls", &offset, &arg, &arg_len) == FAILURE) { in PHP_FUNCTION()
252 if (offset < 0 || ZEND_LONG_INT_OVFL(offset) || offset > length) { in PHP_FUNCTION()
258 first = xmlUTF8Strndup(cur, (int)offset); in PHP_FUNCTION()
259 second = xmlUTF8Strsub(cur, (int)offset, length - (int)offset); in PHP_FUNCTION()
282 zend_long offset, count; in PHP_FUNCTION() local
287 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ll", &offset, &count) == FAILURE) { in PHP_FUNCTION()
300 …if (offset < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset >… in PHP_FUNCTION()
306 if (offset > 0) { in PHP_FUNCTION()
307 substring = xmlUTF8Strsub(cur, 0, (int)offset); in PHP_FUNCTION()
312 if ((offset + count) > length) { in PHP_FUNCTION()
313 count = length - offset; in PHP_FUNCTION()
316 second = xmlUTF8Strsub(cur, (int)offset + (int)count, length - (int)offset); in PHP_FUNCTION()
339 zend_long offset, count; in PHP_FUNCTION() local
345 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lls", &offset, &count, &arg, &arg_len) == FAILURE) { in PHP_FUNCTION()
358 …if (offset < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset >… in PHP_FUNCTION()
364 if (offset > 0) { in PHP_FUNCTION()
365 substring = xmlUTF8Strsub(cur, 0, (int)offset); in PHP_FUNCTION()
370 if ((offset + count) > length) { in PHP_FUNCTION()
371 count = length - offset; in PHP_FUNCTION()
374 if (offset < length) { in PHP_FUNCTION()
375 second = xmlUTF8Strsub(cur, (int)offset + count, length - (int)offset); in PHP_FUNCTION()