HomeSort by relevance Sort by last modified time
    Searched refs:offset (Results 176 - 200 of 9687) sorted by null

1 2 3 4 5 6 78 91011>>

  /frameworks/base/core/java/android/bluetooth/
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);
BluetoothGattCharacteristic.java 436 * characteristic value at the given offset are interpreted to generate the
441 * @param offset Offset at which the integer value can be found.
442 * @return Cached value of the characteristic or null of offset exceeds
445 public Integer getIntValue(int formatType, int offset) {
446 if ((offset + getTypeLen(formatType)) > mValue.length) return null;
450 return unsignedByteToInt(mValue[offset]);
453 return unsignedBytesToInt(mValue[offset], mValue[offset+1]);
456 return unsignedBytesToInt(mValue[offset], mValue[offset+1]
    [all...]
  /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...]
  /frameworks/base/media/java/android/media/
DataSource.java 30 * @param offset where in the source to read
35 public int readAt(long offset, byte[] buffer, int size);
  /hardware/qcom/display/msm8960/libgralloc/
ionalloc.h 45 int offset, int fd);
48 int offset, int fd);
51 int offset);
54 int offset, int fd, int op);
  /hardware/qcom/display/msm8974/libgralloc/
ionalloc.h 45 int offset, int fd);
48 int offset, int fd);
51 int offset);
54 int offset, int fd, int op);
  /hardware/qcom/display/msm8x26/libgralloc/
ionalloc.h 45 int offset, int fd);
48 int offset, int fd);
51 int offset);
54 int offset, int fd, int op);
  /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...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_anon.py 17 self.assertEqual(Y.a.offset, sizeof(c_int))
18 self.assertEqual(Y.b.offset, sizeof(c_int))
20 self.assertEqual(ANON.a.offset, 0)
21 self.assertEqual(ANON.b.offset, 0)
53 self.assertEqual(Y.x.offset, 0)
54 self.assertEqual(Y.a.offset, sizeof(c_int))
55 self.assertEqual(Y.b.offset, sizeof(c_int))
56 self.assertEqual(Y._.offset, sizeof(c_int))
57 self.assertEqual(Y.y.offset, sizeof(c_int) * 2)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_anon.py 17 self.assertEqual(Y.a.offset, sizeof(c_int))
18 self.assertEqual(Y.b.offset, sizeof(c_int))
20 self.assertEqual(ANON.a.offset, 0)
21 self.assertEqual(ANON.b.offset, 0)
53 self.assertEqual(Y.x.offset, 0)
54 self.assertEqual(Y.a.offset, sizeof(c_int))
55 self.assertEqual(Y.b.offset, sizeof(c_int))
56 self.assertEqual(Y._.offset, sizeof(c_int))
57 self.assertEqual(Y.y.offset, sizeof(c_int) * 2)
  /system/core/include/utils/
Compat.h 30 static inline off64_t lseek64(int fd, off64_t offset, int whence) {
31 return lseek(fd, offset, whence);
35 static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset) {
36 return pread(fd, buf, nbytes, offset);
  /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...]
BytecodeArray.java 112 * Don't record the previous offset here, so that we get to see the
120 * Finds the offset to each instruction in the bytecode array. The
121 * result is a bit set with the offset of each opcode-per-se flipped on.
143 * the indicated offset (that is, the bit index), repeating until the
157 int offset = Bits.findFirst(workSet, 0); local
158 if (offset < 0) {
161 Bits.clear(workSet, offset);
162 parseInstruction(offset, visitor);
163 visitor.setPreviousOffset(offset);
168 * Parses the instruction at the indicated offset. Indicate th
    [all...]
  /external/chromium_org/mojo/public/bindings/generators/
mojom_pack.py 12 # will have an offset, a size and a bit (for mojom.BOOLs).
42 self.offset = None
47 def GetPad(offset, size):
48 return (size - (offset % size)) % size
51 # Returns a 2-tuple of the field offset and bit (for BOOLs)
56 return (last_field.offset, last_field.bit + 1)
58 offset = last_field.offset + last_field.size
59 pad = GetPad(offset, field.size)
60 return (offset + pad, 0
    [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/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/chromium_org/third_party/WebKit/Source/wtf/
TypedArrayBase.h 40 bool set(TypedArrayBase<T>* array, unsigned offset)
42 return setImpl(array, offset * sizeof(T));
45 bool setRange(const T* data, size_t dataLength, unsigned offset)
47 return setRangeImpl(reinterpret_cast<const char*>(data), dataLength * sizeof(T), offset * sizeof(T));
50 bool zeroRange(unsigned offset, size_t length)
52 return zeroRangeImpl(offset * sizeof(T), length * sizeof(T));
76 bool checkInboundData(unsigned offset, unsigned pos) const
78 return (offset <= m_length
79 && offset + pos <= m_length
81 && offset + pos >= 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 71 * offset - offset in digest
73 private void processDigest(byte[] digest, int offset) {
119 j = offset;
169 * Upon return, the value is stored in "buf" buffer beginning "offset" byte. <BR>
178 * offset a position in the array for first byte of the message digest
189 * if offset + len > buf.length <BR>
190 * if offset > buf.length or len > buf.length
196 * if offset < 0
198 protected int engineDigest(byte[] buf, int offset, int len) throws DigestException
    [all...]

Completed in 586 milliseconds

1 2 3 4 5 6 78 91011>>