Searched defs:off (Results 426 - 450 of 457) sorted by relevance

<<111213141516171819

/openjdk7/jdk/src/share/classes/java/io/
H A DObjectInputStream.java848 * @param off the start offset of the data
855 public int read(byte[] buf, int off, int len) throws IOException { argument
859 int endoff = off + len;
860 if (off < 0 || len < 0 || endoff > buf.length || endoff < 0) {
863 return bin.read(buf, off, len, false);
1020 * @param off the start offset of the data
1025 public void readFully(byte[] buf, int off, int len) throws IOException { argument
1026 int endoff = off + len;
1027 if (off < 0 || len < 0 || endoff > buf.length || endoff < 0) {
1030 bin.readFully(buf, off, le
2305 read(byte[] b, int off, int len) argument
2319 readFully(byte[] b, int off, int len) argument
2622 read(byte[] b, int off, int len) argument
2696 read(byte[] b, int off, int len, boolean copy) argument
2733 readFully(byte[] b, int off, int len) argument
2737 readFully(byte[] b, int off, int len, boolean copy) argument
2878 readBooleans(boolean[] v, int off, int len) argument
2899 readChars(char[] v, int off, int len) argument
2921 readShorts(short[] v, int off, int len) argument
2943 readInts(int[] v, int off, int len) argument
2965 readFloats(float[] v, int off, int len) argument
2985 readLongs(long[] v, int off, int len) argument
3007 readDoubles(double[] v, int off, int len) argument
[all...]
/openjdk7/hotspot/src/share/vm/code/
H A DrelocInfo.hpp283 relocInfo(relocType type, RawBitsToken ignore, int off, int f) argument
284 : _value((type << nontype_width) + (off / (unsigned)offset_unit) + (f << offset_width)) { }
772 void pd_set_data_value (address x, intptr_t off, bool verify_only = false); // a set or mem-ref
773 void pd_verify_data_value (address x, intptr_t off) { pd_set_data_value(x, off, true); } argument
/openjdk7/hotspot/src/share/vm/opto/
H A Dcallnode.hpp275 bool is_monitor_box(uint off) const {
276 assert(is_mon(off), "should be called only for monitor edge");
277 return (0 == bitfield(off - monoff(), 0, logMonitorEdges));
279 bool is_monitor_use(uint off) const { return (is_mon(off)
280 && is_monitor_box(off))
281 || (caller() && caller()->is_monitor_use(off)); }
284 void set_locoff(uint off) { _locoff = off; } argument
285 void set_stkoff(uint off) { _stkof argument
286 set_monoff(uint off) argument
287 set_scloff(uint off) argument
288 set_endoff(uint off) argument
289 set_offsets(uint off) argument
[all...]
H A Dparse2.cpp148 // heroic optimization turned off, then we must really be throwing
400 // Decide if a guard is needed to lop off big ranges at either (or
471 // These are the switch destinations hanging off the jumpnode
910 // These certainly should be closed off as uncommon traps.
1257 intptr_t off = 0; local
1258 Node* obj = AddPNode::Ideal_base_and_offset(adr, gvn, off);
1259 if (obj == NULL || off != oopDesc::klass_offset_in_bytes()) // loading oopDesc::_klass?
2210 // See if we can get some profile data and hand it off to the next block
H A Dsuperword.cpp612 assert(out == prev || prev == NULL, "no branches off of store slice");
2352 jint off = (jint)loff; local
2353 _offset += negate ? -off : loff;
H A Dtype.cpp2834 TypeInstPtr::TypeInstPtr(PTR ptr, ciKlass* k, bool xk, ciObject* o, int off, int instance_id) argument
2835 : TypeOopPtr(InstPtr, ptr, k, xk, o, off, instance_id), _name(k->name()) {
2905 int off = meet_offset(tinst->offset()); local
2928 else if (loaded->ptr() == TypePtr::AnyNull) { return TypeInstPtr::make( ptr, unloaded->klass(), false, NULL, off, instance_id ); }
3077 int off = meet_offset( tinst->offset() ); local
3086 return make( ptr, klass(), klass_is_exact(), NULL, off, instance_id );
3149 return make( ptr, k, xk, o, off, instance_id );
3226 return make( ptr, this_klass, this_xk, o, off, instance_id );
3237 return make( ptr, k, false, NULL, off, instance_id );
3523 int off local
4080 int off = meet_offset(tkls->offset()); local
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DPackage.java827 public void addBytes(byte[] bytes, int off, int len) { argument
832 append.write(bytes, off, len);
/openjdk7/jdk/src/share/classes/com/sun/imageio/plugins/jpeg/
H A DJPEGImageReader.java304 private int readInputData(byte[] buf, int off, int len) throws IOException { argument
307 return iis.read(buf, off, len);
/openjdk7/hotspot/src/share/vm/services/
H A DheapDumper.cpp292 * HPROF_CONTROL_SETTINGS the settings of on/off switches
294 * u4 0x00000001: alloc traces on/off
295 * 0x00000002: cpu sampling on/off
533 void DumpWriter::seek_to_offset(jlong off) { argument
534 assert(off >= 0, "bad offset");
541 jlong n = os::seek_to_file_offset(file_descriptor(), off);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/
H A DEncoder.java2385 public void write(byte b[], int off, int len) throws IOException { argument
2386 if ((off < 0) || (off > b.length) || (len < 0) ||
2387 ((off + len) > b.length) || ((off + len) < 0)) {
2398 System.arraycopy(b, off, _encodingBuffer, _encodingBufferIndex, len);
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_util.c794 int32_t off = 0; local
796 while ((off < (buflen - 20)) && (*ptr != '\0')){
798 *(buf + off++) = 0x5c;
800 *(buf + off++) = *ptr++;
802 sprintf(buf + off, " f.send_msg %ld", protocol);
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_DnDDT.cpp1361 jint WDTCPIStreamWrapper::DoReadBytes(WDTCPIStreamWrapper* istream, jbyteArray array, jint off, jint len) { argument
1362 WDTCPIStreamWrapperReadBytesRec iswrbr = { istream, 0, array, off, len };
1382 iswrbrp->off,
1391 jint WDTCPIStreamWrapper::ReadBytes(jbyteArray buf, jint off, jint len) { argument
1398 switch (res = m_istream->Read((void *)(local + off), (ULONG)len, &actual)) {
1605 JNIEXPORT jint JNICALL Java_sun_awt_windows_WDropTargetContextPeerIStream_ReadBytes(JNIEnv* env, jobject self, jlong istream, jbyteArray buf, jint off, jint len) { argument
1608 return WDTCPIStreamWrapper::DoReadBytes((WDTCPIStreamWrapper*)istream, buf, off, len);
/openjdk7/jdk/src/share/demo/nio/zipfs/src/com/sun/nio/zipfs/
H A DZipFileSystem.java873 int off = path.length - 1;
874 if (off > 0 && path[off] == '/') // isDirectory
875 off--;
876 while (off > 0 && path[off] != '/') { off--; }
877 if (off <= 0)
879 return Arrays.copyOf(path, off + 1);
939 final long readFullyAt(byte[] buf, int off, lon argument
1474 read(byte b[], int off, int len) argument
1550 write(byte b[], int off, int len) argument
[all...]
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dmlib_ImageConv_16ext.c1631 mlib_s32 l, k_off, off, bsize; local
1699 for (off = 0; off < (n - 4); off += 4) {
1721 kh = n - off;
1881 mlib_s32 mn, l, off, kw, bsize, buff_ind; variable
1973 for (off = 0; off < m;) {
1974 FTYPE *buff = buff_l + off;
1976 kw = m - off;
2340 mlib_s32 l, off, kw, bsize, buff_ind; variable
[all...]
H A Dmlib_ImageConv_16nw.c1416 mlib_s32 off, kh; local
1461 for (off = 0; off < (n - 4); off += 4) {
1462 pk = k + off;
1486 pk = k + off;
1493 kh = n - off;
1646 mlib_s32 mn, l, off, kw, bsize, buff_ind; local
1733 for (off = 0; off <
2059 mlib_s32 l, off, kw; local
[all...]
H A Dmlib_ImageConv_8ext.c1631 mlib_s32 l, k_off, off, bsize; local
1699 for (off = 0; off < (n - 4); off += 4) {
1721 kh = n - off;
1881 mlib_s32 mn, l, off, kw, bsize, buff_ind; variable
1973 for (off = 0; off < m;) {
1974 FTYPE *buff = buff_l + off;
1976 kw = m - off;
2340 mlib_s32 l, off, kw, bsize, buff_ind; variable
[all...]
H A Dmlib_ImageConv_8nw.c1417 mlib_s32 off, kh; local
1462 for (off = 0; off < (n - 4); off += 4) {
1463 pk = k + off;
1487 pk = k + off;
1494 kh = n - off;
1647 mlib_s32 mn, l, off, kw, bsize, buff_ind; local
1734 for (off = 0; off <
2060 mlib_s32 l, off, kw; local
[all...]
H A Dmlib_ImageConv_u16ext.c1631 mlib_s32 l, k_off, off, bsize; local
1699 for (off = 0; off < (n - 4); off += 4) {
1721 kh = n - off;
1881 mlib_s32 mn, l, off, kw, bsize, buff_ind; variable
1973 for (off = 0; off < m;) {
1974 FTYPE *buff = buff_l + off;
1976 kw = m - off;
2340 mlib_s32 l, off, kw, bsize, buff_ind; variable
[all...]
H A Dmlib_ImageConv_u16nw.c1416 mlib_s32 off, kh; local
1461 for (off = 0; off < (n - 4); off += 4) {
1462 pk = k + off;
1486 pk = k + off;
1493 kh = n - off;
1646 mlib_s32 mn, l, off, kw, bsize, buff_ind; local
1733 for (off = 0; off <
2059 mlib_s32 l, off, kw; local
[all...]
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/http/
H A DHttpURLConnection.java1203 // strip off the trailing '; '
2423 /* dummy byte buffer for reading off socket prior to closing */
3051 public int read(byte[] b, int off, int len) throws IOException { argument
3053 int newLen = super.read(b, off, len);
3068 outputStream.write(b, off + (newLen-nWrite), nWrite);
3174 public void write (byte[] b, int off, int len) throws IOException { argument
3181 out.write (b, off, len);
3345 public int read(byte[] b, int off, int len) throws IOException { argument
3349 buffer.get(b, off, ret);
3355 return is.read(b, off, le
[all...]
/openjdk7/jdk/src/share/classes/sun/rmi/server/
H A DActivation.java2423 private void write(byte b[], int off, int len) throws IOException { argument
2429 write(b[off + i]);
/openjdk7/hotspot/src/cpu/sparc/vm/
H A DsharedRuntime_sparc.cpp56 // cut the heads off of the registers. We have to do a very extensive
68 // heads chopped off on interrupt). We have to save some %g registers here
129 // Save 64-bit O registers; they will get their heads chopped off on a 'save'.
142 // to Oregs here to avoid interrupts cutting off their heads
346 // refer to 4-byte stack slots. All stack slots are based off of the window
378 // passed in I's, because longs in I's get their heads chopped off at
432 // On 32-bit SPARC put longs always on the stack to keep the pressure off
1184 int off = regs[i].first()->reg2stack(); local
1185 if (off > max_stack_slots) max_stack_slots = off;
1188 int off = regs[i].second()->reg2stack(); local
1219 int off = regs[i].first()->reg2stack(); local
1223 int off = regs[i].second()->reg2stack(); local
3087 int off = local
3105 int off = STACK_BIAS + reg2offset(dst.first()); local
3137 int off = STACK_BIAS + conversion_temp * VMRegImpl::stack_slot_size; local
3167 int off = STACK_BIAS + conversion_temp * VMRegImpl::stack_slot_size; local
[all...]
/openjdk7/hotspot/src/cpu/x86/vm/
H A DtemplateTable_x86_32.cpp1251 __ addptr(rsp, 4 * wordSize); // take off temporaries
1265 __ addptr(rsp, 4 * wordSize); // take off temporaries
1318 __ pop(rax); // pop float thing off
1738 // migrate the locals and monitors off of the stack.
2142 Register off,
2145 assert_different_registers(cache, index, flags, off);
2149 __ movptr(off, Address(cache, index, Address::times_ptr,
2257 const Register off = rbx; local
2262 load_field_cp_cache_entry(obj, cache, index, off, flags, is_static);
2266 const Address lo(obj, off, Addres
2139 load_field_cp_cache_entry(Register obj, Register cache, Register index, Register off, Register flags, bool is_static = false) argument
2466 const Register off = rbx; local
[all...]
H A DtemplateTable_x86_64.cpp1773 // migrate the locals and monitors off of the stack.
2196 Register off,
2199 assert_different_registers(cache, index, flags, off);
2203 __ movptr(off, Address(cache, index, Address::times_ptr,
2318 const Register off = rbx; local
2324 load_field_cp_cache_entry(obj, cache, index, off, flags, is_static);
2331 const Address field(obj, off, Address::times_1);
2521 const Register off = rbx; local
2527 load_field_cp_cache_entry(obj, cache, index, off, flags, is_static);
2539 const Address field(obj, off, Addres
2193 load_field_cp_cache_entry(Register obj, Register cache, Register index, Register off, Register flags, bool is_static = false) argument
[all...]
/openjdk7/hotspot/src/share/vm/prims/
H A Djvm.cpp2899 // When ConvertYieldToSleep is off (default), this matches the classic VM use of yield.
3877 jsize off = 0; variable
3891 jboolean val = (dbuf->byte_at(off) != 0) ? JNI_TRUE : JNI_FALSE;
3894 off++;
3899 o->byte_field_put(field_offset, dbuf->byte_at(off));
3901 off++;
3906 jchar val = ((dbuf->byte_at(off + 0) & 0xFF) << 8)
3907 + ((dbuf->byte_at(off + 1) & 0xFF) << 0);
3910 off += 2;
3915 jshort val = ((dbuf->byte_at(off
4005 jsize off = 0; variable
[all...]

Completed in 770 milliseconds

<<111213141516171819