HomeSort by relevance Sort by last modified time
    Searched defs:bytesLeft (Results 1 - 16 of 16) sorted by null

  /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/
SharedBuffer.cpp 203 unsigned bytesLeft = m_size - bufferSize;
205 unsigned bytesToCopy = min(bytesLeft, segmentSize);
208 bytesLeft -= bytesToCopy;
213 copyDataArrayAndClear(destination, 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;
  /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) {
  /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/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/sonivox/arm-fm-22k/lib_src/
eas_pcmdata.h 91 EAS_I32 bytesLeft; /* count of bytes left in stream */
  /external/sonivox/arm-hybrid-22k/lib_src/
eas_pcmdata.h 91 EAS_I32 bytesLeft; /* count of bytes left in stream */
  /external/sonivox/arm-wt-22k/lib_src/
eas_pcmdata.h 91 EAS_I32 bytesLeft; /* count of bytes left in stream */
  /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/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...]
AssetManager.cpp 233 ssize_t bytesLeft = ResTable::IDMAP_HEADER_SIZE_BYTES;
235 ssize_t r = TEMP_FAILURE_RETRY(read(fd, buf + ResTable::IDMAP_HEADER_SIZE_BYTES - bytesLeft,
236 bytesLeft));
241 bytesLeft -= r;
242 if (bytesLeft == 0) {
    [all...]
  /bootable/recovery/minzip/
Zip.c 531 size_t bytesLeft = pEntry->compLen;
532 while (bytesLeft > 0) {
538 count = bytesLeft;
551 bytesLeft -= count;
    [all...]
  /external/webkit/Source/WebCore/dom/
XMLDocumentParserLibxml2.cpp 356 unsigned bytesLeft = m_buffer.size() - m_currentOffset;
357 unsigned lenToCopy = min(askedToRead, bytesLeft);
    [all...]

Completed in 223 milliseconds