/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/ |
H A D | CharacterDataImpl.java | 206 * DOMException if the offset is beyond the end of the 210 * @throws DOMException(INDEX_SIZE_ERR) if offset is negative or 216 public void deleteData(int offset, int count) argument 219 internalDeleteData(offset, count, false); 228 void internalDeleteData (int offset, int count, boolean replace) argument 247 int tailLength = Math.max(data.length() - count - offset, 0); 249 String value = data.substring(0, offset) + 250 (tailLength > 0 ? data.substring(offset + count, offset + count + tailLength) : ""); 255 ownerDocument.deletedText(this, offset, coun 273 insertData(int offset, String data) argument 287 internalInsertData(int offset, String data, boolean replace) argument 343 replaceData(int offset, int count, String data) argument 406 substringData(int offset, int count) argument [all...] |
H A D | TextImpl.java | 601 * @param offset 602 * The offset at which to split. If offset is at the end of the 605 * @return A reference to the new node (containing data after the offset 609 * if offset is <0 or >length. 614 public Text splitText(int offset) argument 626 if (offset < 0 || offset > data.length() ) { 633 getOwnerDocument().createTextNode(data.substring(offset)); 634 setNodeValue(data.substring(0, offset)); [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/io/ |
H A D | ASCIIReader.java | 140 * @param offset Offset at which to start storing characters 148 public int read(char ch[], int offset, int length) throws IOException { argument 160 ch[offset + i] = (char)b0;
|
H A D | UCSReader.java | 154 * @param offset Offset at which to start storing characters 162 public int read(char ch[], int offset, int length) throws IOException { argument 207 ch[offset+i] = (char)((b0<<24)+(b1<<16)+(b2<<8)+b3); 209 ch[offset+i] = (char)((b3<<24)+(b2<<16)+(b1<<8)+b0); 212 ch[offset+i] = (char)((b0<<8)+b1); 214 ch[offset+i] = (char)((b1<<8)+b0);
|
H A D | UTF8Reader.java | 274 * @param offset Offset at which to start storing characters 282 public int read(char ch[], int offset, int length) throws IOException { argument 285 int out = offset; 287 ch[offset + 1] = (char)fSurrogate; 306 count += out - offset; 310 // NOTE: Having an offset value other than zero means that there was 356 if (out > offset) { 359 return out - offset; 366 if (out > offset) { 370 return out - offset; [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/util/ |
H A D | SimpleLocator.java | 49 public SimpleLocator(String lsid, String esid, int line, int column, int offset) { argument 54 charOffset = offset; 57 public void setValues(String lsid, String esid, int line, int column, int offset) { argument 62 charOffset = offset; 106 public void setCharacterOffset(int offset) { argument 107 charOffset = offset;
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/encoding/ |
H A D | CDROutputStream_1_2.java | 286 public void write_wchar_array(char[] value, int offset, int length) argument 307 converter.convert(value[offset + i]);
|
/openjdk7/corba/src/share/classes/org/omg/CORBA/ |
H A D | DataInputStream.java | 189 /** Reads array of IDL Anys from offset for length elements from the 192 * @param offset The index into seq of the first element to read from the 199 void read_any_array (org.omg.CORBA.AnySeqHolder seq, int offset, int length); argument 201 /** Reads array of IDL booleans from offset for length elements from the 204 * @param offset The index into seq of the first element to read from the 211 void read_boolean_array (org.omg.CORBA.BooleanSeqHolder seq, int offset, int length); argument 213 /** Reads array of IDL characters from offset for length elements from the 216 * @param offset The index into seq of the first element to read from the 223 void read_char_array (org.omg.CORBA.CharSeqHolder seq, int offset, int length); argument 225 /** Reads array of IDL wide characters from offset fo 235 read_wchar_array(org.omg.CORBA.WCharSeqHolder seq, int offset, int length) argument 247 read_octet_array(org.omg.CORBA.OctetSeqHolder seq, int offset, int length) argument 259 read_short_array(org.omg.CORBA.ShortSeqHolder seq, int offset, int length) argument 271 read_ushort_array(org.omg.CORBA.UShortSeqHolder seq, int offset, int length) argument 283 read_long_array(org.omg.CORBA.LongSeqHolder seq, int offset, int length) argument 295 read_ulong_array(org.omg.CORBA.ULongSeqHolder seq, int offset, int length) argument 307 read_ulonglong_array(org.omg.CORBA.ULongLongSeqHolder seq, int offset, int length) argument 319 read_longlong_array(org.omg.CORBA.LongLongSeqHolder seq, int offset, int length) argument 331 read_float_array(org.omg.CORBA.FloatSeqHolder seq, int offset, int length) argument 343 read_double_array(org.omg.CORBA.DoubleSeqHolder seq, int offset, int length) argument [all...] |
H A D | DataOutputStream.java | 155 * Writes the array of IDL Anys from offset for length elements to the 158 * @param offset The index into seq of the first element to write to the 162 void write_any_array (org.omg.CORBA.Any[] seq, int offset, int length); argument 165 * Writes the array of IDL booleans from offset for length elements to the 168 * @param offset The index into seq of the first element to write to the 172 void write_boolean_array (boolean[] seq, int offset, int length); argument 175 * Writes the array of IDL characters from offset for length elements to the 178 * @param offset The index into seq of the first element to write to the 182 void write_char_array (char[] seq, int offset, int length); argument 185 * Writes the array of IDL wide characters from offset fo 192 write_wchar_array(char[] seq, int offset, int length) argument 202 write_octet_array(byte[] seq, int offset, int length) argument 212 write_short_array(short[] seq, int offset, int length) argument 222 write_ushort_array(short[] seq, int offset, int length) argument 232 write_long_array(int[] seq, int offset, int length) argument 242 write_ulong_array(int[] seq, int offset, int length) argument 252 write_ulonglong_array(long[] seq, int offset, int length) argument 262 write_longlong_array(long[] seq, int offset, int length) argument 272 write_float_array(float[] seq, int offset, int length) argument 282 write_double_array(double[] seq, int offset, int length) argument [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/code/ |
H A D | StubQueue.java | 83 long offset = pc.minus(getStubBuffer()); 84 return ((0 <= offset) && (offset < getBufferLimit())); 154 private Stub getStubAt(long offset) { argument 155 checkIndex(offset); 156 return (Stub) VMObjectFactory.newObject(stubType, getStubBuffer().addOffsetTo(offset));
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/interpreter/ |
H A D | Bytecode.java | 45 int alignedOffset(int offset) { argument 46 return Bits.roundTo(bci + offset, jintSize) - bci; 66 int javaSignedWordAt(int offset) { argument 67 return method.getBytecodeIntArg(bci + offset); 70 short javaShortAt(int offset) { argument 71 return method.getBytecodeShortArg(bci + offset); 74 byte javaByteAt(int offset) { argument 75 return method.getBytecodeByteArg(bci + offset);
|
H A D | OopMapCacheEntry.java | 32 public boolean isValue(int offset) { return !entryAt(offset); } argument 33 public boolean isOop (int offset) { return entryAt(offset); } argument 100 boolean entryAt(int offset) { argument 101 return mask.at(offset); 128 public void offsetDo(int offset) { if (!entry.isOop(offset)) failed = true; } argument
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/oops/ |
H A D | Field.java | 34 Field(FieldIdentifier id, long offset, boolean isVMField) { argument 35 this.offset = offset; 46 offset = holder.getFieldOffset(fieldIndex); 59 private long offset; field in class:Field 70 /** Returns the byte offset of the field within the object or klass */ 71 public long getOffset() { return offset; }
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/ |
H A D | NativeSignatureIterator.java | 33 // [RGV] We need seperate JNI and Java offset values because in 64 bit mode, the argument offsets 36 private int offset; // The java stack offset field in class:NativeSignatureIterator 38 private int jni_offset; // the current parameter offset, starting with 0 40 public void doBool () { passInt(); jni_offset++; offset++; } 41 public void doChar () { passInt(); jni_offset++; offset++; } 48 jni_offset++; offset++; 53 passDouble(); jni_offset++; offset += 2; 55 passDouble(); jni_offset += 2; offset += 2; 59 public void doByte () { passInt(); jni_offset++; offset 76 public int offset() { return offset; } method in class:NativeSignatureIterator [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/types/basic/ |
H A D | BasicField.java | 42 private long offset; field in class:BasicField 56 this.offset = field.offset; 69 this.offset = offsetInBytes; 94 return offset; 113 return addr.getJBooleanAt(offset); 119 return addr.getJByteAt(offset); 125 return addr.getJCharAt(offset); 131 return addr.getJDoubleAt(offset); 137 return addr.getJFloatAt(offset); [all...] |
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/ |
H A D | BitMap.java | 42 public boolean at(int offset) { argument 44 Assert.that(offset>=0 && offset < size(), "BitMap index out of bounds"); 46 return Bits.isSetNthBit(wordFor(offset), offset % bitsPerWord); 49 public void atPut(int offset, boolean value) { argument 50 int index = indexFor(offset); 51 int pos = offset % bitsPerWord; 80 for (int offset = index * bitsPerWord; rest != Bits.NoBits; offset 204 indexFor(int offset) argument 208 wordFor(int offset) argument 212 bitInWord(int offset) argument [all...] |
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | Document.java | 48 * as a position, or an offset. This position is zero-based. 283 * @param offs the offset from the beginning >= 0 301 * The offset and length of the generated DocumentEvent 316 * @param offset the offset into the document to insert the content >= 0. 329 public void insertString(int offset, String str, AttributeSet a) throws BadLocationException; argument 335 * @param offset the offset into the document representing the desired 343 public String getText(int offset, int length) throws BadLocationException; argument 373 * @param offset th 382 getText(int offset, int length, Segment txt) argument [all...] |
H A D | NumberFormatter.java | 346 void replace(DocumentFilter.FilterBypass fb, int offset, int length, argument 350 toggleSignIfNecessary(fb, offset, string.charAt(0))) { 353 super.replace(fb, offset, length, string, attr); 362 int offset, char aChar) throws 365 NumberFormat.Field field = getFieldFrom(offset, -1); 377 newValue = toggleExponentSign(offset, aChar); 380 int lc = getLiteralCountTo(offset); 386 repositionCursor(getLiteralCountTo(offset) - 387 lc + offset, 1); 447 private Object toggleExponentSign(int offset, cha argument 361 toggleSignIfNecessary(DocumentFilter.FilterBypass fb, int offset, char aChar) argument [all...] |
H A D | Segment.java | 53 * This is the offset into the array that 56 public int offset; field in class:Segment 77 * @param offset the offset into the array 80 public Segment(char[] array, int offset, int count) { argument 82 this.offset = offset; 119 return new String(array, offset, count); 134 pos = offset; 149 pos = offset [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/ |
H A D | PlatformFont.java | 120 * @param offset offset of first character of interest 123 public CharsetString[] makeMultiCharsetString(char str[], int offset, int len) { argument 124 return makeMultiCharsetString(str, offset, len, true); 130 * @param offset offset of first character of interest 140 public CharsetString[] makeMultiCharsetString(char str[], int offset, int len, argument 155 if (componentFonts[i].isExcluded(str[offset])){ 163 if (componentFonts[i].encoder.canEncode(str[offset])){ 165 tmpChar = str[offset]; [all...] |
/openjdk7/jdk/src/share/classes/sun/awt/im/ |
H A D | CompositionArea.java | 284 Rectangle getTextLocation(TextHitInfo offset) { argument 285 Rectangle rectangle = getCaretRectangle(offset);
|
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | ExtendedTextLabel.java | 105 * character at offset. If the character is part of a ligature 106 * (for example) a caret may not be appropriate at offset. 108 public abstract boolean caretAtOffsetIsValid(int offset); argument 127 * charStart and charLimit, starting at offset infoStart. Infos 135 * Apply deltas to the data in this component, starting at offset
|
H A D | SunLayoutEngine.java | 169 int baseIndex, char[] chars, int offset, int limit, 168 nativeLayout(Font2D font, FontStrike strike, float[] mat, int gmask, int baseIndex, char[] chars, int offset, int limit, int min, int max, int script, int lang, int typo_flags, Point2D.Float pt, GVData data, long upem, long layoutTables) argument
|
/openjdk7/jdk/src/share/classes/java/awt/image/ |
H A D | DataBuffer.java | 49 * bank. The DataBuffer can optionally take an offset per bank, so that 52 * element of a bank, uses the (0+offset)th element of the array. The 54 * use. Size + offset for a given bank should never be greater 98 protected int offset; field in class:DataBuffer 152 this.offset = 0; 158 * banks. Each bank has the specified size and an offset of 0. 172 * Each bank has the specified size and an offset of 0. 188 this.offset = 0; 194 * of banks. Each bank has the specified datatype, size and offset. 200 * @param offset th 202 DataBuffer(int dataType, int size, int numBanks, int offset) argument 219 DataBuffer(State initialState, int dataType, int size, int numBanks, int offset) argument [all...] |
H A D | RescaleOp.java | 38 * factor and then adding an offset. The scaled sample values are clipped 45 * dstElement = (srcElement*scaleFactor) + offset 95 * and offsets. The length of the scaleFactor and offset arrays 119 * and offset. The scaleFactor and offset will be applied to 124 * @param offset the specified offset 128 public RescaleOp (float scaleFactor, float offset, RenderingHints hints) { argument 133 this.offsets[0] = offset;
|