Lines Matching refs:offset

110 	unsigned int count, offset;  in PHP_METHOD()  local
129 …if (!dom_convert_number_unsigned(intern, offset_input, &offset) || !dom_convert_number_unsigned(in… in PHP_METHOD()
133 if (offset > (unsigned int)length) { in PHP_METHOD()
138 if (count > length - offset) { in PHP_METHOD()
139 count = length - offset; in PHP_METHOD()
142 substring = xmlUTF8Strsub(cur, (int)offset, (int)count); in PHP_METHOD()
195 unsigned int offset; in dom_character_data_insert_data() local
216 if (!dom_convert_number_unsigned(intern, offset_input, &offset)) { in dom_character_data_insert_data()
220 if (offset > (unsigned int)length) { in dom_character_data_insert_data()
225 first = xmlUTF8Strndup(cur, (int)offset); in dom_character_data_insert_data()
226 second = xmlUTF8Strsub(cur, (int)offset, length - (int)offset); in dom_character_data_insert_data()
260 zend_long offset, count_input; in dom_character_data_delete_data() local
266 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ll", &offset, &count_input) == FAILURE) { in dom_character_data_delete_data()
276 …if (offset < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count_input) || offset > length… in dom_character_data_delete_data()
285 if (offset > 0) { in dom_character_data_delete_data()
286 substring = xmlUTF8Strsub(cur, 0, (int)offset); in dom_character_data_delete_data()
291 if (count > length - offset) { in dom_character_data_delete_data()
292 count = length - offset; in dom_character_data_delete_data()
295 second = xmlUTF8Strsub(cur, (int)offset + (int)count, length - (int)offset); in dom_character_data_delete_data()
329 zend_long offset, count_input; in dom_character_data_replace_data() local
336 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "lls", &offset, &count_input, &arg, &arg_len) == FAILUR… in dom_character_data_replace_data()
346 …if (offset < 0 || ZEND_LONG_INT_OVFL(offset) || ZEND_LONG_INT_OVFL(count_input) || offset > length… in dom_character_data_replace_data()
355 if (offset > 0) { in dom_character_data_replace_data()
356 substring = xmlUTF8Strsub(cur, 0, (int)offset); in dom_character_data_replace_data()
361 if (count > length - offset) { in dom_character_data_replace_data()
362 count = length - offset; in dom_character_data_replace_data()
365 if (offset < length) { in dom_character_data_replace_data()
366 second = xmlUTF8Strsub(cur, (int)offset + count, length - (int)offset); in dom_character_data_replace_data()