Home
last modified time | relevance | path

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

1234

/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.java280 AttributedString as = new AttributedString("test"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII() local
281 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, "a", 2, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
283 AttributedCharacterIterator it = as.getIterator(); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
287 as = new AttributedString("test"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
288 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, null, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
290 it = as.getIterator(); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
295 as = new AttributedString("test"); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
296 as.addAttribute(AttributedCharacterIterator.Attribute.LANGUAGE, in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
304 as = new AttributedString("123", Collections.emptyMap()); in test_addAttributeLjava_text_AttributedCharacterIterator$AttributeLjava_lang_ObjectII()
306 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/ojluni/src/main/java/java/text/
DFormat.java281 AttributedString as = new AttributedString(s); in createAttributedCharacterIterator() local
283 return as.getIterator(); in createAttributedCharacterIterator()
298 AttributedString as = new AttributedString(iterators); in createAttributedCharacterIterator() local
300 return as.getIterator(); in createAttributedCharacterIterator()
316 AttributedString as = new AttributedString(string); in createAttributedCharacterIterator() local
318 as.addAttribute(key, value); in createAttributedCharacterIterator()
319 return as.getIterator(); in createAttributedCharacterIterator()
335 AttributedString as = new AttributedString(iterator); in createAttributedCharacterIterator() local
337 as.addAttribute(key, value); in createAttributedCharacterIterator()
338 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/ojluni/src/test/java/text/AttributedString/
DgetRunStartLimitTest.java44 AttributedString as = new AttributedString(text); in main() local
47 as.addAttribute(TextAttribute.WEIGHT, in main()
51 as.addAttribute(TextAttribute.WEIGHT, in main()
55 as.addAttribute(TextAttribute.WEIGHT, in main()
61 as.addAttribute(TextAttribute.WIDTH, in main()
65 as.addAttribute(TextAttribute.WIDTH, in main()
70 AttributedCharacterIterator aci = as.getIterator(null, 2, 4); in main()
/libcore/ojluni/src/main/
DLICENSE1 Oracle designates certain files in this repository as subject to the "Classpath" exception.
75 without limitation in the term "modification".) Each licensee is addressed as
84 1. You may copy and distribute verbatim copies of the Program's source code as
104 licensed as a whole at no charge to all third parties under the terms of
117 These requirements apply to the modified work as a whole. If identifiable
120 its terms, do not apply to those sections when you distribute them as separate
121 works. But when you distribute the same sections as part of a whole which is a
150 c) Accompany it with the information you received as to the offer to
160 of the executable. However, as a special exception, the source code
168 code from the same place counts as distribution of the source code, even though
[all …]
/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/tools/testmapping/
DREADME2 tests to run on every change, chosen to run as many as possible in less than
5 The process is as follows.
6 1. Do `source build/envsetup.sh` and `lunch <whatever>` as normal.
8 This can be done with `atest CtsLibcoreTestCases` as normal. Make sure to use
/libcore/support/src/test/java/tests/resources/
Dhyts_PropertiesTest.properties8 ! dshfjklahfjkldashgjl;as
14 b bb as,dn
/libcore/ojluni/src/test/java/nio/Buffer/
DEqualsCompareTest.java636 B as = aLength != s in testBufferType() local
648 boolean eq = bt.pairWiseEquals(as, bs); in testBufferType()
649 Assert.assertEquals(bt.equals(as, bs), eq); in testBufferType()
650 Assert.assertEquals(bt.equals(bs, as), eq); in testBufferType()
652 Assert.assertEquals(bt.compare(as, bs), 0); in testBufferType()
653 Assert.assertEquals(bt.compare(bs, as), 0); in testBufferType()
656 Assert.assertEquals(bt.mismatch(as, bs), -1); in testBufferType()
657 Assert.assertEquals(bt.mismatch(bs, as), -1); in testBufferType()
660 int aCb = bt.compare(as, bs); in testBufferType()
661 int bCa = bt.compare(bs, as); in testBufferType()
[all …]
/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/ojluni/src/main/resources/sun/util/logging/resources/
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_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_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_de.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_es.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_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_ja.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.
/libcore/ojluni/src/main/java/java/nio/charset/
Dexceptions6 # under the terms of the GNU General Public License version 2 only, as
8 # particular file as subject to the "Classpath" exception as provided
45 * <a href="Charset.html#names">legal charset name</a> is used as such." \

1234