Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 2839) sorted by relevance

12345678910>>...114

/aosp12/frameworks/base/core/java/android/text/method/
H A DWordIterator.java79 offset = mIterator.preceding(offset); in preceding()
91 offset = mIterator.following(offset); in following()
288 offset = prevBoundary(offset); in getPunctuationBeginning()
305 offset = nextBoundary(offset); in getPunctuationEnd()
320 if (mStart < offset && offset <= mEnd) { in isAfterPunctuation()
336 if (mStart <= offset && offset < mEnd) { in isOnPunctuation()
365 return isOnPunctuation(offset) && !isAfterPunctuation(offset); in isPunctuationStartBoundary()
369 return !isOnPunctuation(offset) && isAfterPunctuation(offset); in isPunctuationEndBoundary()
384 if (mStart < offset && offset <= mEnd) { in isAfterLetterOrDigit()
392 if (mStart <= offset && offset < mEnd) { in isOnLetterOrDigit()
[all …]
/aosp12/frameworks/base/core/java/android/os/
H A DHwBlob.java50 public native final boolean getBool(long offset); in getBool() argument
56 public native final byte getInt8(long offset); in getInt8() argument
62 public native final short getInt16(long offset); in getInt16() argument
68 public native final int getInt32(long offset); in getInt32() argument
74 public native final long getInt64(long offset); in getInt64() argument
80 public native final float getFloat(long offset); in getFloat() argument
86 public native final double getDouble(long offset); in getDouble() argument
92 public native final String getString(long offset); in getString() argument
100 public native final long getFieldHandle(long offset); in getFieldHandle() argument
195 public native final void putInt8(long offset, byte x); in putInt8() argument
[all …]
/aosp12/system/unwinding/libbacktrace/testdata/arm64/
H A Doffline_testdata7 map: start: 701465c000 end: 701465d000 offset: 0 load_bias: 0 flags: 0 name:
25 map: start: 7015a7d000 end: 7015a7e000 offset: 0 load_bias: 0 flags: 0 name:
29 map: start: 7015b6d000 end: 7015b6e000 offset: 0 load_bias: 0 flags: 0 name:
50 map: start: 7015df7000 end: 7015df8000 offset: 0 load_bias: 0 flags: 0 name:
58 map: start: 7015f6c000 end: 7015f79000 offset: 0 load_bias: 0 flags: 3 name:
68 map: start: 7015fd4000 end: 7015fd7000 offset: 0 load_bias: 0 flags: 3 name:
71 map: start: 7015fdc000 end: 7015fdd000 offset: 0 load_bias: 0 flags: 3 name:
76 map: start: 701601f000 end: 7016020000 offset: 0 load_bias: 0 flags: 0 name:
77 map: start: 7016020000 end: 7016021000 offset: 0 load_bias: 0 flags: 3 name:
78 map: start: 7016021000 end: 7016022000 offset: 0 load_bias: 0 flags: 0 name:
[all …]
/aosp12/system/unwinding/libbacktrace/testdata/arm/
H A Doffline_testdata11 map: start: e756c000 end: e756d000 offset: 0 load_bias: 0 flags: 0 name:
32 map: start: e771f000 end: e7720000 offset: 0 load_bias: 0 flags: 0 name:
45 map: start: e8437000 end: e8438000 offset: 0 load_bias: 0 flags: 0 name:
50 map: start: e84f7000 end: e84f8000 offset: 0 load_bias: 0 flags: 0 name:
54 map: start: e85b3000 end: e85b4000 offset: 0 load_bias: 0 flags: 0 name:
62 map: start: e870d000 end: e8719000 offset: 0 load_bias: 0 flags: 3 name:
75 map: start: e87a2000 end: e87a3000 offset: 0 load_bias: 0 flags: 0 name:
76 map: start: e87a3000 end: e87a4000 offset: 0 load_bias: 0 flags: 3 name:
77 map: start: e87a4000 end: e87a5000 offset: 0 load_bias: 0 flags: 0 name:
91 map: start: e8810000 end: e8812000 offset: 0 load_bias: 0 flags: 3 name:
[all …]
/aosp12/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
H A DIccUtils.java65 for (int i = offset ; i < offset + length ; i++) { in bcdToString()
139 trans[0] = (byte) ((data[0 + offset] << 4) | ((data[0 + offset] >> 4) & 0xF)); in bcdPlmnToString()
140 trans[1] = (byte) ((data[1 + offset] << 4) | (data[2 + offset] & 0xF)); in bcdPlmnToString()
141 trans[2] = (byte) ((data[2 + offset] & 0xF0) | ((data[1 + offset] >> 4) & 0xF)); in bcdPlmnToString()
172 for (int i = offset ; i < offset + length ; i++) { in bchToString()
374 offset += 3; in adnStringFieldToString()
383 offset += 4; in adnStringFieldToString()
720 if (offset < 0 || length < 0 || offset + length > src.length) { in bytesToInt()
757 if (offset < 0 || length < 0 || offset + length > src.length) { in bytesToRawLong()
855 if (offset < 0 || offset + l > dest.length) { in intToBytes()
[all …]
/aosp12/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
H A DAsn1Decoder.java51 if (offset < 0 || length < 0 || offset + length > bytes.length) { in Asn1Decoder()
56 + offset in Asn1Decoder()
61 mPosition = offset; in Asn1Decoder()
62 mEnd = offset + length; in Asn1Decoder()
89 int offset = mPosition; in nextNode() local
92 int tagStart = offset; in nextNode()
93 byte b = mSrc[offset++]; in nextNode()
96 while (offset < mEnd && (mSrc[offset++] & 0x80) != 0) { in nextNode()
100 if (offset >= mEnd) { in nextNode()
114 b = mSrc[offset++]; in nextNode()
[all …]
/aosp12/frameworks/av/media/extractors/mp4/
H A DItemTable.cpp75 off64_t offset; member
89 off64_t offset; member
219 *offset += 4; in parseFullBoxHeader()
616 offset += 2; in parse()
860 offset += 4; in parse()
906 offset += 4; in parse()
1456 .offset = offset, in buildImageItemsIfPossible()
1483 image.offset = offset; in buildImageItemsIfPossible()
1743 *offset = mItemIdToItemMap[tileItemIndex].offset; in getImageOffsetAndSize()
1751 *offset = mItemIdToItemMap[mCurrentItemIndex].offset; in getImageOffsetAndSize()
[all …]
/aosp12/packages/modules/GeoTZ/s2storage/src/test/java/com/android/timezone/location/storage/block/read/
H A DBlockDataTest.java94 int offset = 1 + tinyByteArray.length; in typedRandomAccess() local
105 offset += 8; in typedRandomAccess()
117 offset += 8; in typedRandomAccess()
120 offset++; in typedRandomAccess()
123 offset += 4; in typedRandomAccess()
125 assertEquals(0x9ABC, blockData.getChar(offset)); in typedRandomAccess()
126 offset += 2; in typedRandomAccess()
128 assertEquals(-52, blockData.getByte(offset)); in typedRandomAccess()
129 offset++; in typedRandomAccess()
132 offset += 8; in typedRandomAccess()
[all …]
/aosp12/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java73 int offset = 0; in getOrientation() local
86 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) { in getOrientation()
93 offset++; in getOrientation()
107 length = pack(jpeg, offset, 2, false); in getOrientation()
117 offset += 8; in getOrientation()
125 offset += length; in getOrientation()
129 jpeg.advanceTo(offset - readBackwards); in getOrientation()
148 offset += count; in getOrientation()
176 offset += 12; in getOrientation()
191 offset += length - 1; in pack()
[all …]
/aosp12/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java68 int offset = 0; in getOrientation() local
81 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) { in getOrientation()
88 offset++; in getOrientation()
102 length = pack(jpeg, offset, 2, false); in getOrientation()
112 offset += 8; in getOrientation()
120 offset += length; in getOrientation()
124 jpeg.advanceTo(offset - readBackwards); in getOrientation()
143 offset += count; in getOrientation()
171 offset += 12; in getOrientation()
186 offset += length - 1; in pack()
[all …]
/aosp12/bionic/libc/stdio/
H A Dfmemopen.cpp44 size_t offset; member
51 if (static_cast<size_t>(n) > ck->size - ck->offset) n = ck->size - ck->offset; in fmemopen_read()
55 ck->offset += n; in fmemopen_read()
82 ck->offset += n; in fmemopen_write()
96 return (ck->offset = offset); in fmemopen_seek()
97 } else if (whence == SEEK_CUR && (ck->offset + offset <= ck->capacity)) { in fmemopen_seek()
98 return (ck->offset += offset); in fmemopen_seek()
100 return (ck->offset = ck->size + offset); in fmemopen_seek()
144 ck->offset = ck->size; in fmemopen()
148 ck->offset = 0; in fmemopen()
[all …]
/aosp12/packages/apps/LegacyCamera/src/com/android/camera/
H A DExif.java29 int offset = 0; in getOrientation() local
33 while (offset + 3 < jpeg.length && (jpeg[offset++] & 0xFF) == 0xFF) { in getOrientation()
34 int marker = jpeg[offset] & 0xFF; in getOrientation()
40 offset++; in getOrientation()
52 length = pack(jpeg, offset, 2, false); in getOrientation()
62 offset += 8; in getOrientation()
68 offset += length; in getOrientation()
88 offset += count; in getOrientation()
112 offset += 12; in getOrientation()
125 offset += length - 1; in pack()
[all …]
/aosp12/system/extras/libfec/
H A Dfec_read.cpp51 snprintf(hex + offset, sizeof(hex) - offset, "%02x ", in dump()
115 uint64_t rsb = offset - (offset / (e->rounds * FEC_BLOCKSIZE)) * in __ecc_read()
243 debug("[%" PRIu64 ", %" PRIu64 ")", offset, offset + count); in ecc_read()
295 debug("[%" PRIu64 ", %" PRIu64 ")", offset, offset + count); in verity_read()
346 offset, offset + count, curr); in verity_read()
350 offset, offset + count, curr); in verity_read()
370 offset, offset + count, curr, curr_offset); in verity_read()
415 if (offset < 0 && f->pos < (uint64_t)-offset) { in fec_seek()
418 } else if (offset > 0 && (uint64_t)offset > UINT64_MAX - f->pos) { in fec_seek()
486 offset += n; in raw_pread()
[all …]
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/util/
H A DMemory.java24 return (((src[offset++] & 0xff) << 24) | in peekInt()
25 ((src[offset++] & 0xff) << 16) | in peekInt()
26 ((src[offset++] & 0xff) << 8) | in peekInt()
27 ((src[offset ] & 0xff) << 0)); in peekInt()
29 return (((src[offset++] & 0xff) << 0) | in peekInt()
30 ((src[offset++] & 0xff) << 8) | in peekInt()
31 ((src[offset++] & 0xff) << 16) | in peekInt()
32 ((src[offset ] & 0xff) << 24)); in peekInt()
38 dst[offset++] = (byte) ((value >> 24) & 0xff); in pokeInt()
39 dst[offset++] = (byte) ((value >> 16) & 0xff); in pokeInt()
[all …]
/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattCharacteristic.java533 return unsignedBytesToInt(mValue[offset], mValue[offset + 1]); in getIntValue()
536 return unsignedBytesToInt(mValue[offset], mValue[offset + 1], in getIntValue()
537 mValue[offset + 2], mValue[offset + 3]); in getIntValue()
543 mValue[offset + 1]), 16); in getIntValue()
547 mValue[offset + 1], mValue[offset + 2], mValue[offset + 3]), 32); in getIntValue()
567 return bytesToFloat(mValue[offset], mValue[offset + 1]); in getFloatValue()
570 return bytesToFloat(mValue[offset], mValue[offset + 1], in getFloatValue()
571 mValue[offset + 2], mValue[offset + 3]); in getFloatValue()
584 public String getStringValue(int offset) { in getStringValue() argument
587 for (int i = 0; i != (mValue.length - offset); ++i) strBytes[i] = mValue[offset + i]; in getStringValue()
[all …]
/aosp12/frameworks/av/media/libstagefright/
H A DESDS.cpp78 *tag = mData[offset++]; in skipDescriptorHeader()
102 *data_offset = offset; in skipDescriptorHeader()
130 offset += 2; // skip ES_ID in parseESDescriptor()
137 ++offset; in parseESDescriptor()
143 offset += 2; in parseESDescriptor()
148 if (offset >= size) { in parseESDescriptor()
161 offset += 2; in parseESDescriptor()
164 if ((offset >= size || mData[offset] != kTag_DecoderConfigDescriptor) in parseESDescriptor()
170 offset -= 2; in parseESDescriptor()
177 if (offset >= size) { in parseESDescriptor()
[all …]
/aosp12/system/unwinding/libbacktrace/testdata/x86_64/
H A Doffline_testdata6 map: start: 7fd5aab44000 end: 7fd5aab49000 offset: 0 load_bias: 0 flags: 3 name:
34 map: start: 7fd5abad7000 end: 7fd5abadb000 offset: 0 load_bias: 0 flags: 3 name:
36 map: start: 7fd5abb17000 end: 7fd5abb1a000 offset: 0 load_bias: 0 flags: 3 name:
40 map: start: 7fd5abb42000 end: 7fd5abb4b000 offset: 0 load_bias: 0 flags: 3 name:
41 map: start: 7fd5abb6a000 end: 7fd5abb70000 offset: 0 load_bias: 0 flags: 3 name:
46 map: start: 7fd5abc6c000 end: 7fd5abc70000 offset: 0 load_bias: 0 flags: 3 name:
50 map: start: 7fd5abc8f000 end: 7fd5abcb8000 offset: 0 load_bias: 0 flags: 3 name:
55 map: start: 7fd5abcc1000 end: 7fd5abcc2000 offset: 0 load_bias: 0 flags: 3 name:
71 map: start: 7fd5abcfb000 end: 7fd5abcfd000 offset: 0 load_bias: 0 flags: 3 name:
74 map: start: 7fd5abcff000 end: 7fd5abd00000 offset: 0 load_bias: 0 flags: 3 name:
[all …]
/aosp12/art/runtime/arch/arm64/
H A Dasm_support_arm64.S44 .macro CFI_EXPRESSION_BREG n, b, offset
45 .if (-0x40 <= (\offset)) && ((\offset) < 0x40)
47 .elseif (-0x2000 <= (\offset)) && ((\offset) < 0x2000)
58 .if (((\offset) < -0x40) || ((\offset) >= 0x40))
123 .macro SAVE_REG reg, offset
124 str \reg, [sp, #(\offset)]
125 .cfi_rel_offset \reg, (\offset)
129 ldr \reg, [\base, #(\offset)]
133 .macro RESTORE_REG reg, offset
139 .cfi_rel_offset \reg1, (\offset)
[all …]
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/aware/
H A DTlvBufferUtils.java397 public int offset; field in TlvBufferUtils.TlvElement
403 this.offset = offset; in TlvElement()
405 if (offset + length > refArray.length) { in TlvElement()
416 return Arrays.copyOfRange(mRefArray, offset, offset + length); in getRawData()
431 return mRefArray[offset]; in getByte()
561 list.add(Arrays.copyOfRange(tlv.mRefArray, tlv.offset, tlv.offset + tlv.length)); in toList()
695 return (short) ((src[offset] << 8) | (src[offset + 1] & 0xff)); in peekShort()
697 return (short) ((src[offset + 1] << 8) | (src[offset] & 0xff)); in peekShort()
703 return ((src[offset++] & 0xff) << 24) in peekInt()
704 | ((src[offset++] & 0xff) << 16) in peekInt()
[all …]
/aosp12/art/tools/dexfuzz/src/dexfuzz/rawdex/
H A DOffsetTracker.java144 return offset; in getNewOffset()
155 return offset; in getNewHeaderOffset()
163 if (offset.getOriginalOffset() == 0 && !(offset.pointsAtHeader())) { in associateOffsets()
164 offset.setPointsAtNull(); in associateOffsets()
166 offset.pointTo(offsettableMap.get(offset.getOriginalOffset())); in associateOffsets()
206 if (!offset.isNewOffset() && (!offset.pointsToSomething())) { in tryToWriteOffset()
215 if (offset.readyForWriting()) { in tryToWriteOffset()
225 offset.setUsesUleb128(); in tryToWriteOffset()
229 needsUpdateTable.add(offset); in tryToWriteOffset()
246 if (offset.usesUleb128()) { in updateOffsets()
[all …]
/aosp12/system/unwinding/libbacktrace/testdata/x86/
H A Doffline_testdata2 map: start: f705a000 end: f705c000 offset: 0 load_bias: 0 flags: 3 name:
6 map: start: f7081000 end: f7088000 offset: 0 load_bias: 0 flags: 3 name:
11 map: start: f7234000 end: f7237000 offset: 0 load_bias: 0 flags: 3 name:
21 map: start: f72bc000 end: f72bd000 offset: 0 load_bias: 0 flags: 3 name:
34 map: start: f730a000 end: f730c000 offset: 0 load_bias: 0 flags: 3 name:
35 map: start: f732f000 end: f7331000 offset: 0 load_bias: 0 flags: 3 name:
40 map: start: f742b000 end: f742d000 offset: 0 load_bias: 0 flags: 3 name:
44 map: start: f7448000 end: f7457000 offset: 0 load_bias: 0 flags: 3 name:
58 map: start: f748b000 end: f748c000 offset: 0 load_bias: 0 flags: 3 name:
62 map: start: f748f000 end: f7491000 offset: 0 load_bias: 0 flags: 3 name:
[all …]
/aosp12/frameworks/base/core/java/com/android/internal/widget/
H A DChildHelper.java97 final int offset; in addView() local
118 int offset = index; in getOffset() local
119 while (offset < limit) { in getOffset()
124 offset++; in getOffset()
126 return offset; in getOffset()
128 offset += diff; in getOffset()
229 final int offset; in attachViewToParent() local
329 if (offset < 0) { in hide()
335 mBucket.set(offset); in hide()
351 if (offset < 0) { in unhide()
[all …]
/aosp12/art/compiler/utils/arm/
H A Dassembler_arm_vixl.cc157 ___ Mov(temp, offset); in AdjustLoadStoreOffset()
211 return IsAbsoluteUint<12>(offset); in CanHoldLoadOffsetThumb()
214 return IsAbsoluteUint<10>(offset) && IsAligned<4>(offset); // VFP addressing mode. in CanHoldLoadOffsetThumb()
216 return IsAbsoluteUint<10>(offset) && IsAligned<4>(offset); in CanHoldLoadOffsetThumb()
232 return IsAbsoluteUint<10>(offset) && IsAligned<4>(offset); // VFP addressing mode. in CanHoldStoreOffsetThumb()
234 return IsAbsoluteUint<10>(offset) && IsAligned<4>(offset); in CanHoldStoreOffsetThumb()
267 offset += kRegisterSize; in StoreToOffset()
272 offset = AdjustLoadStoreOffset(GetAllowedStoreOffsetBits(type), tmp_reg, base, offset); in StoreToOffset()
316 offset = offset_for_load; in LoadFromOffset()
320 LoadImmediate(temp, offset); in LoadFromOffset()
[all …]
/aosp12/frameworks/av/media/libmedia/
H A DMidiIoWrapper.cpp53 mBase = offset; in MidiIoWrapper()
129 ALOGV("readAt(%p, %d, %d)", buffer, offset, size); in readAt()
131 if (offset < 0) { in readAt()
135 if (offset + size > mLength) { in readAt()
136 size = mLength - offset; in readAt()
171 if (offset >= mCacheBufRangeLength) { in readAt()
174 memcpy(buffer, (void*)(mCacheBuffer + offset), mCacheBufRangeLength - offset); in readAt()
185 return unbufferedReadAt(buffer, offset, size); in readAt()
198 lseek(mFd, mBase + offset, SEEK_SET); in unbufferedReadAt()
199 if (offset + size > mLength) { in unbufferedReadAt()
[all …]
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactLookupKey.java121 int offset = 0; in parse() local
129 while (offset < length) { in parse()
134 while (offset < length) { in parse()
135 c = string.charAt(offset++); in parse()
187 int start = offset; in parse()
203 int start = offset; in parse()
210 if (offset == length) { in parse()
219 int start = offset; in parse()
223 dash = offset; in parse()
225 offset++; in parse()
[all …]

12345678910>>...114