Home
last modified time | relevance | path

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

/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/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/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()
DmySSLSession.java163 String as[] = new String[vector.size()]; in getValueNames() local
164 vector.copyInto(as); in getValueNames()
165 return as; in getValueNames()
/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/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/
DBigIntegerOperateBitsTest.java215 String as = "-18446744073709551615"; in testClearBitNegativeInside3() local
217 BigInteger aNumber = new BigInteger(as); in testClearBitNegativeInside3()
219 assertEquals(as, result.toString()); in testClearBitNegativeInside3()
228 String as = "-4294967295"; in testClearBitNegativeInside4() local
231 BigInteger aNumber = new BigInteger(as); in testClearBitNegativeInside4()
242 String as = "-18446744073709551615"; in testClearBitNegativeInside5() local
245 BigInteger aNumber = new BigInteger(as); in testClearBitNegativeInside5()
575 String as = "-18446744073709551615"; in testFlipBitNegativeInside3() local
578 BigInteger aNumber = new BigInteger(as); in testFlipBitNegativeInside3()
589 String as = "-4294967295"; in testFlipBitNegativeInside4() local
[all …]
/libcore/benchmarks/libs/
Dcaliper.jar.txt11 and distribution as defined by Sections 1 through 9 of this document.
37 Object form, made available under the License, as indicated by a
44 represent, as a whole, an original work of authorship. For the purposes
61 designated in writing by the copyright owner as "Not a Contribution."
77 (except as stated in this section) patent license to make, have made,
88 as of the date such litigation is filed.
107 (d) If the Work includes a "NOTICE" text file as part of its
113 as part of the Derivative Works; within the Source form or
120 or as an addendum to the NOTICE text from the Work, provided
122 as modifying the License.
[all …]
/libcore/luni/src/main/java/java/util/logging/
Dlogging.properties19 # This file is used by java.util.logging package as default settings, users can
21 # property, this property can be set via the Preference API, or as VM arguments
22 # passed to "java" command, or as property definition passed to JNI_CreateJavaVM.
33 # logger will be used. You can also set the level for every handler, as below for
/libcore/luni/src/test/etc/loading-test2-jar/
DREADME.txt2 dex files, which are included as resources in the luni tests. These
/libcore/luni/src/test/etc/loading-test-jar/
DREADME.txt2 dex files, which are included as resources in the luni tests. These
/libcore/luni/
Dunicode-license.txt32 File or in the Software as well as in the documentation associated with the Data
45 Except as contained in this notice, the name of a copyright holder shall not
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTreeSetTest.java220 Set as = new HashSet(Arrays.asList(objArray)); in test_iterator() local
222 as.remove(i.next()); in test_iterator()
223 assertEquals("Returned incorrect iterator", 0, as.size()); in test_iterator()
/libcore/
DNOTICE10 This product includes software developed as part of
28 License Agreement", informally known as the "Intel Harmony CLA".
59 Except as contained in this notice, the name of a copyright holder
/libcore/luni/src/main/java/java/util/concurrent/
DConcurrentHashMap.java514 Class<?> c; Type[] ts, as; Type t; ParameterizedType p; in comparableClassFor() local
522 (as = p.getActualTypeArguments()) != null && in comparableClassFor()
523 as.length == 1 && as[0] == c) // type arg is c in comparableClassFor()
1574 CounterCell[] as; long b, s; in addCount() local
1575 if ((as = counterCells) != null || in addCount()
1580 as == null || (m = as.length - 1) < 0 || in addCount()
1581 (a = as[m & hc.code]) == null || in addCount()
3061 CounterCell[] as = counterCells; CounterCell a; in sumCount() local
3063 if (as != null) { in sumCount()
3064 for (int i = 0; i < as.length; ++i) { in sumCount()
[all …]
/libcore/luni/src/main/java/libcore/icu/
DNativeDecimalFormat.java365 AttributedString as = new AttributedString(text); in formatToCharacterIterator() local
369 as.addAttribute(field, field, fpIter.start(), fpIter.limit()); in formatToCharacterIterator()
373 return as.getIterator(); in formatToCharacterIterator()
/libcore/luni/src/main/java/java/text/
DMessageFormat.java519 AttributedString as = new AttributedString(buffer.toString()); in formatToCharacterIterator() local
523 as.addAttribute(fc.attribute, fc.value, fc.start, fc.end); in formatToCharacterIterator()
527 return as.getIterator(); in formatToCharacterIterator()
DSimpleDateFormat.java477 AttributedString as = new AttributedString(buffer.toString()); in formatToCharacterIteratorImpl() local
482 as.addAttribute(attribute, attribute, pos.getBeginIndex(), pos.getEndIndex()); in formatToCharacterIteratorImpl()
486 return as.getIterator(); in formatToCharacterIteratorImpl()
/libcore/expectations/
Dicebox.txt89 …substring: "This implementation incorrectly interprets the \"id\" attribute as an identifier by de…
Dknownfailures.txt82 …description: "It's not allowed to pass null as parent class loader to a new ClassLoader anymore. M…
1497 …description: "The test relies on SimpleDateFormat zzz producing GMT not GMT+00:00 as it does on An…
/libcore/luni/src/test/resources/
Dmath_important_numbers.csv1 #These numbers are automatically generated to test numbers such as pi, pi/2, 0, etc.