Searched defs:offset (Results 226 - 250 of 840) sorted by relevance

1234567891011>>

/openjdk7/jdk/src/share/native/sun/font/layout/
H A DHanLayoutEngine.cpp79 le_int32 HanOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool /*rightToLeft*/, argument
86 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
H A DIndicLayoutEngine.cpp81 le_int32 IndicOpenTypeLayoutEngine::glyphProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
88 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
93 le_int32 retCount = OpenTypeLayoutEngine::glyphProcessing(chars, offset, count, max, rightToLeft, glyphStorage, success);
112 le_int32 IndicOpenTypeLayoutEngine::characterProcessing(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, argument
119 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) {
146 outCharCount = IndicReordering::v2process(&chars[offset], coun
[all...]
H A DLigatureSubstProc.cpp95 le_int32 offset, i = 0; local
109 offset = action & lafComponentOffsetMask;
110 if (offset != 0) {
111 LEReferenceToArrayOf<le_int16> offsetTable(stHeader, success, 2 * SignExtend(offset, lafComponentOffsetMask), LE_UNBOUNDED_ARRAY);
H A DLigatureSubstProc2.cpp97 LEReferenceTo<LigatureActionEntry> ap(stHeader, success, ligActionOffset); // byte offset
98 ap.addObject(ligActionIndex - 1, success); // index offset ( one before the actual start, because we will pre-increment)
101 le_int32 offset, i = 0; local
121 offset = action & lafComponentOffsetMask;
122 if (offset != 0) {
128 i += SWAPW(componentTable(LE_GET_GLYPH(glyphStorage[componentGlyph]) + (SignExtend(offset, lafComponentOffsetMask)),success));
/openjdk7/jdk/src/share/classes/sun/security/jgss/
H A DGSSToken.java86 * @param pos the offset in the array
132 * @param pos the offset to start writing to
157 * @param pos the offset to start reading from
185 * @param offset the offset to start storing at
192 byte[] buffer, int offset, int len)
196 temp = is.read(buffer, offset, len);
201 offset += temp;
191 readFully(InputStream is, byte[] buffer, int offset, int len) argument
/openjdk7/jdk/src/share/classes/sun/security/jgss/krb5/
H A DMicToken.java50 public void verify(byte[] data, int offset, int len) throws GSSException { argument
51 if (!verifySignAndSeqNumber(null, data, offset, len, null))
97 public int encode(byte[] outToken, int offset) argument
103 System.arraycopy(token, 0, outToken, offset, token.length);
H A DWrapToken_v2.java61 * @param tokenOffset the offset of the token
115 * @param dataBufOffset the offset at which to write the data
217 public int encode(byte[] outToken, int offset) throws IOException { argument
219 System.arraycopy(token, 0, outToken, offset, token.length);
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/crypto/
H A DDes.java150 public static long octet2long(byte[] input, int offset) { //convert a 8-byte to a long argument
153 if (i + offset < input.length) {
154 result |= (((long)input[i + offset]) & 0xffL) << ((7 - i) * 8);
172 public static void long2octet(long input, byte[] output, int offset) { argument
174 if (i + offset < output.length) {
175 output[i + offset] =
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11KeyAgreement.java236 offset) throws IllegalStateException, ShortBufferException {
238 int n = multiPartyAgreement.generateSecret(sharedSecret, offset);
242 if (offset + secretLen > sharedSecret.length) {
244 + " bytes, only " + (sharedSecret.length - offset) + " available");
247 System.arraycopy(secret, 0, sharedSecret, offset, secret.length);
235 engineGenerateSecret(byte[] sharedSecret, int offset) argument
H A DP11SecretKeyFactory.java180 static void fixDESParity(byte[] key, int offset) { argument
182 int b = key[offset] & 0xfe;
184 key[offset++] = (byte)b;
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DEngineArgs.java45 private int offset; // offset/len for the appData array. field in class:EngineArgs
70 EngineArgs(ByteBuffer [] appData, int offset, int len, argument
73 init(netData, appData, offset, len);
79 EngineArgs(ByteBuffer netData, ByteBuffer [] appData, int offset, argument
82 init(netData, appData, offset, len);
97 int offset, int len) {
103 if ((offset < 0) || (len < 0) || (offset > appData.length - len)) {
117 for (int i = offset;
96 init(ByteBuffer netData, ByteBuffer [] appData, int offset, int len) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/security/util/
H A DDerInputBuffer.java49 DerInputBuffer(byte[] buf, int offset, int len) { argument
50 super(buf, offset, len);
396 throw new IOException("Parse " + type + " time, invalid offset");
429 throw new IOException("Parse " + type + " time, garbage offset");
H A DManifestDigester.java42 /** the offset/length pair for a section */
57 * @param offset should point to the starting offset with in the
65 private boolean findSection(int offset, Position pos) argument
67 int i = offset, len = rawBytes.length;
68 int last = offset;
193 int offset; field in class:ManifestDigester.Entry
199 public Entry(int offset, int length, argument
202 this.offset = offset;
219 doOldStyle(MessageDigest md, byte[] bytes, int offset, int length) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/text/normalizer/
H A DUCharacterIterator.java225 * @param offset the position within the array to start putting the data.
228 * room after offset in the array, or if offset < 0.
231 public abstract int getText(char[] fillIn, int offset); argument
236 * an offset of 0.
/openjdk7/jdk/src/share/classes/sun/util/locale/
H A DStringTokenIterator.java91 public StringTokenIterator setStart(int offset) { argument
92 if (offset > text.length()) {
95 start = offset;
/openjdk7/jdk/test/java/text/BreakIterator/
H A DMirroredBreakIterator.java100 public int following(int offset) { argument
101 validateOffset(offset);
104 if (i > offset) {
112 public int preceding(int offset) { argument
113 validateOffset(offset);
116 if (i < offset) {
124 public boolean isBoundary(int offset) { argument
126 return super.isBoundary(offset);
161 private void validateOffset(int offset) { argument
162 if (offset < boundarie
[all...]
/openjdk7/jdk/test/javax/management/monitor/
H A DCounterMonitorTest.java46 // offset number
47 private int offset = 0; field in class:CounterMonitorTest
H A DCounterMonitorThresholdTest.java27 * @summary Wrong threshold value in CounterMonitor with offset and modulus.
95 public static void runTest(int offset, argument
110 ",offset=" + offset);
121 ",offset=" + offset);
133 cm.setOffset(offset);
/openjdk7/jdk/src/share/classes/sun/io/
H A DByteToCharGB18030.java218 int offset = (((byte1 - 0x81) * 10 +
221 int hiByte = (offset >>8) & 0xFF;
222 int lowByte = (offset & 0xFF);
229 if (offset <= 0x4A62)
230 output[charOff++] = getChar(offset);
231 else if (offset > 0x4A62 && offset <= 0x82BC)
232 output[charOff++] = (char) (offset + 0x5543);
233 else if (offset >= 0x82BD && offset <
282 getChar(int offset) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DCompositePipe.java44 byte[] atile, int offset, int tilesize,
43 renderPathTile(Object context, byte[] atile, int offset, int tilesize, int x, int y, int w, int h) argument
/openjdk7/jdk/src/share/classes/sun/misc/
H A DCharacterDecoder.java133 protected int readFully(InputStream in, byte buffer[], int offset, int len) argument
139 buffer[i+offset] = (byte)q;
/openjdk7/jdk/src/share/classes/sun/nio/ch/
H A DAbstractPollSelectorImpl.java64 AbstractPollSelectorImpl(SelectorProvider sp, int channels, int offset) { argument
67 this.channelOffset = offset;
/openjdk7/jdk/src/share/classes/sun/security/ec/
H A DECDHKeyAgreement.java139 offset) throws IllegalStateException, ShortBufferException {
140 if (offset + secretLen > sharedSecret.length) {
142 + " bytes, only " + (sharedSecret.length - offset) + " available");
145 System.arraycopy(secret, 0, sharedSecret, offset, secret.length);
138 engineGenerateSecret(byte[] sharedSecret, int offset) argument
/openjdk7/jaxp/src/com/sun/org/apache/bcel/internal/generic/
H A DBranchInstruction.java75 protected int position; // Byte code offset
103 throw new ClassGenException("Branch target offset too large for short");
110 * @return the offset to `target' relative to this instruction
120 throw new ClassGenException("Invalid branch target position offset for " +
127 * @return the offset to this instruction's target
137 * @param offset additional offset caused by preceding (variable length) instructions
138 * @param max_offset the maximum offset that may be caused by these instructions
139 * @return additional offset caused by possible change of this instruction's length
141 protected int updatePosition(int offset, in argument
[all...]
H A DSelect.java121 * @param offset additional offset caused by preceding (variable length) instructions
122 * @param max_offset the maximum offset that may be caused by these instructions
123 * @return additional offset caused by possible change of this instruction's length
126 protected int updatePosition(int offset, int max_offset) { argument
127 position += offset; // Additional offset caused by preceding SWITCHs, GOTOs, etc.
150 index = getTargetOffset(); // Write default target offset

Completed in 71 milliseconds

1234567891011>>