Searched defs:offset (Results 351 - 375 of 644) sorted by relevance

<<11121314151617181920>>

/frameworks/native/cmds/installd/tests/
H A Dinstalld_utils_test.cpp326 size_t offset = prefix.length(); local
328 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) +
369 boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) {
381 offset, remaining, iii);
408 offset) + " < " + checks[index + 2] +
447 boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) {
869 // (JNIEnv *_env, jobject this, jint plane, jfloatArray equation_ref, jint offset) {
1081 String offset = "offset";
204 printIfcheckPostamble(PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) argument
368 emitNativeBoundsChecks(CFunc cfunc, String cname, PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) argument
446 emitSentinelCheck(CFunc cfunc, String cname, PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) argument
[all...]
/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/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DKnownBandsChannelHelper.java68 WifiScanner.ChannelSpec[] channelSpec, int offset, int[] channels) {
70 channelSpec[offset + i] = new WifiScanner.ChannelSpec(channels[i]);
67 copyChannels( WifiScanner.ChannelSpec[] channelSpec, int offset, int[] channels) argument
/frameworks/rs/api/
H A DGenerateHeaderFiles.cpp227 const int offset = 4 + permutation.getName().size() + 1; // Size of above local
230 int charsOnLine = offset;
247 *file << "\n" << string(offset, ' ');
248 charsOnLine = offset;
/frameworks/rs/
H A DrsFileA3D.cpp342 uint32_t offset = (uint32_t)mWriteIndex[i]->mOffset; local
343 headerStream.addU32(offset);
344 offset = (uint32_t)mWriteIndex[i]->mLength;
345 headerStream.addU32(offset);
H A DrsMesh.cpp230 uint32_t offset = bufferElem->getFieldOffsetBytes(ct); local
234 posPtr = (float*)(bp + offset);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStaggeredGrid.java52 public int offset; field in class:StaggeredGrid.Location
59 public Location(int row, int offset, int size) { argument
61 this.offset = offset;
149 int offset;
153 offset = getLocation(mFirstVisibleIndex).offset;
158 offset = 0;
185 mProvider.addItem(mTmpItem[0], itemIndex, size, rowIndex, edge - offset);
190 offset
[all...]
/frameworks/support/v4/api21/android/support/v4/view/
H A DViewCompatLollipop.java205 static void offsetTopAndBottom(final View view, final int offset) { argument
219 // Now offset, invoking the API 11+ implementation (which contains it's own workarounds)
220 ViewCompatHC.offsetTopAndBottom(view, offset);
222 // The view has now been offset, so let's intersect the Rect and invalidate where
230 static void offsetLeftAndRight(final View view, final int offset) { argument
244 // Now offset, invoking the API 11+ implementation (which contains it's own workarounds)
245 ViewCompatHC.offsetLeftAndRight(view, offset);
247 // The view has now been offset, so let's intersect the Rect and invalidate where
/frameworks/support/v4/honeycomb/android/support/v4/view/
H A DViewCompatHC.java170 static void offsetTopAndBottom(View view, int offset) { argument
171 view.offsetTopAndBottom(offset);
180 static void offsetLeftAndRight(View view, int offset) { argument
181 view.offsetLeftAndRight(offset);
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DListMenuPresenter.java159 public void setItemIndexOffset(int offset) { argument
160 mItemIndexOffset = offset;
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DChildHelper.java97 final int offset;
99 offset = mCallback.getChildCount();
101 offset = getOffset(index);
103 mBucket.insert(offset, hidden);
107 mCallback.addView(child, offset);
118 int offset = index;
119 while (offset < limit) {
120 final int removedBefore = mBucket.countOnesBefore(offset);
121 final int diff = index - (offset - removedBefore);
123 while (mBucket.get(offset)) { // ensur
523 getChildAt(int offset) argument
531 detachViewFromParent(int offset) argument
[all...]
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DDiskBasedCache.java465 public int read(byte[] buffer, int offset, int count) throws IOException { argument
466 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.cpp434 int64_t offset = (int64_t)mp->mDataSource.mLocator.mFD.offset; local
437 offset == SL_DATALOCATOR_ANDROIDFD_USE_FILE_SIZE ?
438 (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", (long long) 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
/frameworks/av/camera/
H A DCameraMetadata.cpp487 // arg2 = offset (blob)
488 // Must be after blob since we don't know offset until after writeBlob.
495 const size_t offset = static_cast<size_t>(offsetTmp); local
496 if (offset >= alignment) {
497 ALOGE("%s: metadata offset(%zu) should be less than alignment(%zu)",
503 const uintptr_t metadataStart = reinterpret_cast<uintptr_t>(blob.data()) + offset;
506 ALOGV("%s: alignment is: %zu, metadata start: %p, offset: %zu",
507 __FUNCTION__, alignment, tmp, offset);
547 * | arg2: offset |
561 * offset befor
571 size_t offset = 0; local
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c316 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence) { argument
325 newFilePos = lseek64(pSession->fileDesc, pSession->dataOffset + offset, whence);
329 newFilePos = lseek64(pSession->fileDesc, offset, whence);
/frameworks/av/drm/libdrmframework/plugins/passthru/src/
H A DDrmPassthruPlugIn.cpp229 return new DrmConvertedStatus(DrmConvertedStatus::STATUS_OK, convertedData, 0 /*offset*/);
234 return new DrmConvertedStatus(DrmConvertedStatus::STATUS_OK, NULL, 0 /*offset*/);
238 int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) {
302 void* buffer, ssize_t numBytes, off64_t offset) {
237 onOpenDecryptSession( int uniqueId, DecryptHandle* decryptHandle, int fd, off64_t offset, off64_t length) argument
301 onPread(int uniqueId, DecryptHandle* decryptHandle, void* buffer, ssize_t numBytes, off64_t offset) argument
/frameworks/av/media/img_utils/src/
H A DTiffIfd.cpp75 uint32_t TiffIfd::checkAndGetOffset(uint32_t offset) const {
90 if (offset == BAD_OFFSET) {
91 ALOGW("%s: Could not calculate IFD offsets, IFD %u had a bad initial offset.",
98 return offset + ifdSize;
101 status_t TiffIfd::writeData(uint32_t offset, /*out*/EndianOutput* out) const { argument
102 assert((offset % TIFF_WORD_SIZE) == 0);
105 ALOGV("%s: IFD %u written to offset %u", __FUNCTION__, mIfdId, offset );
106 uint32_t valueOffset = checkAndGetOffset(offset);
123 // Writer IFD footer (4 bytes, offset t
296 setStripOffset(uint32_t offset) argument
[all...]
H A DTiffWriter.cpp95 uint32_t offset = FILE_HEADER_SIZE; local
98 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret);
99 offset += ifd->getSize();
142 uint32_t offset = FILE_HEADER_SIZE; local
145 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret);
146 offset += ifd->getSize();

Completed in 721 milliseconds

<<11121314151617181920>>