Home
last modified time | relevance | path

Searched refs:new_block (Results 1 – 16 of 16) sorted by relevance

/external/markdown/markdown/extensions/
Dimagelinks.py68 new_block = "<div><br/><center><span class='image-links'>\n"
74 new_block += "&nbsp;"
75 new_block += IMAGE_LINK % (photo_url,
81 new_block += "<br/>"
83 new_block += "</span>"
84 new_block += SLIDESHOW_LINK % url.get_slideshow()
90 new_block += ALBUM_LINK % (album_urls[0], "complete album")
93 new_block += ALBUM_LINK % (album_urls[i],
96 new_lines.append(new_block + "</center><br/></div>")
/external/e2fsprogs/e2fsck/
Demptydir.c123 blk_t block, new_block; in empty_pass1() local
132 &new_block); in empty_pass1()
135 if (new_block == 0) in empty_pass1()
138 } while (ext2fs_test_block_bitmap(edi->empty_dir_blocks, new_block)); in empty_pass1()
140 if (new_block == block) in empty_pass1()
142 if (new_block == 0) in empty_pass1()
144 *block_nr = new_block; in empty_pass1()
Dpass1b.c661 blk_t new_block; in clone_file_block() local
677 &new_block); in clone_file_block()
684 cs->dir, new_block, blockcnt); in clone_file_block()
692 new_block); in clone_file_block()
700 retval = io_channel_write_blk(fs->io, new_block, 1, in clone_file_block()
707 *block_nr = new_block; in clone_file_block()
709 new_block); in clone_file_block()
710 ext2fs_mark_block_bitmap(fs->block_map, new_block); in clone_file_block()
Dpass1.c2416 const char *name, int num, blk_t *new_block) in new_table_block() argument
2420 blk_t old_block = *new_block; in new_table_block()
2452 new_block); in new_table_block()
2457 num, ctx->block_found_map, new_block); in new_table_block()
2474 pctx.blk2 = *new_block; in new_table_block()
2480 ext2fs_mark_block_bitmap(ctx->block_found_map, (*new_block)+i); in new_table_block()
2489 pctx.blk = (*new_block) + i; in new_table_block()
2669 blk_t new_block; in e2fsck_get_alloc_block() local
2673 ctx->block_found_map, &new_block); in e2fsck_get_alloc_block()
2677 ext2fs_mark_block_bitmap(fs->block_map, new_block); in e2fsck_get_alloc_block()
[all …]
/external/qemu/block/
Dqcow2-refcount.c236 int64_t new_block = alloc_clusters_noref(bs, s->cluster_size); in alloc_refcount_block() local
237 if (new_block < 0) { in alloc_refcount_block()
238 return new_block; in alloc_refcount_block()
244 refcount_table_index, cluster_index << s->cluster_bits, new_block); in alloc_refcount_block()
247 if (in_same_refcount_block(s, new_block, cluster_index << s->cluster_bits)) { in alloc_refcount_block()
250 s->refcount_block_cache_offset = new_block; in alloc_refcount_block()
253 int block_index = (new_block >> s->cluster_bits) & in alloc_refcount_block()
259 ret = update_refcount(bs, new_block, s->cluster_size, 1); in alloc_refcount_block()
267 s->refcount_block_cache_offset = new_block; in alloc_refcount_block()
272 ret = bdrv_pwrite_sync(bs->file, new_block, s->refcount_block_cache, in alloc_refcount_block()
[all …]
/external/valgrind/main/drd/
Ddrd_malloc_wrappers.c71 static void* new_block(ThreadId tid, SizeT size, SizeT align, Bool is_zeroed) in new_block() function
149 return new_block(tid, n, VG_(clo_alignment), /*is_zeroed*/False); in drd_malloc()
155 return new_block(tid, n, align, /*is_zeroed*/False); in drd_memalign()
161 return new_block(tid, nmemb*size1, VG_(clo_alignment), in drd_calloc()
256 return new_block(tid, n, VG_(clo_alignment), /*is_zeroed*/False); in drd___builtin_new()
268 return new_block(tid, n, VG_(clo_alignment), /*is_zeroed*/False); in drd___builtin_vec_new()
/external/qemu/
Dexec.c2522 RAMBlock *new_block, *block; in qemu_ram_alloc_from_ptr() local
2525 new_block = qemu_mallocz(sizeof(*new_block)); in qemu_ram_alloc_from_ptr()
2531 snprintf(new_block->idstr, sizeof(new_block->idstr), "%s/", id); in qemu_ram_alloc_from_ptr()
2536 pstrcat(new_block->idstr, sizeof(new_block->idstr), name); in qemu_ram_alloc_from_ptr()
2539 if (!strcmp(block->idstr, new_block->idstr)) { in qemu_ram_alloc_from_ptr()
2541 new_block->idstr); in qemu_ram_alloc_from_ptr()
2547 new_block->host = host; in qemu_ram_alloc_from_ptr()
2548 new_block->flags |= RAM_PREALLOC_MASK; in qemu_ram_alloc_from_ptr()
2552 new_block->host = file_ram_alloc(new_block, size, mem_path); in qemu_ram_alloc_from_ptr()
2553 if (!new_block->host) { in qemu_ram_alloc_from_ptr()
[all …]
/external/freetype/src/base/
Dftdbgmem.c747 FT_Pointer new_block; in ft_mem_debug_realloc() local
803 new_block = (FT_Byte *)ft_mem_table_alloc( table, new_size ); in ft_mem_debug_realloc()
804 if ( new_block == NULL ) in ft_mem_debug_realloc()
807 ft_mem_table_set( table, (FT_Byte*)new_block, new_size, delta ); in ft_mem_debug_realloc()
809 ft_memcpy( new_block, block, cur_size < new_size ? cur_size : new_size ); in ft_mem_debug_realloc()
819 return new_block; in ft_mem_debug_realloc()
/external/valgrind/main/memcheck/
Dmc_malloc_wrappers.c233 void* MC_(new_block) ( ThreadId tid, in MC_() argument
283 return MC_(new_block) ( tid, 0, n, VG_(clo_alignment), in MC_()
293 return MC_(new_block) ( tid, 0, n, VG_(clo_alignment), in MC_()
303 return MC_(new_block) ( tid, 0, n, VG_(clo_alignment), in MC_()
313 return MC_(new_block) ( tid, 0, n, alignB, in MC_()
323 return MC_(new_block) ( tid, 0, nmemb*size1, VG_(clo_alignment), in MC_()
750 MC_(new_block)(tid, addr, szB, /*ignored*/0, mp->is_zeroed, in MC_()
Dmc_include.h82 void* MC_(new_block) ( ThreadId tid,
Dmc_main.c5429 MC_(new_block) ( tid, p, sizeB, /*ignored*/0, is_zeroed, in mc_handle_client_request()
/external/libpcap/
Dgencode.c175 static inline struct block *new_block(int);
316 new_block(code) in new_block() function
344 struct block *b = new_block(BPF_RET|BPF_K);
673 b = new_block(JMP(jtype));
1491 b = new_block(JMP(BPF_JEQ));
2013 b = new_block(JMP(BPF_JEQ)); in gen_ppi_dlt_check()
2975 b1 = new_block(JMP(BPF_JSET));
2990 b2 = new_block(JMP(BPF_JSET));
3013 b1 = new_block(JMP(BPF_JSET));
3022 b2 = new_block(JMP(BPF_JSET));
[all …]
Dwlan_filtering.patch366 + b0 = new_block(JMP(BPF_JSET));
371 + b1 = new_block(JMP(BPF_JSET));
/external/e2fsprogs/resize/
Dresize2fs.c1248 blk_t block, new_block; in process_block() local
1254 new_block = ext2fs_extent_translate(pb->rfs->bmap, block); in process_block()
1255 if (new_block) { in process_block()
1256 *block_nr = new_block; in process_block()
1262 pb->ino, blockcnt, block, new_block); in process_block()
1264 block = new_block; in process_block()
1315 blk_t orig_size, new_block; in inode_scan_and_fix() local
1379 new_block = ext2fs_extent_translate(rfs->bmap, in inode_scan_and_fix()
1381 if (new_block) { in inode_scan_and_fix()
1382 inode->i_file_acl = new_block; in inode_scan_and_fix()
/external/valgrind/main/exp-dhat/
Ddh_main.c451 void* new_block ( ThreadId tid, void* p, SizeT req_szB, SizeT req_alignB, in new_block() function
622 return new_block( tid, NULL, szB, VG_(clo_alignment), /*is_zeroed*/False ); in dh_malloc()
627 return new_block( tid, NULL, szB, VG_(clo_alignment), /*is_zeroed*/False ); in dh___builtin_new()
632 return new_block( tid, NULL, szB, VG_(clo_alignment), /*is_zeroed*/False ); in dh___builtin_vec_new()
637 return new_block( tid, NULL, m*szB, VG_(clo_alignment), /*is_zeroed*/True ); in dh_calloc()
642 return new_block( tid, NULL, szB, alignB, False ); in dh_memalign()
/external/libsepol/src/
Dlink.c1710 avrule_block_t *new_block = avrule_block_create(); in copy_avrule_block() local
1714 if (new_block == NULL) { in copy_avrule_block()
1720 new_block->flags = block->flags; in copy_avrule_block()
1741 new_block->branch_list = new_decl; in copy_avrule_block()
1759 state->last_avrule_block->next = new_block; in copy_avrule_block()
1760 state->last_avrule_block = new_block; in copy_avrule_block()
1764 avrule_block_list_destroy(new_block); in copy_avrule_block()