/external/icu4c/common/ |
ucol_swp.cpp | 109 const UCATableHeader *inHeader; 116 inHeader=(const UCATableHeader *)inData; 126 header.size=udata_readInt32(ds, inHeader->size); 127 } else if((length<(42*4) || length<(header.size=udata_readInt32(ds, inHeader->size)))) { 131 header.magic=ds->readUInt32(inHeader->magic); 134 inHeader->formatVersion[0]==3 /*&& 135 inHeader->formatVersion[1]>=0*/ 140 if(inHeader->isBigEndian!=ds->inIsBigEndian || inHeader->charSetFamily!=ds->inCharset) { 155 const UCATableHeader *inHeader; [all...] |
/external/chromium_org/net/third_party/nss/ssl/ |
prelib.c | 20 PEHeader *SSL_PreencryptedStreamToFile(PRFileDesc *fd, PEHeader *inHeader,
|
/external/chromium_org/third_party/icu/source/common/ |
ucol_swp.cpp | 110 const UCATableHeader *inHeader; 118 inHeader=(const UCATableHeader *)inData; 128 header.size=udata_readInt32(ds, inHeader->size); 129 } else if((length<(42*4) || length<(header.size=udata_readInt32(ds, inHeader->size)))) { 133 header.magic=ds->readUInt32(inHeader->magic); 136 inHeader->formatVersion[0]==3 /*&& 137 inHeader->formatVersion[1]>=0*/ 142 if(inHeader->isBigEndian!=ds->inIsBigEndian || inHeader->charSetFamily!=ds->inCharset) { 157 const UCATableHeader *inHeader; [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/ |
SoftMPEG4.cpp | 104 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 111 if ((inHeader->nFlags & OMX_BUFFERFLAG_EOS) && inHeader->nFilledLen == 0) { 114 notifyEmptyBufferDone(inHeader); 136 uint8_t *bitstream = inHeader->pBuffer + inHeader->nOffset; 144 if (inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { 146 vol_size = inHeader->nFilledLen; 172 if (inHeader->nFlags & OMX_BUFFERFLAG_CODECCONFIG) { 176 notifyEmptyBufferDone(inHeader); [all...] |
/frameworks/av/media/libstagefright/codecs/gsm/dec/ |
SoftGSM.cpp | 185 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 190 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 193 notifyEmptyBufferDone(inHeader); 204 if (inHeader->nFilledLen > kMaxNumSamplesPerFrame) { 205 ALOGE("input buffer too large (%ld).", inHeader->nFilledLen); 210 if(((inHeader->nFilledLen / 65) * 65) != inHeader->nFilledLen) { 211 ALOGE("input buffer not multiple of 65 (%ld).", inHeader->nFilledLen); 216 uint8_t *inputptr = inHeader->pBuffer + inHeader->nOffset [all...] |
/frameworks/av/media/libstagefright/codecs/aacdec/ |
SoftAAC2.cpp | 355 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 360 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 363 notifyEmptyBufferDone(inHeader); 405 if (inHeader->nOffset == 0) { 406 mAnchorTimeUs = inHeader->nTimeStamp; 415 const uint8_t *adtsHeader = inHeader->pBuffer + inHeader->nOffset; 418 if (inHeader->nFilledLen < 7) { 420 "Got %ld bytes.", inHeader->nFilledLen); 421 hexdump(adtsHeader, inHeader->nFilledLen) [all...] |
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
SoftG711.cpp | 195 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 200 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 203 notifyEmptyBufferDone(inHeader); 214 if (inHeader->nFilledLen > kMaxNumSamplesPerFrame) { 215 ALOGE("input buffer too large (%ld).", inHeader->nFilledLen); 221 const uint8_t *inputptr = inHeader->pBuffer + inHeader->nOffset; 226 inputptr, inHeader->nFilledLen); 230 inputptr, inHeader->nFilledLen); 233 outHeader->nTimeStamp = inHeader->nTimeStamp [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/ |
SoftMP3.cpp | 199 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 204 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 207 notifyEmptyBufferDone(inHeader); 230 if (inHeader->nOffset == 0) { 231 mAnchorTimeUs = inHeader->nTimeStamp; 236 inHeader->pBuffer + inHeader->nOffset; 238 mConfig->inputBufferCurrentLength = inHeader->nFilledLen; 271 mConfig->inputBufferUsedLength = inHeader->nFilledLen; 303 CHECK_GE(inHeader->nFilledLen, mConfig->inputBufferUsedLength) [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
SoftAMR.cpp | 287 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 292 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 295 notifyEmptyBufferDone(inHeader); 306 if (inHeader->nOffset == 0) { 307 mAnchorTimeUs = inHeader->nTimeStamp; 311 const uint8_t *inputPtr = inHeader->pBuffer + inHeader->nOffset; 333 if (static_cast<size_t>(numBytesRead) > inHeader->nFilledLen) { 355 CHECK_GE(inHeader->nFilledLen, frameSize); 389 inHeader->nOffset += numBytesRead [all...] |
/frameworks/av/media/libstagefright/codecs/on2/dec/ |
SoftVPX.cpp | 99 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 104 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 106 if (inHeader->nFilledLen == 0) { 109 notifyEmptyBufferDone(inHeader); 123 inHeader->pBuffer + inHeader->nOffset, 124 inHeader->nFilledLen, 156 outHeader->nTimeStamp = inHeader->nTimeStamp; 193 notifyEmptyBufferDone(inHeader); 194 inHeader = NULL [all...] |
/frameworks/av/media/libstagefright/codecs/raw/ |
SoftRaw.cpp | 176 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 181 CHECK_GE(outHeader->nAllocLen, inHeader->nFilledLen); 183 inHeader->pBuffer + inHeader->nOffset, 184 inHeader->nFilledLen); 186 outHeader->nFlags = inHeader->nFlags; 188 outHeader->nFilledLen = inHeader->nFilledLen; 189 outHeader->nTimeStamp = inHeader->nTimeStamp; 191 bool sawEOS = (inHeader->nFlags & OMX_BUFFERFLAG_EOS) != 0; 195 notifyEmptyBufferDone(inHeader); [all...] |
/frameworks/av/media/libstagefright/codecs/amrnb/enc/ |
SoftAMRNBEncoder.cpp | 297 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 299 const void *inData = inHeader->pBuffer + inHeader->nOffset; 302 if (copy > inHeader->nFilledLen) { 303 copy = inHeader->nFilledLen; 307 mInputTimeUs = inHeader->nTimeStamp; 313 inHeader->nOffset += copy; 314 inHeader->nFilledLen -= copy; 318 inHeader->nTimeStamp += 321 if (inHeader->nFilledLen == 0) [all...] |
/frameworks/av/media/libstagefright/codecs/vorbis/dec/ |
SoftVorbis.cpp | 295 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 300 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 303 notifyEmptyBufferDone(inHeader); 315 CHECK_GE(inHeader->nFilledLen, sizeof(numPageSamples)); 317 inHeader->pBuffer 318 + inHeader->nOffset + inHeader->nFilledLen - 4, 325 if (inHeader->nOffset == 0) { 326 mAnchorTimeUs = inHeader->nTimeStamp; 330 inHeader->nFilledLen -= sizeof(numPageSamples); [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/ |
SoftAACEncoder.cpp | 433 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 435 const void *inData = inHeader->pBuffer + inHeader->nOffset; 438 if (copy > inHeader->nFilledLen) { 439 copy = inHeader->nFilledLen; 447 mInputTimeUs = inHeader->nTimeStamp; 453 inHeader->nOffset += copy; 454 inHeader->nFilledLen -= copy; 458 inHeader->nTimeStamp += 462 if (inHeader->nFilledLen == 0) [all...] |
SoftAACEncoder2.cpp | 415 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 417 const void *inData = inHeader->pBuffer + inHeader->nOffset; 420 if (copy > inHeader->nFilledLen) { 421 copy = inHeader->nFilledLen; 429 mInputTimeUs = inHeader->nTimeStamp; 435 inHeader->nOffset += copy; 436 inHeader->nFilledLen -= copy; 440 inHeader->nTimeStamp += 444 if (inHeader->nFilledLen == 0) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/ |
SoftAMRWBEncoder.cpp | 344 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 346 const void *inData = inHeader->pBuffer + inHeader->nOffset; 349 if (copy > inHeader->nFilledLen) { 350 copy = inHeader->nFilledLen; 354 mInputTimeUs = inHeader->nTimeStamp; 360 inHeader->nOffset += copy; 361 inHeader->nFilledLen -= copy; 365 inHeader->nTimeStamp += 368 if (inHeader->nFilledLen == 0) [all...] |
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
SoftFlacEncoder.cpp | 272 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 277 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 280 notifyEmptyBufferDone(inHeader); 292 if (inHeader->nFilledLen > kMaxInputBufferSize) { 293 ALOGE("input buffer too large (%ld).", inHeader->nFilledLen); 303 mCurrentInputTimeStamp = inHeader->nTimeStamp; 305 const unsigned nbInputFrames = inHeader->nFilledLen / (2 * mNumChannels); 306 const unsigned nbInputSamples = inHeader->nFilledLen / 2; 307 const OMX_S16 * const pcm16 = reinterpret_cast<OMX_S16 *>(inHeader->pBuffer); 341 notifyEmptyBufferDone(inHeader); [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/ |
SoftAVC.cpp | 131 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 136 header->nTimeStamp = inHeader->nTimeStamp; 137 header->nFlags = inHeader->nFlags; 147 inPicture.dataLen = inHeader->nFilledLen; 148 inPicture.pStream = inHeader->pBuffer + inHeader->nOffset; 200 notifyEmptyBufferDone(inHeader);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
SoftMPEG4Encoder.cpp | 639 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 672 info.mTimeUs = inHeader->nTimeStamp; 673 info.mFlags = inHeader->nFlags; 676 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 681 if (inHeader->nFilledLen > 0) { 684 if (inHeader->nFilledLen != 8) { 686 "(got %lu bytes, expected 8)", inHeader->nFilledLen); 692 extractGrallocData(inHeader->pBuffer + inHeader->nOffset, 702 inputData = (uint8_t *)inHeader->pBuffer + inHeader->nOffset [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
SoftAVCEncoder.cpp | 730 OMX_BUFFERHEADERTYPE *inHeader = inInfo->mHeader; 794 info.mTimeUs = inHeader->nTimeStamp; 795 info.mFlags = inHeader->nFlags; 797 mPrevTimestampUs = inHeader->nTimeStamp; 799 if (inHeader->nFlags & OMX_BUFFERFLAG_EOS) { 803 if (inHeader->nFilledLen > 0) { 808 videoInput.coding_timestamp = (inHeader->nTimeStamp + 500) / 1000; // in ms 811 if (inHeader->nFilledLen != 8) { 813 "(got %lu bytes, expected 8)", inHeader->nFilledLen); 819 extractGrallocData(inHeader->pBuffer + inHeader->nOffset [all...] |
/external/sonivox/arm-fm-22k/lib_src/ |
eas_imelody.c | 139 static EAS_BOOL IMY_GetVolume (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_BOOL inHeader); 140 static EAS_BOOL IMY_GetNumber (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_INT *temp, EAS_BOOL inHeader); 142 static EAS_I8 IMY_GetNextChar (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_BOOL inHeader); [all...] |
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_imelody.c | 139 static EAS_BOOL IMY_GetVolume (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_BOOL inHeader); 140 static EAS_BOOL IMY_GetNumber (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_INT *temp, EAS_BOOL inHeader); 142 static EAS_I8 IMY_GetNextChar (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_BOOL inHeader); [all...] |
/external/sonivox/arm-wt-22k/lib_src/ |
eas_imelody.c | 139 static EAS_BOOL IMY_GetVolume (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_BOOL inHeader); 140 static EAS_BOOL IMY_GetNumber (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_INT *temp, EAS_BOOL inHeader); 142 static EAS_I8 IMY_GetNextChar (EAS_HW_DATA_HANDLE hwInstData, S_IMELODY_DATA *pData, EAS_BOOL inHeader); [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
udatatst.c | [all...] |
/external/icu4c/test/cintltst/ |
udatatst.c | [all...] |