Searched refs:offset (Results 101 - 125 of 706) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/util/
H A DLogWriter.java64 @Override public void write(char[] buf, int offset, int count) { argument
66 char c = buf[offset + i];
/frameworks/base/include/androidfw/
H A DAsset.h67 * Read data from the current offset. Returns the actual number of
73 * Seek to the specified offset. "whence" uses the same values as
77 virtual off64_t seek(off64_t offset, int whence) = 0;
125 off64_t handleSeek(off64_t offset, int whence, off64_t curPosn, off64_t maxPosn);
154 * if "offset" and "length" don't fit within the bounds of the file.
158 static Asset* createFromFileSegment(int fd, off64_t offset, size_t length,
171 static Asset* createFromCompressedData(int fd, off64_t offset,
226 status_t openChunk(const char* fileName, int fd, off64_t offset, size_t length);
239 virtual off64_t seek(off64_t offset, int whence);
248 off64_t mStart; // absolute file offset o
[all...]
/frameworks/base/media/tests/omxjpegdecoder/
H A DStreamSource.cpp38 ssize_t StreamSource::readAt(off64_t offset, void *data, size_t size) { argument
42 mStream->skip(offset);
/frameworks/base/opengl/java/android/opengl/
H A DGLES30.java355 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLsizei offset )
363 int offset
381 // C function void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei offset )
393 int offset
412 // C function void glTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei offset )
425 int offset
456 // C function void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLsizei offset )
467 int offset
486 // C function void glCompressedTexSubImage3D ( GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLsizei offset )
499 int offset
764 glMapBufferRange( int target, int offset, int length, int access ) argument
773 glFlushMappedBufferRange( int target, int offset, int length ) argument
851 glBindBufferRange( int target, int index, int buffer, int offset, int size ) argument
1729 glInvalidateSubFramebuffer( int target, int numAttachments, int[] attachments, int offset, int x, int y, int width, int height ) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dpixelutils.cpp24 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset,
28 uint32* pOutRow = pOutput + offset;
23 nativeCopyPixels( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height, jint offset, jint pixStride, jint rowStride) argument
/frameworks/compile/mclinker/lib/LD/
H A DRelocator.cpp33 // 1. update the relocation target offset
35 uint64_t offset = input_sym->fragRef()->getOutputOffset(); local
36 pReloc.target() += offset;
/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/libstagefright/include/
H A DChromiumHTTPDataSource.h36 off64_t offset = 0);
42 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
54 virtual status_t reconnectAtOffset(off64_t offset);
103 off64_t offset);
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/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/drm/java/android/drm/
H A DDrmOutputStream.java64 mFile.seek(status.offset);
82 public void write(byte[] buffer, int offset, int count) throws IOException { argument
83 Arrays.checkOffsetAndCount(buffer.length, offset, count);
90 System.arraycopy(buffer, offset, exactBuffer, 0, count);
/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/av/include/media/stagefright/
H A DFileSource.h33 FileSource(int fd, int64_t offset, int64_t length);
37 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
61 ssize_t readAtDRM(off64_t offset, void *data, size_t size);
/frameworks/av/media/libmediaplayerservice/
H A DMidiMetadataRetriever.cpp50 status_t MidiMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) argument
52 ALOGV("setDataSource: fd(%d), offset(%lld), and length(%lld)", fd, offset, length);
58 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/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.java152 * @param offset Offset within the 'data' array at which the data will be placed
159 public int readEntityData(byte[] data, int offset, int size) throws IOException { argument
161 int result = readEntityData_native(mBackupReader, data, offset, size);
192 private native int readEntityData_native(int 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(int audioRecord, byte[] b, int offset, int length) throws IOException; argument
/frameworks/base/core/java/android/widget/
H A DScrollBarDrawable.java85 public void setParameters(int range, int offset, int extent, boolean vertical) { argument
90 if (mRange != range || mOffset != offset || mExtent != extent) {
95 mOffset = offset;
125 int offset = Math.round((float) (size - length) * mOffset / (range - extent));
133 if (offset + length > size) {
134 offset = size - length;
137 drawThumb(canvas, r, offset, length, vertical);
162 protected void drawThumb(Canvas canvas, Rect bounds, int offset, int length, boolean vertical) { argument
167 thumbRect.set(bounds.left, bounds.top + offset,
168 bounds.right, bounds.top + offset
[all...]

Completed in 2181 milliseconds

1234567891011>>