/frameworks/base/graphics/java/android/renderscript/ |
ScriptC.java | 76 int bytesLeft = buf.length - currentPos; 77 if (bytesLeft == 0) { 81 bytesLeft = buf.length - currentPos; 83 int bytesRead = is.read(buf, currentPos, bytesLeft);
|
/frameworks/base/media/libstagefright/codecs/aacenc/SampleCode/ |
AAC_E_SAMPLES.c | 147 int bytesLeft, nRead;
221 bytesLeft = ReadFile2Buf(infile,inData.Buffer,READ_SIZE);
227 inData.Length = bytesLeft;
262 bytesLeft = nRead;
|
/external/webkit/WebCore/platform/ |
SharedBuffer.cpp | 199 unsigned bytesLeft = m_size - bufferSize; 201 unsigned bytesToCopy = min(bytesLeft, segmentSize); 204 bytesLeft -= bytesToCopy;
|
/external/sonivox/arm-fm-22k/lib_src/ |
eas_imaadpcm.c | 121 if ((pState->bytesLeft == 0) && (pState->loopSamples != 0)) 126 pState->bytesLeft = pState->byteCount = (EAS_I32) pState->bytesLeftLoop; 129 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_DETAIL, "IMADecoderSample: Rewind file to %d, bytesLeft = %d\n", pState->startPos, pState->bytesLeft); */ } 133 if ((pState->blockSize != 0) && (pState->blockCount == 0) && (pState->bytesLeft != 0)) 168 pState->bytesLeft -= 8; 173 pState->bytesLeft -= 4; 180 if (pState->bytesLeft) 187 pState->bytesLeft--; 357 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x2380b977, 0x00000009 , pState->bytesLeft); [all...] |
eas_pcm.c | 416 pState->bytesLeft += size; 417 if (pState->bytesLeft > 0) 926 pState->bytesLeft = pState->byteCount; [all...] |
eas_pcmdata.h | 91 EAS_I32 bytesLeft; /* count of bytes left in stream */
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_imaadpcm.c | 121 if ((pState->bytesLeft == 0) && (pState->loopSamples != 0)) 126 pState->bytesLeft = pState->byteCount = (EAS_I32) pState->bytesLeftLoop; 129 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_DETAIL, "IMADecoderSample: Rewind file to %d, bytesLeft = %d\n", pState->startPos, pState->bytesLeft); */ } 133 if ((pState->blockSize != 0) && (pState->blockCount == 0) && (pState->bytesLeft != 0)) 168 pState->bytesLeft -= 8; 173 pState->bytesLeft -= 4; 180 if (pState->bytesLeft) 187 pState->bytesLeft--; 357 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x2380b977, 0x00000009 , pState->bytesLeft); [all...] |
eas_pcm.c | 416 pState->bytesLeft += size; 417 if (pState->bytesLeft > 0) 926 pState->bytesLeft = pState->byteCount; [all...] |
eas_pcmdata.h | 91 EAS_I32 bytesLeft; /* count of bytes left in stream */
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_imaadpcm.c | 121 if ((pState->bytesLeft == 0) && (pState->loopSamples != 0)) 126 pState->bytesLeft = pState->byteCount = (EAS_I32) pState->bytesLeftLoop; 129 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_DETAIL, "IMADecoderSample: Rewind file to %d, bytesLeft = %d\n", pState->startPos, pState->bytesLeft); */ } 133 if ((pState->blockSize != 0) && (pState->blockCount == 0) && (pState->bytesLeft != 0)) 168 pState->bytesLeft -= 8; 173 pState->bytesLeft -= 4; 180 if (pState->bytesLeft) 187 pState->bytesLeft--; 357 EAS_ReportEx(_EAS_SEVERITY_NOFILTER, 0x2380b977, 0x00000009 , pState->bytesLeft); [all...] |
eas_pcm.c | 416 pState->bytesLeft += size; 417 if (pState->bytesLeft > 0) 926 pState->bytesLeft = pState->byteCount; [all...] |
/external/bluetooth/bluez/src/ |
glib-helper.c | 170 int scanned, seqlen = 0, bytesleft = size; local 179 scanned = sdp_extract_seqtype(rsp, bytesleft, &dataType, &seqlen); 184 bytesleft -= scanned; 190 rec = sdp_extract_pdu(rsp, bytesleft, &recsize); 201 bytesleft -= recsize; 204 } while (scanned < (ssize_t) size && bytesleft > 0);
|
/dalvik/vm/alloc/ |
DdmHeap.c | 228 size_t bytesLeft = ctx->bufLen - (size_t)(ctx->p - ctx->buf); 229 if (bytesLeft < needed) { 233 bytesLeft = ctx->bufLen - (size_t)(ctx->p - ctx->buf); 234 if (bytesLeft < needed) {
|
/external/webkit/WebCore/platform/image-decoders/gif/ |
GIFImageDecoder.h | 69 void decodingHalted(unsigned bytesLeft);
|
GIFImageDecoder.cpp | 198 void GIFImageDecoder::decodingHalted(unsigned bytesLeft) 200 m_readOffset = m_data->size() - bytesLeft;
|
/frameworks/base/libs/utils/ |
BackupHelpers.cpp | 224 int bytesLeft; 238 bytesLeft = fileSize + sizeof(metadata); 239 err = dataStream->WriteEntityHeader(key, bytesLeft); 254 bytesLeft -= sizeof(metadata); // bytesLeft should == fileSize now 257 while ((amt = read(fd, buf, bufsize)) != 0 && bytesLeft > 0) { 258 bytesLeft -= amt; 259 if (bytesLeft < 0) { 260 amt += bytesLeft; // Plus a negative is minus. Don't write more than we promised. 268 if (bytesLeft != 0) [all...] |
/external/sonivox/arm-fm-22k/host_src/ |
eas_debugmsgs.h | 27 { 0x2380b977, 0x00000009, "eas_imaadpcm.c[345]: IMADecoderLocate: bytesLeft = %d\n" },
|
/external/sonivox/arm-hybrid-22k/host_src/ |
eas_debugmsgs.h | 27 { 0x2380b977, 0x00000009, "eas_imaadpcm.c[345]: IMADecoderLocate: bytesLeft = %d\n" },
|
/external/sonivox/arm-wt-22k/misc/ |
eas_host.c | 311 EAS_I32 bytesLeft = n; 324 for (;bytesLeft > 0;) 328 if (temp > bytesLeft) 329 temp = bytesLeft; 336 bytesLeft -= temp; 340 if ((bytesLeft == 0) || (bytesLeft >= EAS_FILE_BUFFER_SIZE)) 349 if (bytesLeft) 358 temp = (EAS_I32) fread(p, 1, (size_t) bytesLeft, file->pFile);
|
/frameworks/base/media/java/android/media/ |
Metadata.java | 190 * @param bytesLeft How many bytes in the parcel should be processed. 193 private boolean scanAllRecords(Parcel parcel, int bytesLeft) { 198 while (bytesLeft > kRecordHeaderSize) { 237 bytesLeft -= size; 241 if (0 != bytesLeft || error) {
|
/frameworks/base/media/libstagefright/ |
MPEG4Writer.cpp | [all...] |
/bootable/recovery/minzip/ |
Zip.c | 531 size_t bytesLeft = pEntry->compLen; 532 while (bytesLeft > 0) { 538 count = bytesLeft; 551 bytesLeft -= count; [all...] |
/external/sonivox/arm-wt-22k/host_src/ |
eas_debugmsgs.h | 66 { 0x2380b977, 0x00000009, "eas_imaadpcm.c[345]: IMADecoderLocate: bytesLeft = %d\n" },
|
/external/sonivox/arm-wt-22k/jetcreator_lib_src/darwin-x86/ |
EASLib.c | 890 EAS_I32 bytesLeft = n; 903 for (;bytesLeft > 0;) 907 if (temp > bytesLeft) 908 temp = bytesLeft; 916 bytesLeft -= temp; 919 if ((bytesLeft == 0) || (bytesLeft >= EAS_FILE_BUFFER_SIZE)) 928 if (bytesLeft) 936 temp = (EAS_I32) fread(p, 1, (size_t) bytesLeft, file->pFile); [all...] |
EASLibVst.c | 585 EAS_I32 bytesLeft = n; 598 for (;bytesLeft > 0;) 602 if (temp > bytesLeft) 603 temp = bytesLeft; 611 bytesLeft -= temp; 614 if ((bytesLeft == 0) || (bytesLeft >= EAS_FILE_BUFFER_SIZE)) 623 if (bytesLeft) 631 temp = (EAS_I32) fread(p, 1, (size_t) bytesLeft, file->pFile); [all...] |