/system/bt/audio_a2dp_hw/src/ |
H A D | audio_a2dp_hw.cc | 1213 for (const auto& ptr : return_params) { 1214 result += ptr.first + "=" + ptr.second + ";";
|
/system/bt/bta/gatt/ |
H A D | bta_gattc_cache.cc | 179 static void characteristic_free(void* ptr) { argument 180 tBTA_GATTC_CHARACTERISTIC* p_char = (tBTA_GATTC_CHARACTERISTIC*)ptr; 185 static void service_free(void* ptr) { argument 186 tBTA_GATTC_SERVICE* srvc = (tBTA_GATTC_SERVICE*)ptr;
|
/system/bt/bta/hd/ |
H A D | bta_hd_act.cc | 46 uint8_t* ptr = data; local 50 while (ptr < data + length) { 51 uint8_t item = *ptr++; 55 if (ptr < data + length) { 56 ptr += ((*ptr) + 2); 66 ptr += (item & 0x03); 71 return (ptr == data + length);
|
/system/bt/bta/hh/ |
H A D | bta_hh_le.cc | 812 uint8_t* ptr = value.data(); local 813 UINT16_TO_STREAM(ptr, clt_cfg_value);
|
/system/bt/btcore/src/ |
H A D | bdaddr.cc | 54 const uint8_t* ptr = addr->address; local 55 snprintf(string, size, "%02x:%02x:%02x:%02x:%02x:%02x", ptr[0], ptr[1], 56 ptr[2], ptr[3], ptr[4], ptr[5]); 81 uint8_t* ptr = new_addr.address; local 83 &ptr[0], &ptr[ [all...] |
/system/bt/embdrv/sbc/decoder/include/ |
H A D | oi_bitstream.h | 72 #define OI_BITSTREAM_GetWritePtr(bs) ((bs)->ptr.w - 3) 73 #define OI_BITSTREAM_GetReadPtr(bs) ((bs)->ptr.r - 3) 78 #define OI_BITSTREAM_READUINT(result, bits, ptr, value, bitPtr) \ 89 (value) = ((value) << 8) | *(ptr)++; \ 95 #define OI_BITSTREAM_WRITEUINT(ptr, value, bitPtr, datum, bits) \ 102 *(ptr)++ = (uint8_t)((value) >> 24); \ 107 #define OI_BITSTREAM_WRITEFLUSH(ptr, value, bitPtr) \ 111 *(ptr)++ = (uint8_t)((value) >> 24); \
|
H A D | oi_codec_sbc_private.h | 108 } ptr; member in struct:__anon707
|
H A D | oi_osinterface.h | 189 void OI_APP_Free(void* ptr);
|
/system/bt/embdrv/sbc/decoder/srce/ |
H A D | bitstream-decode.c | 44 bs->ptr.r = buffer + 3; 51 OI_BITSTREAM_READUINT(result, bits, bs->ptr.r, bs->value, bs->bitPtr); 67 bs->value = (bs->value << 8) | *bs->ptr.r++; 80 bs->value = (bs->value << 8) | *bs->ptr.r++;
|
H A D | decoder-private.c | 183 uint8_t* ptr = global_bs->ptr.w; local 213 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr);
|
H A D | readsamplesjoint.inc | 63 uint8_t *ptr = global_bs->ptr.w; 83 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr); 97 OI_BITSTREAM_READUINT(raw, bits, ptr, value, bitPtr);
|
/system/bt/hci/src/ |
H A D | hci_inject.cc | 55 static void client_free(void* ptr); 193 static void client_free(void* ptr) { argument 194 if (!ptr) return; 196 client_t* client = (client_t*)ptr;
|
/system/bt/osi/include/ |
H A D | allocation_tracker.h | 42 // If |ptr| is NULL, this function does nothing. |requested_size| is the 45 // by calling |allocation_tracker_resize_for_canary|. Returns |ptr| offset 47 void* allocation_tracker_notify_alloc(allocator_id_t allocator_id, void* ptr, 50 // Notify the tracker of an allocation that is being freed. |ptr| must be a 52 // same |allocator_id|. If |ptr| is NULL, this function does nothing. Returns 53 // |ptr| offset to the real beginning of the allocation including any canary 55 void* allocation_tracker_notify_free(allocator_id_t allocator_id, void* ptr);
|
H A D | allocator.h | 26 typedef void (*free_fn)(void* ptr); 42 void osi_free(void* ptr);
|
/system/bt/osi/src/ |
H A D | alarm.cc | 580 static void timer_callback(UNUSED_ATTR void* ptr) { argument
|
H A D | allocation_tracker.cc | 35 void* ptr; member in struct:__anon754 93 __func__, (uintptr_t)allocation->ptr, allocation->size); 100 void* allocation_tracker_notify_alloc(uint8_t allocator_id, void* ptr, argument 105 if (!enabled || !ptr) return ptr; 111 return_ptr = ((char*)ptr) + canary_size; 126 allocation->ptr = return_ptr; 137 void* ptr) { 140 if (!enabled || !ptr) return ptr; 136 allocation_tracker_notify_free(UNUSED_ATTR uint8_t allocator_id, void* ptr) argument [all...] |
H A D | allocator.cc | 30 void* ptr = malloc(real_size); local 31 CHECK(ptr); 34 allocation_tracker_notify_alloc(alloc_allocator_id, ptr, size)); 46 void* ptr = malloc(real_size); local 47 CHECK(ptr); 50 allocation_tracker_notify_alloc(alloc_allocator_id, ptr, size + 1)); 60 void* ptr = malloc(real_size); local 61 CHECK(ptr); 62 return allocation_tracker_notify_alloc(alloc_allocator_id, ptr, size); 67 void* ptr local 72 osi_free(void* ptr) argument [all...] |
H A D | config.cc | 58 static void section_free(void* ptr); 62 static void entry_free(void* ptr); 469 static void section_free(void* ptr) { argument 470 if (!ptr) return; 472 section_t* section = static_cast<section_t*>(ptr); 496 static void entry_free(void* ptr) { argument 497 if (!ptr) return; 499 entry_t* entry = static_cast<entry_t*>(ptr);
|
H A D | hash_map_utils.cc | 80 for (const auto& ptr : map) { 81 LOG_INFO(LOG_TAG, "key: '%s' value: '%s'\n", ptr.first.c_str(), 82 ptr.second.c_str());
|
H A D | reactor.cc | 100 event.data.ptr = NULL; 159 event.data.ptr = object; 181 event.data.ptr = object; 260 if (events[j].data.ptr == NULL) { 267 reactor_object_t* object = (reactor_object_t*)events[j].data.ptr;
|
/system/bt/osi/test/ |
H A D | reactor_test.cc | 16 static void* reactor_thread(void* ptr) { argument 17 reactor_t* reactor = (reactor_t*)ptr;
|
/system/chre/chre_api/include/chre_api/chre/ |
H A D | re.h | 314 * @param ptr 'ptr' is required to be a value returned from chreHeapAlloc(). 316 * implementations must safely handle 'ptr' being NULL. 320 void chreHeapFree(void *ptr);
|
/system/chre/chre_api/legacy/v1_0/chre/ |
H A D | re.h | 315 * @param ptr 'ptr' is required to be a value returned from chreHeapAlloc(). 317 * implementations must safely handle 'ptr' being NULL. 321 void chreHeapFree(void* ptr);
|
/system/chre/host/common/include/chre_host/ |
H A D | host_messages_generated.h | 1424 auto ptr = reinterpret_cast<const NanoappMessage *>(obj); local 1425 return verifier.VerifyTable(ptr); 1428 auto ptr = reinterpret_cast<const HubInfoRequest *>(obj); local 1429 return verifier.VerifyTable(ptr); 1432 auto ptr = reinterpret_cast<const HubInfoResponse *>(obj); local 1433 return verifier.VerifyTable(ptr); 1436 auto ptr = reinterpret_cast<const NanoappListRequest *>(obj); local 1437 return verifier.VerifyTable(ptr); 1440 auto ptr = reinterpret_cast<const NanoappListResponse *>(obj); local 1441 return verifier.VerifyTable(ptr); 1444 auto ptr = reinterpret_cast<const LoadNanoappRequest *>(obj); local 1448 auto ptr = reinterpret_cast<const LoadNanoappResponse *>(obj); local 1469 auto ptr = reinterpret_cast<const NanoappMessage *>(obj); local 1473 auto ptr = reinterpret_cast<const HubInfoRequest *>(obj); local 1477 auto ptr = reinterpret_cast<const HubInfoResponse *>(obj); local 1481 auto ptr = reinterpret_cast<const NanoappListRequest *>(obj); local 1485 auto ptr = reinterpret_cast<const NanoappListResponse *>(obj); local 1489 auto ptr = reinterpret_cast<const LoadNanoappRequest *>(obj); local 1493 auto ptr = reinterpret_cast<const LoadNanoappResponse *>(obj); local 1503 auto ptr = reinterpret_cast<const NanoappMessageT *>(table); local 1507 auto ptr = reinterpret_cast<const HubInfoRequestT *>(table); local 1511 auto ptr = reinterpret_cast<const HubInfoResponseT *>(table); local 1515 auto ptr = reinterpret_cast<const NanoappListRequestT *>(table); local 1519 auto ptr = reinterpret_cast<const NanoappListResponseT *>(table); local 1523 auto ptr = reinterpret_cast<const LoadNanoappRequestT *>(table); local 1527 auto ptr = reinterpret_cast<const LoadNanoappResponseT *>(table); local 1537 auto ptr = reinterpret_cast<NanoappMessageT *>(table); local 1542 auto ptr = reinterpret_cast<HubInfoRequestT *>(table); local 1547 auto ptr = reinterpret_cast<HubInfoResponseT *>(table); local 1552 auto ptr = reinterpret_cast<NanoappListRequestT *>(table); local 1557 auto ptr = reinterpret_cast<NanoappListResponseT *>(table); local 1562 auto ptr = reinterpret_cast<LoadNanoappRequestT *>(table); local 1567 auto ptr = reinterpret_cast<LoadNanoappResponseT *>(table); local [all...] |
/system/chre/platform/shared/ |
H A D | chre_api_re.cc | 59 void chreHeapFree(void *ptr) { argument 60 chre::memoryFree(ptr);
|