Searched defs:position (Results 126 - 150 of 154) sorted by relevance

1234567

/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DFileChannelImpl.java66 // Lock for operations involving position and size
111 nd.release(fd, fl.position(), fl.size());
249 public long position() throws IOException { method in class:FileChannelImpl
260 // in append-mode then position is advanced to end before writing
272 public FileChannel position(long newPosition) throws IOException { method in class:FileChannelImpl
336 // get current position
351 // set position to size if greater than size
400 private long transferToDirectly(long position, int icount, argument
433 n = transferTo0(thisFDVal, position, icount, targetFDVal);
457 private long transferToTrustedChannel(long position, lon argument
505 transferToArbitraryChannel(long position, int icount, WritableByteChannel target) argument
541 transferTo(long position, long count, WritableByteChannel target) argument
576 transferFromFileChannel(FileChannelImpl src, long position, long count) argument
615 transferFromArbitraryChannel(ReadableByteChannel src, long position, long count) argument
651 transferFrom(ReadableByteChannel src, long position, long count) argument
671 read(ByteBuffer dst, long position) argument
688 readInternal(ByteBuffer dst, long position) argument
710 write(ByteBuffer src, long position) argument
727 writeInternal(ByteBuffer src, long position) argument
817 map(MapMode mode, long position, long size) argument
1001 lock(long position, long size, boolean shared) argument
1046 tryLock(long position, long size, boolean shared) argument
1110 checkList(long position, long size) argument
1153 map0(int prot, long position, long length) argument
1160 transferTo0(int src, long position, long count, int dst) argument
[all...]
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXTextFieldPeer.java94 // Since the end position of the selected text can be greater then the length of the text,
95 // so we should set caret to max position of the text
244 public void setCaretPosition(int position) { argument
245 if (xtext != null) xtext.setCaretPosition(position);
H A DXEmbedServerTester.java524 private void waitSystemEvent(int position, int event) { argument
525 waitForEvent(position, event | SYSTEM_EVENT_MASK);
528 private void waitForEvent(int position, int event) { argument
531 if (checkEventList(position, event) != -1) {
543 xembedLog.finer("Waiting for " + XEmbedHelper.msgidToString(event) + " starting from " + position);
550 if (checkEventList(position, event) == -1) {
559 * Checks if the <code>event</code> is already in a list at position >= <code>position</code>
561 private int checkEventList(int position, int event) { argument
562 if (position
[all...]
H A DXTextAreaPeer.java154 // Since the end position of the selected text can be greater then the length of the text,
155 // so we should set caret to max position of the text
484 * insert the text "txt on position "pos" in the array lines
502 * replace the text between the position "s" and "e" with "txt"
522 public void setCaretPosition(int position) { argument
523 jtext.setCaretPosition(position);
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xpath/regex/
H A DRegexParser.java65 int position; field in class:RegexParser.ReferencePosition
68 this.position = pos;
140 ReferencePosition position = (ReferencePosition)this.references.elementAt(i);
141 if (this.parennumber <= position.refNumber)
142 throw ex("parser.parse.2", position.position);
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/sax2dtm/
H A DSAX2DTM2.java308 * Return the node at the given position.
310 public int getNodeByPosition(int position) argument
312 if (position <= 0)
323 if (pos == position)
335 if (pos == position)
1490 * Return the node at the given position.
1492 public int getNodeByPosition(int position) argument
1494 if (position > 0 && position <= m_size) {
1495 return m_ancestors[position
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicToolBarUI.java952 protected void dragTo(Point position, Point origin) argument
966 Point global = new Point(origin.x+ position.x,
967 origin.y+position.y);
1002 protected void floatAt(Point position, Point origin) argument
1010 offset = position;
1013 Point global = new Point(origin.x+ position.x,
1014 origin.y+position.y);
1176 Point position = evt.getPoint();
1179 floatAt(position, origin);
1190 Point position
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DDefaultCaret.java61 * position. Dragging the mouse pointer with the first mouse button will
86 * The magic caret position is set to null when the caret position changes.
88 * When the timer fires, if the magic caret position is still null it is
89 * reset to the current caret position. Any actions that change
90 * the caret position and want the magic caret position to remain the
91 * same, must remember the magic caret position, change the cursor, and
92 * then set the magic caret position to its original value. This has the
93 * benefit that only actions that want the magic caret position t
1212 isPositionLTR(int position, Position.Bias bias) argument
[all...]
H A DJTextComponent.java95 * Notification of changes to the caret position and the selection
101 * performed on the Event Dispatching Thread and updates it's position
102 * accordingly if an insertion occurs before or at the caret position
103 * or a removal occurs before the caret position. <code>DefaultCaret</code>
1419 * @param pos the position >= 0
1423 * @exception BadLocationException if the given position does not
1482 * are inserted in front of the current insert position in
1534 * Moves the caret to a new position, leaving behind a mark
1537 * If the document is <code>null</code>, does nothing. The position
1541 * @param pos the position
1674 setCaretPosition(int position) argument
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DScanner.java357 private int position; field in class:Scanner
386 // A store of a position that the scanner may fall back to
786 savedScannerPosition = position;
790 this.position = savedScannerPosition;
796 this.position = savedScannerPosition;
822 position = hasNextPosition;
832 position = hasNextPosition;
843 int p = buf.position();
844 buf.position(buf.limit());
863 // Restore current position an
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/windows/
H A DWindowsLookAndFeel.java1696 /* text is started after this position */
2488 JComponent component2, ComponentPlacement type, int position,
2491 super.getPreferredGap(component1, component2, type, position,
2497 if (position == SwingConstants.EAST ||
2498 position == SwingConstants.WEST) {
2499 int indent = getIndent(component1, position);
2507 if (isLabelAndNonlabel(component1, component2, position)) {
2517 return getButtonGap(component1, component2, position,
2518 dluToPixels(3, position));
2521 return getButtonGap(component1, component2, position,
2487 getPreferredGap(JComponent component1, JComponent component2, ComponentPlacement type, int position, Container parent) argument
2532 getContainerGap(JComponent component, int position, Container parent) argument
[all...]
/openjdk7/jdk/src/share/classes/java/awt/
H A DList.java297 * @param index the position of the item
345 * at the position indicated by the index. The index is
353 * @param index the position at which to add the item
389 * @param index the position of the item to replace
442 * Removes the item at the specified position
444 * If the item with the specified position is selected, and is the
446 * @param position the index of the item to delete
450 * if the <code>position</code> is less than 0 or
453 public void remove(int position) { argument
454 delItem(position);
462 delItem(int position) argument
[all...]
/openjdk7/hotspot/src/share/vm/adlc/
H A DarchDesc.hpp380 enum position { BEGIN_OPERANDS, enum in class:OutputMap
400 // Allow derived class to output name and position specific info
401 virtual void record_position(OutputMap::position place, int index) {}
H A Dforms.hpp330 int _iter; // position during iteration
441 // Return element at "position", else NULL
442 Component *operator[](int position);
443 Component *at(int position) { return (*this)[position]; } argument
450 // Return zero-based position in list; -1 if not in list.
452 // Find position for this name, regardless of use/def information
454 // Find position for this name when looked up for output via "format"
456 // Find position for the Label when looked up for output via "format"
458 // Find position fo
[all...]
H A Dformsopt.cpp598 void PeepMatch::add_instruction(int parent, int position, const char *name, argument
600 if( position > _max_position ) _max_position = position;
603 _position.addName((char*) (intptr_t) position);
613 const char *PeepMatch::instruction_name(int position) { argument
614 return _instrs.name(position);
625 void PeepMatch::next_instruction(int &parent, int &position, const char* &name, int &input) { argument
627 position = (int) (intptr_t) _position.iter();
632 // 'true' if current position in iteration is a placeholder, not matched.
654 // Check if constraints use instruction at position
655 constrains_instruction(int position) argument
[all...]
H A Doutput_h.cpp430 int idx = 0; // position of operand in match rule
545 // Lookup the index position of the replacement variable
591 // Generate index values needed for determining the operand position
614 // Lookup the index position of the replacement variable
1243 unsigned int position = 0; local
1245 oper->_matrule->base_operand(position,_globalNames,opret,opname,optype);
1611 // Lookup the position of the operand in the instruction.
1959 fprintf(fp,"// uint word = index >> 5; // Shift out bit position\n");
2108 void record_position(OutputMap::position place, int idx ) {
H A Dadlparse.cpp316 unsigned position = 0; local
321 if (right->base_operand(position, _globalNames, result, name, optype)) {
322 position = 1;
327 if ( ! right->base_operand( position, _globalNames, result2, name2, optype2) ) {
1209 // Parse expression that specifies register or stack position
2339 // Check for ',' and position to next token.
2408 // Check for ',' and position to next token.
2430 InstructForm *ADLParser::peep_match_child_parse(PeepMatch &match, int parent, int &position, int input){ argument
2433 int rparen = 0; // position of instruction at this depth
2437 // Record <parent, position, instructio
2517 int position = 0; // zero-based positions local
[all...]
/openjdk7/hotspot/src/share/vm/services/
H A Djmm.h207 int position; member in struct:__anon479
H A DheapDumper.cpp391 int position() const { return _pos; } function in class:DumpWriter
415 jlong bytes_unwritten() const { return (jlong)position(); }
498 if ((position()+ len) >= buffer_size()) {
507 memcpy(buffer() + position(), s, len);
508 set_position(position() + len);
515 if (is_open() && position() > 0) {
516 write_internal(buffer(), position());
527 return offset + (jlong)position();
1447 // sets the dump starting position
1462 // record the starting position fo
[all...]
/openjdk7/jdk/src/share/javavm/export/
H A Djmm.h207 int position; member in struct:__anon573
/openjdk7/jdk/src/share/classes/javax/swing/
H A DGroupLayout.java40 * groups components in order to position them in a {@code Container}.
635 * positioned at the position 50 (with a component orientation of
3147 int position;
3149 position = SwingConstants.EAST;
3151 position = SwingConstants.SOUTH;
3154 target, type, position, host);
3274 int position;
3277 position = SwingConstants.EAST;
3279 position = SwingConstants.WEST;
3282 position
3302 calculatePadding(LayoutStyle p, int position, ComponentSpring source, ComponentSpring target) argument
3490 updateSize(LayoutStyle p, ComponentSpring sourceSpring, int position) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/gtk/
H A DMetacity.java1431 protected void drawPiece(Node frame_style, Graphics g, String position, int x, int y, argument
1433 Node piece = getNode(frame_style, "piece", new String[] { "position", position });
/openjdk7/jdk/src/macosx/native/com/sun/media/sound/
H A DPLATFORM_API_MacOSX_PCM.cpp1018 INT64 position; local
1021 position = javaBytePos - device->ringBuffer.GetValidByteCount();
1023 position = javaBytePos + device->ringBuffer.GetValidByteCount();
1026 TRACE2("DAUDIO_GetBytePosition returns %lld (javaBytePos = %lld)\n", (long long)position, (long long)javaBytePos);
1027 return position;
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DClassReader.java357 /** Extract a character at position bp from buf.
364 /** Extract an integer at position bp from buf.
375 /** Extract a long integer at position bp from buf.
387 /** Extract a float at position bp from buf.
399 /** Extract a double at position bp from buf.
1493 final TypeAnnotationPosition position; field in class:ClassReader.TypeAnnotationProxy
1495 TypeAnnotationPosition position) {
1497 this.position = position;
1816 // here for the position o
1494 TypeAnnotationProxy(CompoundAnnotationProxy compound, TypeAnnotationPosition position) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/
H A DXMLSchemaValidator.java383 // store error codes; starting position of the errors for each element;
397 // store the starting position for the current context
418 // get starting position of the current element
442 // get starting position of the current element
1931 // push error reporter context: record the current position
1936 // push error reporter context: record the current position
4279 /** Returns the short value at the specified position in the vector. */
4280 public short valueAt(int position) { argument
4281 return fData[position];

Completed in 150 milliseconds

1234567