Home
last modified time | relevance | path

Searched refs:numBytes (Results 1 – 9 of 9) 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.cpp127 void SPDIFEncoder::writeBurstBufferBytes(const uint8_t *buffer, size_t numBytes) in writeBurstBufferBytes() argument
129 size_t bytesToWrite = numBytes; in writeBurstBufferBytes()
184 uint16_t numBytes = (mByteCursor - preambleSize); in flushBurstBuffer() local
185 mBurstBuffer[3] = mFramer->convertBytesToLengthCode(numBytes); in flushBurstBuffer()
228 ssize_t SPDIFEncoder::write( const void *buffer, size_t numBytes ) in write() argument
230 size_t bytesLeft = numBytes; in write()
233 mScanning, (uint) *data, numBytes); in write()
272 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/deploylib/src/com/android/fastdeploy/
DPatchUtils.java146 final int numBytes) throws IOException { in readFully() argument
148 while (numRead < numBytes) { in readFully()
149 int readNow = in.read(destination, startAt + numRead, numBytes - numRead); in readFully()
/system/core/fastboot/
Dusb_osx.cpp498 UInt32 numBytes = len; in Read() local
520 ->ReadPipe(handle_->interface, handle_->bulkIn, data, &numBytes); in Read()
523 ->ReadPipeTO(handle_->interface, handle_->bulkIn, data, &numBytes, in Read()
528 return (int) numBytes; in Read()
/system/netd/resolv/
Dres_cache.cpp450 static int _dnsPacket_checkBytes(DnsPacket* packet, int numBytes, const void* bytes) { in _dnsPacket_checkBytes() argument
453 if (p + numBytes > packet->end) return 0; in _dnsPacket_checkBytes()
455 if (memcmp(p, bytes, numBytes) != 0) return 0; in _dnsPacket_checkBytes()
457 packet->cursor = p + numBytes; in _dnsPacket_checkBytes()
681 static unsigned _dnsPacket_hashBytes(DnsPacket* packet, int numBytes, unsigned hash) { in _dnsPacket_hashBytes() argument
685 while (numBytes > 0 && p < end) { in _dnsPacket_hashBytes()
827 static int _dnsPacket_isEqualBytes(DnsPacket* pack1, DnsPacket* pack2, int numBytes) { in _dnsPacket_isEqualBytes() argument
831 if (p1 + numBytes > pack1->end || p2 + numBytes > pack2->end) return 0; in _dnsPacket_isEqualBytes()
833 if (memcmp(p1, p2, numBytes) != 0) return 0; in _dnsPacket_isEqualBytes()
835 pack1->cursor += numBytes; in _dnsPacket_isEqualBytes()
[all …]
/system/core/adb/client/
Dusb_osx.cpp510 UInt32 numBytes = len; in usb_read() local
530 result = (*handle->interface)->ReadPipe(handle->interface, handle->bulkIn, buf, &numBytes); in usb_read()
535 result = (*handle->interface)->ReadPipe(handle->interface, handle->bulkIn, buf, &numBytes); in usb_read()
539 return numBytes; in usb_read()