/libcore/luni/src/test/java/libcore/java/text/ |
D | OldAttributedCharacterIteratorTest.java | 33 AttributedString as = new AttributedString("test"); in test_getRunLimitLSet() local 34 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "a", 2, in test_getRunLimitLSet() 36 AttributedCharacterIterator it = as.getIterator(); in test_getRunLimitLSet() 43 as = new AttributedString("test"); in test_getRunLimitLSet() 44 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, null, in test_getRunLimitLSet() 46 it = as.getIterator(); in test_getRunLimitLSet() 56 AttributedString as = new AttributedString("test"); in test_getAllAttributeKeys() local 57 AttributedCharacterIterator it = as.getIterator(); in test_getAllAttributeKeys() 64 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, in test_getAllAttributeKeys() 67 it = as.getIterator(); in test_getAllAttributeKeys() [all …]
|
D | OldAttributedStringTest.java | 283 AttributedString as = new AttributedString("test"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() local 284 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "a", 2, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 286 AttributedCharacterIterator it = as.getIterator(); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 290 as = new AttributedString("test"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 291 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, null, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 293 it = as.getIterator(); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 298 as = new AttributedString("test"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 299 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 307 as = new AttributedString("123", new WeakHashMap()); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 309 as.addAttribute(null, new TreeSet(), 0, 1); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | LongAdder.java | 86 Cell[] as; long b, v; int m; Cell a; in add() local 87 if ((as = cells) != null || !casBase(b = base, b + x)) { in add() 89 if (as == null || (m = as.length - 1) < 0 || in add() 90 (a = as[getProbe() & m]) == null || in add() 120 Cell[] as = cells; in sum() local 122 if (as != null) { in sum() 123 for (Cell a : as) in sum() 138 Cell[] as = cells; in reset() local 140 if (as != null) { in reset() 141 for (Cell a : as) in reset() [all …]
|
D | DoubleAdder.java | 90 Cell[] as; long b, v; int m; Cell a; in add() local 91 if ((as = cells) != null || in add() 96 if (as == null || (m = as.length - 1) < 0 || in add() 97 (a = as[getProbe() & m]) == null || in add() 118 Cell[] as = cells; in sum() local 120 if (as != null) { in sum() 121 for (Cell a : as) in sum() 136 Cell[] as = cells; in reset() local 138 if (as != null) { in reset() 139 for (Cell a : as) in reset() [all …]
|
D | LongAccumulator.java | 105 Cell[] as; long b, v, r; int m; Cell a; in accumulate() local 106 if ((as = cells) != null || in accumulate() 109 if (as == null || (m = as.length - 1) < 0 || in accumulate() 110 (a = as[getProbe() & m]) == null || in accumulate() 128 Cell[] as = cells; in get() local 130 if (as != null) { in get() 131 for (Cell a : as) in get() 147 Cell[] as = cells; in reset() local 149 if (as != null) { in reset() 150 for (Cell a : as) in reset() [all …]
|
D | DoubleAccumulator.java | 103 Cell[] as; long b, v, r; int m; Cell a; in accumulate() local 104 if ((as = cells) != null || in accumulate() 109 if (as == null || (m = as.length - 1) < 0 || in accumulate() 110 (a = as[getProbe() & m]) == null || in accumulate() 130 Cell[] as = cells; in get() local 132 if (as != null) { in get() 133 for (Cell a : as) in get() 150 Cell[] as = cells; in reset() local 152 if (as != null) { in reset() 153 for (Cell a : as) in reset() [all …]
|
D | Striped64.java | 231 Cell[] as; Cell a; int n; long v; in longAccumulate() local 232 if ((as = cells) != null && (n = as.length) > 0) { in longAccumulate() 233 if ((a = as[(n - 1) & h]) == null) { in longAccumulate() 258 else if (n >= NCPU || cells != as) in longAccumulate() 264 if (cells == as) // Expand table unless stale in longAccumulate() 265 cells = Arrays.copyOf(as, n << 1); in longAccumulate() 274 else if (cellsBusy == 0 && cells == as && casCellsBusy()) { in longAccumulate() 276 if (cells == as) { in longAccumulate() 315 Cell[] as; Cell a; int n; long v; in doubleAccumulate() local 316 if ((as = cells) != null && (n = as.length) > 0) { in doubleAccumulate() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | AttributedStringTest.java | 120 AttributedString as = new AttributedString("test"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() local 121 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "a", 2, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 123 AttributedCharacterIterator it = as.getIterator(); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 127 as = new AttributedString("test"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 128 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, null, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 130 it = as.getIterator(); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 135 as = new AttributedString("test"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 136 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 144 as = new AttributedString("123", new WeakHashMap()); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() 146 as.addAttribute(null, new TreeSet(), 0, 1); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() [all …]
|
D | AttributedCharacterIteratorTest.java | 158 AttributedString as = new AttributedString("test"); in test_getRunLimitLjava_text_AttributedCharacterIterator$Attribute() local 159 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "a", 2, in test_getRunLimitLjava_text_AttributedCharacterIterator$Attribute() 161 AttributedCharacterIterator it = as.getIterator(); in test_getRunLimitLjava_text_AttributedCharacterIterator$Attribute() 165 as = new AttributedString("test"); in test_getRunLimitLjava_text_AttributedCharacterIterator$Attribute() 166 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, null, in test_getRunLimitLjava_text_AttributedCharacterIterator$Attribute() 168 it = as.getIterator(); in test_getRunLimitLjava_text_AttributedCharacterIterator$Attribute()
|
/libcore/ojluni/src/main/java/java/text/ |
D | Format.java | 278 AttributedString as = new AttributedString(s); in createAttributedCharacterIterator() local 280 return as.getIterator(); in createAttributedCharacterIterator() 295 AttributedString as = new AttributedString(iterators); in createAttributedCharacterIterator() local 297 return as.getIterator(); in createAttributedCharacterIterator() 313 AttributedString as = new AttributedString(string); in createAttributedCharacterIterator() local 315 as.addAttribute(key, value); in createAttributedCharacterIterator() 316 return as.getIterator(); in createAttributedCharacterIterator() 332 AttributedString as = new AttributedString(iterator); in createAttributedCharacterIterator() local 334 as.addAttribute(key, value); in createAttributedCharacterIterator() 335 return as.getIterator(); in createAttributedCharacterIterator()
|
D | CharacterIteratorFieldDelegate.java | 65 AttributedString as = attributedStrings. in formatted() local 67 int newIndex = index - as.length(); in formatted() 70 as.addAttribute(attr, value, aStart, Math.min( in formatted() 71 end - start, as.length() - aStart) + in formatted()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldAbstractSetTest.java | 54 AbstractSet as = new Mock_AbstractSet(); 55 assertNotNull(as.hashCode()); 66 AbstractSet as = new AbstractSet(){ 92 as.removeAll(null); 100 as.removeAll(c); 106 as = new Mock_AbstractSet(); 108 as.removeAll(c);
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
D | X509KeyManagerImpl.java | 140 public String chooseClientAlias(String[] as, Principal[] aprincipal, Socket socket) { in chooseClientAlias() argument 142 if (as == null || as.length == 0) { in chooseClientAlias() 146 if (as.length == 1 && as[0].equals(client)) { in chooseClientAlias() 184 public String chooseServerAlias(String as, Principal[] aprincipal, Socket socket) { in chooseServerAlias() argument 186 if (as == null || as.equals("")) { in chooseServerAlias() 190 if (as.equals(server) && socket != null) { in chooseServerAlias()
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | Types.java | 137 String as[] = c.getName().split("\\["); in appendGenericType() local 138 int len = as.length-1; in appendGenericType() 139 if (as[len].length() > 1){ in appendGenericType() 140 out.append(as[len].substring(1, as[len].length() - 1)); in appendGenericType() 142 char ch = as[len].charAt(0); in appendGenericType()
|
/libcore/ojluni/ |
D | NOTICE | 279 Oracle designates certain files in this repository as subject to the "Classpath" exception. 353 without limitation in the term "modification".) Each licensee is addressed as 362 1. You may copy and distribute verbatim copies of the Program's source code as 382 licensed as a whole at no charge to all third parties under the terms of 395 These requirements apply to the modified work as a whole. If identifiable 398 its terms, do not apply to those sections when you distribute them as separate 399 works. But when you distribute the same sections as part of a whole which is a 428 c) Accompany it with the information you received as to the offer to 438 of the executable. However, as a special exception, the source code 446 code from the same place counts as distribution of the source code, even though [all …]
|
/libcore/support/src/test/java/tests/resources/ |
D | hyts_PropertiesTest.properties | 8 ! dshfjklahfjkldashgjl;as 14 b bb as,dn
|
/libcore/luni/src/test/resources/META-INF/services/ |
D | libcore.java.util.ServiceLoaderTestInterface | 6 libcore.java.util.ServiceLoaderTest$Impl2#as is this 8 libcore.java.util.ServiceLoaderTest$Impl2 # as is leading whitespace
|
/libcore/ojluni/src/main/resources/sun/util/logging/resources/ |
D | logging_fr.properties | 6 # under the terms of the GNU General Public License version 2 only, as 8 # particular file as subject to the "Classpath" exception as provided 27 # these are the same as the non-localized level name.
|
D | logging.properties | 6 # under the terms of the GNU General Public License version 2 only, as 8 # particular file as subject to the "Classpath" exception as provided 27 # these are the same as the non-localized level name.
|
D | logging_zh_TW.properties | 6 # under the terms of the GNU General Public License version 2 only, as 8 # particular file as subject to the "Classpath" exception as provided 27 # these are the same as the non-localized level name.
|
D | logging_zh_CN.properties | 6 # under the terms of the GNU General Public License version 2 only, as 8 # particular file as subject to the "Classpath" exception as provided 27 # these are the same as the non-localized level name.
|
D | logging_pt_BR.properties | 6 # under the terms of the GNU General Public License version 2 only, as 8 # particular file as subject to the "Classpath" exception as provided 27 # these are the same as the non-localized level name.
|
D | logging_ko.properties | 6 # under the terms of the GNU General Public License version 2 only, as 8 # particular file as subject to the "Classpath" exception as provided 27 # these are the same as the non-localized level name.
|
D | logging_sv.properties | 6 # under the terms of the GNU General Public License version 2 only, as 8 # particular file as subject to the "Classpath" exception as provided 27 # these are the same as the non-localized level name.
|
D | logging_it.properties | 6 # under the terms of the GNU General Public License version 2 only, as 8 # particular file as subject to the "Classpath" exception as provided 27 # these are the same as the non-localized level name.
|