HomeSort by relevance Sort by last modified time
    Searched refs:bytesLeft (Results 1 - 25 of 27) sorted by null

1 2

  /frameworks/base/graphics/java/android/renderscript/
ScriptC.java 75 int bytesLeft = pgm.length - pgmLength;
76 if (bytesLeft == 0) {
80 bytesLeft = pgm.length - pgmLength;
82 int bytesRead = is.read(pgm, pgmLength, bytesLeft);
Program.java 196 int bytesLeft = str.length - strLength;
197 if (bytesLeft == 0) {
201 bytesLeft = str.length - strLength;
203 int bytesRead = is.read(str, strLength, bytesLeft);
  /external/webkit/Source/WebCore/platform/cf/
SharedBufferCF.cpp 107 CFIndex bytesLeft = bytesToCopy;
111 ASSERT(bytesLeft >= dataLen);
114 bytesLeft -= dataLen;
  /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...]
eas_pcmdata.h 91 EAS_I32 bytesLeft; /* count of bytes left in stream */
  /frameworks/media/libvideoeditor/vss/stagefrightshells/src/
VideoEditorUtils.cpp 224 size_t bytesLeft = length;
225 while (bytesLeft > 4 &&
226 memcmp("\x00\x00\x00\x01", &data[length - bytesLeft], 4)) {
227 --bytesLeft;
229 if (bytesLeft <= 4) {
230 bytesLeft = 0; // Last parameter set
232 const uint8_t *nextStartCode = &data[length - bytesLeft];
309 size_t bytesLeft = size;
312 while (bytesLeft > 4 && !memcmp("\x00\x00\x00\x01", tmp, 4)) {
322 nextStartCode = parseParamSet(&ctx, tmp + 4, bytesLeft - 4, type
    [all...]
  /external/webkit/Source/WebCore/platform/image-decoders/gif/
GIFImageDecoder.h 59 void decodingHalted(unsigned bytesLeft);
GIFImageDecoder.cpp 188 void GIFImageDecoder::decodingHalted(unsigned bytesLeft)
190 m_readOffset = m_data->size() - 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/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);
  /external/webkit/Source/WebCore/platform/
SharedBuffer.cpp 203 unsigned bytesLeft = m_size - bufferSize;
205 unsigned bytesToCopy = min(bytesLeft, segmentSize);
208 bytesLeft -= bytesToCopy;
213 copyDataArrayAndClear(destination, bytesLeft);
  /frameworks/base/media/java/android/media/
Metadata.java 289 * @param bytesLeft How many bytes in the parcel should be processed.
292 private boolean scanAllRecords(Parcel parcel, int bytesLeft) {
297 while (bytesLeft > kRecordHeaderSize) {
336 bytesLeft -= size;
340 if (0 != bytesLeft || error) {
  /dalvik/vm/alloc/
DdmHeap.cpp 224 size_t bytesLeft = ctx->bufLen - (size_t)(ctx->p - ctx->buf);
225 if (bytesLeft < needed) {
229 bytesLeft = ctx->bufLen - (size_t)(ctx->p - ctx->buf);
230 if (bytesLeft < needed) {
  /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-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...]
  /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...]

Completed in 379 milliseconds

1 2