Home
last modified time | relevance | path

Searched refs:insertionPoint (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/main/java/javax/xml/datatype/
DDuration.java946 int insertionPoint = intString.length() - scale; in toString() local
947 if (insertionPoint == 0) { /* Point goes right before intVal */ in toString()
950 else if (insertionPoint > 0) { /* Point goes inside intVal */ in toString()
952 buf.insert(insertionPoint, '.'); in toString()
955 buf = new StringBuilder(3 - insertionPoint + intString.length()); in toString()
957 for (int i = 0; i < -insertionPoint; i++) { in toString()
/libcore/luni/src/test/java/libcore/xml/
DDomTest.java1727 int insertionPoint = result.indexOf(" deluxe=\""); in domToString() local
1728 result = result.substring(0, insertionPoint) in domToString()
1730 + result.substring(insertionPoint); in domToString()