Lines Matching refs:offset
120 zend_long offset, count; in PHP_METHOD() local
125 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ll", &offset, &count) == FAILURE) { in PHP_METHOD()
138 …if (offset < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset >… in PHP_METHOD()
144 if ((offset + count) > length) { in PHP_METHOD()
145 count = length - offset; in PHP_METHOD()
148 substring = xmlUTF8Strsub(cur, (int)offset, (int)count); in PHP_METHOD()
191 zend_long offset; in PHP_METHOD() local
197 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ls", &offset, &arg, &arg_len) == FAILURE) { in PHP_METHOD()
210 if (offset < 0 || ZEND_LONG_INT_OVFL(offset) || offset > length) { in PHP_METHOD()
216 first = xmlUTF8Strndup(cur, (int)offset); in PHP_METHOD()
217 second = xmlUTF8Strsub(cur, (int)offset, length - (int)offset); in PHP_METHOD()
239 zend_long offset, count; in PHP_METHOD() local
244 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ll", &offset, &count) == FAILURE) { in PHP_METHOD()
257 …if (offset < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset >… in PHP_METHOD()
263 if (offset > 0) { in PHP_METHOD()
264 substring = xmlUTF8Strsub(cur, 0, (int)offset); in PHP_METHOD()
269 if ((offset + count) > length) { in PHP_METHOD()
270 count = length - offset; in PHP_METHOD()
273 second = xmlUTF8Strsub(cur, (int)offset + (int)count, length - (int)offset); in PHP_METHOD()
295 zend_long offset, count; in PHP_METHOD() local
301 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lls", &offset, &count, &arg, &arg_len) == FAILURE) { in PHP_METHOD()
314 …if (offset < 0 || count < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count) || offset >… in PHP_METHOD()
320 if (offset > 0) { in PHP_METHOD()
321 substring = xmlUTF8Strsub(cur, 0, (int)offset); in PHP_METHOD()
326 if ((offset + count) > length) { in PHP_METHOD()
327 count = length - offset; in PHP_METHOD()
330 if (offset < length) { in PHP_METHOD()
331 second = xmlUTF8Strsub(cur, (int)offset + count, length - (int)offset); in PHP_METHOD()