Home
last modified time | relevance | path

Searched refs:mHeader (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/compile/libbcc/lib/Renderscript/
DRSInfo.cpp92 ::memset(&mHeader, 0, sizeof(mHeader)); in RSInfo()
94 ::memcpy(mHeader.magic, RSINFO_MAGIC, sizeof(mHeader.magic)); in RSInfo()
95 ::memcpy(mHeader.version, RSINFO_VERSION, sizeof(mHeader.version)); in RSInfo()
97 mHeader.headerSize = sizeof(mHeader); in RSInfo()
99 mHeader.pragmaList.itemSize = sizeof(rsinfo::PragmaItem); in RSInfo()
100 mHeader.objectSlotList.itemSize = sizeof(rsinfo::ObjectSlotItem); in RSInfo()
101 mHeader.exportVarNameList.itemSize = sizeof(rsinfo::ExportVarNameItem); in RSInfo()
102 mHeader.exportFuncNameList.itemSize = sizeof(rsinfo::ExportFuncNameItem); in RSInfo()
103 mHeader.exportForeachFuncList.itemSize = sizeof(rsinfo::ExportForeachFuncItem); in RSInfo()
106 mHeader.strPoolSize = pStringPoolSize; in RSInfo()
[all …]
DRSInfoWriter.cpp160 if (pOutput.write(&mHeader, sizeof(mHeader)) != sizeof(mHeader)) { in write()
167 if (static_cast<size_t>(pOutput.write(mStringPool, mHeader.strPoolSize)) in write()
168 != mHeader.strPoolSize) { in write()
176 (pOutput, *this, mHeader.pragmaList, mPragmas)) { in write()
182 (pOutput, *this, mHeader.objectSlotList, mObjectSlots)) { in write()
188 (pOutput, *this, mHeader.exportVarNameList, mExportVarNames)) { in write()
194 (pOutput, *this, mHeader.exportFuncNameList, mExportFuncNames)) { in write()
200 (pOutput, *this, mHeader.exportForeachFuncList, mExportForeachFuncs)) { in write()
DRSInfoExtractor.cpp341 result->mHeader.sourceSha1Idx = cur_string_pool_offset; in ExtractFromSource()
348 result->mHeader.compileCommandLineIdx = cur_string_pool_offset; in ExtractFromSource()
352 result->mHeader.buildFingerprintIdx = cur_string_pool_offset; in ExtractFromSource()
362 result->mHeader.hasDebugInformation = in ExtractFromSource()
DRSInfoReader.cpp238 ::memcpy(&result->mHeader, header, sizeof(rsinfo::Header)); in ReadFromFile()
248 ::memcpy(result->mStringPool, data + result->mHeader.headerSize, in ReadFromFile()
249 result->mHeader.strPoolSize); in ReadFromFile()
/frameworks/base/libs/androidfw/
DCursorWindow.cpp36 mHeader = static_cast<Header*>(mData); in CursorWindow()
67 window->mHeader->freeOffset, in create()
68 window->mHeader->numRows, in create()
69 window->mHeader->numColumns, in create()
109 window->mHeader->freeOffset, in createFromParcel()
110 window->mHeader->numRows, in createFromParcel()
111 window->mHeader->numColumns, in createFromParcel()
137 mHeader->freeOffset = sizeof(Header) + sizeof(RowSlotChunk); in clear()
138 mHeader->firstChunkOffset = sizeof(Header); in clear()
139 mHeader->numRows = 0; in clear()
[all …]
DResourceTypes.cpp416 : mError(NO_INIT), mOwnedData(NULL), mHeader(NULL), mCache(NULL) in ResStringPool()
421 : mError(NO_INIT), mOwnedData(NULL), mHeader(NULL), mCache(NULL) in ResStringPool()
444 mHeader = (const ResStringPool_header*) header; in setToEmpty()
466 mHeader = (const ResStringPool_header*)data; in setTo()
469 ResStringPool_header* h = const_cast<ResStringPool_header*>(mHeader); in setTo()
470 h->header.headerSize = dtohs(mHeader->header.headerSize); in setTo()
471 h->header.type = dtohs(mHeader->header.type); in setTo()
472 h->header.size = dtohl(mHeader->header.size); in setTo()
473 h->stringCount = dtohl(mHeader->stringCount); in setTo()
474 h->styleCount = dtohl(mHeader->styleCount); in setTo()
[all …]
/frameworks/av/media/libstagefright/codecs/opus/dec/
DSoftOpus.cpp60 mHeader(NULL), in SoftOpus()
75 if (mHeader != NULL) { in ~SoftOpus()
76 delete mHeader; in ~SoftOpus()
77 mHeader = NULL; in ~SoftOpus()
148 opusParams->nChannels = mHeader->channels; in internalGetParameter()
175 pcmParams->nChannels = mHeader->channels; in internalGetParameter()
332 OMX_BUFFERHEADERTYPE *header = info->mHeader; in onQueueFilled()
338 CHECK(mHeader == NULL); in onQueueFilled()
339 mHeader = new OpusHeader(); in onQueueFilled()
340 memset(mHeader, 0, sizeof(*mHeader)); in onQueueFilled()
[all …]
DSoftOpus.h71 OpusHeader *mHeader; member
/frameworks/base/core/java/android/app/backup/
DBackupDataInput.java66 private EntityHeader mHeader = new EntityHeader(); field in BackupDataInput
104 int result = readNextHeader_native(mBackupReader, mHeader); in readNextHeader()
127 return mHeader.key; in getKey()
142 return mHeader.dataSize; in getDataSize()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1145 private final PhotoView mHeader; field in PhotoView.ScaleRunnable
1161 mHeader = header; in ScaleRunnable()
1183 mHeader.post(this); in start()
1205 mHeader.scale(newScale, mCenterX, mCenterY); in run()
1209 mHeader.scale(mTargetScale, mCenterX, mCenterY); in run()
1214 mHeader.post(this); in run()
1227 private final PhotoView mHeader; field in PhotoView.TranslateRunnable
1241 mHeader = header; in TranslateRunnable()
1261 mHeader.post(this); in start()
1283 final int translateResult = mHeader.translate(mVelocityX * delta, mVelocityY * delta); in run()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandler.java203 private final SmsCbHeader mHeader; field in GsmCellBroadcastHandler.SmsCbConcatInfo
207 mHeader = header; in SmsCbConcatInfo()
213 return (mHeader.getSerialNumber() * 31) + mLocation.hashCode(); in hashCode()
224 return mHeader.getSerialNumber() == other.mHeader.getSerialNumber() in equals()
/frameworks/base/include/androidfw/
DCursorWindow.h90 inline size_t freeSpace() { return mSize - mHeader->freeOffset; } in freeSpace()
91 inline uint32_t getNumRows() { return mHeader->numRows; } in getNumRows()
92 inline uint32_t getNumColumns() { return mHeader->numColumns; } in getNumColumns()
167 Header* mHeader; variable
/frameworks/compile/libbcc/include/bcc/Renderscript/
DRSInfo.h169 rsinfo::Header mHeader;
214 { return mHeader.isThreadable; } in isThreadable()
216 { return mHeader.hasDebugInformation; } in hasDebugInformation()
233 { mHeader.isThreadable = pThreadable; }
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationPanelView.java74 private StatusBarHeaderView mHeader; field in NotificationPanelView
192 mHeader = (StatusBarHeaderView) findViewById(R.id.header); in onFinishInflate()
193 mHeader.setOnClickListener(this); in onFinishInflate()
259 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) mHeader.getLayoutParams(); in updateResources()
263 mHeader.setLayoutParams(lp); in updateResources()
264 mHeader.post(mUpdateHeader); in updateResources()
292 mQsMinExpansionHeight = mKeyguardShowing ? 0 : mHeader.getCollapsedHeight() + mQsPeekHeight; in onLayout()
293 mQsMaxExpansionHeight = mHeader.getExpandedHeight() + mQsContainer.getDesiredHeight(); in onLayout()
310 mHeader.getCollapsedHeight() + mQsPeekHeight); in onLayout()
346 mQsContainer.setHeightOverride(height - mHeader.getExpandedHeight()); in startQsSizeChangeAnimation()
[all …]
/frameworks/av/media/libstagefright/omx/
DSimpleSoftOMXComponent.cpp227 buffer->mHeader = *header; in useBuffer()
279 if (buffer->mHeader == header) { in freeBuffer()
365 if (buffer->mHeader == header) { in onMessageReceived()
475 notifyEmptyBufferDone(buffer->mHeader); in onPortEnable()
478 notifyFillBufferDone(buffer->mHeader); in onPortEnable()
517 buffer->mHeader->nFilledLen = 0; in onPortFlush()
518 buffer->mHeader->nOffset = 0; in onPortFlush()
519 buffer->mHeader->nFlags = 0; in onPortFlush()
524 notifyEmptyBufferDone(buffer->mHeader); in onPortFlush()
528 notifyFillBufferDone(buffer->mHeader); in onPortFlush()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp105 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
110 port->mBuffers.editItemAt(mNumSamplesOutput & 1).mHeader; in onQueueFilled()
123 while ((*it)->mHeader != outHeader) { in onQueueFilled()
204 OMX_BUFFERHEADERTYPE *outHeader = port->mBuffers.editItemAt(1).mHeader; in onQueueFilled()
271 while ((*it)->mHeader != outHeader) { in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp278 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
281 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onQueueFilled()
363 memcpy(mHeader + mHeaderOffset, buffer, bytes); in onEncodedFlacAvailable()
380 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onEncodedFlacAvailable()
386 mHeader, mHeaderOffset); in onEncodedFlacAvailable()
DSoftFlacEncoder.h94 char mHeader[128]; member
/frameworks/base/libs/common_time/
Dutils.cpp56 , mHeader(header) { in LogRing()
128 res = snprintf(buf, sizeof(buf), "\n%s\n", mHeader); in dumpLog()
Dutils.h76 const char* mHeader; variable
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
DSoftAVC.cpp132 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
249 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in drainOneOutputBuffer()
291 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in drainAllOutputBuffers()
/frameworks/av/media/libstagefright/codecs/on2/dec/
DSoftVPX.cpp100 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
103 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/raw/
DSoftRaw.cpp176 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
179 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp256 OMX_BUFFERHEADERTYPE *header = info->mHeader; in onQueueFilled()
300 inHeader = inInfo->mHeader; in onQueueFilled()
304 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/gsm/dec/
DSoftGSM.cpp185 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
188 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onQueueFilled()

12