Searched defs:offset (Results 126 - 150 of 575) sorted by relevance

1234567891011>>

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DTransform3dActivity.java77 private void drawBitmap(Canvas canvas, float centerX, float centerY, float offset, argument
80 canvas.translate(offset, 0.0f);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/libcore/io/
H A DBridgeBufferIterator.java37 public void seek(int offset) { argument
38 assert offset <= mSize;
39 mByteBuffer.position(offset);
/frameworks/compile/mclinker/lib/Fragment/
H A DFragmentRef.cpp48 /// @param pOffset - the offset, can be larger than the fragment, but can not
50 /// @return if the offset is legal, return the fragment reference. Otherwise,
54 int64_t offset = pOffset; local
58 offset -= frag->size();
59 if (offset <= 0)
64 if (offset == 0)
67 offset += frag->size();
74 new (result) FragmentRef(*frag, offset);
128 // check if the offset is still in a legal range.
/frameworks/compile/mclinker/lib/LD/
H A DBranchIsland.cpp66 uint64_t BranchIsland::offset() const function in class:BranchIsland
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64GOT.cpp62 uint32_t offset = 0; local
64 // setup GOT0 offset
67 frag->setOffset(offset);
68 offset += frag->size();
71 // push GOTPLT into the SectionData and setup the offset
79 entry->setOffset(offset);
80 offset += entry->size();
86 // push GOT into the SectionData and setup the offset
94 entry->setOffset(offset);
95 offset
[all...]
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMGOT.cpp58 uint32_t offset = 0; local
60 // setup GOT0 offset
63 frag->setOffset(offset);
64 offset += frag->size();
67 // push GOTPLT into the SectionData and setup the offset
75 entry->setOffset(offset);
76 offset += entry->size();
81 // push GOT into the SectionData and setup the offset
89 entry->setOffset(offset);
90 offset
[all...]
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonAbsoluteStub.cpp87 int64_t offset = pTargetSymValue - pSource; local
88 // if offset is going to fit in nbits then we dont
90 if (FITS_IN_NBITS(offset, nbits))
/frameworks/compile/mclinker/unittests/
H A DELFReaderTest.cpp92 ASSERT_EQ(0x40, (*iter)->offset());
114 m_pInput->fileOffset() + symtab_shdr->offset(), symtab_shdr->size());
117 m_pInput->fileOffset() + strtab_shdr->offset(), strtab_shdr->size());
132 uint64_t offset = m_pInput->fileOffset() + (*rs)->offset(); local
134 llvm::StringRef region = mem->request(offset, size);
/frameworks/minikin/libs/minikin/
H A DSparseBitSet.cpp119 uint32_t offset = (fromIndex & kPageMask) >> kLogBitsPerEl; local
120 element e = bitmap[offset] & (kElAllOnes >> (fromIndex & kElMask));
124 for (uint32_t j = offset + 1; j < (1 << (kLogValuesPerPage - kLogBitsPerEl)); j++) {
/frameworks/native/libs/binder/
H A DMemoryHeapBase.cpp80 MemoryHeapBase::MemoryHeapBase(int fd, size_t size, uint32_t flags, uint32_t offset) argument
86 mapfd(dup(fd), size, offset); local
102 status_t MemoryHeapBase::mapfd(int fd, size_t size, uint32_t offset) argument
114 PROT_READ|PROT_WRITE, MAP_SHARED, fd, offset);
130 mOffset = 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/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DBmsgTokenizer.java66 public BmsgTokenizer(String str, int offset) { argument
68 mOffset = offset;
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/utils/
H A DBmsgTokenizer.java66 public BmsgTokenizer(String str, int offset) { argument
68 mOffset = offset;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmSmsCbMessage.java199 int offset = SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) * i;
200 int length = pdu[offset + PDU_BODY_PAGE_LENGTH];
207 Pair<String, String> p = unpackBody(pdu, encoding, offset, length,
215 int offset = SmsCbHeader.PDU_HEADER_LENGTH;
216 int length = pdu.length - offset;
218 return unpackBody(pdu, encoding, offset, length, hasLanguageIndicator, language);
228 * @param offset Position of the first byte to unpack
236 private static Pair<String, String> unpackBody(byte[] pdu, int encoding, int offset, int length, argument
242 body = GsmAlphabet.gsm7BitPackedToString(pdu, offset, length * 8 / 7);
246 // The actual body text is offset b
[all...]
H A DSimTlv.java38 public SimTlv(byte[] record, int offset, int length) { argument
41 mTlvOffset = offset;
43 mCurOffset = offset;
/frameworks/rs/driver/
H A DrsdVertexArray.cpp45 offset = 0;
55 bool normalized, size_t offset,
60 this->offset = offset;
70 ALOGV("va %i: slot=%i name=%s buf=%i ptr=%p size=%i type=0x%x stride=0x%x norm=%i offset=0x%p",
79 (void*)mAttribs[idx].offset);
115 mAttribs[ct].ptr + mAttribs[ct].offset);
54 set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, size_t offset, const char *name) argument
/frameworks/wilhelm/src/android/
H A DAacBqToPcmCbRenderer.cpp30 * Note that if the returned value + offset > size, it means that a partial frame starts at that
31 * offset, but this function will still return the size of the full frame.
33 * @param offset offset in bytes relative to data of where the frame is supposed to start
35 * @return the size in bytes of the AAC ADTS frame starting at the given offset of the given
38 static size_t getAdtsFrameSize(const uint8_t *data, off64_t offset, size_t size) { argument
41 if (!(offset + ADTS_HEADER_SIZE_UP_TO_FRAMESIZE < size)) {
47 const uint8_t *syncword = data + offset;
53 const uint8_t protectionAbsent = data[offset+1] & 0x1;
55 const uint8_t* header = data + offset
85 off64_t offset = 0; local
[all...]
H A DBufferQueueSource.cpp57 ssize_t BufferQueueSource::readAt(off64_t offset, void *data, size_t size) { argument
58 SL_LOGD("BufferQueueSource::readAt(offset=%lld, data=%p, size=%d)", offset, data, size);
96 //assert(mStreamToBqOffset <= offset);
97 CHECK_LE(mStreamToBqOffset, offset);
99 if (offset + size <= mStreamToBqOffset + oldFront->mDataSize) {
100 pSrc = ((char*)oldFront->mDataBuffer) + (offset - mStreamToBqOffset);
102 if (offset - mStreamToBqOffset + size == oldFront->mDataSize) {
/frameworks/av/media/libmedia/
H A DIMediaHTTPConnection.cpp89 virtual ssize_t readAt(off64_t offset, void *buffer, size_t size) { argument
94 data.writeInt64(offset);
H A Dmediametadataretriever.cpp117 status_t MediaMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) argument
119 ALOGV("setDataSource(%d, %" PRId64 ", %" PRId64 ")", fd, offset, length);
125 if (fd < 0 || offset < 0 || length < 0) {
129 return mRetriever->setDataSource(fd, offset, length);
/frameworks/av/media/libmediaplayerservice/
H A DHDCP.cpp131 size_t offset, size_t size, uint32_t streamCTR,
144 offset, size, streamCTR, outInputCTR, outData);
129 encryptNative( const sp<GraphicBuffer> &graphicBuffer, size_t offset, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument
H A DMetadataRetrieverClient.cpp138 status_t MetadataRetrieverClient::setDataSource(int fd, int64_t offset, int64_t length) argument
140 ALOGV("setDataSource fd=%d, offset=%lld, length=%lld", fd, offset, length);
154 if (offset >= sb.st_size) {
155 ALOGE("offset (%lld) bigger than file size (%llu)", offset, sb.st_size);
159 if (offset + length > sb.st_size) {
160 length = sb.st_size - offset;
167 offset,
175 status_t status = p->setDataSource(fd, offset, lengt
[all...]
/frameworks/av/media/libstagefright/
H A DVBRISeeker.cpp107 off64_t offset = post_id3_pos; local
125 ALOGV("entry #%zu: %u offset 0x%016llx", i, numBytes, offset);
126 offset += numBytes;
H A DXINGSeeker.cpp86 int offset = first_frame_pos; local
87 if (source->readAt(offset, &buffer, 4) < 4) { // get header
90 offset += 4;
105 // determine offset of XING header
107 if (num_channels != 1) offset += 32;
108 else offset += 17;
110 if (num_channels != 1) offset += 17;
111 else offset += 9;
114 int xingbase = offset;
116 if (source->readAt(offset,
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dget_pred_adv_b_add.cpp90 int offset, offset2; local
94 /* initialize offset to adjust pixel counter */
96 offset = width - B_SIZE; /* offset for prev */
97 offset2 = (pred_width_rnd >> 1) - 4; /* offset for pred_block */
129 prev += offset;
152 prev += offset;
174 prev += offset;
190 int offset, offset2; local
196 /* initialize offset t
519 int offset, offset2; local
866 int offset, offset2; local
[all...]

Completed in 405 milliseconds

1234567891011>>