Searched defs:offset (Results 76 - 100 of 575) sorted by relevance

1234567891011>>

/frameworks/rs/cpu_ref/linkloader/include/
H A DELFTypes.h122 typedef detail::ELF32Offset offset; typedef in struct:ELFPrimitiveTypes
143 typedef detail::ELF64Offset offset; typedef in struct:ELFPrimitiveTypes
185 typedef typename ELFPrimitiveTypes<BITWIDTH>::offset offset_t; \
203 typedef ELFPrimitiveTypes<BITWIDTH>::offset offset_t; \
/frameworks/rs/driver/
H A DrsdVertexArray.h37 size_t offset; member in class:RsdVertexArray::Attrib
46 void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, size_t offset, const char *name);
/frameworks/volley/src/com/android/volley/toolbox/
H A DPoolingByteArrayOutputStream.java83 public synchronized void write(byte[] buffer, int offset, int len) { argument
85 super.write(buffer, offset, len);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_MCReconBlock_s.s86 ;// M_LOAD_X $pSrc, $srcStep, $out0, $out1, $scratch, $offset
93 ;// $offset Difference of source data location to the source pointer
94 ;// Use when $offset != 0 (unaligned load)
103 ;// register numbering. In case offset is 0, $scratch is not modified.
106 M_LOAD_X $pSrc, $srcStep, $out0, $out1, $scratch, $offset
107 IF $offset = 0
114 MOV $out0, $out0, LSR #8 * $offset
115 ORR $out0, $out0, $out1, LSL #(32 - 8 * ($offset))
116 MOV $out1, $out1, LSR #8 * $offset
117 ORR $out1, $out1, $scratch, LSL #(32 - 8 * ($offset))
[all...]
/frameworks/av/cmds/screenrecord/
H A DTextRenderer.cpp45 // we move down a line (i.e. the Y offset changes). The offset increases
48 uint16_t offset = 0; local
53 offset = 0;
55 mXOffset[i] = offset;
56 offset += FontBitmap::glyphWidth[i] + 1;
/frameworks/av/include/media/stagefright/
H A DDataSource.h61 virtual ssize_t readAt(off64_t offset, void *data, size_t size) = 0;
64 bool getUInt16(off64_t offset, uint16_t *x);
65 bool getUInt24(off64_t offset, uint32_t *x); // 3 byte int, returned as a 32-bit int
66 bool getUInt32(off64_t offset, uint32_t *x);
67 bool getUInt64(off64_t offset, uint64_t *x);
76 virtual status_t reconnectAtOffset(off64_t offset) { argument
/frameworks/av/media/img_utils/include/img_utils/
H A DEndianUtils.h97 * EndianOutput. If the given offset is greater than zero, that many elements will
102 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
104 virtual status_t write(const int8_t* buf, size_t offset, size_t count);
106 virtual status_t write(const uint16_t* buf, size_t offset, size_t count);
108 virtual status_t write(const int16_t* buf, size_t offset, size_t count);
110 virtual status_t write(const uint32_t* buf, size_t offset, size_t count);
112 virtual status_t write(const int32_t* buf, size_t offset, size_t count);
114 virtual status_t write(const uint64_t* buf, size_t offset, size_t count);
116 virtual status_t write(const int64_t* buf, size_t offset, size_t count);
118 virtual status_t write(const float* buf, size_t offset, size_
132 writeHelper(const T* buf, size_t offset, size_t count) argument
[all...]
H A DTiffEntryImpl.h41 status_t writeData(uint32_t offset, /*out*/EndianOutput* out) const;
42 status_t writeTagInfo(uint32_t offset, /*out*/EndianOutput* out) const;
123 status_t TiffEntryImpl<T>::writeTagInfo(uint32_t offset, /*out*/EndianOutput* out) const {
124 assert((offset % TIFF_WORD_SIZE) == 0);
132 BAIL_ON_FAIL(out->write(&offset, 0, 1), ret);
150 status_t TiffEntryImpl<T>::writeData(uint32_t offset, EndianOutput* out) const { argument
182 inline status_t TiffEntryImpl<sp<TiffIfd> >::writeTagInfo(uint32_t offset, argument
184 assert((offset % TIFF_WORD_SIZE) == 0);
190 BAIL_ON_FAIL(out->write(&offset, 0, 1), ret);
204 inline status_t TiffEntryImpl<sp<TiffIfd> >::writeData(uint32_t offset, EndianOutpu argument
69 LOG_ALWAYS_FATAL_IF(index < 0, �, __FUNCTION__); } template<typename T> TiffEntryImpl<T>::~TiffEntryImpl() {} template<typename T> uint32_t TiffEntryImpl<T>::getCount() const { return mCount; } template<typename T> uint16_t TiffEntryImpl<T>::getTag() const { return mTag; } template<typename T> TagType TiffEntryImpl<T>::getType() const { return static_cast<TagType>(mType); } template<typename T> const void* TiffEntryImpl<T>::getDataHelper() const { return reinterpret_cast<const void*>(mData.array()); } template<typename T> size_t TiffEntryImpl<T>::getSize() const { uint32_t total = getActualSize(); WORD_ALIGN(total) return (total <= OFFSET_SIZE) ? 0 : total; } template<typename T> uint32_t TiffEntryImpl<T>::getActualSize() const { uint32_t total = sizeof(T) * mCount; if (getType() == RATIONAL || getType() == SRATIONAL) { total <<= 1; } return total; } template<typename T> Endianness TiffEntryImpl<T>::getEndianness() const { return mEnd; } template<typename T> uint32_t TiffEntryImpl<T>::getComparableValue() const { return mTag; } template<typename T> status_t TiffEntryImpl<T>::writeTagInfo(uint32_t offset, EndianOutput* out) const { assert((offset % TIFF_WORD_SIZE) == 0); status_t ret = OK; BAIL_ON_FAIL(out->write(&mTag, 0, 1), ret); BAIL_ON_FAIL(out->write(&mType, 0, 1), ret); BAIL_ON_FAIL(out->write(&mCount, 0, 1), ret); uint32_t dataSize = getActualSize(); if (dataSize > OFFSET_SIZE) argument
[all...]
/frameworks/av/media/libstagefright/
H A DESDS.cpp70 size_t offset, size_t size,
76 *tag = mData[offset++];
86 uint8_t x = mData[offset++];
100 *data_offset = offset;
123 status_t ESDS::parseESDescriptor(size_t offset, size_t size) { argument
128 offset += 2; // skip ES_ID
131 unsigned streamDependenceFlag = mData[offset] & 0x80;
132 unsigned URL_Flag = mData[offset] & 0x40;
133 unsigned OCRstreamFlag = mData[offset] & 0x20;
135 ++offset;
69 skipDescriptorHeader( size_t offset, size_t size, uint8_t *tag, size_t *data_offset, size_t *data_size) const argument
191 parseDecoderConfigDescriptor(size_t offset, size_t size) argument
[all...]
H A DFileSource.cpp46 FileSource::FileSource(int fd, int64_t offset, int64_t length) argument
48 mOffset(offset),
55 CHECK(offset >= 0);
87 ssize_t FileSource::readAt(off64_t offset, void *data, size_t size) { argument
95 if (offset >= mLength) {
98 int64_t numAvailable = mLength - offset;
106 return readAtDRM(offset, data, size);
108 off64_t result = lseek64(mFd, offset + mOffset, SEEK_SET);
110 ALOGE("seek to %lld failed", offset + mOffset);
158 ssize_t FileSource::readAtDRM(off64_t offset, voi argument
[all...]
H A DMediaBuffer.cpp135 void MediaBuffer::set_range(size_t offset, size_t length) { argument
136 if ((mGraphicBuffer == NULL) && (offset + length > mSize)) {
137 ALOGE("offset = %zu, length = %zu, mSize = %zu", offset, length, mSize);
139 CHECK((mGraphicBuffer != NULL) || (offset + length <= mSize));
141 mRangeOffset = offset;
H A DSkipCutBuffer.cpp42 int32_t offset = buffer->range_offset(); local
49 offset += to_drop;
51 buffer->set_range(offset, buflen);
57 char *src = ((char*) buffer->data()) + offset;
69 int32_t offset = buffer->offset(); local
76 offset += to_drop;
78 buffer->setRange(offset, buflen);
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dgrp_data.c55 Word32 offset; local
82 offset = 0;
85 groupedSfbOffset[i] = offset + sfbOffset[sfb] * groupLen[grp];
88 offset += groupLen[grp] * FRAME_LEN_SHORT;
95 offset = 0;
101 offset += groupLen[grp] * FRAME_LEN_SHORT;
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Ddec_alg_codebook.cpp118 void dec_1p_N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
127 pos1 = ((index & mask) + offset);
145 void dec_2p_2N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
154 /* pos1 = (((index >> N) & mask) + offset); */
155 pos1 = (int16)(add_int32((shr_int32(index, N) & mask), (int32)(offset)));
158 pos2 = add_int16((int16)(index & mask), offset); /* pos2 = ((index & mask) + offset); */
192 void dec_3p_3N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
205 j = offset;
219 dec_1p_N1(idx, N, offset, po
229 dec_4p_4N1(int32 index, int16 N, int16 offset, int16 pos[]) argument
265 dec_4p_4N(int32 index, int16 N, int16 offset, int16 pos[]) argument
316 dec_5p_5N(int32 index, int16 N, int16 offset, int16 pos[]) argument
350 dec_6p_6N_2(int32 index, int16 N, int16 offset, int16 pos[]) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Didct.cpp133 int offset = width - 8; local
264 comp += offset;
332 comp += offset;
/frameworks/av/media/libstagefright/httplive/
H A DLiveDataSource.cpp58 off64_t offset, void *data, size_t size) {
61 if (offset != mOffset) {
82 return readAt_l(offset, data, size);
85 ssize_t LiveDataSource::readAt(off64_t offset, void *data, size_t size) { argument
87 return readAt_l(offset, data, size);
90 ssize_t LiveDataSource::readAt_l(off64_t offset, void *data, size_t size) { argument
91 if (offset != mOffset) {
124 buffer->setRange(buffer->offset() + copy, buffer->size() - copy);
57 readAtNonBlocking( off64_t offset, void *data, size_t size) argument
/frameworks/av/media/libstagefright/id3/
H A Dtestid3.cpp34 size_t offset = 0; local
35 while (offset < size) {
36 printf("0x%04zx ", offset);
38 size_t n = size - offset;
48 if (offset + i < size) {
49 printf("%02x ", data[offset + i]);
58 if (isprint(data[offset + i])) {
59 printf("%c", data[offset + i]);
67 offset += 16;
/frameworks/av/media/libstagefright/include/
H A DThrottledSource.h32 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
53 virtual status_t reconnectAtOffset(off64_t offset) { argument
54 return mSource->reconnectAtOffset(offset);
/frameworks/av/media/libstagefright/rtsp/
H A DAH263Assembler.cpp137 buffer->setRange(buffer->offset() + skip, buffer->size() - skip);
169 size_t offset = 0; local
174 memcpy((uint8_t *)accessUnit->data() + offset,
177 offset += unit->size();
H A DARTPAssembler.cpp85 size_t offset = 0; local
89 uint8_t *dst = accessUnit->data() + offset;
113 offset += nal->size() + 7;
131 size_t offset = 0; local
135 memcpy(accessUnit->data() + offset, nal->data(), nal->size());
136 offset += nal->size();
/frameworks/base/core/java/android/app/backup/
H A DBackupDataInput.java156 * @param offset Offset within the 'data' array at which the data will be placed
163 public int readEntityData(byte[] data, int offset, int size) throws IOException { argument
165 int result = readEntityData_native(mBackupReader, data, offset, size);
196 private native int readEntityData_native(long mBackupReader, byte[] data, int offset, int size); argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattServerCallback.java57 * @param offset Offset into the value of the characteristic
61 int offset, BluetoothGattCharacteristic characteristic) {
76 * @param offset The offset given for the value
82 int offset, byte[] value) {
93 * @param offset Offset into the value of the characteristic
97 int offset, BluetoothGattDescriptor descriptor) {
112 * @param offset The offset given for the value
118 int offset, byt
60 onCharacteristicReadRequest(BluetoothDevice device, int requestId, int offset, BluetoothGattCharacteristic characteristic) argument
79 onCharacteristicWriteRequest(BluetoothDevice device, int requestId, BluetoothGattCharacteristic characteristic, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument
96 onDescriptorReadRequest(BluetoothDevice device, int requestId, int offset, BluetoothGattDescriptor descriptor) argument
115 onDescriptorWriteRequest(BluetoothDevice device, int requestId, BluetoothGattDescriptor descriptor, boolean preparedWrite, boolean responseNeeded, int offset, byte[] value) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DColorSpaceTransform.java50 /** Numerator offset inside a rational (pair). */
53 /** Denominator offset inside a rational (pair). */
153 * {@code offset}
154 * @param offset
155 * a non-negative offset into the array
160 * offset.
162 public void copyElements(Rational[] destination, int offset) { argument
163 checkArgumentNonnegative(offset, "offset must not be negative");
165 if (destination.length - offset < COUN
197 copyElements(int[] destination, int offset) argument
[all...]
H A DLensShadingMap.java163 final int offset = (row * mColumns + column) * COUNT;
166 mElements[RED + offset];
168 mElements[GREEN_EVEN + offset];
170 mElements[GREEN_ODD + offset];
172 mElements[BLUE + offset];
184 * elements after the {@code offset}
185 * @param offset
186 * a non-negative offset into the array
190 * If offset was negative
193 * offset
197 copyGainFactors(final float[] destination, final int offset) argument
[all...]
/frameworks/base/core/java/android/net/
H A DSntpClient.java114 // if (false) Log.d(TAG, "clock offset: " + clockOffset + " ms");
162 * Reads an unsigned 32 bit big endian number from the given offset in the buffer.
164 private long read32(byte[] buffer, int offset) { argument
165 byte b0 = buffer[offset];
166 byte b1 = buffer[offset+1];
167 byte b2 = buffer[offset+2];
168 byte b3 = buffer[offset+3];
180 * Reads the NTP time stamp at the given offset in the buffer and returns
183 private long readTimeStamp(byte[] buffer, int offset) { argument
184 long seconds = read32(buffer, offset);
193 writeTimeStamp(byte[] buffer, int offset, long time) argument
[all...]

Completed in 4976 milliseconds

1234567891011>>