Home
last modified time | relevance | path

Searched refs:numBytes (Results 1 – 10 of 10) sorted by relevance

/system/media/audio_utils/include/audio_utils/spdif/
DSPDIFEncoder.h48 ssize_t write( const void* buffer, size_t numBytes );
55 virtual ssize_t writeOutput( const void* buffer, size_t numBytes ) = 0;
86 void writeBurstBufferShorts(const uint16_t* buffer, size_t numBytes);
87 void writeBurstBufferBytes(const uint8_t* buffer, size_t numBytes);
DFrameScanner.h103 virtual uint16_t convertBytesToLengthCode(uint16_t numBytes) const { return numBytes * 8; } in convertBytesToLengthCode() argument
/system/media/audio_utils/spdif/
DSPDIFEncoder.cpp129 void SPDIFEncoder::writeBurstBufferBytes(const uint8_t *buffer, size_t numBytes) in writeBurstBufferBytes() argument
131 size_t bytesToWrite = numBytes; in writeBurstBufferBytes()
186 uint16_t numBytes = (mByteCursor - preambleSize); in flushBurstBuffer() local
187 mBurstBuffer[3] = mFramer->convertBytesToLengthCode(numBytes); in flushBurstBuffer()
230 ssize_t SPDIFEncoder::write( const void *buffer, size_t numBytes ) in write() argument
232 size_t bytesLeft = numBytes; in write()
235 mScanning, (uint) *data, numBytes); in write()
274 return numBytes; in write()
DAC3FrameScanner.cpp131 uint16_t AC3FrameScanner::convertBytesToLengthCode(uint16_t numBytes) const in convertBytesToLengthCode()
133 return (mDataType == SPDIF_DATA_TYPE_E_AC3) ? numBytes : numBytes * 8; in convertBytesToLengthCode()
DAC3FrameScanner.h51 virtual uint16_t convertBytesToLengthCode(uint16_t numBytes) const;
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DPatchUtils.java50 final int numBytes) throws IOException { in readFully() argument
52 while (numRead < numBytes) { in readFully()
53 int readNow = in.read(destination, startAt + numRead, numBytes - numRead); in readFully()
/system/core/fastboot/
Dusb_osx.cpp499 UInt32 numBytes = len; in Read() local
521 ->ReadPipe(handle_->interface, handle_->bulkIn, data, &numBytes); in Read()
524 ->ReadPipeTO(handle_->interface, handle_->bulkIn, data, &numBytes, in Read()
529 return (int) numBytes; in Read()
/system/core/libstats/socket/
Dstats_event.c187 void stats_event_write_byte_array(struct stats_event* event, const uint8_t* buf, size_t numBytes) { in stats_event_write_byte_array() argument
191 append_int32(event, numBytes); in stats_event_write_byte_array()
192 append_byte_array(event, buf, numBytes); in stats_event_write_byte_array()
/system/core/adb/client/
Dusb_osx.cpp513 UInt32 numBytes = len; in usb_read() local
533 result = (*handle->interface)->ReadPipe(handle->interface, handle->bulkIn, buf, &numBytes); in usb_read()
538 result = (*handle->interface)->ReadPipe(handle->interface, handle->bulkIn, buf, &numBytes); in usb_read()
542 return numBytes; in usb_read()
/system/core/libstats/socket/include/
Dstats_event.h98 void stats_event_write_byte_array(struct stats_event* event, const uint8_t* buf, size_t numBytes);