/external/webkit/WebCore/dom/ |
RangeBoundaryPoint.h | 41 int offset() const; 46 void set(PassRefPtr<Node> container, int offset, Node* childBefore); 47 void setOffset(int offset); 98 inline int RangeBoundaryPoint::offset() const function in class:WebCore::RangeBoundaryPoint 111 inline void RangeBoundaryPoint::set(PassRefPtr<Node> container, int offset, Node* childBefore) 114 ASSERT(offset >= 0); 115 ASSERT(childBefore == (offset ? container->childNode(offset - 1) : 0)); 117 m_offsetInContainer = offset; 121 inline void RangeBoundaryPoint::setOffset(int offset) [all...] |
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
PYXWriter.java | 37 public void adup(char[] buff, int offset, int length) throws SAXException { 42 public void aname(char[] buff, int offset, int length) throws SAXException { 44 theWriter.write(buff, offset, length); 46 attrName = new String(buff, offset, length); 49 public void aval(char[] buff, int offset, int length) throws SAXException { 50 theWriter.write(buff, offset, length); 55 public void cmnt(char [] buff, int offset, int length) throws SAXException { 57 // theWriter.write(buff, offset, length); 61 public void entity(char[] buff, int offset, int length) throws SAXException { } 65 public void eof(char[] buff, int offset, int length) throws SAXException [all...] |
/dalvik/dx/src/com/android/dx/cf/direct/ |
StdAttributeFactory.java | 82 int offset, int length, ParseObserver observer) { 86 return deprecated(cf, offset, length, observer); 89 return enclosingMethod(cf, offset, length, observer); 92 return innerClasses(cf, offset, length, observer); 95 return runtimeInvisibleAnnotations(cf, offset, length, 99 return runtimeVisibleAnnotations(cf, offset, length, 103 return synthetic(cf, offset, length, observer); 106 return signature(cf, offset, length, observer); 109 return sourceFile(cf, offset, length, observer); 115 return constantValue(cf, offset, length, observer) [all...] |
/dalvik/dx/src/com/android/dx/command/dump/ |
BaseDumper.java | 67 /** the offset of the next byte to dump */ 126 public void parsed(ByteArray bytes, int offset, int len, String human) { 127 offset = bytes.underlyingOffset(offset, getBytes()); 131 if (offset < at) { 132 println("<dump skipped backwards to " + Hex.u4(offset) + ">"); 133 at = offset; 134 } else if (offset > at) { 135 String hex = rawBytes ? hexDump(at, offset - at) : ""; 136 print(twoColumns(hex, "<skipped to " + Hex.u4(offset) + ">")) [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
Socks4Message.java | 183 * Get a 16 bit integer from the buffer at the offset given. 185 private int getInt16(int offset) { 186 return (((buffer[offset] & 0xFF) << 8) + (buffer[offset + 1] & 0xFF)); 190 * Get a 32 bit integer from the buffer at the offset given. 192 private int getInt32(int offset) { 193 return ((buffer[offset + 3] & 0xFF) 194 + ((buffer[offset + 2] & 0xFF) << 8) 195 + ((buffer[offset + 1] & 0xFF) << 16) + ((buffer[offset + 0] & 0xFF) << 24)) [all...] |
/external/proguard/src/proguard/classfile/editor/ |
InstructionWriter.java | 66 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) 70 simpleInstruction.write(codeAttribute, offset); 74 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 79 constantInstruction.write(codeAttribute, offset); 89 replaceInstruction(offset, replacementInstruction); 94 constantInstruction.write(codeAttribute, offset); 99 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) 104 variableInstruction.write(codeAttribute, offset); 114 replaceInstruction(offset, replacementInstruction); 119 variableInstruction.write(codeAttribute, offset); [all...] |
/frameworks/base/awt/org/apache/harmony/x/imageio/stream/ |
RandomAccessMemoryCache.java | 67 public void putData(byte[] buffer, int offset, int count, long pos) { 68 if (count > buffer.length - offset || count < 0 || offset < 0) { 84 System.arraycopy(buffer, offset, block, blockOffset, toCopy); 87 offset += toCopy; 100 public int getData(byte[] buffer, int offset, int count, long pos) { 101 if (count > buffer.length - offset || count < 0 || offset < 0) { 117 System.arraycopy(block, (int)(pos & BLOCK_MASK), buffer, offset, nbytes); 133 public void readFully(byte[] buffer, int offset, int count) throws IOException 177 int offset = (int) (startPos & BLOCK_MASK); local 211 int offset = (int) (pos & BLOCK_MASK); local [all...] |
/dalvik/libcore/crypto/src/main/java/javax/crypto/spec/ |
DESedeKeySpec.java | 64 * <code>offset</code>. 68 * @param offset 69 * the offset to start at. 71 * if the length of the key data starting at offset is less than 76 public DESedeKeySpec(byte[] key, int offset) 81 if (key.length - offset < DES_EDE_KEY_LEN) { 86 System.arraycopy(key, offset, this.key, 0, DES_EDE_KEY_LEN); 101 * Returns whether the specified key data starting at <code>offset</code> is 106 * @param offset 107 * the offset to start checking at [all...] |
/dalvik/libcore/security/src/main/java/java/security/ |
MessageDigestSpi.java | 58 * @param offset 63 * if {@code offset} or {@code len} are not valid in respect to 66 protected abstract void engineUpdate(byte[] input, int offset, int len); 81 int offset = input.arrayOffset(); local 84 engineUpdate(tmp, offset+position, limit - position); 110 * @param offset 118 * if {@code offset} or {@code len} are not valid in respect to 122 protected int engineDigest(byte[] buf, int offset, int len) 128 if (offset < 0) { 132 if (offset + len > buf.length) [all...] |
/external/emma/core/java12/com/vladium/util/ |
ByteArrayIStream.java | 53 public final int read (final byte [] buf, final int offset, int length) 56 $assert.ASSERT ((offset >= 0) && (offset <= buf.length) && 57 (length >= 0) && ((offset + length) <= buf.length), 58 "invalid input (" + buf.length + ", " + offset + ", " + length + ")"); 70 for (int i = 0; i < length; ++ i) buf [offset + i] = mbuf [pos + i]; 72 System.arraycopy (mbuf, pos, buf, offset, length);
|
/external/icu4c/layout/ |
GXLayoutEngine.cpp | 31 le_int32 GXLayoutEngine::computeGlyphs(const LEUnicode chars[], le_int32 offset, le_int32 count, le_int32 max, le_bool rightToLeft, LEGlyphStorage &glyphStorage, LEErrorCode &success) 37 if (chars == NULL || offset < 0 || count < 0 || max < 0 || offset >= max || offset + count > max) { 42 mapCharsToGlyphs(chars, offset, count, FALSE, rightToLeft, glyphStorage, success); 54 void GXLayoutEngine::adjustGlyphPositions(const LEUnicode chars[], le_int32 offset, le_int32 count, le_bool /*reverse*/, 61 if (chars == NULL || offset < 0 || count < 0) {
|
/external/proguard/src/proguard/optimize/peephole/ |
GotoGotoReplacer.java | 72 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 75 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) 85 int targetOffset = offset + branchOffset; 87 if (branchOffset != branchInstruction.length(offset) && 88 !codeAttributeEditor.isModified(offset) && 102 codeAttributeEditor.replaceInstruction(offset, 108 extraInstructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction);
|
/frameworks/base/libs/rs/java/Film/res/raw/ |
filmstrip.c | 71 int offset = (int)floorf(pos * 2.f); local 74 offset = offset + triangleOffsetsCount / 2; 75 if (!((offset < 0) || (offset >= triangleOffsetsCount))) { 76 int start = offset -2; 77 int end = offset + 2;
|
/system/core/libcutils/ |
open_memstream.c | 73 size_t offset; /* current write offset */ member in struct:__anon13056 81 * current offset. We also have to take into account the extra '\0' 88 DBUG(("+++ ensureCap off=%d size=%d\n", stream->offset, writeSize)); 90 size_t neededSize = stream->offset + writeSize + 1; 131 if (stream->eof < stream->offset) { 133 stream->eof, stream->offset-1)); 135 stream->offset - stream->eof); 139 memcpy(*stream->bufp + stream->offset, buf, size); 140 stream->offset += size [all...] |
/bootable/bootloader/legacy/include/boot/ |
flash.h | 55 int flash_read_ext(ptentry *ptn, unsigned extra_per_page, unsigned offset, 57 #define flash_read(ptn, offset, data, bytes) flash_read_ext(ptn, 0, offset, data, bytes)
|
/dalvik/libcore/icu/src/main/java/com/ibm/icu4jni/text/ |
NativeBreakIterator.java | 39 static native int precedingImpl(int biaddress, int offset); 41 static native boolean isBoundaryImpl(int biaddress, int offset); 51 static native int followingImpl(int biaddress, int offset);
|
/dalvik/libcore/luni/src/main/java/java/net/ |
DatagramPacket.java | 49 int offset = 0; field in class:DatagramPacket 67 * {@code length} bytes with a specified buffer offset. 71 * @param offset 72 * the offset of the byte array where the bytes is written. 76 public DatagramPacket(byte[] data, int offset, int length) { 78 setData(data, offset, length); 85 * length} bytes from the byte array position {@code offset} are sent. 89 * @param offset 90 * the offset of {@code data} where to read from. 98 public DatagramPacket(byte[] data, int offset, int length [all...] |
/external/emma/core/java12/com/vladium/jcd/cls/ |
IAttributeCollection.java | 30 * Returns the attribute descriptor at a given offset. 32 * @param offset attribute offset [must be in [0, size()) range; input not checked] 35 * @throws IndexOutOfBoundsException if 'offset' is outside of valid range 37 Attribute_info get (int offset); 74 * Replaces the Attribute_info descriptor at a given offset. No duplicate 79 * @param offset attribute offset [must be in [0, size()) range; input not checked] 81 * @return previous attribute descriptor at this offset [never null] 83 * @throws IndexOutOfBoundsException if 'offset' is outside of valid rang [all...] |
/external/opencore/codecs_v2/audio/gsm_amr/amr_wb/dec/src/ |
isp_isf.cpp | 154 int16 i, ind, offset; local 166 offset = (isp[i] & 0x007f); /* offset = b0-b6 of isf[i] */ 168 /* isp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 128 */ 170 L_tmp = mul_16by16_to_int32(table[ind + 1] - table[ind], offset);
|
/external/proguard/src/proguard/classfile/instruction/ |
SwitchInstruction.java | 71 public String toString(int offset) 73 return "["+offset+"] "+toString()+" (target="+(offset+defaultOffset)+")";
|
/external/proguard/src/proguard/classfile/instruction/visitor/ |
MultiInstructionVisitor.java | 84 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) 88 instructionVisitors[index].visitSimpleInstruction(clazz, method, codeAttribute, offset, simpleInstruction); 92 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) 96 instructionVisitors[index].visitVariableInstruction(clazz, method, codeAttribute, offset, variableInstruction); 100 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 104 instructionVisitors[index].visitConstantInstruction(clazz, method, codeAttribute, offset, constantInstruction); 108 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) 112 instructionVisitors[index].visitBranchInstruction(clazz, method, codeAttribute, offset, branchInstruction); 116 public void visitTableSwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TableSwitchInstruction tableSwitchInstruction) 120 instructionVisitors[index].visitTableSwitchInstruction(clazz, method, codeAttribute, offset, tableSwitchInstruction) [all...] |
/external/proguard/src/proguard/optimize/evaluation/ |
TracedBranchUnit.java | 40 int offset, 47 super.branch(clazz, codeAttribute, offset, branchTarget); 52 super.branchConditionally(clazz, codeAttribute, offset, branchTarget, conditional);
|
/external/skia/src/animator/ |
SkTextOnPath.cpp | 28 SK_MEMBER(offset, Float), 37 SkTextOnPath::SkTextOnPath() : offset(0), path(NULL), text(NULL) { 45 path->getPath(), offset, 0, *maker.fPaint);
|
/external/webkit/WebCore/editing/gtk/ |
SelectionControllerGtk.cpp | 36 int offset; local 38 AccessibilityObject* object = objectAndOffsetUnignored(accessibilityObject, offset, true); 41 g_signal_emit_by_name(wrapper, "text-caret-moved", offset);
|
/external/webkit/WebCore/platform/graphics/gtk/ |
GlyphPageTreeNodeGtk.cpp | 38 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) 53 setGlyphDataForIndex(offset + i, 0, 0); 55 setGlyphDataForIndex(offset + i, glyph, fontData);
|