HomeSort by relevance Sort by last modified time
    Searched refs:offset (Results 126 - 150 of 5384) sorted by null

1 2 3 4 56 7 8 91011>>

  /frameworks/base/core/java/android/bluetooth/
BluetoothInputStream.java 70 * the byte array {@code b} starting at {@code offset}.
74 * @param offset
82 * if {@code offset < 0} or {@code length < 0}, or if
83 * {@code offset + length} is greater than the length of
89 public int read(byte[] b, int offset, int length) throws IOException {
93 if ((offset | length) < 0 || length > b.length - offset) {
94 throw new ArrayIndexOutOfBoundsException("invalid offset or length");
96 return mSocket.read(b, offset, length);
BluetoothOutputStream.java 61 * at position {@code offset} to this stream.
65 * @param offset
73 * if {@code offset < 0} or {@code count < 0}, or if
74 * {@code offset + count} is bigger than the length of
78 public void write(byte[] b, int offset, int count) throws IOException {
82 if ((offset | count) < 0 || count > b.length - offset) {
83 throw new IndexOutOfBoundsException("invalid offset or length");
85 mSocket.write(b, offset, count);
  /frameworks/base/core/java/android/content/pm/
LimitedLengthInputStream.java 22 * Current offset in the stream.
28 * @param offset offset into stream where data starts
29 * @param length length of data at offset
32 public LimitedLengthInputStream(InputStream in, long offset, long length) throws IOException {
39 if (offset < 0) {
40 throw new IOException("offset < 0");
47 if (length > Long.MAX_VALUE - offset) {
48 throw new IOException("offset + length > Long.MAX_VALUE");
51 mEnd = offset + length
    [all...]
  /libcore/luni/src/main/java/java/io/
OutputStream.java 87 * position {@code offset} to this stream.
91 * @param offset
99 * if {@code offset < 0} or {@code count < 0}, or if
100 * {@code offset + count} is bigger than the length of
103 public void write(byte[] buffer, int offset, int count) throws IOException {
104 Arrays.checkOffsetAndCount(buffer.length, offset, count);
105 for (int i = offset; i < offset + count; i++) {
  /libcore/luni/src/main/java/java/lang/
StringIndexOutOfBoundsException.java 78 public StringIndexOutOfBoundsException(String s, int offset, int count) {
79 this(s.length(), offset, count);
86 public StringIndexOutOfBoundsException(int sourceLength, int offset,
88 super("length=" + sourceLength + "; regionStart=" + offset
  /libcore/luni/src/main/java/java/util/zip/
Adler32.java 70 * starting from {@code offset} and reading {@code byteCount} bytes of data.
72 public void update(byte[] buf, int offset, int byteCount) {
73 Arrays.checkOffsetAndCount(buf.length, offset, byteCount);
74 adler = updateImpl(buf, offset, byteCount, adler);
77 private native long updateImpl(byte[] buf, int offset, int byteCount, long adler1);
CRC32.java 71 * starting from {@code offset} and reading {@code byteCount} bytes of data.
73 public void update(byte[] buf, int offset, int byteCount) {
74 Arrays.checkOffsetAndCount(buf.length, offset, byteCount);
76 crc = updateImpl(buf, offset, byteCount, crc);
79 private native long updateImpl(byte[] buf, int offset, int byteCount, long crc1);
Inflater.java 210 * {@code buf} starting at {@code offset}.
217 public synchronized int inflate(byte[] buf, int offset, int byteCount) throws DataFormatException {
218 Arrays.checkOffsetAndCount(buf.length, offset, byteCount);
228 int result = inflateImpl(buf, offset, byteCount, streamHandle);
235 private native int inflateImpl(byte[] buf, int offset, int byteCount, long handle);
279 * starting at {@code offset} and continuing for {@code byteCount} bytes. See {@link
282 public synchronized void setDictionary(byte[] dictionary, int offset, int byteCount) {
284 Arrays.checkOffsetAndCount(dictionary.length, offset, byteCount);
285 setDictionaryImpl(dictionary, offset, byteCount, streamHandle);
288 private native void setDictionaryImpl(byte[] dictionary, int offset, int byteCount, long handle)
    [all...]
  /dalvik/dx/src/com/android/dx/cf/code/
BasicBlocker.java 56 * {@code non-null, sparse;} for each instruction offset to a branch of
62 * {@code non-null, sparse;} for each instruction offset to a throwing
67 /** offset of the previously parsed bytecode */
122 public void visitInvalid(int opcode, int offset, int length) {
123 visitCommon(offset, length, true);
127 public void visitNoArgs(int opcode, int offset, int length, Type type) {
131 visitCommon(offset, length, false);
132 targetLists[offset] = IntList.EMPTY;
136 visitCommon(offset, length, false);
137 visitThrowing(offset, length, false)
    [all...]
  /external/openssh/
buffer.c 41 buffer->offset = 0;
65 buffer->offset = 0;
86 if (buffer->offset > MIN(buffer->alloc, BUFFER_MAX_CHUNK)) {
87 memmove(buffer->buf, buffer->buf + buffer->offset,
88 buffer->end - buffer->offset);
89 buffer->end -= buffer->offset;
90 buffer->offset = 0;
112 if (buffer->offset == buffer->end) {
113 buffer->offset = 0;
146 if (buffer->offset == buffer->end)
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/
WOFFFileFormat.cpp 68 static bool readUInt32(SharedBuffer* buffer, size_t& offset, uint32_t& value)
70 ASSERT_ARG(offset, offset <= buffer->size());
71 if (buffer->size() - offset < sizeof(value))
74 value = ntohl(*reinterpret_cast<const uint32_t*>(buffer->data() + offset));
75 offset += sizeof(value);
80 static bool readUInt16(SharedBuffer* buffer, size_t& offset, uint16_t& value)
82 ASSERT_ARG(offset, offset <= buffer->size());
83 if (buffer->size() - offset < sizeof(value)
108 size_t offset = 0; local
118 size_t offset = 0; local
    [all...]
  /external/webkit/Source/JavaScriptCore/assembler/
ARMAssembler.cpp 265 void ARMAssembler::dataTransfer32(bool isLoad, RegisterID srcDst, RegisterID base, int32_t offset, bool bytes)
268 if (offset >= 0) {
269 if (offset <= 0xfff)
270 dtr_u(isLoad, srcDst, base, offset | transferFlag);
271 else if (offset <= 0xfffff) {
272 add_r(ARMRegisters::S0, base, OP2_IMM | (offset >> 12) | (10 << 8));
273 dtr_u(isLoad, srcDst, ARMRegisters::S0, (offset & 0xfff) | transferFlag);
275 moveImm(offset, ARMRegisters::S0);
279 offset = -offset;
    [all...]
  /external/elfutils/tests/
run-show-die-info.sh 36 Offset : 11
37 CU offset : 11
46 Offset : 104
47 CU offset : 104
53 Offset : 127
54 CU offset : 127
60 Offset : 146
61 CU offset : 11
70 Offset : 239
71 CU offset : 10
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
OffsettedItem.java 23 * An item in a Dalvik file which is referenced by absolute offset.
41 * {@code >= -1;} assigned offset of the item from the start of its section,
44 private int offset; field in class:OffsettedItem
47 * Gets the absolute offset of the given item, returning {@code 0}
51 * @return {@code >= 0;} the item's absolute offset, or {@code 0}
63 * Constructs an instance. The offset is initially unassigned.
80 this.offset = -1;
182 * Gets the relative item offset. The offset is from the start of
185 * @return {@code >= 0;} the offset
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
OffsettedItem.java 23 * An item in a Dalvik file which is referenced by absolute offset.
41 * {@code >= -1;} assigned offset of the item from the start of its section,
44 private int offset; field in class:OffsettedItem
47 * Gets the absolute offset of the given item, returning {@code 0}
51 * @return {@code >= 0;} the item's absolute offset, or {@code 0}
63 * Constructs an instance. The offset is initially unassigned.
80 this.offset = -1;
182 * Gets the relative item offset. The offset is from the start of
185 * @return {@code >= 0;} the offset
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
OffsettedItem.java 23 * An item in a Dalvik file which is referenced by absolute offset.
41 * {@code >= -1;} assigned offset of the item from the start of its section,
44 private int offset; field in class:OffsettedItem
47 * Gets the absolute offset of the given item, returning {@code 0}
51 * @return {@code >= 0;} the item's absolute offset, or {@code 0}
63 * Constructs an instance. The offset is initially unassigned.
80 this.offset = -1;
182 * Gets the relative item offset. The offset is from the start of
185 * @return {@code >= 0;} the offset
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
SHA1_MessageDigestImpl.java 73 * offset - offset in digest
75 private void processDigest(byte[] digest, int offset) {
121 j = offset;
171 * Upon return, the value is stored in "buf" buffer beginning "offset" byte. <BR>
180 * offset a position in the array for first byte of the message digest
191 * if offset + len > buf.length <BR>
192 * if offset > buf.length or len > buf.length
198 * if offset < 0
200 protected int engineDigest(byte[] buf, int offset, int len) throws DigestException
    [all...]
  /dalvik/dx/src/com/android/dx/cf/direct/
CodeObserver.java 68 public void visitInvalid(int opcode, int offset, int length) {
69 observer.parsed(bytes, offset, length, header(offset));
73 public void visitNoArgs(int opcode, int offset, int length, Type type) {
74 observer.parsed(bytes, offset, length, header(offset));
78 public void visitLocal(int opcode, int offset, int length,
94 observer.parsed(bytes, offset, length,
95 header(offset) + (argComment ? " // " : " ") +
100 public void visitConstant(int opcode, int offset, int length
    [all...]
  /dalvik/libdex/
DexDataMap.cpp 71 * Add a new element to the map. The offset must be greater than the
74 void dexDataMapAdd(DexDataMap* map, u4 offset, u2 type) {
79 (map->offsets[map->count - 1] >= offset)) {
80 ALOGE("Out-of-order data map offset: %#x then %#x",
81 map->offsets[map->count - 1], offset);
85 map->offsets[map->count] = offset;
91 * Get the type associated with the given offset. This returns -1 if
92 * there is no entry for the given offset.
94 int dexDataMapGet(DexDataMap* map, u4 offset) {
106 if (offset < guess)
    [all...]
  /external/elfutils/libdw/
dwarf_getabbrev.c 1 /* Get abbreviation at given offset.
62 __libdw_getabbrev (dbg, cu, offset, lengthp, result)
65 Dwarf_Off offset;
73 if (offset >= dbg->sectiondata[IDX_debug_abbrev]->d_size)
80 = (unsigned char *) dbg->sectiondata[IDX_debug_abbrev]->d_buf + offset;
121 assert (abb->offset == offset);
135 abb->offset = offset;
162 dwarf_getabbrev (die, offset, lengthp
    [all...]
dwarf_offabbrev.c 1 /* Get abbreviation at given offset.
59 dwarf_offabbrev (Dwarf *dbg, Dwarf_Off offset, size_t *lengthp,
65 Dwarf_Abbrev *abbrev = __libdw_getabbrev (dbg, NULL, offset, lengthp,
  /external/proguard/src/proguard/classfile/instruction/
BranchInstruction.java 28 * This interface describes an instruction that branches to a given offset in
115 protected void readInfo(byte[] code, int offset)
117 branchOffset = readSignedValue(code, offset, branchOffsetSize());
121 protected void writeInfo(byte[] code, int offset)
125 throw new IllegalArgumentException("Instruction has invalid branch offset size ("+this.toString(offset)+")");
128 writeSignedValue(code, offset, branchOffset, branchOffsetSize());
132 public int length(int offset)
138 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, InstructionVisitor instructionVisitor)
140 instructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, this)
    [all...]
  /external/apache-harmony/support/src/test/java/tests/support/
Support_StringWriter.java 99 * Writes <code>count</code> characters starting at <code>offset</code>
104 * @param offset
105 * offset in buf to retrieve characters
110 * If offset or count are outside of bounds.
113 public void write(char[] buf, int offset, int count) {
115 if (0 <= offset && offset <= buf.length && 0 <= count
116 && count <= buf.length - offset) {
118 this.buf.append(buf, offset, count);
158 * <code>offset</code> from the String <code>str</code> to thi
    [all...]
  /external/chromium/chrome/browser/ui/cocoa/
first_run_bubble_controller.h 22 offset:(NSPoint)offset
  /external/chromium/chrome/browser/ui/views/
dropdown_bar_view.h 32 void set_animation_offset(int offset) { animation_offset_ = offset; }
34 // Returns the offset used while animating.
46 // part of it. The view needs to know the pixel offset at which we are drawing

Completed in 545 milliseconds

1 2 3 4 56 7 8 91011>>