Searched defs:cb (Results 1 - 25 of 95) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/java/lang/
H A DReadable.java46 * @param cb the buffer to read characters into
50 * @throws NullPointerException if cb is null
51 * @throws java.nio.ReadOnlyBufferException if cb is a read only buffer
53 public int read(java.nio.CharBuffer cb) throws IOException; argument
/openjdk7/jdk/test/javax/swing/JComboBox/4743225/
H A Dbug4743225.java47 private static JComboBox cb; field in class:bug4743225
53 cb = new JComboBox(new Object[] {"one", "two", "three"});
54 cb.addPopupMenuListener(new PopupMenuListener() {
56 cb.addItem("Test");
65 add(cb);
70 AccessibleContext c = cb.getAccessibleContext();
93 Point point = cb.getLocationOnScreen();
/openjdk7/jdk/src/share/native/common/
H A Dverify_stub.c42 VerifyClass(JNIEnv *env, jclass cb, char *buffer, jint len);
45 VerifyClassForMajorVersion(JNIEnv *env, jclass cb, char *buffer, jint len,
49 VerifyClassCodes(JNIEnv *env, jclass cb, char *buffer, jint len) argument
51 return VerifyClass(env, cb, buffer, len);
55 VerifyClassCodesForMajorVersion(JNIEnv *env, jclass cb, char *buffer, argument
58 return VerifyClassForMajorVersion(env, cb, buffer, len, major_version);
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/wrapper/
H A DCK_AES_CTR_PARAMS.java35 * CK_BYTE cb[16];
45 private final byte cb[]; field in class:CK_AES_CTR_PARAMS
47 public CK_AES_CTR_PARAMS(byte[] cb) { argument
49 this.cb = cb.clone();
61 buffer.append("cb: ");
62 buffer.append(Functions.toHexString(cb));
/openjdk7/hotspot/src/share/vm/memory/
H A Diterator.cpp61 void MarkingCodeBlobClosure::do_code_blob(CodeBlob* cb) { argument
62 nmethod* nm = cb->as_nmethod_or_null();
76 void CodeBlobToOopClosure::do_code_blob(CodeBlob* cb) { argument
78 nmethod* nm = cb->as_nmethod_or_null();
82 //assert(!(cb->is_nmethod() && ((nmethod*)cb)->test_oops_do_mark()), "found marked nmethod during mark-free phase");
87 MarkingCodeBlobClosure::do_code_blob(cb);
/openjdk7/jdk/test/java/nio/charset/coders/
H A DUtil.java46 public static int cmp(char[] ca, char[] cb) { argument
47 int n = Math.min(ca.length, cb.length);
49 if ((i >= ca.length) || (i >= cb.length))
51 if (ca[i] != cb[i])
54 if (ca.length != cb.length)
/openjdk7/jdk/test/java/util/Formattable/
H A DStockName.java84 CharBuffer cb = CharBuffer.allocate(128);
85 Formatter fmt = new Formatter(cb);
88 test(cb, "Huge Fruit, Inc.");
91 test(cb, "HUGE - Huge Fruit, Inc.");
94 test(cb, "HUGE");
97 test(cb, "HUGE ");
100 test(cb, "Huge Fruit,*");
104 test(cb, " Fruit Titanesque, Inc.");
107 private static void test(CharBuffer cb, String exp) { argument
108 cb
[all...]
/openjdk7/jdk/test/javax/swing/JComboBox/4199622/
H A Dbug4199622.java46 static JComboBox<String> cb = null; field in class:bug4199622
58 cb = new JComboBox<>();
60 cb.addItem(String.valueOf(i + 1));
62 cb.addActionListener(this);
63 add(cb);
71 if (UIManager.getBoolean("ComboBox.noActionOnKeyNavigation") && cb.isPopupVisible()) {
101 cb.hidePopup();
102 cb.setEditable(true);
103 cb.updateUI();
138 cb
[all...]
/openjdk7/jdk/test/javax/swing/JComboBox/6607130/
H A Dbug6607130.java42 private JComboBox cb; field in class:bug6607130
72 cb = new JComboBox(new String[]{"one", "two", "three"});
73 table.getColumnModel().getColumn(0).setCellEditor(new DefaultCellEditor(cb));
123 if (!cb.isShowing()) {
/openjdk7/jdk/src/share/classes/javax/swing/text/html/parser/
H A DParserDelegator.java100 public void parse(Reader r, HTMLEditorKit.ParserCallback cb, boolean ignoreCharSet) throws IOException { argument
101 new DocumentParser(getDefaultDTD()).parse(r, cb, ignoreCharSet);
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalComboBoxButton.java59 public final void setComboBox( JComboBox cb ) { comboBox = cb;}
77 public MetalComboBoxButton( JComboBox cb, Icon i, argument
80 comboBox = cb;
87 public MetalComboBoxButton( JComboBox cb, Icon i, boolean onlyIcon, argument
89 this( cb, i, pane, list );
/openjdk7/jdk/src/share/classes/java/io/
H A DBufferedWriter.java70 private char cb[]; field in class:BufferedWriter
105 cb = new char[sz];
129 out.write(cb, 0, nextChar);
144 cb[nextChar++] = (char) c;
195 System.arraycopy(cbuf, b, cb, nextChar, d);
226 s.getChars(b, b + d, cb, nextChar);
268 cb = null;
H A DBufferedReader.java67 private char cb[]; field in class:BufferedReader
98 cb = new char[sz];
135 if (readAheadLimit <= cb.length) {
137 System.arraycopy(cb, markedChar, cb, 0, delta);
143 System.arraycopy(cb, markedChar, ncb, 0, delta);
144 cb = ncb;
154 n = in.read(cb, dst, cb.length - dst);
181 if (cb[nextCha
[all...]
H A DConsole.java404 private char[] cb; field in class:Console.LineReader
409 cb = new char[1024];
435 n = in.read(cb, 0, cb.length);
440 if (n < cb.length &&
441 cb[n-1] != '\n' && cb[n-1] != '\r') {
455 if (leftoverLF && cbuf == rcb && cb[nextChar] == '\n') {
464 c = cbuf[off++] = cb[nextChar];
465 cb[nextCha
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/algorithm/
H A DBuiltInEncodingAlgorithm.java49 public void matchWhiteSpaceDelimnatedWords(CharBuffer cb, WordListener wl) { argument
50 Matcher m = SPACE_PATTERN.matcher(cb);
60 if (i != cb.length())
61 wl.word(i, cb.length());
/openjdk7/jdk/src/share/classes/sun/net/httpserver/
H A DHttpContextImpl.java58 HttpContextImpl (String protocol, String path, HttpHandler cb, ServerImpl server) { argument
67 this.handler = cb;
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWCheckboxPeer.java142 private final JCheckBox cb; field in class:LWCheckboxPeer.CheckboxDelegate
147 cb = new JCheckBox() {
162 add(cb);
169 cb.setEnabled(enabled);
176 cb.setOpaque(isOpaque);
184 cb.setBounds(0, 0, w, h);
196 cb.setVisible(!showRadioButton);
201 return cb.isVisible() ? cb : rb;
205 cb
[all...]
/openjdk7/hotspot/src/share/vm/prims/
H A DjvmtiCodeBlobEvents.cpp65 static void do_blob(CodeBlob* cb);
116 void CodeBlobCollector::do_blob(CodeBlob* cb) { argument
119 if (cb->is_nmethod()) {
126 address addr = cb->code_begin();
135 JvmtiCodeBlobDesc* scb = new JvmtiCodeBlobDesc(cb->name(), cb->code_begin(), cb->code_end());
/openjdk7/hotspot/src/share/vm/runtime/
H A DinterfaceSupport.cpp228 CodeBlob* cb = sfs.current()->cb(); local
229 if (cb != NULL && cb->oop_maps() ) {
231 OopMap* map = cb->oop_map_for_return_address(sfs.current()->pc());
255 CodeBlob* cb = sfs.current()->cb(); local
259 if (cb != NULL && !(cb->is_runtime_stub() || cb
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DFieldDocImpl.java124 static String constantValueExpression(Object cb) { argument
125 if (cb == null) return null;
126 if (cb instanceof Character) return sourceForm(((Character)cb).charValue());
127 if (cb instanceof Byte) return sourceForm(((Byte)cb).byteValue());
128 if (cb instanceof String) return sourceForm((String)cb);
129 if (cb instanceof Double) return sourceForm(((Double)cb)
[all...]
/openjdk7/jdk/test/sun/nio/cs/
H A DFindOneCharEncoderBugs.java70 private static ByteBuffer convert(Charset cs, char c, CharBuffer cb) throws Throwable { argument
71 cb.clear(); cb.put(c); cb.flip();
75 .encode(cb);
89 private static void testChar(byte[] expected, CharBuffer cb, Charset cs, char c) { argument
91 final ByteBuffer bb = convert(cs, c, cb);
94 cs, cb.isDirect(), (int)c,
98 cs, cb.isDirect(), (int)c);
/openjdk7/jdk/src/share/classes/sun/net/www/protocol/jar/
H A DURLJarFile.java246 public static void setCallBack(URLJarFileCallBack cb) argument
248 callback = cb;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/compiler/
H A DOopMapSet.java165 public static void oopsDo(Frame fr, CodeBlob cb, RegisterMap regMap, AddressVisitor oopVisitor, boolean debugging) { argument
166 allDo(fr, cb, regMap, new MyVisitor(oopVisitor), debugging);
171 public static void allDo(Frame fr, CodeBlob cb, RegisterMap regMap, OopMapVisitor visitor, boolean debugging) { argument
174 Assert.that(tmpCB != null && cb.equals(tmpCB), "wrong codeblob passed in");
177 OopMapSet maps = cb.getOopMaps();
178 OopMap map = cb.getOopMapForReturnAddress(fr.getPC(), debugging);
228 public static void updateRegisterMap(Frame fr, CodeBlob cb, RegisterMap regMap, boolean debugging) { argument
235 OopMapSet maps = cb.getOopMaps();
242 OopMapSet maps = cb.getOopMaps();
249 regMap.setIncludeArgumentOops(cb
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/ia64/
H A DIA64Frame.java129 public Frame sender(RegisterMap regMap, CodeBlob cb) { argument
167 if(cb == null) {
168 cb = VM.getVM().getCodeCache().findBlob(getPC());
171 Assert.that(cb.equals(VM.getVM().getCodeCache().findBlob(getPC())), "Must be the same");
175 if (cb != null) {
176 return senderForCompiledFrame(map, cb);
220 private Frame senderForDeoptimizedFrame(IA64RegisterMap map, CodeBlob cb) { argument
225 private Frame senderForCompiledFrame(IA64RegisterMap map, CodeBlob cb) { argument
245 Assert.that(cb.getFrameSize() >= 0, "Compiled by Compiler1: do not use");
247 sender_sp = getSP().addOffsetTo(cb
[all...]
/openjdk7/jdk/src/share/classes/org/ietf/jgss/
H A DGSSContext.java1121 * @param cb the channel bindings to use.
1127 public void setChannelBinding(ChannelBinding cb) throws GSSException; argument

Completed in 218 milliseconds

1234