/libcore/ojluni/src/test/java/util/ArrayList/ |
D | EnsureCapacity.java | 60 Vector<String> vector = new Vector<String>(); in testVector() local 61 vector.add("abc"); in testVector() 63 int cap = vector.capacity(); in testVector() 64 vector.ensureCapacity(Integer.MIN_VALUE); in testVector() 65 checkCapacity(cap, vector.capacity()); in testVector()
|
/libcore/ojluni/src/test/java/util/Vector/ |
D | SerializationDeadlock.java | 103 private final Vector vector; field in SerializationDeadlock.TestThread 106 public TestThread(final Vector vector, final CyclicBarrier testEnd) { in TestThread() argument 107 this.vector = vector; in TestThread() 117 oos.writeObject(vector); in run()
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
D | mySSLSession.java | 175 Vector vector = new Vector(); in getValueNames() local 178 vector.addElement(enumeration.nextElement()); in getValueNames() 180 String as[] = new String[vector.size()]; in getValueNames() 181 vector.copyInto(as); in getValueNames()
|
/libcore/ojluni/src/main/native/ |
D | linux_close.cpp | 136 int NET_ReadV(int s, const struct iovec * vector, int count) { in NET_ReadV() argument 137 BLOCKING_IO_RETURN_INT( s, readv(s, vector, count) ); in NET_ReadV() 151 int NET_WriteV(int s, const struct iovec * vector, int count) { in NET_WriteV() argument 152 BLOCKING_IO_RETURN_INT( s, writev(s, vector, count) ); in NET_WriteV()
|
D | net_util_md.h | 48 extern int NET_ReadV(int s, const struct iovec * vector, int count); 52 extern int NET_Writev(int s, const struct iovec * vector, int count);
|
D | UNIXProcess_md.c | 554 initVectorFromBlock(const char**vector, const char* block, int count) in initVectorFromBlock() argument 560 vector[i] = p; in initVectorFromBlock() 563 vector[count] = NULL; in initVectorFromBlock()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | VectorTest.java | 785 Vector vector = new Vector(); in test_lastElement() local 787 vector.lastElement(); in test_lastElement() 1406 Vector<Integer> vector = new Vector<Integer>(); in test_forEach() local 1407 vector.add(0); in test_forEach() 1408 vector.add(1); in test_forEach() 1409 vector.add(2); in test_forEach() 1412 vector.forEach ( k -> output.add(k) ); in test_forEach() 1414 assertEquals(vector, output); in test_forEach() 1419 Vector<Integer> vector = new Vector<>(); in test_forEach_NPE() local 1421 vector.forEach(null); in test_forEach_NPE() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest1.java | 1102 Vector<String> vector = new Vector<String>(1); in test_18_25_writeObject() local 1103 vector.add(FOO); in test_18_25_writeObject() 1104 objToSave = vector; in test_18_25_writeObject()
|
/libcore/luni/src/main/java/libcore/io/ |
D | ForwardingOs.java | 485 …core(long address, long byteCount, byte[] vector) throws ErrnoException { os.mincore(address, byte… in mincore() argument
|
D | Os.java | 423 public void mincore(long address, long byteCount, byte[] vector) throws ErrnoException; in mincore() argument
|
D | Linux.java | 126 public native void mincore(long address, long byteCount, byte[] vector) throws ErrnoException; in mincore() argument
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 454 …(long address, long byteCount, byte[] vector) throws ErrnoException { Libcore.os.mincore(address, … in mincore() argument
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 349 std::vector<iovec> mIoVec; 350 std::vector<ScopedT*> mScopedBuffers; 1627 std::vector<char> buf(valueLength); in Linux_getxattr() 1922 ScopedByteArrayRW vector(env, javaVector); in Linux_mincore() local 1923 if (vector.get() == NULL) { in Linux_mincore() 1927 unsigned char* vec = reinterpret_cast<unsigned char*>(vector.get()); in Linux_mincore() 2032 std::vector<AsynchronousCloseMonitor*> monitors; in Linux_poll()
|