Searched refs:nd (Results 1 - 25 of 31) sorted by relevance

12

/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/
H A DNativeDate.java245 final NativeDate nd = new NativeDate(0);
248 nd.setTime(time);
338 final NativeDate nd = getNativeDate(self);
339 return (nd != null) ? nd.getTime() : Double.NaN;
350 final NativeDate nd = getNativeDate(self);
351 return (nd != null) ? nd.getTime() : Double.NaN;
384 final NativeDate nd = getNativeDate(self);
385 return (nd !
1300 setFields(final NativeDate nd, final int fieldId, final Object[] args, final boolean local) argument
[all...]
/openjdk10/hotspot/src/share/vm/gc/g1/
H A DdirtyCardQueue.cpp224 BufferNode* nd = NULL; local
233 nd = _completed_buffers_head;
235 _completed_buffers_head = nd->next();
243 return nd;
261 BufferNode* nd = get_completed_buffer(stop_at); local
262 if (nd == NULL) {
265 if (apply_closure_to_buffer(cl, nd, true, worker_i)) {
266 assert_fully_consumed(nd, buffer_size());
268 deallocate_buffer(nd);
273 enqueue_complete_buffer(nd);
280 BufferNode* nd = _cur_par_buffer_node; local
300 BufferNode* nd = _completed_buffers_head; local
310 BufferNode* nd = buffers_to_delete; local
[all...]
H A DsatbMarkQueue.cpp266 BufferNode* nd = NULL; local
270 nd = _completed_buffers_head;
271 _completed_buffers_head = nd->next();
277 if (nd != NULL) {
278 void **buf = BufferNode::make_buffer_from_node(nd);
279 size_t index = nd->index();
283 deallocate_buffer(nd);
302 BufferNode* nd = _completed_buffers_head; local
304 while (nd != NULL) {
305 void** buf = BufferNode::make_buffer_from_node(nd);
328 BufferNode* nd = _completed_buffers_head; local
338 BufferNode* nd = buffers_to_delete; local
[all...]
/openjdk10/hotspot/test/gc/g1/humongousObjects/objectGraphTest/
H A DTestcaseData.java92 InternalParsedNode nd;
94 nd = internalParsedNodeList.get(0);
97 nd = new InternalParsedNode();
98 internalParsedNodeList.add(nd);
99 nd.id = String.valueOf(i);
103 nd.connectedFrom.add(i - 1);
106 nd.connectedFrom.add(i + 1);
109 nd.referencesTypes.add(ObjectGraph.ReferenceType.WEAK);
113 nd.referencesTypes.add(ObjectGraph.ReferenceType.SOFT);
116 nd
[all...]
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/orbutil/graph/
H A DGraphImpl.java65 NodeData nd = new NodeData() ;
66 nodeToData.put( node, nd ) ;
97 NodeData nd = (NodeData)(entry.getValue()) ;
98 nd.clear( ) ;
104 void visit( Graph graph, Node node, NodeData nd ) ;
131 NodeData nd = (NodeData)current.getValue() ;
133 if (!nd.isVisited()) {
134 nd.visited() ;
137 nv.visit( this, node, nd ) ;
147 public void visit( Graph graph, Node node, NodeData nd )
[all...]
/openjdk10/jdk/src/java.base/share/classes/sun/nio/ch/
H A DIOUtil.java47 NativeDispatcher nd)
51 return writeFromNativeBuffer(fd, src, position, nd);
65 int n = writeFromNativeBuffer(fd, bb, position, nd);
77 long position, NativeDispatcher nd)
89 written = nd.pwrite(fd,
93 written = nd.write(fd, ((DirectBuffer)bb).address() + pos, rem);
100 static long write(FileDescriptor fd, ByteBuffer[] bufs, NativeDispatcher nd) argument
103 return write(fd, bufs, 0, bufs.length, nd);
107 NativeDispatcher nd)
148 long bytesWritten = nd
46 write(FileDescriptor fd, ByteBuffer src, long position, NativeDispatcher nd) argument
76 writeFromNativeBuffer(FileDescriptor fd, ByteBuffer bb, long position, NativeDispatcher nd) argument
106 write(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, NativeDispatcher nd) argument
185 read(FileDescriptor fd, ByteBuffer dst, long position, NativeDispatcher nd) argument
207 readIntoNativeBuffer(FileDescriptor fd, ByteBuffer bb, long position, NativeDispatcher nd) argument
230 read(FileDescriptor fd, ByteBuffer[] bufs, NativeDispatcher nd) argument
236 read(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, NativeDispatcher nd) argument
[all...]
H A DSimpleAsynchronousFileChannelImpl.java51 private static final FileDispatcher nd = new FileDispatcherImpl(); field in class:SimpleAsynchronousFileChannelImpl
102 nd.close(fdObj);
113 n = nd.size(fdObj);
136 n = nd.size(fdObj);
142 n = nd.truncate(fdObj, size);
162 n = nd.force(fdObj, metaData);
206 n = nd.lock(fdObj, true, position, size, shared);
262 n = nd.lock(fdObj, false, position, size, shared);
284 nd.release(fdObj, fli.position(), fli.size());
320 n = IOUtil.read(fdObj, dst, position, nd);
[all...]
H A DFileChannelImpl.java63 private final FileDispatcher nd; field in class:FileChannelImpl
96 this.nd = new FileDispatcherImpl();
128 nd.release(fd, fl.position(), fl.size());
147 nd.close(fd);
165 n = IOUtil.read(fd, dst, -1, nd);
193 n = IOUtil.read(fd, dsts, offset, length, nd);
217 n = IOUtil.write(fd, src, -1, nd);
245 n = IOUtil.write(fd, srcs, offset, length, nd);
271 p = (append) ? nd.size(fd) : position0(fd, -1);
317 s = nd
804 private static final NativeDispatcher nd = new FileDispatcherImpl(); field in class:FileChannelImpl.Unmapper
[all...]
H A DSocketChannelImpl.java48 private static NativeDispatcher nd; field in class:SocketChannelImpl
339 // - implCloseSelectableChannel() invokes nd.preClose()
345 // - implCloseSelectableChannel() invokes nd.preClose() after
351 // - implCloseSelectableChannel() invokes nd.preClose() after
364 // invokes nd.preClose(), signals reader/writer thred and quickly
365 // moves on to nd.close() in kill(), which does a real close.
380 // nd.preClose().
382 n = IOUtil.read(fd, buf, -1, nd);
442 n = IOUtil.read(fd, dsts, offset, length, nd);
473 n = IOUtil.write(fd, buf, -1, nd);
[all...]
H A DServerSocketChannelImpl.java46 private static NativeDispatcher nd; field in class:ServerSocketChannelImpl
291 nd.preClose(fd);
309 nd.close(fd);
443 nd = new SocketDispatcher();
H A DDatagramChannelImpl.java48 private static NativeDispatcher nd = new DatagramDispatcher(); field in class:DatagramChannelImpl
550 n = IOUtil.read(fd, buf, -1, nd);
579 n = IOUtil.read(fd, dsts, offset, length, nd);
606 n = IOUtil.write(fd, buf, -1, nd);
635 n = IOUtil.write(fd, srcs, offset, length, nd);
1006 nd.preClose(fd);
1032 nd.close(fd);
/openjdk10/jdk/src/java.base/unix/classes/sun/nio/ch/
H A DSourceChannelImpl.java40 private static final NativeDispatcher nd = new FileDispatcherImpl(); field in class:SourceChannelImpl
88 nd.preClose(fd);
106 nd.close(fd);
167 n = IOUtil.read(fd, dst, -1, nd);
198 n = IOUtil.read(fd, dsts, nd);
H A DSinkChannelImpl.java40 private static final NativeDispatcher nd = new FileDispatcherImpl(); field in class:SinkChannelImpl
88 nd.preClose(fd);
106 nd.close(fd);
167 n = IOUtil.write(fd, src, -1, nd);
190 n = IOUtil.write(fd, srcs, nd);
H A DUnixAsynchronousSocketChannelImpl.java44 private static final NativeDispatcher nd = new SocketDispatcher(); field in class:UnixAsynchronousSocketChannelImpl
101 nd.close(fd);
221 nd.close(fd);
384 n = (int)IOUtil.read(fd, readBuffers, nd);
386 n = IOUtil.read(fd, readBuffer, -1, nd);
505 n = (int)IOUtil.read(fd, dsts, nd);
507 n = IOUtil.read(fd, dst, -1, nd);
579 n = (int)IOUtil.write(fd, writeBuffers, nd);
581 n = IOUtil.write(fd, writeBuffer, -1, nd);
688 n = (int)IOUtil.write(fd, srcs, nd);
[all...]
H A DUnixAsynchronousServerSocketChannelImpl.java46 private static final NativeDispatcher nd = new SocketDispatcher(); field in class:UnixAsynchronousServerSocketChannelImpl
79 nd.close(fd); // prevent leak
95 nd.close(fd);
212 nd.close(newfd);
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/tree/
H A DAbstractLayoutCache.java73 * @param nd a <code>NodeDimensions</code> object
75 public void setNodeDimensions(NodeDimensions nd) { argument
76 this.nodeDimensions = nd;
490 NodeDimensions nd = getNodeDimensions();
492 if(nd != null) {
493 return nd.getNodeDimensions(value, row, depth, expanded, placeIn);
/openjdk10/jdk/test/jdk/internal/math/FloatingDecimal/
H A DOldFDBigIntForTest.java58 public OldFDBigIntForTest( long seed, char digit[], int nd0, int nd ){
59 int n= (nd+8)/9; // estimate size needed.
66 int limit = nd-5; // slurp digits 5 at a time.
78 while ( i < nd ){
/openjdk10/langtools/test/jdk/jshell/
H A DSnippetTest.java158 Snippet nd = varKey(assertEval("blort x;", added(RECOVERABLE_NOT_DEFINED)));
159 assertTrue(nd.kind().isPersistent(), "nd.isPersistent");
160 Status ndstat = getState().status(nd);
161 assertTrue(ndstat.isActive(), "nd.isActive");
162 assertFalse(ndstat.isDefined(), "nd.isDefined");
/openjdk10/jdk/test/javax/management/modelmbean/ModelMBeanInfoSupport/
H A DGetAllDescriptorsTest.java292 final Descriptor nd = ntf.getDescriptor();
294 if (!nd.equals(remove(list,nd))) {
/openjdk10/jdk/src/java.base/windows/classes/sun/nio/ch/
H A DWindowsAsynchronousFileChannelImpl.java64 private static final FileDispatcher nd = new FileDispatcherImpl(); field in class:WindowsAsynchronousFileChannelImpl
176 return nd.size(fdObj);
190 if (size > nd.size(fdObj))
192 nd.truncate(fdObj, size);
203 nd.force(fdObj, metaData);
346 int res = nd.lock(fdObj, false, position, size, shared);
360 nd.release(fdObj, fli.position(), fli.size());
/openjdk10/jdk/test/java/beans/Introspector/
H A DAnonymousClassBeanPropertyTest.java143 int nd = descriptors.length;
144 if (nd != 1) {
145 System.out.println("invalid number of descriptors: " + nd);
200 int nd = descriptors.length;
201 if (nd != 1) {
202 System.out.println("invalid number of descriptors: " + nd);
H A DInheritanceBeanPropertyTest.java1078 int nd = descriptors.length;
1079 if (nd != 1) {
1080 System.out.println("invalid number of descriptors: " + nd);
1123 int nd = descriptors.length;
1124 if (nd != 1) {
1125 System.out.println("invalid number of descriptors: " + nd);
H A DBeanPropertyTest.java927 int nd = descriptors.length;
928 if (nd != 1) {
929 System.out.println("invalid number of descriptors: " + nd);
972 int nd = descriptors.length;
973 if (nd != 1) {
974 System.out.println("invalid number of descriptors: " + nd);
/openjdk10/jdk/test/com/sun/jdi/
H A DRedefineMulti.sh51 // After the 2nd redefine, "abcde..." should be printed.
/openjdk10/hotspot/src/share/vm/memory/
H A DbinaryTreeDictionary.cpp858 TreeList<FreeChunk, AdaptiveFreeList<FreeChunk> >* nd = find_list(size); local
859 if (nd) {
862 nd->increment_split_births();
863 nd->increment_surplus();
865 nd->increment_split_deaths();
866 nd->decrement_surplus();
870 nd->increment_coal_births();
871 nd->increment_surplus();
873 nd->increment_coal_deaths();
874 nd
[all...]

Completed in 226 milliseconds

12