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

/system/bt/osi/include/
H A Dallocator.h29 alloc_fn alloc; member in struct:__anon740
33 // allocator_t abstractions for the osi_*alloc and osi_free functions
/system/bt/embdrv/sbc/decoder/srce/
H A Ddecoder-oina.c40 uint8_t mode, uint8_t subbands, uint8_t blocks, uint8_t alloc,
68 if (alloc > SBC_SNR) {
81 context->common.frameInfo.alloc = alloc;
38 OI_CODEC_SBC_DecoderConfigureRaw( OI_CODEC_SBC_DECODER_CONTEXT* context, OI_BOOL enhanced, uint8_t frequency, uint8_t mode, uint8_t subbands, uint8_t blocks, uint8_t alloc, uint8_t maxBitpool) argument
/system/chre/apps/chqts/src/shared/
H A Ddumb_allocator.cc36 void *DumbAllocatorBase::alloc(size_t bytes) { function in class:nanoapp_testing::DumbAllocatorBase
H A Ddumb_allocator.h33 void *alloc(size_t bytes);
76 void *alloc(size_t bytes) { function in class:nanoapp_testing::DumbAllocator
77 return DumbAllocatorBase::alloc(bytes);
91 * If "ptr" was a non-null pointer returned from alloc() on this instance,
/system/core/libutils/
H A DSharedBuffer.cpp30 SharedBuffer* SharedBuffer::alloc(size_t size) function in class:android::SharedBuffer
59 SharedBuffer* sb = alloc(mSize);
83 SharedBuffer* sb = alloc(newSize);
103 SharedBuffer* sb = alloc(new_size);
/system/extras/ext4_utils/
H A Dextent.c30 static u8 *extent_create_backing(struct block_allocation *alloc, argument
38 for (; alloc != NULL && backing_len > 0; get_next_region(alloc)) {
42 get_region(alloc, &region_block, &region_len);
56 static void extent_create_backing_file(struct block_allocation *alloc, argument
60 for (; alloc != NULL && backing_len > 0; get_next_region(alloc)) {
64 get_region(alloc, &region_block, &region_len);
79 struct block_allocation *alloc; local
86 alloc
204 struct block_allocation *alloc; local
229 struct block_allocation *alloc, *prealloc = base_fs_allocations, *prev_prealloc = NULL; local
261 struct block_allocation *alloc; local
[all...]
H A Dindirect.c30 static u8 *create_backing(struct block_allocation *alloc, argument
41 for (; alloc != NULL && backing_len > 0; get_next_region(alloc)) {
45 get_region(alloc, &region_block, &region_len);
57 static void reserve_indirect_block(struct block_allocation *alloc, int len) argument
59 if (reserve_oob_blocks(alloc, 1)) {
64 if (advance_blocks(alloc, len)) {
70 static void reserve_dindirect_block(struct block_allocation *alloc, int len) argument
72 if (reserve_oob_blocks(alloc, 1)) {
80 reserve_indirect_block(alloc, ind_block_le
87 reserve_tindirect_block(struct block_allocation *alloc, int len) argument
103 fill_indirect_block(u32 *ind_block, int len, struct block_allocation *alloc) argument
111 fill_dindirect_block(u32 *dind_block, int len, struct block_allocation *alloc) argument
141 fill_tindirect_block(u32 *tind_block, int len, struct block_allocation *alloc) argument
168 inode_attach_direct_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument
191 inode_attach_indirect_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument
223 inode_attach_dindirect_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument
255 inode_attach_tindirect_blocks(struct ext4_inode *inode, struct block_allocation *alloc, u32 *block_len) argument
283 reserve_all_indirect_blocks(struct block_allocation *alloc, u32 len) argument
348 do_inode_attach_indirect(struct ext4_inode *inode, struct block_allocation *alloc, u32 block_len) argument
394 struct block_allocation *alloc = allocate_blocks(block_len + indirect_len); local
407 struct block_allocation *alloc; local
430 inode_attach_resize(struct ext4_inode *inode, struct block_allocation *alloc) argument
493 struct block_allocation *alloc; local
[all...]
H A Dcontents.c197 struct block_allocation* alloc = inode_allocate_file_extents(inode, len, filename); local
198 if (alloc) {
199 alloc->filename = strdup(filename);
200 alloc->next = saved_allocation_head;
201 saved_allocation_head = alloc;
H A Dallocate.c34 struct block_allocation *alloc = malloc(sizeof(struct block_allocation)); local
35 alloc->list.first = NULL;
36 alloc->list.last = NULL;
37 alloc->oob_list.first = NULL;
38 alloc->oob_list.last = NULL;
39 alloc->list.iter = NULL;
40 alloc->list.partial_iter = 0;
41 alloc->oob_list.iter = NULL;
42 alloc->oob_list.partial_iter = 0;
43 alloc
134 print_blocks(FILE* f, struct block_allocation *alloc, char separator) argument
149 append_region(struct block_allocation *alloc, u32 block, u32 len, int bg_num) argument
258 reduce_allocation(struct block_allocation *alloc, u32 len) argument
473 struct block_allocation *alloc = create_allocation(); local
484 block_allocation_num_regions(struct block_allocation *alloc) argument
495 block_allocation_len(struct block_allocation *alloc) argument
507 get_block(struct block_allocation *alloc, u32 block) argument
520 get_oob_block(struct block_allocation *alloc, u32 block) argument
535 get_region(struct block_allocation *alloc, u32 *block, u32 *len) argument
542 get_next_region(struct block_allocation *alloc) argument
554 last_region(struct block_allocation *alloc) argument
559 rewind_alloc(struct block_allocation *alloc) argument
565 do_split_allocation(struct block_allocation *alloc, u32 len) argument
602 split_allocation(struct block_allocation *alloc, u32 len) argument
614 reserve_oob_blocks(struct block_allocation *alloc, int blocks) argument
654 advance_blocks(struct block_allocation *alloc, int blocks) argument
659 advance_oob_blocks(struct block_allocation *alloc, int blocks) argument
664 append_oob_allocation(struct block_allocation *alloc, u32 len) argument
784 free_alloc(struct block_allocation *alloc) argument
821 reserve_blocks_for_allocation(struct block_allocation *alloc) argument
[all...]
/system/bt/stack/avrc/
H A Davrc_bld_ct.cc564 bool alloc = false; local
580 alloc = true;
657 if (alloc && (status != AVRC_STS_NO_ERROR)) {
H A Davrc_bld_tg.cc1372 bool alloc = false; local
1395 alloc = true;
1515 if (alloc && (status != AVRC_STS_NO_ERROR)) {
/system/core/libunwindstack/
H A DElfInterface.cpp61 ISzAlloc alloc; local
63 alloc.Alloc = [](void*, size_t size) { return malloc(size); };
64 alloc.Free = [](void*, void* ptr) { return free(ptr); };
66 XzUnpacker_Construct(&state, &alloc);
/system/bt/embdrv/sbc/decoder/include/
H A Doi_codec_sbc.h176 uint8_t alloc; /**< The bit allocation method. Input parameter. */ member in struct:__anon694
322 * @param alloc One of SBC_LOUDNESS, SBC_SNR
328 uint8_t mode, uint8_t subbands, uint8_t blocks, uint8_t alloc,
/system/bt/hci/include/
H A Dbt_vendor_lib.h256 * Vendor lib needs to request a buffer through the alloc callout function
309 * needs to be first allocated through the alloc callout function.
348 malloc_cb alloc; member in struct:__anon720
/system/core/liblog/
H A Devent_tag_map.cpp46 const std::string* alloc; // HAS-AN member in class:MapString
70 MapString(const char* str, size_t len) : alloc(NULL), str(str, len) {
73 : alloc(new std::string(str)), str(alloc->data(), alloc->length()) {
76 : alloc(rval.alloc), str(rval.data(), rval.length()) {
77 rval.alloc = NULL;
80 : alloc(rval.alloc
[all...]
/system/extras/simpleperf/
H A Dutils.cpp206 ISzAlloc alloc; local
208 alloc.Alloc = xz_alloc;
209 alloc.Free = xz_free;
210 XzUnpacker_Construct(&state, &alloc);
/system/nfc/src/nfa/include/
H A Dnfa_snep_api.h194 tNFA_SNEP_ALLOC alloc; /* NFA_SNEP_ALLOC_BUFF_EVT */ member in union:__anon2153
/system/core/logd/
H A DLogStatistics.h497 std::string* alloc; member in struct:TagNameKey
501 : alloc(nullptr), name("", strlen("")) {
511 alloc = new std::string(
513 if (!alloc) return;
514 name = std::experimental::string_view(alloc->c_str(), alloc->size());
529 alloc = new std::string(msg, len);
530 if (!alloc) return;
531 name = std::experimental::string_view(alloc->c_str(), alloc
[all...]

Completed in 9030 milliseconds