Home
last modified time | relevance | path

Searched refs:as (Results 1 – 25 of 58) sorted by relevance

123

/libcore/luni/src/test/java/libcore/java/text/
DOldAttributedCharacterIteratorTest.java33 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 …]
DOldAttributedStringTest.java283 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/
DLongAdder.java86 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 …]
DDoubleAdder.java90 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 …]
DLongAccumulator.java105 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 …]
DDoubleAccumulator.java103 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 …]
DStriped64.java231 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/
DAttributedStringTest.java120 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 …]
DAttributedCharacterIteratorTest.java158 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/
DFormat.java278 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()
DCharacterIteratorFieldDelegate.java65 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/
DOldAbstractSetTest.java54 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/
DX509KeyManagerImpl.java140 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/
DTypes.java137 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/
DNOTICE279 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/
Dhyts_PropertiesTest.properties8 ! dshfjklahfjkldashgjl;as
14 b bb as,dn
/libcore/luni/src/test/resources/META-INF/services/
Dlibcore.java.util.ServiceLoaderTestInterface6 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/
Dlogging_fr.properties6 # 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.
Dlogging.properties6 # 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.
Dlogging_zh_TW.properties6 # 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.
Dlogging_zh_CN.properties6 # 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.
Dlogging_pt_BR.properties6 # 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.
Dlogging_ko.properties6 # 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.
Dlogging_sv.properties6 # 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.
Dlogging_it.properties6 # 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.

123