Searched refs:rh (Results 1 - 25 of 34) sorted by relevance

12

/openjdk7/jdk/src/share/classes/java/util/concurrent/locks/
H A DReentrantReadWriteLock.java424 HoldCounter rh = cachedHoldCounter;
425 if (rh == null || rh.tid != current.getId())
426 rh = readHolds.get();
427 int count = rh.count;
433 --rh.count;
482 HoldCounter rh = cachedHoldCounter;
483 if (rh == null || rh.tid != current.getId())
484 cachedHoldCounter = rh
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DDefaultFormatter.java398 * Returns true if the operation described by <code>rh</code> will
400 * field of <code>rh</code>.
402 boolean isValidEdit(ReplaceHolder rh) { argument
404 String newString = getReplaceString(rh.offset, rh.length, rh.text);
407 rh.value = stringToValue(newString);
537 * Returns true if the edit described by <code>rh</code> will result
540 boolean canReplace(ReplaceHolder rh) { argument
541 return isValidEdit(rh);
565 replace(ReplaceHolder rh) argument
[all...]
H A DMaskFormatter.java672 * Returns true if the operation described by <code>rh</code> will
674 * field of <code>rh</code>.
678 boolean isValidEdit(ReplaceHolder rh) { argument
680 String newString = getReplaceString(rh.offset, rh.length, rh.text);
683 rh.value = stringToValue(newString, false);
715 boolean canReplace(ReplaceHolder rh) { argument
721 String text = rh.text;
724 if (tl == 0 && rh
[all...]
H A DInternationalFormatter.java625 * {@code rh.length} is corrected as to preserve trailing literals.
631 boolean canReplace(ReplaceHolder rh) { argument
633 String text = rh.text;
637 if (tl == 0 && rh.length == 1 && c.getSelectionStart() != rh.offset) {
639 rh.offset = getNextNonliteralIndex(rh.offset, -1);
641 int pos = rh.offset;
645 for (int i = 0; i < rh.length; i++) {
655 rh
688 replace(ReplaceHolder rh) argument
[all...]
/openjdk7/jdk/src/share/sample/nio/server/
H A DAcceptHandler.java82 RequestHandler rh = new RequestHandler(cio);
83 dsp.register(cio.getSocketChannel(), SelectionKey.OP_READ, rh);
H A DAcceptor.java76 RequestHandler rh = new RequestHandler(cio);
78 d.register(cio.getSocketChannel(), SelectionKey.OP_READ, rh);
/openjdk7/hotspot/src/share/vm/code/
H A DrelocInfo.hpp930 RelocationHolder rh = newHolder(); local
931 new(rh) oop_Relocation(oop_index, offset);
932 return rh;
938 RelocationHolder rh = newHolder(); local
939 new(rh) oop_Relocation(oop_index, offset);
940 return rh;
983 RelocationHolder rh = newHolder(); local
984 new(rh) virtual_call_Relocation(first_oop, oop_limit);
985 return rh;
1030 RelocationHolder rh local
1052 RelocationHolder rh = newHolder(); local
1073 RelocationHolder rh = newHolder(); local
1103 RelocationHolder rh = newHolder(); local
1121 RelocationHolder rh = newHolder(); local
1129 RelocationHolder rh = newHolder(); local
1170 RelocationHolder rh = newHolder(); local
1177 RelocationHolder rh = newHolder(); local
1216 RelocationHolder rh = newHolder(); local
1276 RelocationHolder rh = newHolder(); local
[all...]
H A DcompressedStream.cpp67 jint rh = read_int(); local
69 jint h = reverse_int(rh);
108 juint rh = reverse_int(h); local
110 assert(h == reverse_int(rh), "can re-read same bits");
112 write_int(rh);
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/code/
H A DCompressedReadStream.java74 int rh = readInt();
76 int h = reverseInt(rh);
/openjdk7/jdk/src/windows/classes/sun/nio/ch/
H A DPendingIoCache.java152 final Iocp.ResultHandler rh = (Iocp.ResultHandler)result.getContext();
155 rh.failed(-1, new AsynchronousCloseException());
H A DIocp.java394 ResultHandler rh = (ResultHandler)result.getContext();
397 rh.completed(ioResult.bytesTransferred(), canInvokeDirect);
399 rh.failed(error, translateErrorToIOException(error));
/openjdk7/jdk/src/share/demo/java2d/J2DBench/src/j2dbench/report/
H A DHTMLSeriesReporter.java268 ResultHolder rh = (ResultHolder)en.nextElement();
269 String name = rh.getName();
277 list.add(rh);
302 ResultHolder rh = (ResultHolder)riter.next();
303 Hashtable options = rh.getOptions();
335 vlist.add(rh);
337 double score = rh.getScore();
383 ResultSetHolder rh = ((ResultHolder)rhs).rsh;
393 if (results[k] == rh) {
H A DJ2DAnalyzer.java186 ResultHolder rh = base.getResultByKey(key);
187 double score = rh.getScore();
204 System.out.println(rh.getShortKey()+":");
368 ResultHolder rh = new ResultHolder(srs);
369 rh.setName(name);
370 rh.setReps(numreps);
371 rh.setUnits(numunits);
372 readResult(in, rh);
373 srs.addResult(rh);
383 public static void readResult(BufferedReader in, ResultHolder rh) argument
570 addResult(ResultHolder rh) argument
[all...]
H A DIIOComparator.java90 ResultHolder rh = base.getResultByKey(key);
91 double score = rh.getScore();
92 Hashtable opts = rh.getOptions();
100 String name = rh.getName();
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DPixelToParallelogramConverter.java294 double rw, double rh)
307 dx2 *= rh;
308 dy2 *= rh;
322 outrenderer.fillParallelogram(sg2d, rx, ry, rx+rw, ry+rh,
328 double rw, double rh,
347 dx2 *= rh;
348 dy2 *= rh;
370 rx, ry, rx+rw, ry+rh,
375 rx, ry, rx+rw, ry+rh,
292 fillRectangle(SunGraphics2D sg2d, double rx, double ry, double rw, double rh) argument
326 drawRectangle(SunGraphics2D sg2d, double rx, double ry, double rw, double rh, double lw) argument
/openjdk7/jdk/src/share/classes/java/awt/
H A DRenderingHints.java1271 RenderingHints rh;
1273 rh = (RenderingHints) super.clone();
1275 rh.hintmap = (HashMap) hintmap.clone();
1282 return rh;
H A DRectangle.java787 int rh = r.height;
788 if (rw <= 0 || rh <= 0 || tw <= 0 || th <= 0) {
796 rh += ry;
801 (rh < ry || rh > ty) &&
/openjdk7/corba/src/share/classes/com/sun/org/omg/SendingContext/
H A D_CodeBaseImplBase.java57 org.omg.CORBA.portable.ResponseHandler rh)
59 org.omg.CORBA.portable.OutputStream out = rh.createReply();
55 _invoke(String method, org.omg.CORBA.portable.InputStream in, org.omg.CORBA.portable.ResponseHandler rh) argument
/openjdk7/jdk/test/java/net/Socket/reset/
H A DTest.java218 InetAddress rh = InetAddress.getByName(args[0]);
220 sa = new InetSocketAddress(rh, port);
/openjdk7/jdk/src/share/native/sun/security/ec/impl/
H A Dmp_gf2m-priv.h75 * Output in two mp_digits rh, rl.
77 void s_bmul_1x1(mp_digit *rh, mp_digit *rl, const mp_digit a, const mp_digit b);
H A Dmp_gf2m.c52 * Output in two mp_digits rh, rl.
56 s_bmul_1x1(mp_digit *rh, mp_digit *rl, const mp_digit a, const mp_digit b) argument
84 *rh = h; *rl = l;
88 s_bmul_1x1(mp_digit *rh, mp_digit *rl, const mp_digit a, const mp_digit b) argument
124 *rh = h; *rl = l;
/openjdk7/jdk/test/java/awt/print/PrinterJob/ImagePrinting/
H A DClippedImages.java260 int rh = dy2-dy1;
261 if (rh < 0) rh = -rh;
264 g.drawRect(rx-1 ,ry-1, rw+1, rh+1);
/openjdk7/hotspot/src/share/vm/runtime/
H A Dreflection.cpp816 Handle rh = java_lang_reflect_Field::create(CHECK_NULL); local
818 java_lang_reflect_Field::set_clazz(rh(), Klass::cast(fd->field_holder())->java_mirror());
819 java_lang_reflect_Field::set_slot(rh(), fd->index());
820 java_lang_reflect_Field::set_name(rh(), name());
821 java_lang_reflect_Field::set_type(rh(), type());
823 java_lang_reflect_Field::set_modifiers(rh(), fd->access_flags().as_int() & JVM_RECOGNIZED_FIELD_MODIFIERS);
824 java_lang_reflect_Field::set_override(rh(), false);
829 java_lang_reflect_Field::set_signature(rh(), sig());
832 java_lang_reflect_Field::set_annotations(rh(), fd->annotations());
834 return rh();
[all...]
/openjdk7/jdk/test/java/nio/channels/Selector/
H A DSelectorTest.java162 RequestHandler rh = new RequestHandler(pollSelector, log);
163 Thread requestThread = new Thread(rh);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DJTable.java4476 int rh = getRowHeight() ;
4477 Rectangle drawRect = new Rectangle(0, start * rh,
4479 (getRowCount()-start) * rh);
4515 int rh = getRowHeight();
4516 Rectangle drawRect = new Rectangle(0, start * rh,
4518 (previousRowCount - start) * rh);
4890 int rh = getRowHeight();
4891 return (rh > 0) ? Math.max(rh, (visibleRect.height / rh) * r
[all...]

Completed in 152 milliseconds

12