Home
last modified time | relevance | path

Searched refs:first_block (Results 1 – 12 of 12) sorted by relevance

/aosp12/system/libufdt/
H A Dufdt_node_pool.c67 pool->first_block = NULL; in ufdt_node_pool_construct()
68 pool->last_block_ptr = &pool->first_block; in ufdt_node_pool_construct()
73 struct ufdt_node_pool_block_header *block = pool->first_block; in ufdt_node_pool_destruct()
86 pool->first_block = NULL; in ufdt_node_pool_destruct()
145 struct ufdt_node_pool_block_header *origin_first_block = pool->first_block; in _ufdt_node_pool_preppend_block()
148 pool->first_block = block; in _ufdt_node_pool_preppend_block()
183 struct ufdt_node_pool_block_header *block = pool->first_block; in ufdt_node_pool_alloc()
193 _ufdt_node_pool_remove_block(pool, &pool->first_block); in ufdt_node_pool_alloc()
202 struct ufdt_node_pool_block_header **block_ptr = &pool->first_block; in _ufdt_node_pool_search_block()
236 if (block->alloc_entry_cnt == 0 && pool->first_block != NULL && in ufdt_node_pool_free()
[all …]
/aosp12/packages/modules/adb/
H A Dtypes.cpp118 block_type& first_block = chain_[start_index_]; in trim_front() local
119 if (begin_offset_ == first_block.size()) { in trim_front()
122 memmove(first_block.data(), first_block.data() + begin_offset_, in trim_front()
123 first_block.size() - begin_offset_); in trim_front()
124 first_block.resize(first_block.size() - begin_offset_); in trim_front()
/aosp12/art/compiler/optimizing/
H A Dnodes_test.cc154 HBasicBlock* first_block = new (GetAllocator()) HBasicBlock(graph); in TEST_F() local
155 graph->AddBlock(first_block); in TEST_F()
156 entry->AddSuccessor(first_block); in TEST_F()
158 first_block->AddInstruction(null_check); in TEST_F()
159 first_block->AddInstruction(new (GetAllocator()) HReturnVoid()); in TEST_F()
163 first_block->AddSuccessor(exit_block); in TEST_F()
175 first_block->RemoveInstruction(null_check); in TEST_F()
H A Dsuspend_check_test.cc38 HBasicBlock* first_block = graph->GetEntryBlock()->GetSingleSuccessor(); in TestCode() local
39 HBasicBlock* loop_header = first_block->GetSingleSuccessor(); in TestCode()
41 ASSERT_EQ(loop_header->GetLoopInformation()->GetPreHeader(), first_block); in TestCode()
H A Dcodegen_test.cc422 HBasicBlock* first_block = new (GetAllocator()) HBasicBlock(graph); in TEST_F() local
423 graph->AddBlock(first_block); in TEST_F()
424 entry->AddSuccessor(first_block); in TEST_F()
428 first_block->AddInstruction(equal); in TEST_F()
429 first_block->AddInstruction(new (GetAllocator()) HIf(equal)); in TEST_F()
439 first_block->AddSuccessor(then_block); in TEST_F()
440 first_block->AddSuccessor(else_block); in TEST_F()
/aosp12/bionic/linker/
H A Dlinker_block_allocator.cpp129 FreeBlockInfo* first_block = reinterpret_cast<FreeBlockInfo*>(page->bytes); in create_new_page() local
130 first_block->next_block = free_block_list_; in create_new_page()
131 first_block->num_free_blocks = sizeof(page->bytes) / block_size_; in create_new_page()
133 free_block_list_ = first_block; in create_new_page()
/aosp12/bionic/libc/bionic/
H A Dbionic_allocator.cpp215 small_object_block_record* const first_block = in alloc_page() local
218 first_block->next = nullptr; in alloc_page()
219 first_block->free_blocks_cnt = blocks_per_page_; in alloc_page()
221 page->free_block_list = first_block; in alloc_page()
/aosp12/system/nfc/src/nfc/tags/
H A Drw_i93.cc1667 uint16_t first_block; in rw_i93_get_next_blocks() local
1672 first_block = offset / p_i93->block_size; in rw_i93_get_next_blocks()
1682 if (num_block + first_block > p_i93->num_block) in rw_i93_get_next_blocks()
1683 num_block = p_i93->num_block - first_block; in rw_i93_get_next_blocks()
1685 if (num_block + first_block > in rw_i93_get_next_blocks()
1707 if ((first_block / I93_STM_BLOCKS_PER_SECTOR) != in rw_i93_get_next_blocks()
1710 (first_block % I93_STM_BLOCKS_PER_SECTOR); in rw_i93_get_next_blocks()
1731 if ((first_block / I93_ONS_BLOCKS_PER_SECTOR) != in rw_i93_get_next_blocks()
1734 (first_block % I93_ONS_BLOCKS_PER_SECTOR); in rw_i93_get_next_blocks()
2059 rw_i93_send_cmd_read_single_block(first_block, true); in rw_i93_sm_detect_ndef()
[all …]
H A Drw_t1t_ndef.cc1520 uint8_t first_block = (uint8_t)(p_t1t->ndef_header_offset / T1T_BLOCK_SIZE); in rw_t1t_prepare_ndef_bytes() local
1525 if ((block == p_t1t->num_ndef_finalblock) && (block != first_block)) { in rw_t1t_prepare_ndef_bytes()
/aosp12/system/libufdt/include/
H A Dufdt_node_pool.h26 struct ufdt_node_pool_block_header *first_block; member
/aosp12/bionic/libc/kernel/uapi/linux/
H A Defs_fs_sb.h53 __u32 first_block; member
/aosp12/system/update_engine/sample_images/
H A Dgenerate_images.sh75 sudo truncate --size=16384 "${mntdir}"/sparse-16k-first_block
76 echo "first block" | sudo dd of="${mntdir}"/sparse-16k-first_block status=none