Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 11 of 11) sorted by relevance

/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DmySSLSession.java158 Vector vector = new Vector(); in getValueNames() local
161 vector.addElement(enumeration.nextElement()); in getValueNames()
163 String as[] = new String[vector.size()]; in getValueNames()
164 vector.copyInto(as); in getValueNames()
/libcore/ojluni/src/main/native/
Dlinux_close.cpp135 int NET_ReadV(int s, const struct iovec * vector, int count) { in NET_ReadV() argument
136 BLOCKING_IO_RETURN_INT( s, readv(s, vector, count) ); in NET_ReadV()
150 int NET_WriteV(int s, const struct iovec * vector, int count) { in NET_WriteV() argument
151 BLOCKING_IO_RETURN_INT( s, writev(s, vector, count) ); in NET_WriteV()
Dnet_util_md.h52 extern int NET_ReadV(int s, const struct iovec * vector, int count);
56 extern int NET_Writev(int s, const struct iovec * vector, int count);
DUNIXProcess_md.c487 initVectorFromBlock(const char**vector, const char* block, int count) in initVectorFromBlock() argument
493 vector[i] = p; in initVectorFromBlock()
496 vector[count] = NULL; in initVectorFromBlock()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DVectorTest.java785 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/
DSerializationStressTest1.java1102 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/android/system/
DOs.java372 …(long address, long byteCount, byte[] vector) throws ErrnoException { Libcore.os.mincore(address, … in mincore() argument
/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java154 …core(long address, long byteCount, byte[] vector) throws ErrnoException { os.mincore(address, byte… in mincore() argument
DOs.java127 public void mincore(long address, long byteCount, byte[] vector) throws ErrnoException; in mincore() argument
DLinux.java125 public native void mincore(long address, long byteCount, byte[] vector) throws ErrnoException; in mincore() argument
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp349 std::vector<iovec> mIoVec;
350 std::vector<ScopedT*> mScopedBuffers;
1572 std::vector<char> buf(valueLength); in Linux_getxattr()
1871 ScopedByteArrayRW vector(env, javaVector); in Linux_mincore() local
1872 if (vector.get() == NULL) { in Linux_mincore()
1876 unsigned char* vec = reinterpret_cast<unsigned char*>(vector.get()); in Linux_mincore()
1981 std::vector<AsynchronousCloseMonitor*> monitors; in Linux_poll()