Searched refs:preamble (Results 1 – 11 of 11) sorted by relevance
/system/chre/platform/shared/include/chre/platform/shared/ |
D | memory_debug.h | 75 auto *preamble = static_cast<MemoryDebugPreamble *>(mem); in debugAlloc() local 76 preamble->allocSize = size; in debugAlloc() 77 preamble->guard = kPreambleGuard; in debugAlloc() 78 mem = static_cast<void *>(preamble + 1); in debugAlloc() 98 auto *preamble = static_cast<MemoryDebugPreamble *>(pointer) - 1; in debugFree() local 99 if (preamble->allocSize > kMaxAllocSize) { in debugFree() 100 FATAL_ERROR("Invalid allocation size %zu", preamble->allocSize); in debugFree() 101 } else if (preamble->guard != kPreambleGuard) { in debugFree() 105 uint8_t *trailer = static_cast<uint8_t *>(pointer) + preamble->allocSize; in debugFree() 114 freeFunc(preamble); in debugFree()
|
/system/bt/vendor_libs/linux/interface/ |
D | hci_packetizer.cc | 35 size_t HciGetPacketLengthForType(HciPacketType type, const uint8_t* preamble) { in HciGetPacketLengthForType() argument 37 if (type != HCI_PACKET_TYPE_ACL_DATA) return preamble[offset]; in HciGetPacketLengthForType() 38 return (((preamble[offset + 1]) << 8) | preamble[offset]); in HciGetPacketLengthForType()
|
/system/media/audio_utils/spdif/ |
D | SPDIFEncoder.cpp | 206 uint16_t preamble[4]; in startDataBurst() local 214 preamble[0] = kSPDIFSync1; in startDataBurst() 215 preamble[1] = kSPDIFSync2; in startDataBurst() 216 preamble[2] = burstInfo; in startDataBurst() 217 preamble[3] = 0; // lengthCode - This will get set after the buffer is full. in startDataBurst() 218 writeBurstBufferShorts(preamble, 4); in startDataBurst()
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | hci_packetizer.cc | 39 size_t HciPacketizer::HciGetPacketLengthForType(hci::PacketType type, const uint8_t* preamble) { in HciGetPacketLengthForType() argument 49 if (type != hci::PacketType::ACL) return preamble[offset]; in HciGetPacketLengthForType() 50 return (((preamble[offset + 1]) << 8) | preamble[offset]); in HciGetPacketLengthForType()
|
D | h4_packetizer.cc | 40 size_t H4Packetizer::HciGetPacketLengthForType(hci::PacketType type, const uint8_t* preamble) { in HciGetPacketLengthForType() argument 50 if (type != hci::PacketType::ACL) return preamble[offset]; in HciGetPacketLengthForType() 51 return (((preamble[offset + 1]) << 8) | preamble[offset]); in HciGetPacketLengthForType()
|
D | hci_packetizer.h | 55 size_t HciGetPacketLengthForType(hci::PacketType type, const uint8_t* preamble);
|
D | h4_packetizer.h | 73 size_t HciGetPacketLengthForType(hci::PacketType type, const uint8_t* preamble);
|
/system/extras/memory_replay/ |
D | NativeInfo.cpp | 103 void NativePrintInfo(const char* preamble) { in NativePrintInfo() argument 117 NativePrintf("%sNative RSS: %zu bytes %sMB\n", preamble, rss_bytes, buffer); in NativePrintInfo() 119 NativePrintf("%sNative VA Space: %zu bytes %sMB\n", preamble, va_bytes, buffer); in NativePrintInfo()
|
D | NativeInfo.h | 21 void NativePrintInfo(const char* preamble);
|
/system/bt/btif/src/ |
D | btif_debug_btsnoop.cc | 188 btsnooz_preamble_t preamble; in btif_debug_btsnoop_dump() local 189 preamble.version = BTSNOOZ_CURRENT_VERSION; in btif_debug_btsnoop_dump() 190 preamble.last_timestamp_ms = last_timestamp_ms; in btif_debug_btsnoop_dump() 191 ringbuffer_insert(ringbuffer, (uint8_t*)&preamble, in btif_debug_btsnoop_dump()
|
/system/nfc/src/adaptation/ |
D | debug_nfcsnoop.cc | 149 nfcsnooz_preamble_t preamble; in debug_nfcsnoop_dump() local 150 preamble.version = NFCSNOOZ_CURRENT_VERSION; in debug_nfcsnoop_dump() 151 preamble.last_timestamp_ms = last_timestamp_ms; in debug_nfcsnoop_dump() 152 ringbuffer_insert(ringbuffer, (uint8_t*)&preamble, in debug_nfcsnoop_dump()
|