Searched refs:offset (Results 76 - 100 of 1495) sorted by relevance

1234567891011>>

/frameworks/base/telephony/java/com/android/internal/telephony/uicc/
H A DIccUtils.java50 bcdToString(byte[] data, int offset, int length) { argument
53 for (int i = offset ; i < offset + length ; i++) {
71 * Converts a bcd byte array to String with offset 0 and byte array length.
110 public static String bcdPlmnToString(byte[] data, int offset) { argument
111 if (offset + 3 > data.length) {
115 trans[0] = (byte) ((data[0 + offset] << 4) | ((data[0 + offset] >> 4) & 0xF));
116 trans[1] = (byte) ((data[1 + offset] << 4) | (data[2 + offset]
131 bchToString(byte[] data, int offset, int length) argument
151 cdmaBcdToString(byte[] data, int offset, int length) argument
259 adnStringFieldToString(byte[] data, int offset, int length) argument
422 networkNameToString(byte[] data, int offset, int length) argument
592 getCLUT(byte[] rawData, int offset, int number) argument
632 bytesToInt(byte[] src, int offset, int length) argument
669 bytesToRawLong(byte[] src, int offset, int length) argument
731 unsignedIntToBytes(int value, byte[] dest, int offset) argument
744 signedIntToBytes(int value, byte[] dest, int offset) argument
770 intToBytes(int value, byte[] dest, int offset, boolean signed) argument
[all...]
/frameworks/av/media/extractors/mp4/
H A DItemTable.cpp47 offset(0), size(0), nextTileIndex(0) {}
72 off64_t offset; member in struct:android::heif::ImageItem
84 off64_t offset; member in struct:android::heif::ExifItem
101 uint32_t /*type*/, off64_t /*offset*/, size_t /*size*/) {
109 status_t parseChunk(off64_t *offset);
111 status_t parseChunks(off64_t offset, size_t size);
118 status_t Box::parseChunk(off64_t *offset) { argument
119 if (*offset < 0) {
124 if (mDataSource->readAt(*offset, hdr, 8) < 8) {
129 off64_t data_offset = *offset
171 parseChunks(off64_t offset, size_t size) argument
203 parseFullBoxHeader(off64_t *offset, size_t *size) argument
230 parse(off64_t offset, size_t size, uint32_t *primaryItemId) argument
275 getLoc(off64_t *offset, size_t *size, off64_t idatOffset, size_t idatSize) const argument
320 parse(off64_t offset, size_t size) argument
405 offset += 2; member in namespace:android::heif
431 offset += 2; member in namespace:android::heif
595 parse(off64_t offset, size_t size) argument
642 parse(off64_t offset, size_t size) argument
653 onChunkData(uint32_t type, off64_t offset, size_t size) argument
706 parse(off64_t offset, size_t size) argument
740 parse(off64_t offset, size_t size) argument
773 parse(off64_t offset, size_t size) argument
802 parse(off64_t offset, size_t size) argument
845 parse(off64_t offset, size_t size) argument
922 parse(off64_t offset, size_t size) argument
929 onChunkData(uint32_t type, off64_t offset, size_t size) argument
983 parse(off64_t offset, size_t size) argument
993 onChunkData(uint32_t type, off64_t offset, size_t size) argument
1034 parseNullTerminatedString( off64_t *offset, size_t *size, String8 *out) argument
1058 parse(off64_t offset, size_t size, ItemInfo *itemInfo) argument
1146 parse(off64_t offset, size_t size) argument
1180 onChunkData(uint32_t type, off64_t offset, size_t size) argument
1254 parseIlocBox(off64_t offset, size_t size) argument
1270 parseIinfBox(off64_t offset, size_t size) argument
1286 parsePitmBox(off64_t offset, size_t size) argument
1298 parseIprpBox(off64_t offset, size_t size) argument
1310 parseIdatBox(off64_t offset, size_t size) argument
1320 parseIrefBox(off64_t offset, size_t size) argument
1376 off64_t offset; local
1611 getImageOffsetAndSize( uint32_t *itemIndex, off64_t *offset, size_t *size) argument
1651 getExifOffsetAndSize(off64_t *offset, size_t *size) argument
[all...]
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86PLT.cpp102 uint32_t offset = 0; local
105 frag->setOffset(offset);
106 offset += frag->size();
154 uint32_t* offset = reinterpret_cast<uint32_t*>(data + 2); local
155 *offset = m_GOTPLT.addr() + 4;
156 offset = reinterpret_cast<uint32_t*>(data + 8);
157 *offset = m_GOTPLT.addr() + 8;
196 uint32_t* offset; local
198 offset = reinterpret_cast<uint32_t*>(data + 2);
199 *offset
237 uint32_t* offset = reinterpret_cast<uint32_t*>(data + 2); local
283 uint32_t* offset; local
[all...]
/frameworks/av/drm/common/
H A DDrmConvertedStatus.cpp25 offset(_offset) {
/frameworks/av/media/mtp/
H A DMtpPacket.h68 uint16_t getUInt16(int offset) const;
69 uint32_t getUInt32(int offset) const;
70 void putUInt16(int offset, uint16_t value);
71 void putUInt32(int offset, uint32_t value);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattServerCallback.java54 * @param offset Offset into the value of the characteristic
58 int offset, BluetoothGattCharacteristic characteristic) {
72 * @param offset The offset given for the value
78 int offset, byte[] value) {
89 * @param offset Offset into the value of the characteristic
93 int offset, BluetoothGattDescriptor descriptor) {
107 * @param offset The offset given for the value
113 int offset, byt
57 onCharacteristicReadRequest(BluetoothDevice device, int requestId, int offset, BluetoothGattCharacteristic characteristic) argument
75 onCharacteristicWriteRequest(BluetoothDevice device, int requestId, BluetoothGattCharacteristic characteristic, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument
92 onDescriptorReadRequest(BluetoothDevice device, int requestId, int offset, BluetoothGattDescriptor descriptor) argument
110 onDescriptorWriteRequest(BluetoothDevice device, int requestId, BluetoothGattDescriptor descriptor, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument
[all...]
/frameworks/base/core/java/android/util/apk/
H A DDataSource.java33 * @param offset offset of the region inside this data source.
36 void feedIntoDataDigester(DataDigester md, long offset, int size) argument
/frameworks/base/core/java/android/widget/
H A DAccessibilityIterators.java51 public int[] following(int offset) { argument
56 if (offset >= mText.length()) {
60 if (offset < 0) {
63 final int currentLine = mLayout.getLineForOffset(offset);
64 if (getLineEdgeIndex(currentLine, DIRECTION_START) == offset) {
79 public int[] preceding(int offset) { argument
84 if (offset <= 0) {
88 if (offset > mText.length()) {
91 final int currentLine = mLayout.getLineForOffset(offset);
92 if (getLineEdgeIndex(currentLine, DIRECTION_END) + 1 == offset) {
136 following(int offset) argument
165 preceding(int offset) argument
[all...]
/frameworks/base/media/java/android/media/
H A DMedia2DataSource.java48 * @param offset the offset within buffer to read the data into.
53 public abstract int readAt(long position, byte[] buffer, int offset, int size) argument
H A DMediaDataSource.java46 * @param offset the offset within buffer to read the data into.
51 public abstract int readAt(long position, byte[] buffer, int offset, int size) argument
/frameworks/base/media/java/android/media/midi/
H A DMidiPortImpl.java65 public static int packData(byte[] message, int offset, int size, long timestamp, argument
74 System.arraycopy(message, offset, dest, length, size);
103 * returns the offset of the MIDI message in packed buffer
125 int offset = bufferLength;
129 int b = (int)buffer[--offset] & 0xFF;
/frameworks/compile/mclinker/lib/LD/
H A DMergedStringTable.cpp18 // trverse the string table and set the offset
20 size_t offset = 0; local
22 it->setValue(offset);
23 offset += it->getKey().size() + 1;
25 return offset;
/frameworks/support/media/src/main/java/androidx/media/
H A DMedia2DataSource.java47 * @param offset the offset within buffer to read the data into.
52 public abstract int readAt(long position, byte[] buffer, int offset, int size) argument
/frameworks/av/media/libmedia/
H A DMidiIoWrapper.cpp44 MidiIoWrapper::MidiIoWrapper(int fd, off64_t offset, int64_t size) { argument
47 mBase = offset;
71 int MidiIoWrapper::readAt(void *buffer, int offset, int size) {
72 ALOGV("readAt(%p, %d, %d)", buffer, offset, size);
75 return mDataSource->readAt(offset, buffer, size);
81 lseek(mFd, mBase + offset, SEEK_SET);
82 if (offset + size > mLength) {
83 size = mLength - offset;
/frameworks/base/core/java/android/os/
H A DProxyFileDescriptorCallback.java56 * @param offset Offset in bytes from the file head specifying where to read bytes. If a seek
58 * offset refrects the proper position of requested bytes.
64 public int onRead(long offset, int size, byte[] data) throws ErrnoException { argument
70 * @param offset Offset in bytes from the file head specifying where to write bytes. If a seek
72 * offset refrects the proper position of requested bytes.
78 public int onWrite(long offset, int size, byte[] data) throws ErrnoException { argument
/frameworks/base/opengl/java/android/opengl/
H A DGLES11.java170 // C function void glBufferSubData ( GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data )
174 int offset,
184 int offset
199 int offset
218 // C function void glColorPointer ( GLint size, GLenum type, GLsizei stride, GLint offset )
224 int offset
232 int offset
242 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset )
248 int offset
256 int offset
172 glBufferSubData( int target, int offset, int size, java.nio.Buffer data ) argument
[all...]
/frameworks/base/tools/preload/
H A DRecord.java150 int offset = result.indexOf("\\u");
151 while (offset >= 0) {
152 String before = result.substring(0, offset);
153 String escaped = result.substring(offset+2, offset+6);
154 String after = result.substring(offset+6);
159 offset = result.indexOf("\\u", offset + 1);
/frameworks/minikin/include/minikin/
H A DGraphemeBreak.h29 // Determine whether the given offset is a grapheme break.
33 size_t count, size_t offset);
38 size_t count, size_t offset, MoveOpt opt);
/frameworks/minikin/libs/minikin/
H A DFontUtils.cpp25 static uint16_t readU16(const uint8_t* data, size_t offset) { argument
26 return data[offset] << 8 | data[offset + 1];
29 static uint32_t readU32(const uint8_t* data, size_t offset) { argument
30 return ((uint32_t)data[offset]) << 24 | ((uint32_t)data[offset + 1]) << 16 |
31 ((uint32_t)data[offset + 2]) << 8 | ((uint32_t)data[offset + 3]);
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglMapBufferRange.cpp1 /* GLvoid * glMapBufferRange ( GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access ) */
4 (JNIEnv *_env, jobject _this, jint target, jint offset, jint length, jint access) {
6 (GLintptr)offset, (GLsizeiptr)length, (GLbitfield)access);
3 android_glMapBufferRange__IIII(JNIEnv *_env, jobject _this, jint target, jint offset, jint length, jint access) argument
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DKernelDataForRenderScript.java53 * 4*m: offset; 4*m + 1: radius_x; 4*m + 2: radius_y
104 int offset = 0;
110 infoArray[m*4] = offset;
114 // Updates offset variable.
116 offset += kernelLength;
119 stackLength = offset;
126 int offset = 0;
132 kernelInfo.set_offset(m, offset, true);
135 // Updates offset variable.
137 offset
[all...]
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11.java161 int offset,
169 int offset
180 int offset
199 int offset
205 int offset
217 int offset
223 int offset
234 int offset
246 int offset
258 int offset
159 glBufferSubData( int target, int offset, int size, java.nio.Buffer data ) argument
[all...]
H A DGL11Ext.java40 void glTexParameterfv(int target, int pname, float[] param, int offset); argument
56 int offset
73 int offset
90 int offset
107 int offset
136 int offset
150 int offset
/frameworks/base/core/java/com/android/internal/midi/
H A DMidiEventScheduler.java39 public void onSend(byte[] msg, int offset, int count, long timestamp) argument
41 MidiEvent event = createScheduledEvent(msg, offset, count, timestamp);
62 private MidiEvent(byte[] msg, int offset, int count, long timestamp) { argument
65 System.arraycopy(msg, offset, data, 0, count);
82 private MidiEvent createScheduledEvent(byte[] msg, int offset, int count, argument
86 event = new MidiEvent(msg, offset, count, timestamp);
92 System.arraycopy(msg, offset, event.data, 0, count);
/frameworks/ml/nn/runtime/test/generated/vts_models/
H A Dconv_float.model.cpp12 .location = {.poolIndex = 0, .offset = 0, .length = 0},
21 .location = {.poolIndex = 0, .offset = 0, .length = 16},
30 .location = {.poolIndex = 0, .offset = 16, .length = 4},
39 .location = {.poolIndex = 0, .offset = 20, .length = 4},
48 .location = {.poolIndex = 0, .offset = 24, .length = 4},
57 .location = {.poolIndex = 0, .offset = 28, .length = 4},
66 .location = {.poolIndex = 0, .offset = 0, .length = 0},

Completed in 1120 milliseconds

1234567891011>>