Home
last modified time | relevance | path

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

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DVectorTest.java36 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 …]
DNoSuchElementExceptionTest.java21 import java.util.Vector;
34 Vector v = new Vector(); in test_Constructor()
52 Vector v = new Vector(); in test_ConstructorLjava_lang_String()
DListResourceBundleTest.java24 import java.util.Vector;
36 Vector<String> result = new Vector<String>(); in test_getKeys()
56 Vector result = new Vector(); in test_handleGetObjectLjava_lang_String()
DPropertyResourceBundleTest.java33 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/luni/src/test/java/tests/security/cert/
DCollectionCertStoreParametersTest.java31 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()
DX509CRL2Test.java35 import java.util.Vector;
85 Vector<String> extensionOids = new Vector<String>(); in test_getExtensionValueLjava_lang_String()
/libcore/support/src/test/java/tests/support/
DSupport_DecimalFormat.java23 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 …]
DSupport_MessageFormat.java27 import java.util.Vector;
85 private Vector<FieldContainer> getMessageVector1() { in getMessageVector1()
86 Vector<FieldContainer> v = new Vector<FieldContainer>(); in getMessageVector1()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DVectorTest.java36 import java.util.Vector;
50 public Class<?> klazz() { return Vector.class; } in suite()
51 public List emptyCollection() { return new Vector(); } in suite()
71 final Vector v = new Vector(); in testSetSize()
/libcore/ojluni/src/main/java/java/security/
DUnresolvedPermissionCollection.java163 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/ojluni/src/main/java/java/text/
DAttributedString.java64 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()
422Vector<Attribute> newRunAttributes[] = (Vector<Attribute>[]) new Vector<?>[ARRAY_SIZE_INCREMENT]; in createRunAttributeDataVectors()
425Vector<Object> newRunAttributeValues[] = (Vector<Object>[]) new Vector<?>[ARRAY_SIZE_INCREMENT]; in createRunAttributeDataVectors()
473Vector<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/luni/src/test/java/libcore/java/util/
DVectorTest.java19 import java.util.Vector;
23 ListDefaultMethodTester.test_replaceAll(new Vector<>()); in test_replaceAll()
27 ListDefaultMethodTester.test_sort(new Vector<>()); in test_sort()
DOldAbstractSetTest.java25 import java.util.Vector;
97 Collection c = new Vector();
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DMyCertPath.java31 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/ojluni/src/main/java/sun/security/x509/
DCertificatePolicySet.java29 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()
DExtendedKeyUsageExtension.java35 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()
DAttributeNameEnumeration.java28 import java.util.Vector;
39 public class AttributeNameEnumeration extends Vector<String> {
/libcore/ojluni/src/main/java/java/util/
DVector.java83 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 …]
DObservable.java64 private Vector<Observer> obs;
69 obs = new Vector<>(); in Observable()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSupport_SimpleDateFormat.java29 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 …]
DSupport_Format.java26 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/io/
DSequenceInputStream.java30 import java.util.Vector;
88 Vector<InputStream> v = new Vector<>(2); in SequenceInputStream()
/libcore/ojluni/annotations/hiddenapi/java/util/
DVector.java31 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/benchmarks/src/benchmarks/regression/
DCollectionsBenchmark.java25 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/luni/src/test/java/libcore/java/io/
DOldSequenceInputStreamTest.java21 import java.util.Vector;
159 Vector<InputStream> inputs = new Vector<>(); in test_readStackOVerflow()
174 Vector<InputStream> inputs = new Vector<>(); in createSequenceInputStreamWithGaps()

123