Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DBackupData.cpp71 ssize_t paddingSize; in write_padding_for() local
73 paddingSize = padding_extra(n); in write_padding_for()
74 if (paddingSize > 0) { in write_padding_for()
76 if (kIsDebug) ALOGI("writing %zd padding bytes for %d", paddingSize, n); in write_padding_for()
77 amt = write(m_fd, &padding, paddingSize); in write_padding_for()
78 if (amt != paddingSize) { in write_padding_for()
369 ssize_t paddingSize; in skip_padding() local
371 paddingSize = padding_extra(m_pos); in skip_padding()
372 if (paddingSize > 0) { in skip_padding()
374 amt = read(m_fd, &padding, paddingSize); in skip_padding()
[all …]
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp893 int paddingSize = 188 - accessUnit->size() - 18; in writeAccessUnit() local
894 *ptr++ = paddingSize - 1; in writeAccessUnit()
895 if (paddingSize >= 2) { in writeAccessUnit()
897 ptr += paddingSize - 2; in writeAccessUnit()
953 uint8_t paddingSize = (uint8_t)184 - (accessUnit->size() - offset); in writeAccessUnit() local
954 *ptr++ = paddingSize - 1; in writeAccessUnit()
955 if (paddingSize >= 2) { in writeAccessUnit()
957 ptr += paddingSize - 2; in writeAccessUnit()
/frameworks/av/media/libstagefright/id3/
DID3.cpp267 size_t paddingSize = U32_AT(&mData[6]); in parseV2() local
269 if (paddingSize > SIZE_MAX - mFirstFrameOffset) { in parseV2()
272 if (paddingSize > mSize - mFirstFrameOffset) { in parseV2()
279 mSize -= paddingSize; in parseV2()