Searched refs:offset (Results 126 - 150 of 837) sorted by relevance

1234567891011>>

/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreateWindowSurface.cpp4 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
23 if (offset < 0) {
26 _exceptionMessage = "offset < 0";
42 _remaining = _env->GetArrayLength(attrib_list_ref) - offset;
45 attrib_list = attrib_list_base + offset;
81 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
101 if (offset < 0) {
104 _exceptionMessage = "offset < 0";
124 _remaining = _env->GetArrayLength(attrib_list_ref) - offset;
127 attrib_list = attrib_list_base + offset;
3 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
80 android_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
[all...]
/frameworks/support/v4/java/android/support/v4/util/
H A DLogWriter.java51 @Override public void write(char[] buf, int offset, int count) { argument
53 char c = buf[offset + i];
/frameworks/av/media/libstagefright/
H A DAVIExtractor.cpp172 off64_t offset; local
177 mTrackIndex, mSampleIndex, &offset, &size, &isKey, &timeUs);
188 ssize_t n = mExtractor->mDataSource->readAt(offset, out->data(), size);
245 if (mBuffer != NULL && mBuffer->offset() > 0) {
278 for (size_t offset = 0; offset + 3 < mBuffer->size(); ++offset) {
279 uint32_t firstHeader = U32_AT(mBuffer->data() + offset);
286 size_t subsequentOffset = offset + frameSize;
311 mBuffer->data() + offset,
422 parseChunk(off64_t offset, off64_t size, int depth) argument
589 parseStreamHeader(off64_t offset, size_t size) argument
669 parseStreamFormat(off64_t offset, size_t size) argument
767 parseIndex(off64_t offset, size_t size) argument
810 uint32_t offset = U32LE_AT(&data[8]); local
845 off64_t offset; local
881 off64_t offset; local
1002 off64_t offset; local
1050 off64_t offset; local
1104 getSampleInfo( size_t trackIndex, size_t sampleIndex, off64_t *offset, size_t *size, bool *isKey, int64_t *sampleTimeUs) argument
1165 off64_t offset; local
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.h54 * @param[in] offset The offset with which to update the file position.
60 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence);
/frameworks/av/media/img_utils/include/img_utils/
H A DInput.h44 * at the index given in the offset argument.
49 virtual ssize_t read(uint8_t* buf, size_t offset, size_t count) = 0;
H A DOutput.h44 * at the index given in the offset argument.
48 virtual status_t write(const uint8_t* buf, size_t offset, size_t count) = 0;
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...]
H A DTiffIfd.h41 * - A 4-byte offset to the next IFD.
73 * the given offset should be word aligned.
77 virtual status_t writeData(uint32_t offset, /*out*/EndianOutput* out) const;
107 * This sets all strip related tags, but leaves offset values unitialized.
108 * setStripOffsets must be called with the desired offset before writing.
124 * Convenience method to set beginning offset for strips.
130 virtual status_t setStripOffset(uint32_t offset);
135 * This sums the byte count at each strip offset, and returns
156 virtual uint32_t checkAndGetOffset(uint32_t offset) const;
/frameworks/base/core/java/com/android/internal/util/
H A DIndentingPrintWriter.java76 public void write(char[] buf, int offset, int count) { argument
78 final int bufferEnd = offset + count;
79 int lineStart = offset;
80 int lineEnd = offset;
H A DBitwiseInputStream.java32 // The current position offset, in bits, from the msb in byte 0.
35 // The last valid bit offset.
76 int offset = 16 - (mPos & 0x07) - bits; // &7==%8
82 if (offset < 8) data |= mBuf[index + 1] & 0xFF;
83 data >>>= offset;
/frameworks/base/obex/javax/obex/
H A DPrivateInputStream.java106 public synchronized int read(byte[] b, int offset, int length) throws IOException { argument
111 if ((offset | length) < 0 || length > b.length - offset) {
118 int offset1 = offset;
H A DPrivateOutputStream.java97 public synchronized void write(byte[] buffer, int offset, int count) throws IOException { argument
98 int offset1 = offset;
104 if ((offset | count) < 0 || count > buffer.length - offset) {
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DObexTime.java32 * match OBEX time string: YYYYMMDDTHHMMSS with optional UTF offset
54 * if 7th group is matched then we have UTC offset information
61 /* time zone offset is specified in miliseconds */
62 int offset = (ohh * 60 + omm) * 60 * 1000;
65 offset = -offset;
69 tz.setRawOffset(offset);
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/
H A DObexTime.java32 * match OBEX time string: YYYYMMDDTHHMMSS with optional UTF offset
54 * if 7th group is matched then we have UTC offset information
61 /* time zone offset is specified in miliseconds */
62 int offset = (ohh * 60 + omm) * 60 * 1000;
65 offset = -offset;
69 tz.setRawOffset(offset);
/frameworks/base/opengl/java/android/opengl/
H A DGLES31.java236 int offset
254 int offset
352 int offset
367 int offset
389 int offset
521 int offset
540 int offset
559 int offset
578 int offset
597 int offset
1059 glBindVertexBuffer( int bindingindex, int buffer, long offset, int stride ) argument
[all...]
/frameworks/av/include/media/stagefright/
H A DFileSource.h34 FileSource(int fd, int64_t offset, int64_t length);
38 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
62 ssize_t readAtDRM(off64_t offset, void *data, size_t size);
H A DMediaHTTP.h35 off64_t offset);
41 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
47 virtual status_t reconnectAtOffset(off64_t offset);
/frameworks/av/media/libmediaplayerservice/
H A DMidiMetadataRetriever.cpp54 status_t MidiMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) argument
56 ALOGV("setDataSource: fd(%d), offset(%lld), and length(%lld)", fd, offset, length);
62 return mMidiPlayer->setDataSource(fd, offset, length);;
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dlsp_lsf.cpp174 Word16 i, ind, offset;
180 offset = lsf[i] & 0x00ff; // offset = b0-b7 of lsf[i]
182 // lsp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 256
184 L_tmp = L_mult (sub (table[ind + 1], table[ind]), offset);
221 Word16 i, ind, offset; local
227 offset = lsf[i] & 0x00ff; /* offset = b0-b7 of lsf[i] */
229 /* lsp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 256 */
231 L_tmp = ((Word32)(table[ind + 1] - table[ind]) * offset) >>
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Disp_isf.c67 Word16 offset; local
79 offset = (Word16) (isp[i] & 0x007f); /* offset = b0-b6 of isf[i] */
81 /* isp[i] = table[ind]+ ((table[ind+1]-table[ind])*offset) / 128 */
82 L_tmp = vo_L_mult(vo_sub(table[ind + 1], table[ind]), offset);
/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/timedtext/
H A DTimedTextSRTSource.h54 // The offset of the text in the original file.
55 off64_t offset; member in struct:android::TimedTextSRTSource::TextInfo
65 off64_t *offset, int64_t *startTimeUs, TextInfo *info);
66 status_t readNextLine(off64_t *offset, AString *data);
/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/speech/srec/
H A DMicrophoneInputStream.java70 public int read(byte[] b, int offset, int length) throws IOException { argument
73 return AudioRecordRead(mAudioRecord, b, offset, length);
107 private static native int AudioRecordRead(long audioRecord, byte[] b, int offset, int length) throws IOException; argument
/frameworks/base/core/java/android/widget/
H A DScrollBarDrawable.java88 public void setParameters(int range, int offset, int extent, boolean vertical) { argument
93 if (mRange != range || mOffset != offset || mExtent != extent) {
98 mOffset = offset;
128 int offset = Math.round((float) (size - length) * mOffset / (range - extent));
136 if (offset + length > size) {
137 offset = size - length;
140 drawThumb(canvas, r, offset, length, vertical);
165 protected void drawThumb(Canvas canvas, Rect bounds, int offset, int length, boolean vertical) { argument
170 thumbRect.set(bounds.left, bounds.top + offset,
171 bounds.right, bounds.top + offset
[all...]

Completed in 463 milliseconds

1234567891011>>