Searched defs:offset (Results 301 - 325 of 575) sorted by relevance

<<11121314151617181920>>

/frameworks/base/test-runner/src/android/test/mock/
H A DMockCursor.java118 public boolean move(int offset) { argument
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
H A DTransport.java231 protected abstract int ioRead(byte[] buffer, int offset, int count) argument
233 protected abstract void ioWrite(byte[] buffer, int offset, int count) argument
/frameworks/base/tools/aapt/
H A DZipEntry.h75 * Return the offset of the local file header.
80 * Return the absolute file offset of the start of the compressed or
194 * Set the offset of the local file header, relative to the start of
197 void setLFHOffset(off_t offset) { argument
198 mCDE.mLocalHeaderRelOffset = (long) offset;
/frameworks/compile/mclinker/include/mcld/LD/
H A DELFSegment.h60 uint64_t offset() const { return m_Offset; } function in class:mcld::ELFSegment
116 uint64_t m_Offset; // File offset where segment is located, in bytes
H A DLDSection.h89 /// offset - An integer specifying the offset of this section in the file.
90 /// Before layouting, output's LDSection::offset() should return zero.
91 uint64_t offset() const function in class:mcld::LDSection
96 /// Before layouting, output's LDSection::offset() should return zero.
/frameworks/compile/mclinker/lib/LD/
H A DEhFrameReader.cpp133 // get file offset and address
134 uint64_t file_off = pInput.fileOffset() + section.offset();
234 unsigned offset; local
235 size_t augdata_size = llvm::decodeULEB128((const uint8_t*)handler, &offset);
236 handler += offset;
343 const int32_t offset = *(const int32_t*) (pRegion.begin() + pToken.data_off local
346 (int32_t) offset);
H A DGNUArchiveReader.cpp125 // bypass if another symbol with the same object file offset is included
138 // include the object member from the given offset
154 /// @param pFileOffset - file offset of the member header in the archive
175 // parse the member name and nested offset if any
188 // parse the name offset
192 // there is a nested offset
256 // set up the pointers for file offset and name offset
310 size_t offset = Archive::MAGIC_LEN + local
314 if (0x0 != (offset
[all...]
/frameworks/ex/framesequence/src/android/support/rastermill/
H A DFrameSequence.java41 private static native FrameSequence nativeDecodeByteArray(byte[] data, int offset, int length); argument
64 public static FrameSequence decodeByteArray(byte[] data, int offset, int length) { argument
66 if (offset < 0 || length < 0 || (offset + length > data.length)) {
67 throw new IllegalArgumentException("invalid offset/length parameters");
69 return nativeDecodeByteArray(data, offset, length);
/frameworks/minikin/libs/minikin/
H A DCmapCoverage.cpp31 static uint32_t readU16(const uint8_t* data, size_t offset) { argument
32 return data[offset] << 8 | data[offset + 1];
35 static uint32_t readU32(const uint8_t* data, size_t offset) { argument
36 return data[offset] << 24 | data[offset + 1] << 16 | data[offset + 2] << 8 | data[offset + 3];
155 uint32_t offset = readU32(cmap_data, kHeaderSize + bestTable * kTableSize + kOffsetOffset); local
156 if (offset
[all...]
H A DFontCollection.cpp65 size_t offset = 0; local
71 ALOGD("i=%d: range start = %d\n", i, offset);
73 range->start = offset;
78 offset++;
86 range->end = offset;
/frameworks/native/cmds/installd/tests/
H A Dinstalld_utils_test.cpp321 size_t offset = strlen(prefix); local
322 EXPECT_STREQ(pkgname, path + offset)
/frameworks/native/libs/binder/
H A DDebug.cpp169 size_t offset; local
209 for (offset = 0; ; offset += bytesPerLine, pos += bytesPerLine) {
214 sprintf(c, "0x%08x: ", (int)offset);
/frameworks/native/opengl/tools/glgen/src/
H A DJniCodeEmitter.java201 "offset", "_remaining", iii);
205 String offset, String remaining, String iii) {
217 (isBuffer ? "remaining()" : "length - " + offset) +
352 boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) {
364 offset, remaining, iii);
391 offset) + " < " + checks[index + 2] +
430 boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) {
820 // (JNIEnv *_env, jobject this, jint plane, jfloatArray equation_ref, jint offset) {
1018 String offset = "offset";
204 printIfcheckPostamble(PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) argument
351 emitNativeBoundsChecks(CFunc cfunc, String cname, PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) argument
429 emitSentinelCheck(CFunc cfunc, String cname, PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) argument
[all...]
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A Dcommon.cpp77 getPointer(JNIEnv *_env, jobject buffer, jarray *array, jint *remaining, jint *offset) argument
97 *offset = _env->CallStaticIntMethod(nioAccessClass,
209 (JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) {
224 if (offset < 0) {
227 _exceptionMessage = "offset < 0";
230 _remaining = _env->GetArrayLength(params_ref) - offset;
238 _exceptionMessage = "length - offset < needed";
243 params = params_base + offset;
208 get(JNIEnv *_env, jobject _this, jint pname, JTYPEARRAY params_ref, jint offset) argument
/frameworks/native/services/surfaceflinger/
H A DFrameTracker.cpp125 const size_t offset = mOffset; local
127 const size_t index = (offset + i) % NUM_FRAME_RECORDS;
/frameworks/rs/
H A DrsFileA3D.cpp336 uint32_t offset = (uint32_t)mWriteIndex[i]->mOffset; local
337 headerStream.addU32(offset);
338 offset = (uint32_t)mWriteIndex[i]->mLength;
339 headerStream.addU32(offset);
H A DrsMesh.cpp230 uint32_t offset = bufferElem->getFieldOffsetBytes(ct); local
234 posPtr = (float*)(bp + offset);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DChildHelper.java73 final int offset;
75 offset = mCallback.getChildCount();
77 offset = getOffset(index);
79 mCallback.addView(child, offset);
80 mBucket.insert(offset, hidden);
94 int offset = index;
95 while (offset < limit) {
96 final int removedBefore = mBucket.countOnesBefore(offset);
97 final int diff = index - (offset - removedBefore);
99 while (mBucket.get(offset)) { // ensur
477 getChildAt(int offset) argument
485 detachViewFromParent(int offset) argument
[all...]
/frameworks/volley/src/com/android/volley/toolbox/
H A DDiskBasedCache.java455 public int read(byte[] buffer, int offset, int count) throws IOException { argument
456 int result = super.read(buffer, offset, count);
/frameworks/wilhelm/include/OMXAL/
H A DOpenMAXAL_Android.h165 XAAint64 offset; member in struct:XADataLocator_AndroidFD_
/frameworks/wilhelm/src/android/
H A DMediaPlayer_to_android.cpp436 int64_t offset = (int64_t)mp->mDataSource.mLocator.mFD.offset; local
439 offset == SL_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE ?
440 (int64_t)PLAYER_FD_FIND_FILE_SIZE : offset,
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp48 static size_t getFrameSize(const sp<DataSource> &source, off64_t offset) { argument
55 ssize_t readSize = source->readAt(offset, &syncHeader, ADTS_HEADER_SIZE_UP_TO_FRAMESIZE);
133 off64_t offset = 0, numFrames = 0; local
134 while (offset < streamSize) {
136 if ((frameSize = getFrameSize(mDataSource, offset)) == 0) {
140 SL_LOGE("AacAdtsExtractor() failed querying framesize at offset=%lld", offset);
144 offset += frameSize;
145 if (offset > streamSize) {
146 SL_LOGE("AacAdtsExtractor() frame of size %zu at offset
[all...]
/frameworks/wilhelm/src/itf/
H A DIObject.c587 size_t offset = x->mOffset; local
588 void *thisItf = (char *) thiz + offset;
/frameworks/wilhelm/tests/examples/
H A DslesTestEqFdPath.cpp52 , SLAint64 offset, SLAint64 size
130 locatorFd.offset = offset;
286 fprintf(stdout, "starting at the specified offset, and using the specified length.\n");
50 TestEQPathFromFD( SLObjectItf sl, const char* path , SLAint64 offset, SLAint64 size , bool alwaysOn ) argument
H A DslesTestEqOutputPath.cpp52 , SLAint64 offset, SLAint64 size
137 locatorFd.offset = offset;
290 fprintf(stdout, "starting at the specified offset, and using the specified length.\n");
50 TestEQPathFromFD( SLObjectItf sl, const char* path , SLAint64 offset, SLAint64 size , bool alwaysOn ) argument

Completed in 680 milliseconds

<<11121314151617181920>>