Home
last modified time | relevance | path

Searched refs:writePtr (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
Dh264bsd_byte_stream.c92 u8 *readPtr, *writePtr; in h264bsdExtractNalUnit() local
196 readPtr = writePtr = pStrmData->pStrmBuffStart; in h264bsdExtractNalUnit()
225 *writePtr++ = *readPtr++; in h264bsdExtractNalUnit()
231 pStrmData->strmBuffSize -= (u32)(readPtr - writePtr); in h264bsdExtractNalUnit()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java686 int writePtr = 0; in writeCommStatusAndClose() local
688 Memory.pokeInt(buf, writePtr, status, ByteOrder.BIG_ENDIAN); in writeCommStatusAndClose()
689 writePtr += 4; in writeCommStatusAndClose()
693 final int len = Math.min(rawMsg.length, buf.length - writePtr); in writeCommStatusAndClose()
694 System.arraycopy(rawMsg, 0, buf, writePtr, len); in writeCommStatusAndClose()
695 writePtr += len; in writeCommStatusAndClose()
698 Os.write(mCommFd, buf, 0, writePtr); in writeCommStatusAndClose()