Searched refs:vec (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | IOUtil.java | 110 IOVecWrapper vec = IOVecWrapper.get(length); in write() local 126 vec.setBuffer(iov_len, buf, pos, rem); in write() 133 vec.setShadow(iov_len, shadow); in write() 139 vec.putBase(iov_len, ((DirectBuffer)buf).address() + pos); in write() 140 vec.putLen(iov_len, rem); in write() 148 long bytesWritten = nd.writev(fd, vec.address, iov_len); in write() 154 ByteBuffer buf = vec.getBuffer(j); in write() 155 int pos = vec.getPosition(j); in write() 156 int rem = vec.getRemaining(j); in write() 162 ByteBuffer shadow = vec.getShadow(j); in write() [all …]
|
/libcore/ojluni/src/main/native/ |
D | MappedByteBuffer.c | 53 unsigned char *vec = (unsigned char *)malloc(numPages * sizeof(char)); in Java_java_nio_MappedByteBuffer_isLoaded0() 55 char *vec = (char *)malloc(numPages * sizeof(char)); in Java_java_nio_MappedByteBuffer_isLoaded0() 58 if (vec == NULL) { in Java_java_nio_MappedByteBuffer_isLoaded0() 63 result = mincore(a, (size_t)len, vec); in Java_java_nio_MappedByteBuffer_isLoaded0() 66 free(vec); in Java_java_nio_MappedByteBuffer_isLoaded0() 71 if (vec[i] == 0) { in Java_java_nio_MappedByteBuffer_isLoaded0() 76 free(vec); in Java_java_nio_MappedByteBuffer_isLoaded0()
|
/libcore/ojluni/src/main/java/java/security/ |
D | UnresolvedPermissionCollection.java | 172 Vector<UnresolvedPermission> vec = new Vector<>(list.size()); in writeObject() local 174 vec.addAll(list); in writeObject() 178 permissions.put(e.getKey(), vec); in writeObject() local 212 Vector<UnresolvedPermission> vec = e.getValue(); in readObject() local 213 List<UnresolvedPermission> list = new ArrayList<>(vec.size()); in readObject() 214 list.addAll(vec); in readObject()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | DerInputStream.java | 464 Vector<DerValue> vec = new Vector<DerValue>(startLen); in readVector() local 470 vec.addElement(value); in readVector() 479 int i, max = vec.size(); in readVector() 483 retval[i] = vec.elementAt(i); in readVector()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | VectorTest.java | 1330 Vector<Object> vec = new Vector<Object>(3); in test_toString() local 1331 vec.add(null); in test_toString() 1332 vec.add(new Object()); in test_toString() 1333 vec.add(vec); in test_toString() 1334 assertNotNull(vec.toString()); in test_toString()
|