Searched refs:rebalancedString (Results 1 – 2 of 2) sorted by relevance
366 StringBuilder rebalancedString; in stringWithRebalancedWhitespace() local367 rebalancedString.reserveCapacity(length); in stringWithRebalancedWhitespace()373 rebalancedString.append(c); in stringWithRebalancedWhitespace()379 rebalancedString.append(noBreakSpace); in stringWithRebalancedWhitespace()382 rebalancedString.append(' '); in stringWithRebalancedWhitespace()387 ASSERT(rebalancedString.length() == length); in stringWithRebalancedWhitespace()389 return rebalancedString.toString(); in stringWithRebalancedWhitespace()
688 String rebalancedString = stringWithRebalancedWhitespace(string, in rebalanceWhitespaceOnTextSubstring() local694 if (string != rebalancedString) in rebalanceWhitespaceOnTextSubstring()695 replaceTextInNodePreservingMarkers(textNode.release(), upstream, length, rebalancedString); in rebalanceWhitespaceOnTextSubstring()