Home
last modified time | relevance | path

Searched refs:constraint1 (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/test/java/lang/StringBuffer/
DTrim.java106 private static int getRandomIndex(int constraint1, int constraint2) { in getRandomIndex() argument
107 int range = constraint2 - constraint1; in getRandomIndex()
109 return constraint1; in getRandomIndex()
111 return constraint1 + x; in getRandomIndex()
DAppendStringBuilder.java61 private static int getRandomIndex(int constraint1, int constraint2) { in getRandomIndex() argument
62 int range = constraint2 - constraint1; in getRandomIndex()
64 return constraint1 + x; in getRandomIndex()
DAppendSB.java62 private static int getRandomIndex(int constraint1, int constraint2) { in getRandomIndex() argument
63 int range = constraint2 - constraint1; in getRandomIndex()
65 return constraint1 + x; in getRandomIndex()
DIndexOf.java70 private static int getRandomIndex(int constraint1, int constraint2) { in getRandomIndex() argument
71 int range = constraint2 - constraint1; in getRandomIndex()
73 return constraint1 + x; in getRandomIndex()
DAppendCharSequence.java114 private static int getRandomIndex(int constraint1, int constraint2) { in getRandomIndex() argument
115 int range = constraint2 - constraint1; in getRandomIndex()
117 return constraint1 + x; in getRandomIndex()
/libcore/ojluni/src/test/java/lang/StringBuilder/
DAppendStringBuffer.java62 private static int getRandomIndex(int constraint1, int constraint2) { in getRandomIndex() argument
63 int range = constraint2 - constraint1; in getRandomIndex()
65 return constraint1 + x; in getRandomIndex()