Home
last modified time | relevance | path

Searched refs:segments (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/text/
DMessageFormat.java440 StringBuilder[] segments = new StringBuilder[4]; in applyPattern() local
443 segments[SEG_RAW] = new StringBuilder(); in applyPattern()
456 segments[part].append(ch); // handle doubles in applyPattern()
463 if (segments[SEG_INDEX] == null) { in applyPattern()
464 segments[SEG_INDEX] = new StringBuilder(); in applyPattern()
467 segments[part].append(ch); in applyPattern()
471 segments[part].append(ch); in applyPattern()
479 if (segments[++part] == null) { in applyPattern()
480 segments[part] = new StringBuilder(); in applyPattern()
483 segments[part].append(ch); in applyPattern()
[all …]
DChoiceFormat.java181 StringBuffer[] segments = new StringBuffer[2]; in applyPattern() local
182 for (int i = 0; i < segments.length; ++i) { in applyPattern()
183 segments[i] = new StringBuffer(); in applyPattern()
197 segments[part].append(ch); in applyPattern()
203 segments[part].append(ch); in applyPattern()
205 if (segments[0].length() == 0) { in applyPattern()
210 String tempBuffer = segments[0].toString(); in applyPattern()
227 segments[0].setLength(0); in applyPattern()
235 newChoiceFormats[count] = segments[1].toString(); in applyPattern()
238 segments[1].setLength(0); in applyPattern()
[all …]
/libcore/ojluni/src/main/java/java/nio/
DDirect-X-Buffer.java.template307 … throw new UnsupportedOperationException("ByteBuffer derived from shared segments not supported");
/libcore/ojluni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java1414 Segment<K,V>[] segments = (Segment<K,V>[]) in writeObject() local
1416 for (int i = 0; i < segments.length; ++i) in writeObject()
1417 segments[i] = new Segment<K,V>(LOAD_FACTOR); in writeObject()
1419 streamFields.put("segments", segments); in writeObject()