Lines Matching refs:piece
1299 *piece, /* The current piece of subject */ in php_pcre_replace_impl() local
1386 piece = subject + start_offset; in php_pcre_replace_impl()
1433 if (match-piece > 0) { in php_pcre_replace_impl()
1435 memcpy(&ZSTR_VAL(result)[result_len], piece, match-piece); in php_pcre_replace_impl()
1436 result_len += (match-piece); in php_pcre_replace_impl()
1492 int unit_len = calculate_unit_length(pce, piece); in php_pcre_replace_impl()
1495 memcpy(ZSTR_VAL(result) + result_len, piece, unit_len); in php_pcre_replace_impl()
1513 memcpy(ZSTR_VAL(result) + result_len, piece, subject_len - start_offset); in php_pcre_replace_impl()
1558 *piece; /* The current piece of subject */ in php_pcre_replace_func_impl() local
1646 piece = subject + start_offset; in php_pcre_replace_func_impl()
1672 if (match-piece > 0) { in php_pcre_replace_func_impl()
1674 memcpy(ZSTR_VAL(result) + result_len, piece, match-piece); in php_pcre_replace_func_impl()
1675 result_len += (int)(match-piece); in php_pcre_replace_func_impl()
1707 int unit_len = calculate_unit_length(pce, piece); in php_pcre_replace_func_impl()
1710 memcpy(ZSTR_VAL(result) + result_len, piece, unit_len); in php_pcre_replace_func_impl()
1728 memcpy(ZSTR_VAL(result) + result_len, piece, subject_len - start_offset); in php_pcre_replace_func_impl()