/frameworks/av/media/libaaudio/src/utility/ |
D | FixedBlockWriter.cpp | 40 int32_t bytesLeft = numBytes; in processVariableBlock() local 44 int32_t bytesWritten = writeToStorage(buffer, bytesLeft); in processVariableBlock() 46 bytesLeft -= bytesWritten; in processVariableBlock() 55 while(bytesLeft > mSize && result == 0) { in processVariableBlock() 58 bytesLeft -= mSize; in processVariableBlock() 62 if (bytesLeft > 0) { in processVariableBlock() 63 writeToStorage(buffer, bytesLeft); in processVariableBlock()
|
D | FixedBlockReader.cpp | 49 int32_t bytesLeft = numBytes; in processVariableBlock() local 50 while(bytesLeft > 0 && result == 0) { in processVariableBlock() 53 int32_t bytesRead = readFromStorage(buffer, bytesLeft); in processVariableBlock() 55 bytesLeft -= bytesRead; in processVariableBlock() 56 } else if (bytesLeft >= mSize) { in processVariableBlock() 60 bytesLeft -= mSize; in processVariableBlock()
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptC.java | 96 int bytesLeft = pgm.length - pgmLength; in internalCreate() local 97 if (bytesLeft == 0) { in internalCreate() 101 bytesLeft = pgm.length - pgmLength; in internalCreate() 103 int bytesRead = is.read(pgm, pgmLength, bytesLeft); in internalCreate()
|
D | Program.java | 269 int bytesLeft = str.length - strLength; in setShader() local 270 if (bytesLeft == 0) { in setShader() 274 bytesLeft = str.length - strLength; in setShader() 276 int bytesRead = is.read(str, strLength, bytesLeft); in setShader()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | ScriptC.java | 97 int bytesLeft = pgm.length - pgmLength; in internalCreate() local 98 if (bytesLeft == 0) { in internalCreate() 102 bytesLeft = pgm.length - pgmLength; in internalCreate() 104 int bytesRead = is.read(pgm, pgmLength, bytesLeft); in internalCreate()
|
/frameworks/base/core/java/android/util/proto/ |
D | ProtoInputStream.java | 650 int bytesLeft = 4; in readFixed32() local 651 while (bytesLeft > 0) { in readFixed32() 654 int fragment = (mEnd - mOffset) < bytesLeft ? (mEnd - mOffset) : bytesLeft; in readFixed32() 662 bytesLeft -= fragment; in readFixed32() 696 int bytesLeft = 8; 697 while (bytesLeft > 0) { 700 int fragment = (mEnd - mOffset) < bytesLeft ? (mEnd - mOffset) : bytesLeft; 708 bytesLeft -= fragment;
|
/frameworks/base/media/java/android/media/ |
D | Metadata.java | 299 private boolean scanAllRecords(Parcel parcel, int bytesLeft) { in scanAllRecords() argument 304 while (bytesLeft > kRecordHeaderSize) { in scanAllRecords() 350 bytesLeft -= size; in scanAllRecords() 354 if (0 != bytesLeft || error) { in scanAllRecords()
|
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 220 int bytesLeft; in write_update_file() local 232 bytesLeft = fileSize + sizeof(metadata); in write_update_file() 233 err = dataStream->WriteEntityHeader(key, bytesLeft); in write_update_file() 248 bytesLeft -= sizeof(metadata); // bytesLeft should == fileSize now in write_update_file() 251 while ((amt = read(fd, buf, bufsize)) != 0 && bytesLeft > 0) { in write_update_file() 252 bytesLeft -= amt; in write_update_file() 253 if (bytesLeft < 0) { in write_update_file() 254 amt += bytesLeft; // Plus a negative is minus. Don't write more than we promised. in write_update_file() 262 if (bytesLeft != 0) { in write_update_file() 263 if (bytesLeft > 0) { in write_update_file() [all …]
|
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/ |
D | LocalTransport.java | 551 int bytesLeft = numBytes; in sendBackupData() local 552 while (bytesLeft > 0) { in sendBackupData() 554 int nRead = mSocketInputStream.read(mFullBackupBuffer, 0, bytesLeft); in sendBackupData() 561 bytesLeft -= nRead; in sendBackupData()
|
/frameworks/av/media/libstagefright/ |
D | MPEG4Writer.cpp | 2978 size_t bytesLeft = size; in parseAVCCodecSpecificData() local 2981 while (bytesLeft > 4 && !memcmp("\x00\x00\x00\x01", tmp, 4)) { in parseAVCCodecSpecificData() 2991 nextStartCode = parseParamSet(tmp + 4, bytesLeft - 4, type, ¶mSetLen); in parseAVCCodecSpecificData() 3000 nextStartCode = parseParamSet(tmp + 4, bytesLeft - 4, type, ¶mSetLen); in parseAVCCodecSpecificData() 3012 bytesLeft -= nextStartCode - tmp; in parseAVCCodecSpecificData() 3145 size_t bytesLeft = size; in parseHEVCCodecSpecificData() local 3146 while (bytesLeft > 4 && !memcmp("\x00\x00\x00\x01", tmp, 4)) { in parseHEVCCodecSpecificData() 3147 nextStartCode = findNextNalStartCode(tmp + 4, bytesLeft - 4); in parseHEVCCodecSpecificData() 3154 bytesLeft -= nextStartCode - tmp; in parseHEVCCodecSpecificData()
|