Searched defs:rem (Results 1 - 18 of 18) sorted by relevance

/openjdk7/jdk/src/share/native/java/util/zip/zlib-1.2.3/
H A Dzadler32.c159 unsigned rem; local
162 rem = (unsigned)(len2 % BASE);
164 sum2 = rem * sum1;
167 sum2 += ((adler1 >> 16) & 0xffff) + ((adler2 >> 16) & 0xffff) + BASE - rem;
/openjdk7/jdk/src/share/classes/sun/misc/
H A DBASE64Decoder.java105 protected void decodeAtom(PushbackInputStream inStream, OutputStream outStream, int rem) argument
111 if (rem < 2) {
122 i = readFully(inStream, decode_buffer, 1, rem-1);
127 if (rem > 3 && decode_buffer[3] == '=') {
128 rem = 3;
130 if (rem > 2 && decode_buffer[2] == '=') {
131 rem = 2;
133 switch (rem) {
146 switch (rem) {
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DSocketDispatcher.c93 jint rem = MAX_BUFFER_SIZE; local
103 if (iov_len > rem)
104 iov_len = rem;
107 rem -= iov_len;
108 if (rem == 0) {
200 jint rem = MAX_BUFFER_SIZE; local
210 if (iov_len > rem)
211 iov_len = rem;
214 rem -= iov_len;
215 if (rem
[all...]
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DIOVecWrapper.java110 void setBuffer(int i, ByteBuffer buf, int pos, int rem) { argument
113 this.remaining[i] = rem;
H A DDatagramChannelImpl.java401 int rem = (pos <= lim ? lim - pos : 0);
402 if (dst instanceof DirectBuffer && rem > 0)
403 return receiveIntoNativeBuffer(fd, dst, rem, pos);
408 int newSize = Math.max(rem, 1);
413 if (n > 0 && rem > 0)
422 int rem, int pos)
425 int n = receive0(fd, ((DirectBuffer)bb).address() + pos, rem,
500 int rem = (pos <= lim ? lim - pos : 0);
502 ByteBuffer bb = Util.getTemporaryDirectBuffer(rem);
527 int rem
421 receiveIntoNativeBuffer(FileDescriptor fd, ByteBuffer bb, int rem, int pos) argument
[all...]
/openjdk7/hotspot/src/share/vm/interpreter/
H A DtemplateTable.hpp99 enum Operation { add, sub, mul, div, rem, _and, _or, _xor, shl, shr, ushr }; enumerator in enum:TemplateTable::Operation
/openjdk7/jdk/src/share/classes/java/util/zip/
H A DZipFile.java656 protected long rem; // number of remaining bytes within entry field in class:ZipFile.ZipFileInputStream
661 rem = getEntryCSize(jzentry);
667 if (rem == 0) {
673 if (len > rem) {
674 len = (int) rem;
684 rem -= len;
686 if (rem == 0) {
702 if (n > rem)
703 n = rem;
705 rem
[all...]
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DWindowsAsynchronousFileChannelImpl.java381 private final int pos, rem; // buffer position/remaining field in class:WindowsAsynchronousFileChannelImpl.ReadTask
390 int rem,
396 this.rem = rem;
438 buf = Util.getTemporaryDirectBuffer(rem);
450 n = readFile(handle, address, rem, position, overlapped);
542 int rem = (pos <= lim ? lim - pos : 0);
545 if (rem == 0) {
555 ReadTask readTask = new ReadTask<A>(dst, pos, rem, position, result);
572 private final int pos, rem; // buffe field in class:WindowsAsynchronousFileChannelImpl.WriteTask
388 ReadTask(ByteBuffer dst, int pos, int rem, long position, PendingFuture<Integer,A> result) argument
579 WriteTask(ByteBuffer src, int pos, int rem, long position, PendingFuture<Integer,A> result) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/nio/ch/
H A DSctpChannelImpl.java823 int rem = (pos <= lim ? lim - pos : 0);
824 if (dst instanceof DirectBuffer && rem > 0)
825 return receiveIntoNativeBuffer(fd, resultContainer, dst, rem, pos, peek);
828 int newSize = Math.max(rem, 1);
833 if (n > 0 && rem > 0)
844 int rem,
849 int n = receive0(fd, resultContainer, ((DirectBuffer)bb).address() + pos, rem, peek);
995 int rem = (pos <= lim ? lim - pos : 0);
996 ByteBuffer bb = Util.getTemporaryDirectBuffer(rem);
1033 int rem
841 receiveIntoNativeBuffer(int fd, SctpResultContainer resultContainer, ByteBuffer bb, int rem, int pos, boolean peek) argument
[all...]
H A DSctpMultiChannelImpl.java550 int rem = (pos <= lim ? lim - pos : 0);
551 if (dst instanceof DirectBuffer && rem > 0)
552 return receiveIntoNativeBuffer(fd, resultContainer, dst, rem, pos);
555 int newSize = Math.max(rem, 1);
560 if (n > 0 && rem > 0)
571 int rem,
574 int n = receive0(fd, resultContainer, ((DirectBuffer)bb).address() + pos, rem);
855 int rem = (pos <= lim ? lim - pos : 0);
856 ByteBuffer bb = Util.getTemporaryDirectBuffer(rem);
893 int rem
568 receiveIntoNativeBuffer(int fd, SctpResultContainer resultContainer, ByteBuffer bb, int rem, int pos) argument
[all...]
/openjdk7/hotspot/agent/src/os/bsd/
H A Dps_core.c461 ssize_t len, rem; local
482 rem = mp->memsz % page_size;
483 if (rem > 0) {
484 rem = page_size - rem;
485 len = MIN(resid, rem);
/openjdk7/hotspot/agent/src/os/linux/
H A Dps_core.c461 ssize_t len, rem; local
482 rem = mp->memsz % page_size;
483 if (rem > 0) {
484 rem = page_size - rem;
485 len = MIN(resid, rem);
/openjdk7/jdk/src/solaris/native/sun/awt/
H A DmultiVis.c403 int32_t rem ; local
417 rem = (bytes_per_line*8)%bitmap_unit;
418 if (rem)
419 bytes_per_line += (rem/8 + 1);
/openjdk7/hotspot/src/share/vm/compiler/
H A DcompileBroker.cpp489 oop rem = JNIHandles::resolve(method_handle()); local
490 assert(rem != NULL && rem->is_method(), "must be");
491 methodOop method = (methodOop) rem;
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_DnDDS.cpp1497 unsigned int rem = m_blen - m_off; local
1498 int read = cb > rem ? rem : cb;
1603 unsigned int rem = m_blen - m_off; local
1604 int ovrflow = cb.LowPart >= rem;
1609 ULONG nbytes = pcbRead->LowPart = (ULONG)(ovrflow ? rem : cb.LowPart);
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileSystem.java1463 protected long rem; // number of remaining bytes within entry field in class:ZipFileSystem.EntryInputStream
1470 rem = e.csize;
1476 if (rem == 0) {
1482 if (len > rem) {
1483 len = (int) rem;
1495 rem -= n;
1497 if (rem == 0) {
1512 if (n > rem)
1513 n = rem;
1515 rem
[all...]
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Dmpi.c561 mp_digit rem; local
574 rem = DIGIT(a, 0) & mask;
582 *r = rem;
590 res = s_mp_div_d(&qp, d, &rem);
596 *r = rem;
1276 mp_digit rem; local
1281 if((res = mp_div_d(a, d, NULL, &rem)) != MP_OKAY)
1286 rem = d - DIGIT(a, 0);
1288 rem = DIGIT(a, 0);
1292 *c = rem;
2684 mp_digit rem, rdx = (mp_digit)radix; local
3384 mp_int rem; local
3396 mp_digit rem; local
4207 s_mp_div(mp_int *rem, mp_int *div, mp_int *quot) argument
[all...]
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_LIR.hpp2071 void rem (LIR_Opr left, LIR_Opr right, LIR_Opr res, CodeEmitInfo* info = NULL) { append(new LIR_Op2(lir_rem, left, right, res, info)); } function in class:LIR_List

Completed in 670 milliseconds