Home
last modified time | relevance | path

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

12345678910>>...70

/frameworks/base/core/java/android/text/method/
DWordIterator.java75 public int preceding(int offset) { in preceding() argument
76 checkOffsetIsValid(offset); in preceding()
78 offset = mIterator.preceding(offset); in preceding()
79 if (offset == BreakIterator.DONE || isOnLetterOrDigit(offset)) { in preceding()
80 return offset; in preceding()
87 public int following(int offset) { in following() argument
88 checkOffsetIsValid(offset); in following()
90 offset = mIterator.following(offset); in following()
91 if (offset == BreakIterator.DONE || isAfterLetterOrDigit(offset)) { in following()
92 return offset; in following()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/
DAsn1Decoder.java50 public Asn1Decoder(byte[] bytes, int offset, int length) { in Asn1Decoder() argument
51 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()
[all …]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DExif.java68 int offset = 0; in getOrientation() local
81 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) { in getOrientation()
82 final int marker = jpeg.get(offset) & 0xFF; in getOrientation()
88 offset++; in getOrientation()
97 jpeg.advanceTo(offset - readBackwards); in getOrientation()
102 length = pack(jpeg, offset, 2, false); in getOrientation()
103 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) { in getOrientation()
110 pack(jpeg, offset + 2, 4, false) == 0x45786966 && in getOrientation()
111 pack(jpeg, offset + 6, 2, false) == 0) { in getOrientation()
112 offset += 8; in getOrientation()
[all …]
/frameworks/opt/bitmap/src/com/android/bitmap/util/
DExif.java73 int offset = 0; in getOrientation() local
86 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) { in getOrientation()
87 final int marker = jpeg.get(offset) & 0xFF; in getOrientation()
93 offset++; in getOrientation()
102 jpeg.advanceTo(offset - readBackwards); in getOrientation()
107 length = pack(jpeg, offset, 2, false); in getOrientation()
108 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) { in getOrientation()
115 pack(jpeg, offset + 2, 4, false) == 0x45786966 && in getOrientation()
116 pack(jpeg, offset + 6, 2, false) == 0) { in getOrientation()
117 offset += 8; in getOrientation()
[all …]
/frameworks/base/core/java/android/os/
DHwBlob.java52 public native final boolean getBool(long offset); in getBool() argument
58 public native final byte getInt8(long offset); in getInt8() argument
64 public native final short getInt16(long offset); in getInt16() argument
70 public native final int getInt32(long offset); in getInt32() argument
76 public native final long getInt64(long offset); in getInt64() argument
82 public native final float getFloat(long offset); in getFloat() argument
88 public native final double getDouble(long offset); in getDouble() argument
94 public native final String getString(long offset); in getString() argument
106 public native final void copyToBoolArray(long offset, boolean[] array, int size); in copyToBoolArray() argument
117 public native final void copyToInt8Array(long offset, byte[] array, int size); in copyToInt8Array() argument
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
DIccUtils.java50 bcdToString(byte[] data, int offset, int length) { in bcdToString() argument
53 for (int i = offset ; i < offset + length ; i++) { in bcdToString()
107 public static void bcdToBytes(String bcd, byte[] bytes, int offset) { in bcdToBytes() argument
111 int size = Math.min((bytes.length - offset) * 2, bcd.length()); in bcdToBytes()
112 for (int i = 0, j = offset; i + 1 < size; i += 2, j++) { in bcdToBytes()
122 public static String bcdPlmnToString(byte[] data, int offset) { in bcdPlmnToString() argument
123 if (offset + 3 > data.length) { in bcdPlmnToString()
127 trans[0] = (byte) ((data[0 + offset] << 4) | ((data[0 + offset] >> 4) & 0xF)); in bcdPlmnToString()
128 trans[1] = (byte) ((data[1 + offset] << 4) | (data[2 + offset] & 0xF)); in bcdPlmnToString()
129 trans[2] = (byte) ((data[2 + offset] & 0xF0) | ((data[1 + offset] >> 4) & 0xF)); in bcdPlmnToString()
[all …]
/frameworks/av/media/libstagefright/
DESDS.cpp72 size_t offset, size_t size, in skipDescriptorHeader() argument
78 *tag = mData[offset++]; in skipDescriptorHeader()
88 uint8_t x = mData[offset++]; in skipDescriptorHeader()
102 *data_offset = offset; in skipDescriptorHeader()
125 status_t ESDS::parseESDescriptor(size_t offset, size_t size) { in parseESDescriptor() argument
130 offset += 2; // skip ES_ID in parseESDescriptor()
133 unsigned streamDependenceFlag = mData[offset] & 0x80; in parseESDescriptor()
134 unsigned URL_Flag = mData[offset] & 0x40; in parseESDescriptor()
135 unsigned OCRstreamFlag = mData[offset] & 0x20; in parseESDescriptor()
137 ++offset; in parseESDescriptor()
[all …]
/frameworks/av/media/extractors/mp4/
DItemTable.cpp50 offset(0), size(0), nextTileIndex(0) {} in ImageItem()
75 off64_t offset; member
87 off64_t offset; member
112 status_t parseChunk(off64_t *offset);
114 status_t parseChunks(off64_t offset, size_t size);
121 status_t Box::parseChunk(off64_t *offset) { in parseChunk() argument
122 if (*offset < 0) { in parseChunk()
127 if (mDataSource->readAt(*offset, hdr, 8) < 8) { in parseChunk()
132 off64_t data_offset = *offset + 8; in parseChunk()
135 if (mDataSource->readAt(*offset + 8, &chunk_size, 8) < 8) { in parseChunk()
[all …]
/frameworks/ml/nn/runtime/test/generated/vts_models/
Dlayer_norm_lstm.model.cpp13 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
22 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
31 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
40 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
49 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
58 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
67 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
76 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
85 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
94 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
[all …]
Dbidirectional_sequence_lstm_float16_batch_major.model.cpp13 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
22 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
31 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
40 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
49 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
58 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
67 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
76 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
85 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
94 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
[all …]
Dbidirectional_sequence_lstm_norm_fw_output.model.cpp13 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
22 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
31 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
40 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
49 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
58 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
67 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
76 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
85 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
94 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
[all …]
Dbidirectional_sequence_lstm_aux_input.model.cpp13 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
22 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
31 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
40 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
49 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
58 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
67 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
76 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
85 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
94 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
[all …]
Dbidirectional_sequence_lstm_float16_batch_major_aux_input.model.cpp13 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
22 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
31 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
40 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
49 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
58 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
67 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
76 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
85 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
94 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
[all …]
Dbidirectional_sequence_lstm_cifg_peephole.model.cpp13 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
22 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
31 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
40 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
49 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
58 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
67 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
76 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
85 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
94 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
[all …]
Dbidirectional_sequence_lstm.model.cpp13 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
22 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
31 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
40 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
49 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
58 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
67 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
76 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
85 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
94 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
[all …]
Dunidirectional_sequence_lstm_layer_norm_cifg_peephole.model.cpp13 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
22 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
31 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
40 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
49 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
58 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
67 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
76 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
85 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
94 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
[all …]
Dbidirectional_sequence_lstm_float16_batch_major_merge_outputs.model.cpp13 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
22 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
31 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
40 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
49 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
58 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
67 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
76 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
85 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
94 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
[all …]
Dbidirectional_sequence_lstm_merge_outputs.model.cpp13 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
22 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
31 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
40 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
49 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
58 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
67 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
76 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
85 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
94 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
[all …]
Dconcat_zero_sized.model.cpp13 .location = {.poolIndex = 0, .offset = 0, .length = 8}, in createTestModel()
22 .location = {.poolIndex = 0, .offset = 8, .length = 32}, in createTestModel()
31 .location = {.poolIndex = 0, .offset = 40, .length = 4}, in createTestModel()
40 .location = {.poolIndex = 0, .offset = 44, .length = 4}, in createTestModel()
49 .location = {.poolIndex = 0, .offset = 48, .length = 4}, in createTestModel()
58 .location = {.poolIndex = 0, .offset = 52, .length = 4}, in createTestModel()
67 .location = {.poolIndex = 0, .offset = 56, .length = 4}, in createTestModel()
76 .location = {.poolIndex = 0, .offset = 60, .length = 4}, in createTestModel()
85 .location = {.poolIndex = 0, .offset = 64, .length = 4}, in createTestModel()
94 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel()
[all …]
Dbbox_graph.model.cpp13 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel_zero_sized()
22 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel_zero_sized()
31 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel_zero_sized()
40 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel_zero_sized()
49 .location = {.poolIndex = 0, .offset = 0, .length = 4}, in createTestModel_zero_sized()
58 .location = {.poolIndex = 0, .offset = 4, .length = 4}, in createTestModel_zero_sized()
67 .location = {.poolIndex = 0, .offset = 8, .length = 4}, in createTestModel_zero_sized()
76 .location = {.poolIndex = 0, .offset = 12, .length = 4}, in createTestModel_zero_sized()
85 .location = {.poolIndex = 0, .offset = 16, .length = 4}, in createTestModel_zero_sized()
94 .location = {.poolIndex = 0, .offset = 20, .length = 4}, in createTestModel_zero_sized()
[all …]
Davg_pool_v1_2.model.cpp13 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel_nhwc()
22 .location = {.poolIndex = 0, .offset = 0, .length = 4}, in createTestModel_nhwc()
31 .location = {.poolIndex = 0, .offset = 4, .length = 4}, in createTestModel_nhwc()
40 .location = {.poolIndex = 0, .offset = 8, .length = 4}, in createTestModel_nhwc()
49 .location = {.poolIndex = 0, .offset = 12, .length = 4}, in createTestModel_nhwc()
58 .location = {.poolIndex = 0, .offset = 16, .length = 4}, in createTestModel_nhwc()
67 .location = {.poolIndex = 0, .offset = 20, .length = 4}, in createTestModel_nhwc()
76 .location = {.poolIndex = 0, .offset = 24, .length = 4}, in createTestModel_nhwc()
85 .location = {.poolIndex = 0, .offset = 28, .length = 4}, in createTestModel_nhwc()
94 .location = {.poolIndex = 0, .offset = 32, .length = 4}, in createTestModel_nhwc()
[all …]
Dl2_pool_v1_2.model.cpp13 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel_nhwc()
22 .location = {.poolIndex = 0, .offset = 0, .length = 4}, in createTestModel_nhwc()
31 .location = {.poolIndex = 0, .offset = 4, .length = 4}, in createTestModel_nhwc()
40 .location = {.poolIndex = 0, .offset = 8, .length = 4}, in createTestModel_nhwc()
49 .location = {.poolIndex = 0, .offset = 12, .length = 4}, in createTestModel_nhwc()
58 .location = {.poolIndex = 0, .offset = 16, .length = 4}, in createTestModel_nhwc()
67 .location = {.poolIndex = 0, .offset = 20, .length = 4}, in createTestModel_nhwc()
76 .location = {.poolIndex = 0, .offset = 24, .length = 4}, in createTestModel_nhwc()
85 .location = {.poolIndex = 0, .offset = 28, .length = 4}, in createTestModel_nhwc()
94 .location = {.poolIndex = 0, .offset = 32, .length = 4}, in createTestModel_nhwc()
[all …]
Droi_align.model.cpp13 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel_nhwc()
22 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel_nhwc()
31 .location = {.poolIndex = 0, .offset = 0, .length = 16}, in createTestModel_nhwc()
40 .location = {.poolIndex = 0, .offset = 16, .length = 4}, in createTestModel_nhwc()
49 .location = {.poolIndex = 0, .offset = 20, .length = 4}, in createTestModel_nhwc()
58 .location = {.poolIndex = 0, .offset = 24, .length = 4}, in createTestModel_nhwc()
67 .location = {.poolIndex = 0, .offset = 28, .length = 4}, in createTestModel_nhwc()
76 .location = {.poolIndex = 0, .offset = 32, .length = 4}, in createTestModel_nhwc()
85 .location = {.poolIndex = 0, .offset = 36, .length = 4}, in createTestModel_nhwc()
94 .location = {.poolIndex = 0, .offset = 40, .length = 1}, in createTestModel_nhwc()
[all …]
Dconv2d_dilation.model.cpp13 .location = {.poolIndex = 0, .offset = 0, .length = 0}, in createTestModel_nhwc()
22 .location = {.poolIndex = 0, .offset = 0, .length = 16}, in createTestModel_nhwc()
31 .location = {.poolIndex = 0, .offset = 16, .length = 4}, in createTestModel_nhwc()
40 .location = {.poolIndex = 0, .offset = 20, .length = 4}, in createTestModel_nhwc()
49 .location = {.poolIndex = 0, .offset = 24, .length = 4}, in createTestModel_nhwc()
58 .location = {.poolIndex = 0, .offset = 28, .length = 4}, in createTestModel_nhwc()
67 .location = {.poolIndex = 0, .offset = 32, .length = 4}, in createTestModel_nhwc()
76 .location = {.poolIndex = 0, .offset = 36, .length = 4}, in createTestModel_nhwc()
85 .location = {.poolIndex = 0, .offset = 40, .length = 4}, in createTestModel_nhwc()
94 .location = {.poolIndex = 0, .offset = 44, .length = 4}, in createTestModel_nhwc()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattCharacteristic.java527 public Integer getIntValue(int formatType, int offset) { in getIntValue() argument
528 if ((offset + getTypeLen(formatType)) > mValue.length) return null; in getIntValue()
532 return unsignedByteToInt(mValue[offset]); in getIntValue()
535 return unsignedBytesToInt(mValue[offset], mValue[offset + 1]); in getIntValue()
538 return unsignedBytesToInt(mValue[offset], mValue[offset + 1], in getIntValue()
539 mValue[offset + 2], mValue[offset + 3]); in getIntValue()
541 return unsignedToSigned(unsignedByteToInt(mValue[offset]), 8); in getIntValue()
544 return unsignedToSigned(unsignedBytesToInt(mValue[offset], in getIntValue()
545 mValue[offset + 1]), 16); in getIntValue()
548 return unsignedToSigned(unsignedBytesToInt(mValue[offset], in getIntValue()
[all …]

12345678910>>...70