Searched refs:offset (Results 276 - 300 of 967) sorted by relevance

<<11121314151617181920>>

/frameworks/wilhelm/src/itf/
H A DIDynamicInterfaceManagement.c54 size_t offset = x->mOffset; local
55 void *thisItf = (char *) thisObject + offset;
162 size_t offset = x->mOffset; local
163 void *thisItf = (char *) thisObject + offset;
231 size_t offset = x->mOffset; local
232 void *thisItf = (char *) thisObject + offset;
310 size_t offset = x->mOffset; local
311 void *thisItf = (char *) thisObject + offset;
410 size_t offset = x->mOffset; local
411 void *thisItf = (char *) thiz + offset;
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DARTPWriter.cpp366 buffer->setRange(buffer->offset(), buffer->size() + 28);
378 size_t offset = 8; local
380 data[offset++] = 1; // CNAME
383 data[offset++] = strlen(kCNAME);
385 memcpy(&data[offset], kCNAME, strlen(kCNAME));
386 offset += strlen(kCNAME);
388 data[offset++] = 7; // NOTE
391 data[offset++] = strlen(kNOTE);
393 memcpy(&data[offset], kNOTE, strlen(kNOTE));
394 offset
613 size_t offset = 1; local
682 size_t offset = 2; local
[all...]
H A DAMPEG4ElementaryAssembler.cpp335 size_t offset = 2 + (AU_headers_length + 7) / 8; local
338 ABitReader bits(buffer->data() + offset, buffer->size() - offset);
342 offset += (mAuxiliaryDataSizeLength + auxSize + 7) / 8;
349 if (buffer->size() < offset + header.mSize) {
354 memcpy(accessUnit->data(), buffer->data() + offset, header.mSize);
356 offset += header.mSize;
362 if (offset != buffer->size()) {
363 ALOGW("potentially malformed packet (offset %zu, size %zu)",
364 offset, buffe
[all...]
H A DAMPEG4AudioAssembler.cpp368 size_t offset = 0; local
382 if (offset >= buffer->size()) {
386 tmp = ptr[offset++];
411 CHECK_LT(offset, buffer->size());
412 CHECK_LE(payloadLength, buffer->size() - offset);
414 memcpy(out->data() + out->size(), &ptr[offset], payloadLength);
417 offset += payloadLength;
423 CHECK_LE(offset + (mOtherDataLenBits / 8), buffer->size());
424 offset += mOtherDataLenBits / 8;
428 if (offset < buffe
[all...]
/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...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES32.java275 int offset,
556 int offset
575 int offset
594 int offset
625 int offset
642 int offset
659 int offset
676 int offset
693 int offset
710 int offset
269 glDebugMessageControl( int source, int type, int severity, int count, int[] ids, int offset, boolean enabled ) argument
765 glTexBufferRange( int target, int internalformat, int buffer, int offset, int size ) argument
[all...]
/frameworks/base/libs/hwui/
H A DPathCache.cpp130 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) {
132 PathCache::computeBounds(bounds, paint, left, top, offset, width, height);
136 float& left, float& top, float& offset, uint32_t& width, uint32_t& height) {
143 offset = (int) floorf(std::max(paint->getStrokeWidth(), 1.0f) * 1.5f + 0.5f);
145 width = uint32_t(pathWidth + offset * 2.0 + 0.5);
146 height = uint32_t(pathHeight + offset * 2.0 + 0.5);
167 float left, float top, float offset, uint32_t width, uint32_t height) {
174 canvas.translate(-left + offset, -top + offset);
274 float left, top, offset; local
129 computePathBounds(const SkPath* path, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument
135 computeBounds(const SkRect& bounds, const SkPaint* paint, float& left, float& top, float& offset, uint32_t& width, uint32_t& height) argument
166 drawPath(const SkPath *path, const SkPaint* paint, SkBitmap& bitmap, float left, float top, float offset, uint32_t width, uint32_t height) argument
333 float left, top, offset; local
[all...]
/frameworks/av/media/libstagefright/
H A DAMRExtractor.cpp101 off64_t offset, bool isWide, size_t *frameSize) {
103 ssize_t count = source->readAt(offset, &header, 1);
139 off64_t offset = mIsWide ? 9 : 6; local
145 while (offset < streamSize) {
146 status_t status = getFrameSizeByOffset(source, offset, mIsWide, &frameSize);
155 mOffsetTable[mOffsetTableLength] = offset - (mIsWide ? 9: 6);
159 offset += frameSize;
100 getFrameSizeByOffset(const sp<DataSource> &source, off64_t offset, bool isWide, size_t *frameSize) argument
/frameworks/base/core/java/android/content/pm/
H A DPackageItemInfo.java177 int offset = 0;
178 while (offset < labelLength) {
179 final int codePoint = labelStr.codePointAt(offset);
184 labelStr = labelStr.substring(0, offset);
189 labelStr = labelStr.substring(0, offset) + " " + labelStr.substring(offset +
192 offset += Character.charCount(codePoint);
/frameworks/base/core/jni/
H A DBindTest.cpp250 offset_instanceString = fb->offset;
275 offset_mObj = findField(clazz, "mObj", "Ljava/lang/Object;")->offset;
276 offset_mBool = findField(clazz, "mBool", "Z" )->offset;
277 offset_mInt = findField(clazz, "mInt", "I")->offset;
278 offset_mString = findField(clazz, "mString", "Ljava/lang/String;")->offset;
279 offset_mDouble = findField(clazz, "mDouble", "D")->offset;
280 offset_mLong = findField(clazz, "mLong", "J")->offset;
H A Dandroid_backup_BackupDataInput.cpp94 readEntityData_native(JNIEnv* env, jobject clazz, jlong r, jbyteArray data, jint offset, jint size) argument
99 if (env->GetArrayLength(data) < (size+offset)) {
109 err = reader->ReadEntityData(dataBytes+offset, size);
/frameworks/base/graphics/java/android/graphics/
H A DBitmapFactory.java515 * @param offset offset into imageData for where the decoder should begin
517 * @param length the number of bytes, beginning at offset, to parse
524 public static Bitmap decodeByteArray(byte[] data, int offset, int length, Options opts) { argument
525 if ((offset | length) < 0 || data.length < offset + length) {
533 bm = nativeDecodeByteArray(data, offset, length, opts);
550 * @param offset offset into imageData for where the decoder should begin
552 * @param length the number of bytes, beginning at offset, t
555 decodeByteArray(byte[] data, int offset, int length) argument
723 nativeDecodeByteArray(byte[] data, int offset, int length, Options opts) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DNativeCrashListener.java170 static int unpackInt(byte[] buf, int offset) { argument
173 b0 = ((int) buf[offset]) & 0xFF; // mask against sign extension
174 b1 = ((int) buf[offset+1]) & 0xFF;
175 b2 = ((int) buf[offset+2]) & 0xFF;
176 b3 = ((int) buf[offset+3]) & 0xFF;
180 static int readExactly(FileDescriptor fd, byte[] buffer, int offset, int numBytes) argument
184 int n = Os.read(fd, buffer, offset + totalRead, numBytes);
/frameworks/base/services/core/jni/
H A Dcom_android_server_am_BatteryStatsService.cpp178 char *output = (char*)env->GetDirectBufferAddress(outBuf), *offset = output; local
237 added = snprintf(offset, remaining,
247 offset += added;
252 added = snprintf(offset, remaining,
263 offset += added;
270 offset--;
277 *offset = 0;
/frameworks/opt/setupwizard/library/eclair-mr1/src/com/android/setupwizardlib/util/
H A DLinkAccessibilityHelper.java74 final int offset = getOffsetForPosition(mView, x, y);
75 ClickableSpan[] linkSpans = spannedText.getSpans(offset, offset, ClickableSpan.class);
103 Log.e(TAG, "LinkSpan is null for offset: " + virtualViewId);
115 Log.e(TAG, "LinkSpan is null for offset: " + virtualViewId);
140 Log.e(TAG, "LinkSpan is null for offset: " + virtualViewId);
146 private ClickableSpan getSpanForOffset(int offset) { argument
150 ClickableSpan[] spans = spannedText.getSpans(offset, offset, ClickableSpan.class);
189 outRect.offset(mVie
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dresidual.cpp31 int offset; local
45 offset = video->PicWidthInSamplesL - 16;
70 pDst += offset;
71 pSrc += offset;
79 offset >>= 1;
103 pDst += offset;
104 pSrc += offset;
136 pDst += offset;
137 pSrc += offset;
/frameworks/base/core/java/android/util/jar/
H A DStrictJarFile.java361 throw new IOException("Error reading data for " + entry.getName() + " near offset "
399 private long offset; field in class:StrictJarFile.RAFStream
404 offset = initialOffset;
413 return (offset < endOffset ? 1 : 0);
422 final long length = endOffset - offset;
426 sharedRaf.seek(offset);
429 offset += count;
438 if (byteCount > endOffset - offset) {
439 byteCount = endOffset - offset;
441 offset
[all...]
/frameworks/av/include/media/stagefright/
H A DYUVImage.h30 // - getOffsets() returns the correct offset for the different channels
145 // For the given pixel location, this returns the offset of the location of y, u and v
152 // Returns the offset increments incurred in going from one data row to the next data row
161 // Given the offset return the address of the corresponding channel's data.
162 uint8_t* getYAddress(int32_t offset) const;
163 uint8_t* getUAddress(int32_t offset) const;
164 uint8_t* getVAddress(int32_t offset) const;
/frameworks/av/include/media/stagefright/foundation/
H A DAString.h35 AString(const AString &from, size_t offset, size_t n);
41 void setTo(const AString &from, size_t offset, size_t n);
56 void append(const AString &from, size_t offset, size_t n);
/frameworks/av/include/ndk/
H A DNdkMediaCodec.h45 int32_t offset; member in struct:AMediaCodecBufferInfo
134 size_t idx, off_t offset, size_t size, uint64_t time, uint32_t flags);
140 size_t idx, off_t offset, AMediaCodecCryptoInfo*, uint64_t time, uint32_t flags);
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_seek_synch.cpp208 int32 offset = pVars->inputStream.usedBits + ((numBytes) << 3); local
210 offset >>= INBUF_ARRAY_INDEX_SHIFT;
211 uint8 *pElem = pVars->inputStream.pBuffer + offset;
/frameworks/av/media/libstagefright/include/
H A DNuCachedSource2.h38 virtual ssize_t readAt(off64_t offset, void *data, size_t size);
136 ssize_t readInternal(off64_t offset, void *data, size_t size);
137 status_t seekInternal_l(off64_t offset);
/frameworks/av/media/mtp/
H A DMtpDevice.h72 (void* data, uint32_t offset, uint32_t length, void* clientData);
119 uint32_t offset,
125 uint64_t offset,
/frameworks/base/docs/html/
H A Djd_tag_helpers.js30 var offset = 0;
36 allRes[tag] = allRes[tag].concat(r.map[tag].map(function(i){ return ALL_RESOURCES[i + offset]; }));
38 offset += r.arr.length;
/frameworks/base/media/jni/
H A Dandroid_media_Utils.h43 // Reads 'length' amount of bytes from 'offset' to 'data'. The 'data' buffer
46 // 'offset' bytes from the start of the stream.
47 // Returns 'kFail' if 'offset' + 'length' exceeds the stream and does not
50 const size_t offset, const size_t length, std::uint8_t* data) override;
66 // Reads 'length' amount of bytes from 'offset' to 'data'. The 'data' buffer
69 // 'offset' bytes from the start of the stream.
70 // Returns 'kFail' if 'offset' + 'length' exceeds the stream and does not
73 const size_t offset, const size_t length, std::uint8_t* data) override;
86 // Reads 'length' amount of bytes from 'offset' to 'data'. The 'data' buffer
89 // 'offset' byte
[all...]

Completed in 5765 milliseconds

<<11121314151617181920>>