Searched refs:paddingSize (Results 1 – 3 of 3) sorted by relevance
71 ssize_t paddingSize; in write_padding_for() local73 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() local371 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 …]
893 int paddingSize = 188 - accessUnit->size() - 18; in writeAccessUnit() local894 *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() local954 *ptr++ = paddingSize - 1; in writeAccessUnit()955 if (paddingSize >= 2) { in writeAccessUnit()957 ptr += paddingSize - 2; in writeAccessUnit()
267 size_t paddingSize = U32_AT(&mData[6]); in parseV2() local269 if (paddingSize > SIZE_MAX - mFirstFrameOffset) { in parseV2()272 if (paddingSize > mSize - mFirstFrameOffset) { in parseV2()279 mSize -= paddingSize; in parseV2()