/system/bt/osi/include/ |
H A D | allocator.h | 28 alloc_fn alloc; member in struct:__anon761 32 // allocator_t abstractions for the osi_*alloc and osi_free functions
|
/system/bt/embdrv/sbc/decoder/srce/ |
H A D | decoder-oina.c | 45 OI_UINT8 alloc, 74 if (alloc > SBC_SNR) { 87 context->common.frameInfo.alloc = alloc; 39 OI_CODEC_SBC_DecoderConfigureRaw(OI_CODEC_SBC_DECODER_CONTEXT *context, OI_BOOL enhanced, OI_UINT8 frequency, OI_UINT8 mode, OI_UINT8 subbands, OI_UINT8 blocks, OI_UINT8 alloc, OI_UINT8 maxBitpool) argument
|
/system/bt/stack/avrc/ |
H A D | avrc_bld_ct.c | 195 BOOLEAN alloc = FALSE; local 212 alloc = TRUE; 241 if (alloc && (status != AVRC_STS_NO_ERROR) )
|
H A D | avrc_bld_tg.c | 815 BOOLEAN alloc = FALSE; local 832 alloc = TRUE; 907 if (alloc && (status != AVRC_STS_NO_ERROR) )
|
/system/core/libutils/ |
H A D | SharedBuffer.cpp | 30 SharedBuffer* SharedBuffer::alloc(size_t size) function in class:android::SharedBuffer 58 SharedBuffer* sb = alloc(mSize); 82 SharedBuffer* sb = alloc(newSize); 102 SharedBuffer* sb = alloc(new_size);
|
/system/core/libion/tests/ |
H A D | device_test.cpp | 136 void *alloc = malloc(8192 + 1024); local 137 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024); 165 free(alloc); 170 void *alloc = malloc(8192 + 1024); local 171 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024); 199 free(alloc); 204 void *alloc = malloc(8192 + 1024); local 205 void *buf = (void *)(ALIGN((unsigned long)alloc, 4096) + 1024); 231 free(alloc); 236 void *alloc local 270 void *alloc = malloc(8192 + 1024); local 304 void *alloc = malloc(8192 + 1024); local 338 void *alloc = malloc(8192 + 1024); local 372 void *alloc = malloc(8192 + 1024); local 407 void *alloc = malloc(8192 + 1024); local 441 void *alloc = malloc(8192 + 1024); local 475 void *alloc = malloc(8192 + 1024); local 507 void *alloc = malloc(8192 + 1024); local [all...] |
/system/extras/ext4_utils/ |
H A D | extent.c | 29 static u8 *extent_create_backing(struct block_allocation *alloc, argument 37 for (; alloc != NULL && backing_len > 0; get_next_region(alloc)) { 41 get_region(alloc, ®ion_block, ®ion_len); 55 static void extent_create_backing_file(struct block_allocation *alloc, argument 59 for (; alloc != NULL && backing_len > 0; get_next_region(alloc)) { 63 get_region(alloc, ®ion_block, ®ion_len); 78 struct block_allocation *alloc = allocate_blocks(block_len + 1); local 84 if (alloc 183 struct block_allocation *alloc; local 208 struct block_allocation *alloc; local 223 struct block_allocation *alloc; local [all...] |
H A D | indirect.c | 28 static u8 *create_backing(struct block_allocation *alloc, argument 39 for (; alloc != NULL && backing_len > 0; get_next_region(alloc)) { 43 get_region(alloc, ®ion_block, ®ion_len); 55 static void reserve_indirect_block(struct block_allocation *alloc, int len) argument 57 if (reserve_oob_blocks(alloc, 1)) { 62 if (advance_blocks(alloc, len)) { 68 static void reserve_dindirect_block(struct block_allocation *alloc, int len) argument 70 if (reserve_oob_blocks(alloc, 1)) { 78 reserve_indirect_block(alloc, ind_block_le 85 reserve_tindirect_block(struct block_allocation *alloc, int len) argument 101 fill_indirect_block(u32 *ind_block, int len, struct block_allocation *alloc) argument 109 fill_dindirect_block(u32 *dind_block, int len, struct block_allocation *alloc) argument 139 fill_tindirect_block(u32 *tind_block, int len, struct block_allocation *alloc) argument 166 inode_attach_direct_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument 189 inode_attach_indirect_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument 221 inode_attach_dindirect_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument 253 inode_attach_tindirect_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument 281 reserve_all_indirect_blocks(struct block_allocation *alloc, u32 len) argument 346 do_inode_attach_indirect(struct ext4_inode *inode, struct block_allocation *alloc, u32 block_len) argument 392 struct block_allocation *alloc = allocate_blocks(block_len + indirect_len); local 405 struct block_allocation *alloc; local 428 inode_attach_resize(struct ext4_inode *inode, struct block_allocation *alloc) argument 491 struct block_allocation *alloc; local [all...] |
H A D | contents.c | 196 struct block_allocation* alloc = inode_allocate_file_extents(inode, len, filename); local 197 if (alloc) { 198 alloc->filename = strdup(filename); 199 alloc->next = saved_allocation_head; 200 saved_allocation_head = alloc;
|
H A D | allocate.c | 58 struct block_allocation *alloc = malloc(sizeof(struct block_allocation)); local 59 alloc->list.first = NULL; 60 alloc->list.last = NULL; 61 alloc->oob_list.first = NULL; 62 alloc->oob_list.last = NULL; 63 alloc->list.iter = NULL; 64 alloc->list.partial_iter = 0; 65 alloc->oob_list.iter = NULL; 66 alloc->oob_list.partial_iter = 0; 67 alloc 144 print_blocks(FILE* f, struct block_allocation *alloc) argument 157 append_region(struct block_allocation *alloc, u32 block, u32 len, int bg_num) argument 257 reduce_allocation(struct block_allocation *alloc, u32 len) argument 453 struct block_allocation *alloc = create_allocation(); local 462 block_allocation_num_regions(struct block_allocation *alloc) argument 473 block_allocation_len(struct block_allocation *alloc) argument 485 get_block(struct block_allocation *alloc, u32 block) argument 498 get_oob_block(struct block_allocation *alloc, u32 block) argument 513 get_region(struct block_allocation *alloc, u32 *block, u32 *len) argument 520 get_next_region(struct block_allocation *alloc) argument 532 last_region(struct block_allocation *alloc) argument 537 rewind_alloc(struct block_allocation *alloc) argument 543 do_split_allocation(struct block_allocation *alloc, u32 len) argument 580 split_allocation(struct block_allocation *alloc, u32 len) argument 592 reserve_oob_blocks(struct block_allocation *alloc, int blocks) argument 632 advance_blocks(struct block_allocation *alloc, int blocks) argument 637 advance_oob_blocks(struct block_allocation *alloc, int blocks) argument 642 append_oob_allocation(struct block_allocation *alloc, u32 len) argument 762 free_alloc(struct block_allocation *alloc) argument [all...] |
/system/bt/hci/include/ |
H A D | bt_vendor_lib.h | 224 * Vendor lib needs to request a buffer through the alloc callout function 277 * needs to be first allocated through the alloc callout function. 312 malloc_cb alloc; member in struct:__anon735
|
/system/bt/embdrv/sbc/decoder/include/ |
H A D | oi_codec_sbc.h | 141 OI_UINT8 alloc; /**< The bit allocation method. Input parameter. */ member in struct:__anon703 285 * @param alloc One of SBC_LOUDNESS, SBC_SNR 295 OI_UINT8 alloc,
|