Searched defs:alloc (Results 1 - 12 of 12) sorted by relevance

/system/bt/osi/include/
H A Dallocator.h29 alloc_fn alloc; member in struct:__anon758
33 // allocator_t abstractions for the osi_*alloc and osi_free functions
/system/bt/embdrv/sbc/decoder/srce/
H A Ddecoder-oina.c45 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/core/libutils/
H A DSharedBuffer.cpp28 SharedBuffer* SharedBuffer::alloc(size_t size) function in class:android::SharedBuffer
57 SharedBuffer* sb = alloc(mSize);
81 SharedBuffer* sb = alloc(newSize);
101 SharedBuffer* sb = alloc(new_size);
/system/core/libion/tests/
H A Ddevice_test.cpp136 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 Dextent.c29 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, &region_block, &region_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, &region_block, &region_len);
78 struct block_allocation *alloc; local
85 alloc
203 struct block_allocation *alloc; local
228 struct block_allocation *alloc, *prealloc = base_fs_allocations, *prev_prealloc = NULL; local
260 struct block_allocation *alloc; local
[all...]
H A Dindirect.c28 static u8 *create_backing(struct block_allocation *alloc, argument
39 for (; alloc != NULL && backing_len > 0; get_next_region(alloc)) {
43 get_region(alloc, &region_block, &region_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 Dcontents.c196 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 Dallocate.c33 struct block_allocation *alloc = malloc(sizeof(struct block_allocation)); local
34 alloc->list.first = NULL;
35 alloc->list.last = NULL;
36 alloc->oob_list.first = NULL;
37 alloc->oob_list.last = NULL;
38 alloc->list.iter = NULL;
39 alloc->list.partial_iter = 0;
40 alloc->oob_list.iter = NULL;
41 alloc->oob_list.partial_iter = 0;
42 alloc
133 print_blocks(FILE* f, struct block_allocation *alloc, char separator) argument
148 append_region(struct block_allocation *alloc, u32 block, u32 len, int bg_num) argument
241 reduce_allocation(struct block_allocation *alloc, u32 len) argument
455 struct block_allocation *alloc = create_allocation(); local
466 block_allocation_num_regions(struct block_allocation *alloc) argument
477 block_allocation_len(struct block_allocation *alloc) argument
489 get_block(struct block_allocation *alloc, u32 block) argument
502 get_oob_block(struct block_allocation *alloc, u32 block) argument
517 get_region(struct block_allocation *alloc, u32 *block, u32 *len) argument
524 get_next_region(struct block_allocation *alloc) argument
536 last_region(struct block_allocation *alloc) argument
541 rewind_alloc(struct block_allocation *alloc) argument
547 do_split_allocation(struct block_allocation *alloc, u32 len) argument
584 split_allocation(struct block_allocation *alloc, u32 len) argument
596 reserve_oob_blocks(struct block_allocation *alloc, int blocks) argument
636 advance_blocks(struct block_allocation *alloc, int blocks) argument
641 advance_oob_blocks(struct block_allocation *alloc, int blocks) argument
646 append_oob_allocation(struct block_allocation *alloc, u32 len) argument
766 free_alloc(struct block_allocation *alloc) argument
803 reserve_blocks_for_allocation(struct block_allocation *alloc) argument
[all...]
/system/bt/stack/avrc/
H A Davrc_bld_ct.c425 BOOLEAN alloc = FALSE; local
441 alloc = TRUE;
499 if (alloc && (status != AVRC_STS_NO_ERROR) )
H A Davrc_bld_tg.c880 BOOLEAN alloc = FALSE; local
897 alloc = TRUE;
984 if (alloc && (status != AVRC_STS_NO_ERROR) )
/system/bt/embdrv/sbc/decoder/include/
H A Doi_codec_sbc.h141 OI_UINT8 alloc; /**< The bit allocation method. Input parameter. */ member in struct:__anon705
285 * @param alloc One of SBC_LOUDNESS, SBC_SNR
295 OI_UINT8 alloc,
/system/bt/hci/include/
H A Dbt_vendor_lib.h253 * Vendor lib needs to request a buffer through the alloc callout function
306 * needs to be first allocated through the alloc callout function.
343 malloc_cb alloc; member in struct:__anon731

Completed in 1751 milliseconds