Home
last modified time | relevance | path

Searched refs:vector (Results 1 – 13 of 13) 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.cpp128 int NET_ReadV(int s, const struct iovec * vector, int count) { in NET_ReadV() argument
129 BLOCKING_IO_RETURN_INT( s, readv(s, vector, count) ); in NET_ReadV()
143 int NET_WriteV(int s, const struct iovec * vector, int count) { in NET_WriteV() argument
144 BLOCKING_IO_RETURN_INT( s, writev(s, vector, count) ); in NET_WriteV()
Dnet_util_md.h45 extern int NET_ReadV(int s, const struct iovec * vector, int count);
49 extern int NET_Writev(int s, const struct iovec * vector, int count);
DUNIXProcess_md.c470 initVectorFromBlock(const char**vector, const char* block, int count) in initVectorFromBlock() argument
476 vector[i] = p; in initVectorFromBlock()
479 vector[count] = NULL; in initVectorFromBlock()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DVectorTest.java784 Vector vector = new Vector(); in test_lastElement() local
786 vector.lastElement(); in test_lastElement()
1396 Vector<Integer> vector = new Vector<Integer>(); in test_forEach() local
1397 vector.add(0); in test_forEach()
1398 vector.add(1); in test_forEach()
1399 vector.add(2); in test_forEach()
1402 vector.forEach ( k -> output.add(k) ); in test_forEach()
1404 assertEquals(vector, output); in test_forEach()
1409 Vector<Integer> vector = new Vector<>(); in test_forEach_NPE() local
1411 vector.forEach(null); in test_forEach_NPE()
[all …]
/libcore/luni/src/main/native/
Dlibcore_icu_NativeConverter.cpp65 std::vector<std::string>& result) { in collectStandardNames()
580 std::vector<std::string> aliases; in NativeConverter_charsetForName()
Dlibcore_io_Posix.cpp326 std::vector<iovec> mIoVec;
327 std::vector<ScopedT*> mScopedBuffers;
1283 ScopedByteArrayRW vector(env, javaVector); in Posix_mincore() local
1284 if (vector.get() == NULL) { in Posix_mincore()
1288 unsigned char* vec = reinterpret_cast<unsigned char*>(vector.get()); in Posix_mincore()
1391 std::vector<AsynchronousCloseMonitor*> monitors; in Posix_poll()
/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java111 …core(long address, long byteCount, byte[] vector) throws ErrnoException { os.mincore(address, byte… in mincore() argument
DOs.java103 public void mincore(long address, long byteCount, byte[] vector) throws ErrnoException; in mincore() argument
DPosix.java105 public native void mincore(long address, long byteCount, byte[] vector) throws ErrnoException; in mincore() argument
/libcore/luni/src/main/java/android/system/
DOs.java277 …(long address, long byteCount, byte[] vector) throws ErrnoException { Libcore.os.mincore(address, … in mincore() argument
/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/test/java/libcore/java/security/
DSignatureTest.java2792 final byte[] vector = new byte[oneTooBig]; in testVerify_NONEwithRSA_Key_DataTooLarge_Failure()
2794 vector[i] = (byte) Vector1Data[i % Vector1Data.length]; in testVerify_NONEwithRSA_Key_DataTooLarge_Failure()
2796 sig.update(vector); in testVerify_NONEwithRSA_Key_DataTooLarge_Failure()