Home
last modified time | relevance | path

Searched refs:paddingSize (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/androidfw/
DBackupData.cpp70 ssize_t paddingSize; in write_padding_for() local
72 paddingSize = padding_extra(n); in write_padding_for()
73 if (paddingSize > 0) { in write_padding_for()
75 if (kIsDebug) ALOGI("writing %zd padding bytes for %d", paddingSize, n); in write_padding_for()
76 amt = write(m_fd, &padding, paddingSize); in write_padding_for()
77 if (amt != paddingSize) { in write_padding_for()
368 ssize_t paddingSize; in skip_padding() local
370 paddingSize = padding_extra(m_pos); in skip_padding()
371 if (paddingSize > 0) { in skip_padding()
373 amt = read(m_fd, &padding, paddingSize); in skip_padding()
[all …]
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp864 int paddingSize = 188 - accessUnit->size() - 18; in writeAccessUnit() local
865 *ptr++ = paddingSize - 1; in writeAccessUnit()
866 if (paddingSize >= 2) { in writeAccessUnit()
868 ptr += paddingSize - 2; in writeAccessUnit()
924 uint8_t paddingSize = (uint8_t)184 - (accessUnit->size() - offset); in writeAccessUnit() local
925 *ptr++ = paddingSize - 1; in writeAccessUnit()
926 if (paddingSize >= 2) { in writeAccessUnit()
928 ptr += paddingSize - 2; in writeAccessUnit()
/frameworks/av/media/libstagefright/id3/
DID3.cpp322 size_t paddingSize = U32_AT(&mData[6]); in parseV2() local
324 if (paddingSize > SIZE_MAX - mFirstFrameOffset) { in parseV2()
327 if (paddingSize > mSize - mFirstFrameOffset) { in parseV2()
334 mSize -= paddingSize; in parseV2()