Searched refs:cb (Results 1 - 25 of 237) sorted by relevance

12345678910

/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/jdk/src/share/classes/sun/reflect/
H A DMethodAccessorGenerator.java427 ClassFileAssembler cb = new ClassFileAssembler();
430 cb.setMaxLocals(2);
433 cb.setMaxLocals(3);
442 cb.opc_new(targetClass);
443 cb.opc_dup();
452 cb.opc_new(indexForPrimitiveType(returnType));
453 cb.opc_dup();
471 cb.opc_aload_1();
473 cb.opc_ifnonnull(l);
474 cb
[all...]
/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/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/com/sun/security/sasl/ntlm/
H A DNTLMTest.java123 for (Callback cb: callbacks) {
124 if (cb instanceof NameCallback) {
125 NameCallback ncb = (NameCallback)cb;
127 } else if (cb instanceof PasswordCallback) {
128 ((PasswordCallback)cb).setPassword(PASS1);
140 for (Callback cb: callbacks) {
141 if (cb instanceof NameCallback) {
142 name = ((NameCallback)cb).getDefaultName();
143 } else if (cb instanceof RealmCallback) {
144 domain = ((RealmCallback)cb)
[all...]
/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/src/share/sample/nio/server/
H A DReply.java90 CharBuffer cb = CharBuffer.allocate(1024);
93 cb.put("HTTP/1.0 ").put(code.toString()).put(CRLF);
94 cb.put("Server: niossl/0.1").put(CRLF);
95 cb.put("Content-type: ").put(content.type()).put(CRLF);
96 cb.put("Content-length: ")
98 cb.put(CRLF);
101 assert(cb.capacity() < (1 << 16));
102 cb = CharBuffer.allocate(cb.capacity() * 2);
106 cb
[all...]
/openjdk7/jdk/src/share/classes/org/ietf/jgss/
H A DChannelBinding.java178 ChannelBinding cb = (ChannelBinding) obj;
180 if ((initiator != null && cb.initiator == null) ||
181 (initiator == null && cb.initiator != null))
184 if (initiator != null && !initiator.equals(cb.initiator))
187 if ((acceptor != null && cb.acceptor == null) ||
188 (acceptor == null && cb.acceptor != null))
191 if (acceptor != null && !acceptor.equals(cb.acceptor))
194 return Arrays.equals(appData, cb.appData);
/openjdk7/jdk/make/tools/GenerateCharacter/
H A Dcheck_class.c.template41 extern bool_t verify_class_codes(ClassClass *cb);
43 static bool_t verify_constant_pool(ClassClass *cb);
45 static bool_t is_legal_fieldname(ClassClass *cb, char *name, int type);
46 static bool_t is_legal_method_signature(ClassClass *cb, char *name, char *signature);
47 static bool_t is_legal_field_signature(ClassClass *cb, char *name, char *signature);
52 static void CCerror (ClassClass *cb, char *format, ...);
62 VerifyClass(ClassClass *cb)
68 if (CCIs(cb, Verified))
70 if (!verify_constant_pool(cb))
73 for (i = cbMethodsCount(cb), m
[all...]
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWCheckboxPeer.java89 final Checkbox cb = (Checkbox)this.target;
90 WToolkit.executeOnEventHandlerThread(cb, new Runnable() {
92 CheckboxGroup chg = cb.getCheckboxGroup();
93 if ((chg != null) && (cb == chg.getSelectedCheckbox()) && cb.getState()) {
96 cb.setState(state);
97 postEvent(new ItemEvent(cb, ItemEvent.ITEM_STATE_CHANGED,
98 cb.getLabel(),
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DJTryBlock.java50 JCatchBlock cb = new JCatchBlock(exception);
51 catches.add(cb);
52 return cb;
62 for (JCatchBlock cb : catches)
63 f.g(cb);
/openjdk7/jdk/test/sun/nio/cs/
H A DLeftOverSurrogate.java43 CharBuffer cb = CharBuffer.wrap(c);
44 cb.limit(4);
45 enc.encode(cb, bb, false);
46 cb.limit(7);
47 enc.encode(cb, bb, true);
H A DTestMiscEUC_JP.java41 CharBuffer cb = dec.decode(ByteBuffer.wrap(euc));
42 if (cb.charAt(0) != 0xFF5E) {
44 + Integer.toHexString((int)cb.charAt(0)));
46 ByteBuffer bb = enc.encode(cb);
52 cb.flip();
55 + Integer.toHexString((int)cb.charAt(0)) + ": "
H A DSurrogateGB18030Test.java89 CharBuffer cb = CharBuffer.wrap(inputString.toCharArray());
93 encoder.encode(cb, bb, true);
111 CharBuffer cb = CharBuffer.allocate(2);
112 decoder.decode(bb, cb, true);
114 cb.flip();
116 if (expectedStr.charAt(i) != cb.get()
/openjdk7/jdk/test/java/io/InputStreamReader/
H A DOne.java76 char[] cb = new char[1];
77 if (isr.read(cb) == -1)
79 sb.append(cb[0]);
86 char[] cb = new char[2];
88 if ((n = isr.read(cb)) == -1)
90 sb.append(cb[0]);
92 sb.append(cb[1]);
/openjdk7/hotspot/src/share/vm/code/
H A DcodeBlob.cpp70 unsigned int CodeBlob::allocation_size(CodeBuffer* cb, int header_size) { argument
72 size += round_to(cb->total_relocation_size(), oopSize);
75 size += round_to(cb->total_content_size(), oopSize);
76 size += round_to(cb->total_oop_size(), oopSize);
112 CodeBuffer* cb,
126 _relocation_size = round_to(cb->total_relocation_size(), oopSize);
128 _code_offset = _content_offset + cb->total_offset_of(cb->insts());
129 _data_offset = _content_offset + round_to(cb->total_content_size(), oopSize);
132 cb
110 CodeBlob( const char* name, CodeBuffer* cb, int header_size, int size, int frame_complete, int frame_size, OopMapSet* oop_maps ) argument
226 BufferBlob(const char* name, int size, CodeBuffer* cb) argument
230 create(const char* name, CodeBuffer* cb) argument
267 AdapterBlob(int size, CodeBuffer* cb) argument
272 create(CodeBuffer* cb) argument
313 RuntimeStub( const char* name, CodeBuffer* cb, int size, int frame_complete, int frame_size, OopMapSet* oop_maps, bool caller_must_gc_arguments ) argument
328 new_runtime_stub(const char* stub_name, CodeBuffer* cb, int frame_complete, int frame_size, OopMapSet* oop_maps, bool caller_must_gc_arguments) argument
366 DeoptimizationBlob( CodeBuffer* cb, int size, OopMapSet* oop_maps, int unpack_offset, int unpack_with_exception_offset, int unpack_with_reexecution_offset, int frame_size ) argument
386 create( CodeBuffer* cb, OopMapSet* oop_maps, int unpack_offset, int unpack_with_exception_offset, int unpack_with_reexecution_offset, int frame_size) argument
418 UncommonTrapBlob( CodeBuffer* cb, int size, OopMapSet* oop_maps, int frame_size ) argument
428 create( CodeBuffer* cb, OopMapSet* oop_maps, int frame_size) argument
454 ExceptionBlob( CodeBuffer* cb, int size, OopMapSet* oop_maps, int frame_size ) argument
464 create( CodeBuffer* cb, OopMapSet* oop_maps, int frame_size) argument
489 SafepointBlob( CodeBuffer* cb, int size, OopMapSet* oop_maps, int frame_size ) argument
499 create( CodeBuffer* cb, OopMapSet* oop_maps, int frame_size) argument
[all...]
H A DcodeCache.cpp92 void add(CodeBlob* cb) { argument
94 total_size += cb->size();
95 header_size += cb->header_size();
96 relocation_size += cb->relocation_size();
97 if (cb->is_nmethod()) {
98 nmethod* nm = cb->as_nmethod_or_null();
106 code_size += cb->code_size();
130 CodeBlob* CodeCache::next(CodeBlob* cb) { argument
132 return (CodeBlob*)_heap->next(cb);
136 CodeBlob* CodeCache::alive(CodeBlob *cb) { argument
143 alive_nmethod(CodeBlob* cb) argument
151 CodeBlob* cb = first(); local
158 next_nmethod(CodeBlob* cb) argument
175 CodeBlob* cb = NULL; local
196 free(CodeBlob* cb) argument
219 commit(CodeBlob* cb) argument
268 CodeBlob *cb = find_blob(start); local
806 print_trace(const char* event, CodeBlob* cb, int size) argument
831 CodeBlob *cb; local
[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/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/src/share/classes/java/io/
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...]
/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/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 DFullRead.java47 char[] cb = new char[MAX_LEN + 100];
48 int n = rd.read(cb, 0, cb.length);
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXCheckboxMenuItemPeer.java90 CheckboxMenuItem cb = (CheckboxMenuItem)getTarget();
92 cb.setState(newState);
93 ItemEvent e = new ItemEvent(cb,
102 //XWindow.postEventStatic(new ActionEvent(cb, ActionEvent.ACTION_PERFORMED,
/openjdk7/jdk/src/share/classes/javax/swing/plaf/metal/
H A DMetalCheckBoxIcon.java55 JCheckBox cb = (JCheckBox)c;
56 ButtonModel model = cb.getModel();
62 if(cb.isBorderPaintedFlat()) {
67 if(cb.isBorderPaintedFlat()) {
75 } else if(!cb.isBorderPaintedFlat()) {
86 if (cb.isBorderPaintedFlat()) {

Completed in 2637 milliseconds

12345678910