Searched refs:cb (Results 51 - 75 of 309) sorted by relevance

1234567891011>>

/openjdk10/hotspot/src/share/vm/runtime/
H A DinterfaceSupport.cpp207 CodeBlob* cb = sfs.current()->cb(); local
208 if (cb != NULL && cb->oop_maps() ) {
210 const ImmutableOopMap* map = cb->oop_map_for_return_address(sfs.current()->pc());
234 CodeBlob* cb = sfs.current()->cb(); local
238 if (cb != NULL && !(cb->is_runtime_stub() || cb
[all...]
/openjdk10/hotspot/src/share/vm/code/
H A DcodeCache.cpp112 void add(CodeBlob* cb) { argument
114 total_size += cb->size();
115 header_size += cb->header_size();
116 relocation_size += cb->relocation_size();
117 if (cb->is_nmethod()) {
118 nmethod* nm = cb->as_nmethod_or_null();
127 code_size += cb->code_size();
137 // Iterate over all CodeBlobs (cb) on the given CodeHeap
138 #define FOR_ALL_BLOBS(cb, heap) for (CodeBlob* cb
434 get_code_heap(const CodeBlob* cb) argument
468 next_blob(CodeHeap* heap, CodeBlob* cb) argument
489 CodeBlob* cb = NULL; local
552 free(CodeBlob* cb) argument
572 commit(CodeBlob* cb) argument
631 CodeBlob* cb = find_blob(start); local
1144 CodeBlob *cb = find_blob(start); local
1411 print_trace(const char* event, CodeBlob* cb, int size) argument
[all...]
H A DcodeBlob.hpp103 CodeBlob(const char* name, CompilerType type, const CodeBlobLayout& layout, CodeBuffer* cb, int frame_complete_offset, int frame_size, OopMapSet* oop_maps, bool caller_must_gc_arguments);
106 static unsigned int allocation_size(CodeBuffer* cb, int header_size);
280 CodeBlobLayout(const address start, int size, int header_size, const CodeBuffer* cb) : argument
283 _relocation_size(align_up(cb->total_relocation_size(), oopSize)),
285 _code_offset(_content_offset + cb->total_offset_of(cb->insts())),
286 _data_offset(_content_offset + align_up(cb->total_content_size(), oopSize))
330 CodeBuffer* cb,
369 BufferBlob(const char* name, int size, CodeBuffer* cb);
376 static BufferBlob* create(const char* name, CodeBuffer* cb);
480 SingletonBlob( const char* name, CodeBuffer* cb, int header_size, int size, int frame_size, OopMapSet* oop_maps ) argument
[all...]
H A DcodeCache.hpp106 static CodeHeap* get_code_heap(const CodeBlob* cb); // Returns the CodeHeap for the given CodeBlob
116 static CodeBlob* next_blob(CodeHeap* heap, CodeBlob* cb); // Returns the next CodeBlob on the given CodeHeap
142 static void commit(CodeBlob* cb); // called when the allocated CodeBlob has been filled
145 static void free(CodeBlob* cb); // frees a CodeBlob
148 static void blobs_do(void f(CodeBlob* cb)); // iterates over all CodeBlobs
192 static void print_trace(const char* event, CodeBlob* cb, int size = 0) PRODUCT_RETURN;
377 static bool apply(CodeBlob* cb) { return cb->is_compiled(); } argument
383 static bool apply(CodeBlob* cb) { return cb argument
[all...]
/openjdk10/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)
/openjdk10/jdk/test/sun/security/krb5/auto/
H A DSaslBasic.java65 for (Callback cb : callbacks) {
66 if (cb instanceof RealmCallback) {
67 ((RealmCallback) cb).setText(OneKDC.REALM);
68 } else if (cb instanceof AuthorizeCallback) {
69 ((AuthorizeCallback) cb).setAuthorized(true);
H A DSaslUnbound.java86 for (Callback cb : callbacks) {
87 if (cb instanceof RealmCallback) {
88 ((RealmCallback) cb).setText(OneKDC.REALM);
89 } else if (cb instanceof AuthorizeCallback) {
90 ((AuthorizeCallback) cb).setAuthorized(true);
/openjdk10/jdk/src/java.base/share/classes/sun/nio/cs/
H A DStreamDecoder.java126 char cb[] = new char[2];
127 int n = read(cb, 0, 2);
132 leftoverChar = cb[1];
136 return cb[0];
311 CharBuffer cb = CharBuffer.wrap(cbuf, off, end - off);
312 if (cb.position() != 0)
313 // Ensure that cb[0] == cbuf[off]
314 cb = cb.slice();
318 CoderResult cr = decoder.decode(bb, cb, eo
[all...]
/openjdk10/hotspot/src/share/vm/prims/
H A DjvmtiCodeBlobEvents.cpp66 static void do_blob(CodeBlob* cb);
118 void CodeBlobCollector::do_blob(CodeBlob* cb) { argument
121 if (cb->is_nmethod()) {
125 if (cb->is_buffer_blob() && strcmp(cb->name(), "vtable chunks") == 0) {
132 address addr = cb->code_begin();
141 JvmtiCodeBlobDesc* scb = new JvmtiCodeBlobDesc(cb->name(), cb->code_begin(), cb->code_end());
/openjdk10/jdk/test/com/sun/security/sasl/digest/
H A DNoQuoteParams.java117 NameCallback cb = (NameCallback)callbacks[i];
118 cb.setName(getInput(cb.getPrompt()));
121 PasswordCallback cb = (PasswordCallback)callbacks[i];
123 String pw = getInput(cb.getPrompt());
127 cb.setPassword(passwd);
130 RealmCallback cb = (RealmCallback)callbacks[i];
131 cb.setText(getInput(cb.getPrompt()));
/openjdk10/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);
H A DNIOJISAutoDetectTest.java223 CharBuffer cb = CharBuffer.allocate(128);
226 CoderResult res = dc.decode(bb,cb,false);
229 check(cb.position() == 1, "cb.position()");
230 res = dc.decode(bb,cb,false);
233 check(cb.position() == 1, "cb.position()");
237 res = dc.decode(bb,cb,true);
240 check(cb.position() == 2, "cb
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/io/
H A DConsole.java409 private char[] cb; field in class:Console.LineReader
414 cb = new char[1024];
440 n = in.read(cb, 0, cb.length);
445 if (n < cb.length &&
446 cb[n-1] != '\n' && cb[n-1] != '\r') {
460 if (leftoverLF && cbuf == rcb && cb[nextChar] == '\n') {
469 c = cbuf[off++] = cb[nextChar];
470 cb[nextCha
[all...]
H A DReader.java120 char cb[] = new char[1];
121 if (read(cb, 0, 1) == -1)
124 return cb[0];
/openjdk10/hotspot/src/share/vm/gc/g1/
H A Dg1CodeBlobClosure.cpp53 void G1CodeBlobClosure::do_code_blob(CodeBlob* cb) { argument
54 nmethod* nm = cb->as_nmethod_or_null();
/openjdk10/jdk/test/javax/swing/text/html/parser/Parser/8028616/
H A Dbug8028616.java42 ParserCB cb = new ParserCB();
46 htmlDoc.getParser().parse(new StringReader(text), cb, true);
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/optimize/
H A DTypeCastElem.java134 ClassB cb = new ClassB(a, b);
136 int sum1 = test1(ca) + test1(cb) * 10 + test1(cc) * 100;
137 int sum2 = test2(ca) + test2(cb) * 10 + test2(cc) * 100;
138 int sum3 = test3(ca) + test3(cb) * 10 + test3(cc) * 100;
/openjdk10/jdk/test/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/list/
H A DListDemo.java260 final JCheckBox cb = (JCheckBox) prefixList.add(new JCheckBox(prefix));
261 cb.setSelected(selected);
262 cb.addActionListener(prefixAction);
266 cb.addFocusListener(listFocusListener);
273 final JCheckBox cb = (JCheckBox) suffixList.add(new JCheckBox(suffix));
274 cb.setSelected(selected);
275 cb.addActionListener(suffixAction);
279 cb.addFocusListener(listFocusListener);
292 JCheckBox cb = (JCheckBox) e.getSource();
293 if (cb
[all...]
/openjdk10/nashorn/samples/dynalink/
H A Dbuffer_index.js51 var cb = CharBuffer.wrap("hello world")
52 print(str(cb))
/openjdk10/jdk/test/java/awt/Headless/
H A DHeadlessBorderLayout.java58 Component cb = new Component(){};
59 bl.addLayoutComponent(cb, BorderLayout.WEST);
60 bl.removeLayoutComponent(cb);
/openjdk10/nashorn/test/script/basic/
H A DNASHORN-424.js55 function (msg, pref, cb) { return log(msg, pref, l, cb) }
58 function log(msg, pref, level, cb) {
/openjdk10/jdk/test/java/awt/FullScreen/MultimonFullscreenTest/
H A DMultimonFullscreenTest.java133 Checkbox cb = new Checkbox("Change DM on entering FS");
134 cb.addItemListener(new ItemListener() {
139 p1.add(cb);
140 // cb = new Checkbox("Exit FS on window dispose");
141 // cb.addItemListener(new ItemListener() {
146 // p1.add(cb);
148 cb = new Checkbox("Use Frame to enter FS", cbg, true);
149 cb.addItemListener(new ItemListener() {
156 p1.add(cb);
157 cb
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/x86/
H A DX86Frame.java105 CodeBlob cb = VM.getVM().getCodeCache().findBlob(pc);
106 if (cb != null && cb.isJavaMethod()) {
107 NMethod nm = (NMethod) cb;
257 public Frame sender(RegisterMap regMap, CodeBlob cb) { argument
271 if(cb == null) {
272 cb = VM.getVM().getCodeCache().findBlob(getPC());
275 Assert.that(cb.equals(VM.getVM().getCodeCache().findBlob(getPC())), "Must be the same");
279 if (cb != null) {
280 return senderForCompiledFrame(map, cb);
356 senderForCompiledFrame(X86RegisterMap map, CodeBlob cb) argument
[all...]
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/aarch64/
H A DAARCH64Frame.java104 CodeBlob cb = VM.getVM().getCodeCache().findBlob(pc);
105 if (cb != null && cb.isJavaMethod()) {
106 NMethod nm = (NMethod) cb;
256 public Frame sender(RegisterMap regMap, CodeBlob cb) { argument
270 if(cb == null) {
271 cb = VM.getVM().getCodeCache().findBlob(getPC());
274 Assert.that(cb.equals(VM.getVM().getCodeCache().findBlob(getPC())), "Must be the same");
278 if (cb != null) {
279 return senderForCompiledFrame(map, cb);
364 senderForCompiledFrame(AARCH64RegisterMap map, CodeBlob cb) argument
[all...]
/openjdk10/jdk/test/javax/swing/JComboBox/8032878/
H A Dbug8032878.java53 private JComboBox cb; field in class:bug8032878
80 cb = new JComboBox(new String[]{ONE, TWO, THREE});
81 cb.setEditable(true);
82 DefaultCellEditor comboEditor = new DefaultCellEditor(cb);
120 text = ((JTextComponent) cb.getEditor().getEditorComponent()).getText();

Completed in 267 milliseconds

1234567891011>>