/external/libnfc-nxp/src/ |
phFriNfc_LlcpUtils.c | 357 uint32_t phFriNfc_Llcp_Header2Buffer( phFriNfc_Llcp_sPacketHeader_t *psHeader, uint8_t *pBuffer, uint32_t nOffset ) 359 uint32_t nOriginalOffset = nOffset; 360 pBuffer[nOffset++] = (uint8_t)((psHeader->dsap << 2) | (psHeader->ptype >> 2)); 361 pBuffer[nOffset++] = (uint8_t)((psHeader->ptype << 6) | psHeader->ssap); 362 return nOffset - nOriginalOffset; 365 uint32_t phFriNfc_Llcp_Sequence2Buffer( phFriNfc_Llcp_sPacketSequence_t *psSequence, uint8_t *pBuffer, uint32_t nOffset ) 367 uint32_t nOriginalOffset = nOffset; 368 pBuffer[nOffset++] = (uint8_t)((psSequence->ns << 4) | (psSequence->nr)); 369 return nOffset - nOriginalOffset; 372 uint32_t phFriNfc_Llcp_Buffer2Header( uint8_t *pBuffer, uint32_t nOffset, phFriNfc_Llcp_sPacketHeader_t *psHeader [all...] |
phFriNfc_LlcpUtils.h | 123 uint32_t nOffset ); 127 uint32_t nOffset ); 130 uint32_t nOffset, 134 uint32_t nOffset,
|
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/src/ |
frameparser.cpp | 159 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 160 psource = source->pBuffer + source->nOffset; 161 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); 221 source->nOffset++; 231 source->nOffset++; 291 source->nOffset++; 318 source->nOffset++; 334 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 349 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 350 psource = source->pBuffer + source->nOffset; [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/src/ |
frameparser.cpp | 158 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 159 psource = source->pBuffer + source->nOffset; 160 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); 217 source->nOffset++; 227 source->nOffset++; 274 source->nOffset++; 297 source->nOffset++; 314 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 328 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 329 psource = source->pBuffer + source->nOffset; [all...] |
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/src/ |
frameparser.cpp | 158 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 159 psource = source->pBuffer + source->nOffset; 160 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); 217 source->nOffset++; 227 source->nOffset++; 274 source->nOffset++; 297 source->nOffset++; 314 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 328 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 329 psource = source->pBuffer + source->nOffset; [all...] |
/hardware/qcom/media/msmcobalt/mm-video-v4l2/vidc/vdec/src/ |
frameparser.cpp | 158 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 159 psource = source->pBuffer + source->nOffset; 160 pdest = dest->pBuffer + (dest->nFilledLen + dest->nOffset); 217 source->nOffset++; 227 source->nOffset++; 274 source->nOffset++; 297 source->nOffset++; 314 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 328 dest_len = dest->nAllocLen - (dest->nFilledLen + dest->nOffset); 329 psource = source->pBuffer + source->nOffset; [all...] |
/hardware/ti/omap4-aah/security/tf_daemon/ |
lib_manifest2.c | 59 pContext->nOffset = 0; 139 uint8_t* pCurrent = pContext->pManifestContent + pContext->nOffset; 266 pContext->nOffset = pCurrent - pContext->pManifestContent; 267 pContext->nSectionStartOffset = pContext->nOffset; 507 pContext->nOffset = pCurrent - pContext->pManifestContent; 538 uint32_t nOriginalOffset = pContext->nOffset; 539 uint32_t nOffset; 560 nOffset = pContext->nOffset; 565 pContext->nOffset = 0 [all...] |
/hardware/ti/omap4xxx/security/tf_daemon/ |
lib_manifest2.c | 59 pContext->nOffset = 0; 139 uint8_t* pCurrent = pContext->pManifestContent + pContext->nOffset; 266 pContext->nOffset = pCurrent - pContext->pManifestContent; 267 pContext->nSectionStartOffset = pContext->nOffset; 507 pContext->nOffset = pCurrent - pContext->pManifestContent; 538 uint32_t nOriginalOffset = pContext->nOffset; 539 uint32_t nOffset; 560 nOffset = pContext->nOffset; 565 pContext->nOffset = 0 [all...] |
/external/pdfium/core/src/fxcodec/jbig2/ |
JBig2_GrrdProc.cpp | 159 intptr_t nStride, nStrideR, nOffset; 179 nOffset = -GRREFERENCEDY * nStrideR; 190 line1_r = line1_r_ok ? pLineR[nOffset - nStrideR] : 0; 191 line2_r = line2_r_ok ? pLineR[nOffset] : 0; 192 line3_r = line3_r_ok ? pLineR[nOffset + nStrideR] : 0; 209 (w + 8 < GRWR ? pLineR[nOffset - nStrideR + (w >> 3) + 1] : 0); 212 (w + 8 < GRWR ? pLineR[nOffset + (w >> 3) + 1] : 0); 216 (w + 8 < GRWR ? pLineR[nOffset + nStrideR + (w >> 3) + 1] : 0); 244 (w + 8 < GRWR ? pLineR[nOffset - nStrideR + (w >> 3) + 1] : 0); 247 (w + 8 < GRWR ? pLineR[nOffset + (w >> 3) + 1] : 0) [all...] |
/hardware/ti/omap4-aah/domx/domx/omx_rpc/src/ |
omx_rpc_skel.c | 92 OMX_U32 nOffset = 0; 106 //Marshalled:[>hComp|>bufferHdr|>nFilledLen|>nOffset|>nFlags] 115 RPC_GETFIELDVALUE(pMsgBody, nPos, nOffset, OMX_U32); 120 nOffset, nFlags); 143 OMX_U32 nOffset = 0; 160 //Marshalled:[>hComp|>bufferHdr|>nFilledLen|>nOffset|>nFlags|>nTimeStamp] 168 RPC_GETFIELDVALUE(pMsgBody, nPos, nOffset, OMX_U32); 177 nOffset, nFlags, nTimeStamp, hMarkTargetComponent, pMarkData);
|
omx_rpc_stub.c | 176 OMX_U32 nPos = 0, nSize = 0, nOffset = 0; 196 RPC_SETFIELDVALUE(pData, nPos, nOffset, OMX_U32); 260 OMX_U32 nPos = 0, nSize = 0, nOffset = 0; 274 RPC_SETFIELDVALUE(pData, nPos, nOffset, OMX_U32); 317 OMX_U32 nPos = 0, nSize = 0, nOffset = 0; 337 nOffset = (pLocBufNeedMap - pCompParam) + 346 RPC_SETFIELDVALUE(pData, nPos, nOffset, OMX_U32); 391 OMX_U32 nPos = 0, nSize = 0, nDataOffset = 0, nOffset = 0; 407 nOffset = (pLocBufNeedMap - pCompParam) + 416 RPC_SETFIELDVALUE(pData, nPos, nOffset, OMX_U32) [all...] |
/hardware/ti/omap4xxx/domx/domx/omx_rpc/src/ |
omx_rpc_skel.c | 92 OMX_U32 nOffset = 0; 106 //Marshalled:[>hComp|>bufferHdr|>nFilledLen|>nOffset|>nFlags] 115 RPC_GETFIELDVALUE(pMsgBody, nPos, nOffset, OMX_U32); 120 nOffset, nFlags); 143 OMX_U32 nOffset = 0; 160 //Marshalled:[>hComp|>bufferHdr|>nFilledLen|>nOffset|>nFlags|>nTimeStamp] 168 RPC_GETFIELDVALUE(pMsgBody, nPos, nOffset, OMX_U32); 177 nOffset, nFlags, nTimeStamp, hMarkTargetComponent, pMarkData);
|
omx_rpc_stub.c | 170 OMX_U32 nPos = 0, nSize = 0, nOffset = 0; 190 RPC_SETFIELDVALUE(pData, nPos, nOffset, OMX_U32); 254 OMX_U32 nPos = 0, nSize = 0, nOffset = 0; 268 RPC_SETFIELDVALUE(pData, nPos, nOffset, OMX_U32); 311 OMX_U32 nPos = 0, nSize = 0, nOffset = 0; 325 nOffset = (pLocBufNeedMap - pCompParam) + 334 RPC_SETFIELDVALUE(pData, nPos, nOffset, OMX_U32); 379 OMX_U32 nPos = 0, nSize = 0, nDataOffset = 0, nOffset = 0; 395 nOffset = (pLocBufNeedMap - pCompParam) + 404 RPC_SETFIELDVALUE(pData, nPos, nOffset, OMX_U32) [all...] |
/external/libgdx/extensions/gdx-bullet/jni/swig/softbody/ |
btSoftBody.i | 41 int noffset = normalOffset / sizeof(btScalar); 73 if (noffset >= 0) { 74 node.m_n.m_floats[0] = vertices[indices[indexOffset+i]*size+noffset]; 75 node.m_n.m_floats[1] = vertices[indices[indexOffset+i]*size+noffset+1]; 76 node.m_n.m_floats[2] = vertices[indices[indexOffset+i]*size+noffset+2]; 153 int noffset = normalOffset / (sizeof(btScalar)); 157 const int nidx = indices[indexOffset+i]*size+noffset;
|
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
SoftMP3.cpp | 256 if (inHeader->nOffset == 0 && inHeader->nFilledLen) { 266 inHeader->pBuffer + inHeader->nOffset; 311 outHeader->nOffset = 0; 352 outHeader->nOffset = 356 mConfig->outputFrameSize * sizeof(int16_t) - outHeader->nOffset; 358 outHeader->nOffset = 0; 368 inHeader->nOffset += mConfig->inputBufferUsedLength;
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/ |
SoftAMRNBEncoder.cpp | 327 const void *inData = inHeader->pBuffer + inHeader->nOffset; 341 inHeader->nOffset += copy; 345 // number of audio frames we just advanced nOffset by. 383 uint8_t *outPtr = outHeader->pBuffer + outHeader->nOffset; 384 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; 412 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen);
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
SoftAMRWBEncoder.cpp | 374 const void *inData = inHeader->pBuffer + inHeader->nOffset; 388 inHeader->nOffset += copy; 392 // number of audio frames we just advanced nOffset by. 430 uint8_t *outPtr = outHeader->pBuffer + outHeader->nOffset; 431 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; 467 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen);
|
/hardware/intel/common/omx-components/videocodec/ |
OMXVideoEncoderMPEG4.cpp | 103 inBuf.data = buffers[INPORT_INDEX]->pBuffer + buffers[INPORT_INDEX]->nOffset; 112 buffers[OUTPORT_INDEX]->pBuffer + buffers[OUTPORT_INDEX]->nOffset; 114 outBuf.bufferSize = buffers[OUTPORT_INDEX]->nAllocLen - buffers[OUTPORT_INDEX]->nOffset;
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
SoftFlacEncoder.cpp | 411 memcpy(outHeader->pBuffer + outHeader->nOffset + outHeader->nFilledLen, 414 outHeader->nOffset += mHeaderOffset; 421 if (bytes > outHeader->nAllocLen - outHeader->nOffset - outHeader->nFilledLen) { 426 memcpy(outHeader->pBuffer + outHeader->nOffset, buffer, bytes); 429 outHeader->nOffset = 0;
|
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
SoftVorbis.cpp | 275 const uint8_t *data = header->pBuffer + header->nOffset; 357 + inHeader->nOffset + inHeader->nFilledLen - 4, 360 if (inHeader->nOffset == 0) { 374 buf.data = inHeader ? inHeader->pBuffer + inHeader->nOffset : NULL; 434 outHeader->nOffset = 0;
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
SoftAACEncoder.cpp | 429 uint8_t *out = outHeader->pBuffer + outHeader->nOffset; 463 const void *inData = inHeader->pBuffer + inHeader->nOffset; 481 inHeader->nOffset += copy; 485 // number of audio frames we just advanced nOffset by. 536 uint8_t *outPtr = (uint8_t *)outHeader->pBuffer + outHeader->nOffset; 537 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; 568 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen);
|
SoftAACEncoder2.cpp | 517 uint8_t *out = outHeader->pBuffer + outHeader->nOffset; 551 const void *inData = inHeader->pBuffer + inHeader->nOffset; 569 inHeader->nOffset += copy; 573 // number of audio frames we just advanced nOffset by. 611 uint8_t *outPtr = (uint8_t *)outHeader->pBuffer + outHeader->nOffset; 612 size_t outAvailable = outHeader->nAllocLen - outHeader->nOffset; 692 hexdump(outHeader->pBuffer + outHeader->nOffset, outHeader->nFilledLen);
|
/frameworks/av/media/libstagefright/codecs/opus/dec/ |
SoftOpus.cpp | 350 const uint8_t *data = header->pBuffer + header->nOffset; 399 header->nOffset)), 405 header->nOffset)), 447 if (inHeader->nOffset == 0) { 459 const uint8_t *data = inHeader->pBuffer + inHeader->nOffset; 479 outHeader->nOffset = 0; 486 outHeader->nOffset = mSamplesToDiscard * sizeof(int16_t) *
|
/frameworks/av/media/libstagefright/codecs/aacdec/ |
SoftAAC2.cpp | 573 inBuffer[0] = inHeader->pBuffer + inHeader->nOffset; 626 const uint8_t *adtsHeader = inHeader->pBuffer + inHeader->nOffset; 657 inHeader->nOffset += adtsHeaderSize; 681 inBuffer[0] = inHeader->pBuffer + inHeader->nOffset; 705 inHeader->nOffset += inBufferUsedLength; [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/ |
SoftAVC.cpp | 149 inPicture.pStream = inHeader->pBuffer + inHeader->nOffset; 255 if (outHeader->nAllocLen - outHeader->nOffset < frameSize) { 265 uint8_t *dst = outHeader->pBuffer + outHeader->nOffset;
|