Home
last modified time | relevance | path

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

12

/frameworks/compile/libbcc/lib/Renderscript/
DRSInfo.cpp227 ::memset(&mHeader, 0, sizeof(mHeader)); in RSInfo()
229 ::memcpy(mHeader.magic, RSINFO_MAGIC, sizeof(mHeader.magic)); in RSInfo()
230 ::memcpy(mHeader.version, RSINFO_VERSION, sizeof(mHeader.version)); in RSInfo()
232 mHeader.headerSize = sizeof(mHeader); in RSInfo()
234 mHeader.dependencyTable.itemSize = sizeof(rsinfo::DependencyTableItem); in RSInfo()
235 mHeader.pragmaList.itemSize = sizeof(rsinfo::PragmaItem); in RSInfo()
236 mHeader.objectSlotList.itemSize = sizeof(rsinfo::ObjectSlotItem); in RSInfo()
237 mHeader.exportVarNameList.itemSize = sizeof(rsinfo::ExportVarNameItem); in RSInfo()
238 mHeader.exportFuncNameList.itemSize = sizeof(rsinfo::ExportFuncNameItem); in RSInfo()
239 mHeader.exportForeachFuncList.itemSize = sizeof(rsinfo::ExportForeachFuncItem); in RSInfo()
[all …]
DRSInfoWriter.cpp183 if (pOutput.write(&mHeader, sizeof(mHeader)) != sizeof(mHeader)) { in write()
190 if (static_cast<size_t>(pOutput.write(mStringPool, mHeader.strPoolSize)) in write()
191 != mHeader.strPoolSize) { in write()
199 (pOutput, *this, mHeader.dependencyTable, mDependencyTable)) { in write()
205 (pOutput, *this, mHeader.pragmaList, mPragmas)) { in write()
211 (pOutput, *this, mHeader.objectSlotList, mObjectSlots)) { in write()
217 (pOutput, *this, mHeader.exportVarNameList, mExportVarNames)) { in write()
223 (pOutput, *this, mHeader.exportFuncNameList, mExportFuncNames)) { in write()
229 (pOutput, *this, mHeader.exportForeachFuncList, mExportForeachFuncs)) { in write()
DRSInfoReader.cpp267 ::memcpy(&result->mHeader, header, sizeof(rsinfo::Header)); in ReadFromFile()
277 ::memcpy(result->mStringPool, data + result->mHeader.headerSize, in ReadFromFile()
278 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.cpp310 : mError(NO_INIT), mOwnedData(NULL), mHeader(NULL), mCache(NULL) in ResStringPool()
315 : mError(NO_INIT), mOwnedData(NULL), mHeader(NULL), mCache(NULL) in ResStringPool()
344 mHeader = (const ResStringPool_header*)data; in setTo()
347 ResStringPool_header* h = const_cast<ResStringPool_header*>(mHeader); in setTo()
348 h->header.headerSize = dtohs(mHeader->header.headerSize); in setTo()
349 h->header.type = dtohs(mHeader->header.type); in setTo()
350 h->header.size = dtohl(mHeader->header.size); in setTo()
351 h->stringCount = dtohl(mHeader->stringCount); in setTo()
352 h->styleCount = dtohl(mHeader->styleCount); in setTo()
353 h->flags = dtohl(mHeader->flags); in setTo()
[all …]
/frameworks/base/core/java/android/app/backup/
DBackupDataInput.java64 private EntityHeader mHeader = new EntityHeader(); field in BackupDataInput
100 int result = readNextHeader_native(mBackupReader, mHeader); in readNextHeader()
123 return mHeader.key; in getKey()
138 return mHeader.dataSize; in getDataSize()
/frameworks/opt/photoviewer/src/com/android/ex/photo/views/
DPhotoView.java1021 private final PhotoView mHeader; field in PhotoView.ScaleRunnable
1037 mHeader = header; in ScaleRunnable()
1059 mHeader.post(this); in start()
1081 mHeader.scale(newScale, mCenterX, mCenterY); in run()
1085 mHeader.scale(mTargetScale, mCenterX, mCenterY); in run()
1090 mHeader.post(this); in run()
1103 private final PhotoView mHeader; field in PhotoView.TranslateRunnable
1114 mHeader = header; in TranslateRunnable()
1129 mHeader.post(this); in start()
1151 final boolean didTranslate = mHeader.translate(mVelocityX * delta, mVelocityY * delta); in run()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmCellBroadcastHandler.java201 private final SmsCbHeader mHeader; field in GsmCellBroadcastHandler.SmsCbConcatInfo
205 mHeader = header; in SmsCbConcatInfo()
211 return (mHeader.getSerialNumber() * 31) + mLocation.hashCode(); in hashCode()
222 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.h197 rsinfo::Header mHeader; variable
236 { return mHeader.isThreadable; } in isThreadable()
238 { return mHeader.hasDebugInformation; } in hasDebugInformation()
257 { mHeader.isThreadable = pThreadable; }
/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()
DGraphicBufferSource.cpp206 codecBuffer.mHeader = header; in addCodecBuffer()
595 OMX_BUFFERHEADERTYPE* header = codecBuffer.mHeader; in submitBuffer_l()
635 OMX_BUFFERHEADERTYPE* header = codecBuffer.mHeader; in submitEndOfInputStream_l()
672 if (mCodecBuffers[i].mHeader == header) { in findMatchingCodecBuffer_l()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/
DSoftMPEG4.cpp104 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
109 port->mBuffers.editItemAt(mNumSamplesOutput & 1).mHeader; in onQueueFilled()
122 while ((*it)->mHeader != outHeader) { in onQueueFilled()
191 OMX_BUFFERHEADERTYPE *outHeader = port->mBuffers.editItemAt(1).mHeader; in onQueueFilled()
256 while ((*it)->mHeader != outHeader) { in onQueueFilled()
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
DVideoEditorVideoEncoder.cpp277 M4ENCODER_Header mHeader; member
365 VIDEOEDITOR_CHECK(M4OSA_NULL == pEncoderContext->mHeader.pBuf, M4ERR_STATE); in VideoEditorVideoEncoder_getDSI()
369 (uint8_t**)(&(pEncoderContext->mHeader.pBuf)), in VideoEditorVideoEncoder_getDSI()
370 (size_t*)(&(pEncoderContext->mHeader.Size)), in VideoEditorVideoEncoder_getDSI()
377 pEncoderContext->mHeader.Size = in VideoEditorVideoEncoder_getDSI()
379 SAFE_MALLOC(pEncoderContext->mHeader.pBuf, M4OSA_Int8, in VideoEditorVideoEncoder_getDSI()
380 pEncoderContext->mHeader.Size, "Encoder header"); in VideoEditorVideoEncoder_getDSI()
381 memcpy((void *)pEncoderContext->mHeader.pBuf, in VideoEditorVideoEncoder_getDSI()
383 pEncoderContext->mHeader.Size); in VideoEditorVideoEncoder_getDSI()
419 SAFE_FREE(pEncoderContext->mHeader.pBuf); in VideoEditorVideoEncoder_cleanup()
[all …]
/frameworks/av/media/libstagefright/codecs/flac/enc/
DSoftFlacEncoder.cpp272 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
275 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onQueueFilled()
356 memcpy(mHeader + mHeaderOffset, buffer, bytes); in onEncodedFlacAvailable()
373 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onEncodedFlacAvailable()
379 mHeader, mHeaderOffset); in onEncodedFlacAvailable()
DSoftFlacEncoder.h94 char mHeader[128]; member
/frameworks/base/services/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.cpp131 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
262 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in drainOneOutputBuffer()
296 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in drainAllOutputBuffers()
/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/on2/dec/
DSoftVPX.cpp99 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
102 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/vorbis/dec/
DSoftVorbis.cpp254 OMX_BUFFERHEADERTYPE *header = info->mHeader; in onQueueFilled()
295 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
298 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()
/frameworks/av/media/libstagefright/codecs/aacenc/
DSoftAACEncoder.cpp397 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onQueueFilled()
433 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
494 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onQueueFilled()
/frameworks/av/media/libstagefright/codecs/g711/dec/
DSoftG711.cpp195 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; in onQueueFilled()
198 OMX_BUFFERHEADERTYPE *outHeader = outInfo->mHeader; in onQueueFilled()

12