/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | VectorTest.java | 36 import java.util.Vector; 42 private Vector tVector = new Vector(); 54 Vector tv = new Vector(100); in test_Constructor() 59 tv = new Vector(200); in test_Constructor() 64 Vector v = new Vector(); in test_Constructor() 75 Vector v = new Vector(100); in test_ConstructorI() 80 new Vector(-1); in test_ConstructorI() 93 Vector v = new Vector(2, 10); in test_ConstructorII() 101 Vector grow = new Vector(3, -1); in test_ConstructorII() 109 Vector emptyVector = new Vector(0, 0); in test_ConstructorII() [all …]
|
D | NoSuchElementExceptionTest.java | 21 import java.util.Vector; 34 Vector v = new Vector(); in test_Constructor() 52 Vector v = new Vector(); in test_ConstructorLjava_lang_String()
|
D | ListResourceBundleTest.java | 24 import java.util.Vector; 36 Vector<String> result = new Vector<String>(); in test_getKeys() 56 Vector result = new Vector(); in test_handleGetObjectLjava_lang_String()
|
D | PropertyResourceBundleTest.java | 33 import java.util.Vector; 108 Vector<Object> test = new Vector<Object>(); in test_getKeys() 187 Vector<String> contents = new Vector<String>(); in test_access$0_Enumeration()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_DecimalFormat.java | 23 import java.util.Vector; 182 private static Vector<FieldContainer> getNumberVectorUS() { in getNumberVectorUS() 183 Vector<FieldContainer> v = new Vector<FieldContainer>(); in getNumberVectorUS() 190 private static Vector<FieldContainer> getIntegerVectorUS() { in getIntegerVectorUS() 191 Vector<FieldContainer> v = new Vector<FieldContainer>(); in getIntegerVectorUS() 196 private static Vector<FieldContainer> getPositiveCurrencyVectorCH() { in getPositiveCurrencyVectorCH() 197 Vector<FieldContainer> v = new Vector<FieldContainer>(); in getPositiveCurrencyVectorCH() 205 private static Vector<FieldContainer> getNegativeCurrencyVectorCH() { in getNegativeCurrencyVectorCH() 206 Vector<FieldContainer> v = new Vector<FieldContainer>(); in getNegativeCurrencyVectorCH() 215 private static Vector<FieldContainer> getPositiveCurrencyVectorUS() { in getPositiveCurrencyVectorUS() [all …]
|
D | Support_Format.java | 25 import java.util.Vector; 60 Vector<FieldContainer> expectedResults) { in t_Format() 62 Vector<FieldContainer> results = findFields(format.formatToCharacterIterator(object)); in t_Format() 71 … protected static boolean compare(Vector<FieldContainer> vector1, Vector<FieldContainer> vector2) { in compare() 84 protected static Vector<FieldContainer> findFields(AttributedCharacterIterator iterator) { in findFields() 85 Vector<FieldContainer> result = new Vector<FieldContainer>(); in findFields()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CollectionCertStoreParametersTest.java | 31 import java.util.Vector; 76 Vector<Certificate> certificates = new Vector<Certificate>(); in testCollectionCertStoreParametersCollection01() 89 Vector<String> certificates = new Vector<String>(); in testCollectionCertStoreParametersCollection02() 99 Vector<Certificate> certificates = new Vector<Certificate>(); in testCollectionCertStoreParametersCollection03() 130 Vector<Certificate> certificates = new Vector<Certificate>(); in testClone01() 144 Vector<Certificate> certificates = new Vector<Certificate>(); in testClone02() 183 Vector<Certificate> certificates = new Vector<Certificate>(); in testToString02() 203 Vector certificates = new Vector(); in testGetCollection02()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | Support_DecimalFormat.java | 23 import java.util.Vector; 147 private static Vector<FieldContainer> getNumberVectorUS() { in getNumberVectorUS() 148 Vector<FieldContainer> v = new Vector<FieldContainer>(); in getNumberVectorUS() 155 private static Vector<FieldContainer> getPositiveCurrencyVectorTR() { in getPositiveCurrencyVectorTR() 156 Vector<FieldContainer> v = new Vector<FieldContainer>(); in getPositiveCurrencyVectorTR() 164 private static Vector<FieldContainer> getNegativeCurrencyVectorTR() { in getNegativeCurrencyVectorTR() 165 Vector<FieldContainer> v = new Vector<FieldContainer>(); in getNegativeCurrencyVectorTR() 174 private static Vector<FieldContainer> getPositiveCurrencyVectorUS() { in getPositiveCurrencyVectorUS() 175 Vector<FieldContainer> v = new Vector<FieldContainer>(); in getPositiveCurrencyVectorUS() 183 private static Vector<FieldContainer> getNegativeCurrencyVectorUS() { in getNegativeCurrencyVectorUS() [all …]
|
D | Support_SimpleDateFormat.java | 29 import java.util.Vector; 158 private Vector<FieldContainer> getDateVector1() { in getDateVector1() 160 Vector<FieldContainer> v = new Vector<FieldContainer>(); in getDateVector1() 170 private Vector<FieldContainer> getDateVector2() { in getDateVector2() 172 Vector<FieldContainer> v = new Vector<FieldContainer>(); in getDateVector2() 182 private Vector<FieldContainer> getDateVector3() { in getDateVector3() 184 Vector<FieldContainer> v = new Vector<FieldContainer>(); in getDateVector3() 191 private Vector<FieldContainer> getDateVector5() { in getDateVector5() 193 Vector<FieldContainer> v = new Vector<FieldContainer>(); in getDateVector5() 200 private Vector<FieldContainer> getDateVector4() { in getDateVector4() [all …]
|
D | Support_Format.java | 26 import java.util.Vector; 58 …protected void t_Format(int count, Object object, Format format, Vector<FieldContainer> expectedRe… in t_Format() 59 Vector<FieldContainer> results = findFields(format.formatToCharacterIterator(object)); in t_Format() 81 protected static Vector<FieldContainer> findFields(AttributedCharacterIterator iterator) { in findFields() 82 Vector<FieldContainer> result = new Vector<FieldContainer>(); in findFields()
|
/libcore/ojluni/src/main/java/java/text/ |
D | AttributedString.java | 64 Vector<Attribute> runAttributes[]; // vector of attribute keys for each run 65 Vector<Object> runAttributeValues[]; // parallel vector of attribute values for each run 159 Vector<Attribute> newRunAttributes = new Vector<>(attributeCount); in AttributedString() 160 Vector<Object> newRunAttributeValues = new Vector<>(attributeCount); in AttributedString() 422 … Vector<Attribute> newRunAttributes[] = (Vector<Attribute>[]) new Vector<?>[ARRAY_SIZE_INCREMENT]; in createRunAttributeDataVectors() 425 … Vector<Object> newRunAttributeValues[] = (Vector<Object>[]) new Vector<?>[ARRAY_SIZE_INCREMENT]; in createRunAttributeDataVectors() 473 … Vector<Attribute> newRunAttributes[] = (Vector<Attribute>[]) new Vector<?>[newArraySize]; in ensureRunBreak() 476 Vector<Object> newRunAttributeValues[] = (Vector<Object>[]) new Vector<?>[newArraySize]; in ensureRunBreak() 491 Vector<Attribute> newRunAttributes = null; in ensureRunBreak() 492 Vector<Object> newRunAttributeValues = null; in ensureRunBreak() [all …]
|
/libcore/ojluni/src/main/java/java/security/ |
D | UnresolvedPermissionCollection.java | 163 Hashtable<String, Vector<UnresolvedPermission>> permissions = in writeObject() 172 Vector<UnresolvedPermission> vec = new Vector<>(list.size()); in writeObject() 203 Hashtable<String, Vector<UnresolvedPermission>> permissions = in readObject() 204 (Hashtable<String, Vector<UnresolvedPermission>>) in readObject() 209 Set<Map.Entry<String, Vector<UnresolvedPermission>>> set = permissions.entrySet(); in readObject() 210 for (Map.Entry<String, Vector<UnresolvedPermission>> e : set) { in readObject() 212 Vector<UnresolvedPermission> vec = e.getValue(); in readObject()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
D | MyCertPath.java | 31 import java.util.Vector; 43 private final Vector<MyCertificate> certificates; 48 private final Vector<String> encodingNames; 61 certificates = new Vector<MyCertificate>(); in MyCertPath() 63 encodingNames = new Vector<String>(); in MyCertPath()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | VectorTest.java | 19 import java.util.Vector; 23 ListDefaultMethodTester.test_replaceAll(new Vector<>()); in test_replaceAll() 27 ListDefaultMethodTester.test_sort(new Vector<>()); in test_sort()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Vector.java | 83 public class Vector<E> class 130 public Vector(int initialCapacity, int capacityIncrement) { in Vector() method in Vector 147 public Vector(int initialCapacity) { in Vector() method in Vector 156 public Vector() { in Vector() method in Vector 170 public Vector(Collection<? extends E> c) { in Vector() method in Vector 347 synchronized (Vector.this) { in elements() 674 Vector<E> v = (Vector<E>) super.clone(); in clone() 1133 protected int limit = Vector.this.elementCount; 1146 synchronized (Vector.this) { in next() 1161 synchronized (Vector.this) { in remove() [all …]
|
D | Observable.java | 64 private Vector<Observer> obs; 69 obs = new Vector<>(); in Observable()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | CertificatePolicySet.java | 29 import java.util.Vector; 43 private final Vector<CertificatePolicyId> ids; 50 public CertificatePolicySet(Vector<CertificatePolicyId> ids) { in CertificatePolicySet() 61 ids = new Vector<CertificatePolicyId>(); in CertificatePolicySet()
|
D | ExtendedKeyUsageExtension.java | 35 import java.util.Vector; 129 private Vector<ObjectIdentifier> keyUsages; 154 public ExtendedKeyUsageExtension(Vector<ObjectIdentifier> keyUsages) in ExtendedKeyUsageExtension() 166 public ExtendedKeyUsageExtension(Boolean critical, Vector<ObjectIdentifier> keyUsages) in ExtendedKeyUsageExtension() 192 keyUsages = new Vector<ObjectIdentifier>(); in ExtendedKeyUsageExtension() 247 if (!(obj instanceof Vector)) { in set() 250 this.keyUsages = (Vector<ObjectIdentifier>)obj; in set() 262 public Vector<ObjectIdentifier> get(String name) throws IOException { in get()
|
D | AttributeNameEnumeration.java | 28 import java.util.Vector; 39 public class AttributeNameEnumeration extends Vector<String> {
|
/libcore/luni/src/test/java/libcore/sun/invoke/util/ |
D | VerifyAccessTest.java | 27 import java.util.Vector; 62 assertTrue(VerifyAccess.isSamePackage(Vector.class, List.class)); in testIsSamePackage() 64 assertTrue(VerifyAccess.isSamePackage(Vector.class, Locale.Builder.class)); in testIsSamePackage() 66 assertFalse(VerifyAccess.isSamePackage(Vector.class, String.class)); in testIsSamePackage()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Vector.java | 31 public class Vector<E> extends java.util.AbstractList<E> class 37 public Vector(int initialCapacity, int capacityIncrement) { in Vector() method in Vector 41 public Vector(int initialCapacity) { in Vector() method in Vector 45 public Vector() { in Vector() method in Vector 49 public Vector(java.util.Collection<? extends E> c) { in Vector() method in Vector 356 java.util.Vector<E> list, in VectorSpliterator() 396 private final java.util.Vector<E> list;
|
/libcore/ojluni/src/main/java/java/io/ |
D | SequenceInputStream.java | 30 import java.util.Vector; 88 Vector<InputStream> v = new Vector<>(2); in SequenceInputStream()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldSequenceInputStreamTest.java | 21 import java.util.Vector; 159 Vector<InputStream> inputs = new Vector<>(); in test_readStackOVerflow() 174 Vector<InputStream> inputs = new Vector<>(); in createSequenceInputStreamWithGaps()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | CollectionsBenchmark.java | 25 import java.util.Vector; 56 List<Integer> input = buildList(arrayListLength, Vector.class); in timeSort_vector() 63 List<Integer> input = buildList(arrayListLength, Vector.class); in timeSortWithComparator_vector()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/ |
D | SoftReferenceTest.java | 22 import java.util.Vector; 107 Vector<StringBuffer> v = new Vector<StringBuffer>(); in test_get_SoftReference()
|