HomeSort by relevance Sort by last modified time
    Searched refs:offset (Results 26 - 50 of 16262) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
Asn1Decoder.java 47 * @throws IndexOutOfBoundsException If the range defined by {@code offset} and {@code length}
50 public Asn1Decoder(byte[] bytes, int offset, int length) {
51 if (offset < 0 || length < 0 || offset + length > bytes.length) {
55 + "], offset="
56 + offset
61 mPosition = offset;
62 mEnd = offset + length;
89 int offset = mPosition; local
92 int tagStart = offset;
    [all...]
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
Sector.java 32 private final long offset; field in class:Sector
41 protected Sector(BlockDevice device, long offset, int size) {
42 this.offset = offset;
59 device.read(offset, buffer);
85 device.write(offset, buffer);
89 protected int get16(int offset) {
90 return buffer.getShort(offset) & 0xffff;
93 protected long get32(int offset) {
94 return buffer.getInt(offset) & 0xffffffff
    [all...]
  /external/compiler-rt/test/asan/TestCases/
debug_mapping.cc 1 // Checks that the debugging API returns correct shadow scale and offset.
11 // CHECK: SHADOW_OFFSET: [[OFFSET:0x[0-9a-f]+]]
14 size_t scale, offset; local
15 __asan_get_shadow_mapping(&scale, &offset);
18 fprintf(stderr, "offset: 0x%lx\n", offset);
21 // CHECK: offset: [[OFFSET]]
  /external/elfutils/libdwfl/
dwfl_getmodules.c 36 ptrdiff_t offset)
42 But continuing from an offset is slow that way. So when
46 choose the style of place-holder when we return an offset,
51 if ((offset & 3) == 1)
53 offset >>= 2;
54 for (ptrdiff_t pos = 0; pos < offset; ++pos)
60 else if (((offset & 3) == 2) && likely (dwfl->lookup_module != NULL))
62 offset >>= 2;
64 if ((size_t) offset - 1 == dwfl->lookup_elts)
67 if (unlikely ((size_t) offset - 1 > dwfl->lookup_elts)
    [all...]
  /external/puffin/src/include/puffin/
common.h 41 ByteExtent(uint64_t offset, uint64_t length)
42 : offset(offset), length(length) {}
45 return this->length == other.length && this->offset == other.offset;
48 uint64_t offset; member in struct:puffin::ByteExtent
53 BitExtent(uint64_t offset, uint64_t length)
54 : offset(offset), length(length) {}
57 return this->length == other.length && this->offset == other.offset
60 uint64_t offset; member in struct:puffin::BitExtent
    [all...]
  /external/skia/src/sksl/
SkSLErrorReporter.h 22 void error(int offset, const char* msg) {
23 this->error(offset, String(msg));
26 virtual void error(int offset, String msg) = 0;
  /external/skqp/src/sksl/
SkSLErrorReporter.h 22 void error(int offset, const char* msg) {
23 this->error(offset, String(msg));
26 virtual void error(int offset, String msg) = 0;
  /frameworks/minikin/libs/minikin/
LayoutUtils.cpp 49 * Return offset of previous word break. It is either < offset or == 0.
51 size_t getPrevWordBreakForCache(const uint16_t* chars, size_t offset, size_t len) {
52 if (offset == 0) return 0;
53 if (offset > len) offset = len;
54 if (isWordBreakBefore(chars[offset - 1])) {
55 return offset - 1;
57 for (size_t i = offset - 1; i > 0; i--) {
66 * Return offset of next word break. It is either > offset or == len
    [all...]
  /libcore/ojluni/src/main/java/sun/nio/ch/
AbstractPollArrayWrapper.java 57 int offset = SIZE_POLLFD * i + EVENT_OFFSET; local
58 return pollArray.getShort(offset);
62 int offset = SIZE_POLLFD * i + REVENT_OFFSET; local
63 return pollArray.getShort(offset);
67 int offset = SIZE_POLLFD * i + FD_OFFSET; local
68 return pollArray.getInt(offset);
72 int offset = SIZE_POLLFD * i + EVENT_OFFSET; local
73 pollArray.putShort(offset, (short)event);
77 int offset = SIZE_POLLFD * i + REVENT_OFFSET; local
78 pollArray.putShort(offset, (short)revent)
82 int offset = SIZE_POLLFD * i + FD_OFFSET; local
    [all...]
  /external/elfutils/tests/
run-show-abbrev.sh 25 abbrev[0]: attr[0]: code = 16, form = 6, offset = 0
26 abbrev[0]: attr[1]: code = 18, form = 1, offset = 2
27 abbrev[0]: attr[2]: code = 17, form = 1, offset = 4
28 abbrev[0]: attr[3]: code = 3, form = 8, offset = 6
29 abbrev[0]: attr[4]: code = 27, form = 8, offset = 8
30 abbrev[0]: attr[5]: code = 37, form = 8, offset = 10
31 abbrev[0]: attr[6]: code = 19, form = 11, offset = 12
33 abbrev[19]: attr[0]: code = 1, form = 19, offset = 19
34 abbrev[19]: attr[1]: code = 63, form = 12, offset = 21
35 abbrev[19]: attr[2]: code = 3, form = 8, offset = 2
    [all...]
  /external/deqp/framework/delibs/decpp/
deArrayUtil.hpp 34 const Elem& getSizedArrayElement (const Elem (&array)[Size], typename de::meta::EnableIf<int, LastElementIndex==Size>::Type offset)
36 DE_ASSERT(inBounds(offset, 0, Size));
37 return array[offset];
42 const Elem& getArrayElement (const Elem (&array)[Size], int offset)
44 DE_ASSERT(inBounds(offset, 0, Size));
45 return array[offset];
  /external/strace/tests/
lseek.c 39 const kernel_ulong_t offset = (kernel_ulong_t) 0xfacefeeddeadbeefULL; local
41 if (sizeof(offset) > sizeof(long)) {
46 long long rc = lseek(-1, offset, SEEK_SET);
48 (long long) offset, rc, errno2name());
50 long rc = syscall(__NR_lseek, -1L, offset, SEEK_SET);
52 (long) offset, rc, errno2name());
  /external/strace/tests-m32/
lseek.c 39 const kernel_ulong_t offset = (kernel_ulong_t) 0xfacefeeddeadbeefULL; local
41 if (sizeof(offset) > sizeof(long)) {
46 long long rc = lseek(-1, offset, SEEK_SET);
48 (long long) offset, rc, errno2name());
50 long rc = syscall(__NR_lseek, -1L, offset, SEEK_SET);
52 (long) offset, rc, errno2name());
  /external/strace/tests-mx32/
lseek.c 39 const kernel_ulong_t offset = (kernel_ulong_t) 0xfacefeeddeadbeefULL; local
41 if (sizeof(offset) > sizeof(long)) {
46 long long rc = lseek(-1, offset, SEEK_SET);
48 (long long) offset, rc, errno2name());
50 long rc = syscall(__NR_lseek, -1L, offset, SEEK_SET);
52 (long) offset, rc, errno2name());
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
BrokenInputStream.java 31 private int offset; field in class:BrokenInputStream
33 public BrokenInputStream(InputStream stream, int offset) {
37 this.offset = offset;
42 if (offset == 0) {
46 offset--;
  /external/flatbuffers/net/FlatBuffers/
ByteBuffer.cs 99 protected void WriteLittleEndian(int offset, int count, ulong data)
105 _buffer[offset + i] = (byte)(data >> i * 8);
112 _buffer[offset + count - 1 - i] = (byte)(data >> i * 8);
117 protected ulong ReadLittleEndian(int offset, int count)
119 AssertOffsetAndLength(offset, count);
125 r |= (ulong)_buffer[offset + i] << i * 8;
132 r |= (ulong)_buffer[offset + count - 1 - i] << i * 8;
140 private void AssertOffsetAndLength(int offset, int length)
143 if (offset < 0 ||
144 offset > _buffer.Length - length
    [all...]
  /external/ltp/testcases/kernel/fs/doio/include/
databin.h 9 * (void) databingen(mode, buffer, bsize, offset)
13 * int offset;
18 * All modes (expect r -random) are file offset based.
40 void databingen( int mode, char *buffer, int bsize, int offset );
42 int databinchk( int mode, char *buffer, int bsize, int offset, char **errmsg);
  /external/skia/src/sksl/ir/
SkSLIRNode.h 20 IRNode(int offset)
21 : fOffset(offset) {}
27 // character offset of this element within the program being compiled, for error reporting
  /external/skqp/src/sksl/ir/
SkSLIRNode.h 20 IRNode(int offset)
21 : fOffset(offset) {}
27 // character offset of this element within the program being compiled, for error reporting
  /external/strace/
rtnl_dcb.c 47 size_t offset = sizeof(dcb.dcb_family); local
54 if (!umoven_or_printaddr(tcp, addr + offset,
55 sizeof(dcb) - offset,
56 (char *) &dcb + offset)) {
65 offset = NLMSG_ALIGN(sizeof(dcb));
66 if (decode_nla && len > offset) {
68 decode_nlattr(tcp, addr + offset, len - offset,
  /libcore/ojluni/src/main/java/javax/crypto/spec/
DESedeKeySpec.java 67 * <code>key</code>, beginning at <code>offset</code> inclusive,
71 * <code>key[offset]</code> and <code>key[offset+23]</code> inclusive.
74 * 24 bytes of the buffer beginning at <code>offset</code> inclusive
76 * @param offset the offset in <code>key</code>, where the DES-EDE key
81 * <code>offset</code> inclusive, is shorter than 24 bytes
83 public DESedeKeySpec(byte[] key, int offset) throws InvalidKeyException {
84 if (key.length - offset < 24) {
88 System.arraycopy(key, offset, this.key, 0, 24)
    [all...]
  /external/libnetfilter_conntrack/src/expect/
snprintf_xml.c 57 unsigned int size = 0, offset = 0; local
60 BUFFER_SIZE(ret, size, len, offset);
63 ret = snprintf(buf+offset, len,
66 BUFFER_SIZE(ret, size, len, offset);
69 ret = snprintf(buf+offset, len, "<timeout>%u</timeout>",
71 BUFFER_SIZE(ret, size, len, offset);
74 ret = snprintf(buf+offset, len, "<class>%u</class>",
76 BUFFER_SIZE(ret, size, len, offset);
79 ret = snprintf(buf+offset, len, "<zone>%u</zone>", exp->zone);
80 BUFFER_SIZE(ret, size, len, offset);
123 unsigned int size = 0, offset = 0; local
183 unsigned int size = 0, offset = 0; local
243 int ret = 0, size = 0, offset = 0; local
    [all...]
  /libcore/luni/src/main/java/java/nio/charset/
ModifiedUtf8.java 63 * Encode {@code s} into {@code dst} starting at offset {@code offset}.
67 public static void encode(byte[] dst, int offset, String s) {
73 dst[offset++] = (byte) 0xc0;
74 dst[offset++] = (byte) 0x80;
76 dst[offset++] = (byte) c;
79 dst[offset++] = (byte) ((c >>> 6) | 0xc0);
80 dst[offset++] = (byte) ((c & 0x3f) | 0x80);
82 dst[offset++] = (byte) ((c >>> 12) | 0xe0);
83 dst[offset++] = (byte) (((c >>> 6) & 0x3f) | 0x80)
    [all...]
  /libcore/luni/src/main/java/libcore/io/
Memory.java 46 public static int peekInt(byte[] src, int offset, ByteOrder order) {
48 return (((src[offset++] & 0xff) << 24) |
49 ((src[offset++] & 0xff) << 16) |
50 ((src[offset++] & 0xff) << 8) |
51 ((src[offset ] & 0xff) << 0));
53 return (((src[offset++] & 0xff) << 0) |
54 ((src[offset++] & 0xff) << 8) |
55 ((src[offset++] & 0xff) << 16) |
56 ((src[offset ] & 0xff) << 24));
60 public static long peekLong(byte[] src, int offset, ByteOrder order)
    [all...]
  /external/icu/icu4c/source/common/
unifilt.cpp 39 * filters. Matches a single code point at offset (either one or
43 int32_t& offset,
47 if (offset < limit &&
48 contains(c = text.char32At(offset))) {
49 offset += U16_LENGTH(c);
52 if (offset > limit &&
53 contains(c = text.char32At(offset))) {
54 // Backup offset by 1, unless the preceding character is a
55 // surrogate pair -- then backup by 2 (keep offset pointing at
57 --offset;
    [all...]

Completed in 1643 milliseconds

12 3 4 5 6 7 8 91011>>