Searched refs:block (Results 1 - 25 of 238) sorted by relevance

12345678910

/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/generator/util/
H A DLazyBlockReference.java31 * Lazy block reference.
38 private JBlock block = null; field in class:LazyBlockReference
41 * Called when a block needs to be created.
47 if(!create) return block;
48 if(block==null)
49 block = create();
50 return block;
H A DExistingBlockReference.java36 private final JBlock block; field in class:ExistingBlockReference
39 this.block = _block;
43 return block;
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DMAC.java72 private final byte[] block; field in class:MAC
80 // offset of record type in block
83 // offset of protocol version number in block (TLS only)
90 block = null;
120 block = new byte[BLOCK_SIZE_TLS];
121 block[BLOCK_OFFSET_VERSION] = protocolVersion.major;
122 block[BLOCK_OFFSET_VERSION+1] = protocolVersion.minor;
124 block = new byte[BLOCK_SIZE_SSL];
136 * Returns the hash function block length of the MAC alorithm.
191 return (block !
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/utils/
H A DSuballocatedIntVector.java2 * reserved comment block
78 * block size is currently 2K, which may be overkill for
87 * Construct a IntVector, using the given block size and number
91 * @param blocksize Size of block to allocate
110 /** Construct a IntVector, using the given block size and
113 * @param blocksize Size of block to allocate
173 int[] block=m_map[index];
174 if(null==block)
175 block=m_map[index]=new int[m_blocksize];
176 block[offse
[all...]
H A DSuballocatedByteVector.java2 * reserved comment block
65 * block size is very small, for small lists.
73 * Construct a ByteVector, using the given block size.
75 * @param blocksize Size of block to allocate
86 * Construct a ByteVector, using the given block size.
88 * @param blocksize Size of block to allocate
140 byte[] block=m_map[index];
141 if(null==block)
142 block=m_map[index]=new byte[m_blocksize];
143 block[offse
[all...]
/openjdk7/hotspot/src/share/vm/c1/
H A Dc1_CFGPrinter.cpp45 void block_do(BlockBegin* block) { if (block != NULL) CFGPrinter::output()->print_block(block); } argument
68 void print_state(BlockBegin* block);
71 void print_HIR(BlockBegin* block);
72 void print_LIR(BlockBegin* block);
73 void print_block(BlockBegin* block);
173 void CFGPrinterOutput::print_state(BlockBegin* block) { argument
178 ValueStack* state = block->state();
188 ip.print_phi(index, value, block);
252 print_HIR(BlockBegin* block) argument
264 print_LIR(BlockBegin* block) argument
276 print_block(BlockBegin* block) argument
[all...]
/openjdk7/jdk/src/share/demo/jvmti/hprof/
H A Dhprof_blocks.c90 /* Link in new block */
123 BlockHeader *block; local
133 block = blocks->current_block;
135 if ( block == NULL || block->bytes_left < nbytes ) {
137 block = blocks->current_block;
139 pos = block->next_pos;
140 ptr = (void*)(((char*)block)+pos);
141 block->next_pos += nbytes;
142 block
150 BlockHeader *block; local
[all...]
/openjdk7/jdk/test/java/lang/ref/SoftReference/
H A DPin.java44 byte[] block;
51 block = new byte[BLOCK_SIZE];
52 SoftReference ref = new SoftReference(block);
55 block = null;
64 block = (byte[]) blocks[i].get();
66 block = null;
85 block = (byte[]) blocks[i].get();
86 if (block == null) {
/openjdk7/hotspot/src/os/windows/vm/
H A Dchaitin_windows.cpp36 Block *block = _cfg._blocks[block_num]; local
38 Node *block_end = block->end();
41 // The last instruction in the block is an implicit null check.
61 Block *block = _cfg._blocks[block_num]; local
63 Node *block_end = block->_nodes[block->_nodes.size()-1];
65 // The last instruction in the block is an implicit
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ServerCompiler/src/com/sun/hotspot/igv/servercompiler/
H A DServerCompilerScheduler.java55 public InputBlock block; field in class:ServerCompilerScheduler.Node
96 InputBlock block = new InputBlock(graph, "" + blockCount);
97 blocks.add(block);
99 rootBlock = block;
102 parent.block = block;
105 proj.block = block;
116 if (p.block == null) {
117 p.block
333 InputBlock block; field in class:ServerCompilerScheduler.BlockIntermediate
[all...]
/openjdk7/hotspot/src/share/vm/runtime/
H A DjniHandles.cpp171 JNIHandleBlock* block = thread->active_handles(); local
174 while (block != NULL) {
175 if (block->chain_contains(handle)) {
178 block = block->pop_frame_link();
281 // Zap block values
290 JNIHandleBlock* block; local
291 // Check the thread-local free list for a block so we don't
294 block = thread->free_handle_block();
295 thread->set_free_handle_block(block
335 release_block(JNIHandleBlock* block, Thread* thread) argument
583 JNIHandleBlock* block = _block_list; local
[all...]
/openjdk7/hotspot/src/share/vm/shark/
H A DsharkFunction.cpp77 // Walk the tree from the start block to determine which
79 SharkTopLevelBlock *start_block = block(flow()->start_block_num());
85 if (block(i)->entered())
86 block(i)->initialize();
124 if (!block(i)->entered())
128 set_block_insertion_point(block(i + 1)->entry_block());
132 block(i)->emit_IR();
139 DeferredZeroCheck(SharkTopLevelBlock* block, SharkValue* value) argument
140 : SharkTargetInvariants(block),
141 _block(block),
159 SharkTopLevelBlock* block() const { function in class:DeferredZeroCheck
190 add_deferred_zero_check(SharkTopLevelBlock* block, SharkValue* value) argument
[all...]
H A DsharkState.cpp200 SharkNormalEntryState::SharkNormalEntryState(SharkTopLevelBlock* block, argument
202 : SharkState(block) {
203 assert(!block->stack_depth_at_entry(), "entry block shouldn't have stack");
207 ciType *type = block->local_type_at_entry(i);
239 SharkNormalEntryCacher(block->function(), method).scan(this);
242 SharkOSREntryState::SharkOSREntryState(SharkTopLevelBlock* block, argument
245 : SharkState(block) {
246 assert(!block->stack_depth_at_entry(), "entry block should
283 SharkPHIState(SharkTopLevelBlock* block) argument
[all...]
/openjdk7/jdk/test/java/nio/channels/ServerSocketChannel/
H A DBasic.java43 boolean block; field in class:Basic.Server
45 Server(ServerSocketChannel ssc, boolean block) { argument
48 this.block = block;
53 + (block ? "(blocking)" : "(non-blocking)"));
54 if (!block)
92 Client(int port, boolean block) { argument
95 this.dally = !block;
125 static void test(boolean block) throws Exception { argument
129 Server server = new Server(ssc, block);
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/basic/
H A DBasicCFrame.java65 BlockSym block = blockForPC();
66 while (block != null) {
67 for (int i = 0; i < block.getNumLocals(); i++) {
68 final LocalSym local = block.getLocal(i);
91 block = block.getParent();
/openjdk7/hotspot/src/share/vm/gc_implementation/parallelScavenge/
H A DobjectStartArray.hpp85 // If the block is clean, returns the last address in the covered region.
86 // If the block is < index 0, returns the start of the covered region.
124 jbyte* block = block_for_addr(p); local
125 HeapWord* block_base = addr_for_block(block);
129 //assert(offset > *block, "Found backwards allocation");
130 *block = (jbyte)offset;
136 // a given block. The blocks contain the offset of the last
137 // object in that block. Scroll backwards by one, and the first
138 // object hit should be at the beginning of the block
141 jbyte* block
159 jbyte* block = block_for_addr(addr); local
[all...]
/openjdk7/jdk/src/macosx/native/sun/osxapp/
H A DThreadUtilities.m53 + (void)performOnMainThreadWaiting:(BOOL)wait block:(void (^)())block {
55 block();
57 [JNFRunLoop performOnMainThreadWaiting:wait withBlock:block];
H A DThreadUtilities.h132 + (void)performOnMainThreadWaiting:(BOOL)wait block:(void (^)())block;
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/generator/bean/field/
H A DUntypedListField.java115 JBlock block = $get.body();
116 fixNullRef(block); // avoid using an internal getter
117 block._return(acc.ref(true));
151 public void toRawValue(JBlock block, JVar $var) { argument
155 block.assign($var,JExpr._new(codeModel.ref(ArrayList.class).narrow(exposedType.boxify())).arg(
160 public void fromRawValue(JBlock block, String uniqueName, JExpression $var) { argument
163 JVar $list = block.decl(listT,uniqueName+'l',$target.invoke($get));
164 block.invoke($list,"addAll").arg($var);
H A DAbstractFieldWithVar.java108 public final void toRawValue(JBlock block, JVar $var) { argument
110 block.assign($var,$target.invoke(getGetterMethod()));
112 block.assign($var,$target.invoke(getGetterMethod()));
116 public final void fromRawValue(JBlock block, String uniqueName, JExpression $var) { argument
117 block.invoke($target,("set"+prop.getName(true))).arg($var);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/outline/
H A DFieldAccessor.java47 * @param block
48 * The code will be generated into this block.
52 void toRawValue( JBlock block, JVar $var ); argument
60 * @param block
61 * The code will be generated into this block.
64 * the given block. When the callee needs to produce additional
68 * in this block.
73 void fromRawValue( JBlock block, String uniqueName, JExpression $var ); argument
80 * The code will be appended at the end of this block.
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/schemagen/xmlschema/
H A DElement.java41 public Element block(String value); method in interface:Element
44 public Element block(String[] value); method in interface:Element
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/ws/processor/model/
H A DExtendedModelVisitor.java55 Block block = (Block) iter4.next();
56 visitHeaderBlock(block);
61 Block block = (Block) iter4.next();
62 visitBodyBlock(block);
79 Block block = (Block) iter4.next();
80 visitHeaderBlock(block);
85 Block block = (Block) iter4.next();
86 visitBodyBlock(block);
134 protected void visitBodyBlock(Block block) throws Exception {} argument
135 protected void visitHeaderBlock(Block block) throw argument
136 visitFaultBlock(Block block) argument
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/ControlFlow/src/com/sun/hotspot/igv/controlflow/
H A DBlockWidget.java45 private InputBlock block; field in class:BlockWidget
56 public BlockWidget(ControlFlowScene scene, InputBlock block) { argument
58 this.block = block;
59 this.setLabel(block.getName());
100 return block;
113 return block.getName();
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/api/impl/s2j/
H A DElementCollectionAdapter.java75 public void toRawValue(JBlock block, JVar $var) { argument
88 block.assign($var,JExpr._new(cm.ref(ArrayList.class).narrow(itemType().boxify())));
89 JVar $col = block.decl(core.getRawType(), "col" + hashCode());
90 acc.toRawValue(block,$col);
91 JForEach loop = block.forEach(elementType, "v" + hashCode()/*unique string handling*/, $col);
98 public void fromRawValue(JBlock block, String uniqueName, JExpression $var) { argument
110 JVar $t = block.decl(col,uniqueName+"_col",JExpr._new(col));
112 JForEach loop = block.forEach(itemType(), uniqueName+"_i", $t);
115 acc.fromRawValue(block, uniqueName, $t);

Completed in 87 milliseconds

12345678910