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 | 204 uint16_t preamble[4]; in startDataBurst() local 212 preamble[0] = kSPDIFSync1; in startDataBurst() 213 preamble[1] = kSPDIFSync2; in startDataBurst() 214 preamble[2] = burstInfo; in startDataBurst() 215 preamble[3] = 0; // lengthCode - This will get set after the buffer is full. in startDataBurst() 216 writeBurstBufferShorts(preamble, 4); in startDataBurst()
|
/system/extras/memory_replay/ |
D | NativeInfo.cpp | 64 void PrintNativeInfo(const char* preamble) { in PrintNativeInfo() argument 74 printf("%sNative PSS: %zu bytes %0.2fMB\n", preamble, pss_bytes, pss_bytes/(1024*1024.0)); in PrintNativeInfo() 75 printf("%sNative VA Space: %zu bytes %0.2fMB\n", preamble, va_bytes, va_bytes/(1024*1024.0)); in PrintNativeInfo()
|
D | NativeInfo.h | 24 void PrintNativeInfo(const char* preamble);
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | hci_packetizer.cc | 40 size_t HciPacketizer::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 | h4_packetizer.cc | 41 size_t H4Packetizer::HciGetPacketLengthForType(hci::PacketType type, const uint8_t* preamble) { in HciGetPacketLengthForType() argument 51 if (type != hci::PacketType::ACL) return preamble[offset]; in HciGetPacketLengthForType() 52 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 | 70 size_t HciGetPacketLengthForType(hci::PacketType type, const uint8_t* 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()
|