/external/libpcap/ |
D | grammar.c | 447 } blk; member 1795 finish_parse((yyvsp[0].blk).b); 1801 { (yyval.blk).q = qerr; } 1806 { gen_and((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } 1811 { gen_and((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } 1816 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } 1821 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } 1826 { (yyval.blk) = (yyvsp[-1].blk); } 1831 { (yyval.blk) = (yyvsp[-1].blk); } 1836 { (yyval.blk).b = gen_ncode(NULL, (bpf_u_int32)(yyvsp[0].i), [all …]
|
D | grammar.y | 150 } blk; member 154 %type <blk> expr id nid pid term rterm qid 155 %type <blk> head 159 %type <blk> and or paren not null prog 162 %type <blk> atmfield 163 %type <blk> atmfieldvalue atmvalue atmlistvalue 165 %type <blk> mtp3field 166 %type <blk> mtp3fieldvalue mtp3value mtp3listvalue 224 and: AND { $$ = $<blk>0; } 226 or: OR { $$ = $<blk>0; } [all …]
|
/external/e2fsprogs/e2fsck/ |
D | ea_refcount.c | 113 blk_t blk, int pos) in insert_refcount_el() argument 144 el->ea_blk = blk; in insert_refcount_el() 155 blk_t blk, int create) in get_refcount_el() argument 167 (blk > refcount->list[high].ea_blk))) { in get_refcount_el() 171 return insert_refcount_el(refcount, blk, in get_refcount_el() 179 if (blk == refcount->list[refcount->cursor].ea_blk) in get_refcount_el() 182 printf("Non-cursor get_refcount_el: %u\n", blk); in get_refcount_el() 195 if (blk < lowval) in get_refcount_el() 197 else if (blk > highval) in get_refcount_el() 200 range = ((float) (blk - lowval)) / in get_refcount_el() [all …]
|
D | pass1.c | 407 blk_t blk; in check_is_really_dir() local 444 &blk)) in check_is_really_dir() 450 blk = inode->i_block[i]; in check_is_really_dir() 451 if (!blk) in check_is_really_dir() 456 if (blk < ctx->fs->super->s_first_data_block || in check_is_really_dir() 457 blk >= ctx->fs->super->s_blocks_count || in check_is_really_dir() 459 blk)) in check_is_really_dir() 462 blk = inode->i_block[0]; in check_is_really_dir() 476 retval = ext2fs_read_dir_block(ctx->fs, blk, buf); in check_is_really_dir() 1373 blk_t blk; in adjust_extattr_refcount() local [all …]
|
D | super.c | 66 blk_t blk = *block_nr; in release_inode_block() local 73 pctx->blk = blk; in release_inode_block() 76 if (HOLE_BLKADDR(blk)) in release_inode_block() 79 if ((blk < fs->super->s_first_data_block) || in release_inode_block() 80 (blk >= fs->super->s_blocks_count)) { in release_inode_block() 87 if (!ext2fs_test_block_bitmap(fs->block_map, blk)) { in release_inode_block() 106 pb->errcode = io_channel_read_blk(fs->io, blk, 1, in release_inode_block() 128 pb->errcode = io_channel_read_blk(fs->io, blk, 1, in release_inode_block() 134 pb->errcode = io_channel_write_blk(fs->io, blk, 1, in release_inode_block() 144 ext2fs_block_alloc_stats(fs, blk, -1); in release_inode_block() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | check_desc.c | 39 blk_t blk, b; in ext2fs_check_desc() local 63 blk = fs->group_desc[i].bg_block_bitmap; in ext2fs_check_desc() 64 if (blk < first_block || blk > last_block || in ext2fs_check_desc() 65 ext2fs_test_block_bitmap(bmap, blk)) { in ext2fs_check_desc() 69 ext2fs_mark_block_bitmap(bmap, blk); in ext2fs_check_desc() 74 blk = fs->group_desc[i].bg_inode_bitmap; in ext2fs_check_desc() 75 if (blk < first_block || blk > last_block || in ext2fs_check_desc() 76 ext2fs_test_block_bitmap(bmap, blk)) { in ext2fs_check_desc() 80 ext2fs_mark_block_bitmap(bmap, blk); in ext2fs_check_desc() 85 blk = fs->group_desc[i].bg_inode_table; in ext2fs_check_desc() [all …]
|
D | badblocks.c | 107 errcode_t ext2fs_u32_list_add(ext2_u32_list bb, __u32 blk) in ext2fs_u32_list_add() argument 130 if ((bb->num != 0) && (bb->list[i] == blk)) in ext2fs_u32_list_add() 132 if ((bb->num == 0) || (bb->list[i] < blk)) { in ext2fs_u32_list_add() 133 bb->list[bb->num++] = blk; in ext2fs_u32_list_add() 139 if (bb->list[i] == blk) in ext2fs_u32_list_add() 141 if (bb->list[i] > blk) { in ext2fs_u32_list_add() 148 bb->list[j] = blk; in ext2fs_u32_list_add() 153 errcode_t ext2fs_badblocks_list_add(ext2_badblocks_list bb, blk_t blk) in ext2fs_badblocks_list_add() argument 155 return ext2fs_u32_list_add((ext2_u32_list) bb, (__u32) blk); in ext2fs_badblocks_list_add() 162 int ext2fs_u32_list_find(ext2_u32_list bb, __u32 blk) in ext2fs_u32_list_find() argument [all …]
|
D | rw_bitmaps.c | 39 blk_t blk; in write_bitmaps() local 93 blk = fs->group_desc[i].bg_block_bitmap; in write_bitmaps() 94 if (blk) { in write_bitmaps() 95 retval = io_channel_write_blk(fs->io, blk, 1, in write_bitmaps() 116 blk = fs->group_desc[i].bg_inode_bitmap; in write_bitmaps() 117 if (blk) { in write_bitmaps() 118 retval = io_channel_write_blk(fs->io, blk, 1, in write_bitmaps() 149 blk_t blk; in read_bitmaps() local 202 blk = (fs->image_header->offset_inodemap / fs->blocksize); in read_bitmaps() 205 retval = io_channel_read_blk(fs->image_io, blk++, in read_bitmaps() [all …]
|
D | alloc_stats.c | 63 void ext2fs_block_alloc_stats(ext2_filsys fs, blk_t blk, int inuse) in ext2fs_block_alloc_stats() argument 65 int group = ext2fs_group_of_blk(fs, blk); in ext2fs_block_alloc_stats() 68 if (blk >= fs->super->s_blocks_count) { in ext2fs_block_alloc_stats() 70 "Illegal block number: %lu", (unsigned long) blk); in ext2fs_block_alloc_stats() 75 ext2fs_mark_block_bitmap(fs->block_map, blk); in ext2fs_block_alloc_stats() 77 ext2fs_unmark_block_bitmap(fs->block_map, blk); in ext2fs_block_alloc_stats() 86 (fs->block_alloc_stats)(fs, (blk64_t) blk, inuse); in ext2fs_block_alloc_stats() 91 blk64_t blk, in ext2fs_set_block_alloc_stats_callback() argument 94 blk64_t blk, in ext2fs_set_block_alloc_stats_callback()
|
D | bb_compat.c | 39 errcode_t badblocks_list_add(badblocks_list bb, blk_t blk) in badblocks_list_add() argument 41 return ext2fs_badblocks_list_add(bb, blk); in badblocks_list_add() 44 int badblocks_list_test(badblocks_list bb, blk_t blk) in badblocks_list_test() argument 46 return ext2fs_badblocks_list_test(bb, blk); in badblocks_list_test() 55 int badblocks_list_iterate(badblocks_iterate iter, blk_t *blk) in badblocks_list_iterate() argument 57 return ext2fs_badblocks_list_iterate(iter, blk); in badblocks_list_iterate()
|
D | alloc.c | 35 blk_t blk, super_blk, old_desc_blk, new_desc_blk; in check_block_uninit() local 43 blk = (group * fs->super->s_blocks_per_group) + in check_block_uninit() 55 for (i=0; i < fs->super->s_blocks_per_group; i++, blk++) { in check_block_uninit() 56 if ((blk == super_blk) || in check_block_uninit() 58 (blk >= old_desc_blk) && in check_block_uninit() 59 (blk < old_desc_blk + old_desc_blocks)) || in check_block_uninit() 60 (new_desc_blk && (blk == new_desc_blk)) || in check_block_uninit() 61 (blk == fs->group_desc[group].bg_block_bitmap) || in check_block_uninit() 62 (blk == fs->group_desc[group].bg_inode_bitmap) || in check_block_uninit() 63 (blk >= fs->group_desc[group].bg_inode_table && in check_block_uninit() [all …]
|
D | dblist.c | 155 errcode_t ext2fs_add_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk, in ext2fs_add_dir_block() argument 176 new_entry->blk = blk; in ext2fs_add_dir_block() 188 errcode_t ext2fs_set_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk, in ext2fs_set_dir_block() argument 199 dblist->list[i].blk = blk; in ext2fs_set_dir_block() 248 if (db_a->blk != db_b->blk) in dir_block_cmp() 249 return (int) (db_a->blk - db_b->blk); in dir_block_cmp()
|
D | bb_inode.c | 218 blk_t blk; in set_bad_block_proc() local 224 if (!ext2fs_badblocks_list_iterate(rec->bb_iter, &blk)) in set_bad_block_proc() 237 blk = rec->ind_blocks[rec->ind_blocks_ptr++]; in set_bad_block_proc() 238 if (ext2fs_test_block_bitmap(fs->block_map, blk)) in set_bad_block_proc() 241 retval = ext2fs_new_block(fs, 0, 0, &blk); in set_bad_block_proc() 247 retval = io_channel_write_blk(fs->io, blk, 1, rec->block_buf); in set_bad_block_proc() 257 ext2fs_block_alloc_stats(fs, blk, +1); in set_bad_block_proc() 259 *block_nr = blk; in set_bad_block_proc()
|
/external/yaffs2/yaffs2/direct/ |
D | yaffs_ramem2k.c | 93 nandemul_Block *blk; in nandemul_ReallyEraseBlock() local 100 blk = ned.block[blockNumber]; in nandemul_ReallyEraseBlock() 104 memset(blk->page[i],0xff,sizeof(nandemul_Page)); in nandemul_ReallyEraseBlock() 105 blk->page[i]->empty = 1; in nandemul_ReallyEraseBlock() 149 nandemul_Block *blk; in CheckInit() local 151 if(!(blk = ned.block[i] = YMALLOC(sizeof(nandemul_Block)))) in CheckInit() 159 if((blk->page[j] = YMALLOC(sizeof(nandemul_Page))) == 0) in CheckInit() 194 int blk; in nandemul2k_WriteChunkWithTagsToNAND() local 201 blk = chunkInNAND/PAGES_PER_BLOCK; in nandemul2k_WriteChunkWithTagsToNAND() 207 x = ned.block[blk]->page[pg]->data; in nandemul2k_WriteChunkWithTagsToNAND() [all …]
|
D | yaffs_ramdisk.c | 121 int blk; in yramdisk_WriteChunkWithTagsToNAND() local 127 blk = chunkInNAND/32; in yramdisk_WriteChunkWithTagsToNAND() 133 memcpy(ramdisk.block[blk]->page[pg].data,data,512); in yramdisk_WriteChunkWithTagsToNAND() 142 memcpy(&ramdisk.block[blk]->page[pg].data[512],&pt,sizeof(pt)); in yramdisk_WriteChunkWithTagsToNAND() 152 int blk; in yramdisk_ReadChunkWithTagsFromNAND() local 158 blk = chunkInNAND/32; in yramdisk_ReadChunkWithTagsFromNAND() 164 memcpy(data,ramdisk.block[blk]->page[pg].data,512); in yramdisk_ReadChunkWithTagsFromNAND() 172 memcpy(&pt,&ramdisk.block[blk]->page[pg].data[512],sizeof(pt)); in yramdisk_ReadChunkWithTagsFromNAND() 183 int blk; in yramdisk_CheckChunkErased() local 190 blk = chunkInNAND/32; in yramdisk_CheckChunkErased() [all …]
|
D | yaffs_flashif.c | 117 int blk; in yflash_WriteChunkWithTagsToNAND() local 123 blk = chunkInNAND/32; in yflash_WriteChunkWithTagsToNAND() 129 memcpy(ramdisk.block[blk]->page[pg].data,data,512); in yflash_WriteChunkWithTagsToNAND() 137 memcpy(&ramdisk.block[blk]->page[pg].data[512],&pt,sizeof(pt)); in yflash_WriteChunkWithTagsToNAND() 147 int blk; in yflash_ReadChunkWithTagsFromNAND() local 153 blk = chunkInNAND/32; in yflash_ReadChunkWithTagsFromNAND() 159 memcpy(data,ramdisk.block[blk]->page[pg].data,512); in yflash_ReadChunkWithTagsFromNAND() 166 memcpy(&pt,&ramdisk.block[blk]->page[pg].data[512],sizeof(yaffs_PackedTags)); in yflash_ReadChunkWithTagsFromNAND() 176 int blk; in yflash_CheckChunkErased() local 183 blk = chunkInNAND/32; in yflash_CheckChunkErased() [all …]
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 61 #define IS_BLOCK_BM(fs, i, blk) ((blk) == FS_BLOCK_BM((fs),(i))) argument 62 #define IS_INODE_BM(fs, i, blk) ((blk) == FS_INODE_BM((fs),(i))) argument 64 #define IS_INODE_TB(fs, i, blk) (((blk) >= FS_INODE_TB((fs), (i))) && \ argument 65 ((blk) < (FS_INODE_TB((fs), (i)) + \ 193 blk_t i, blk, super_blk, old_desc_blk, new_desc_blk; in fix_uninit_block_bitmaps() local 205 blk = (g * fs->super->s_blocks_per_group) + in fix_uninit_block_bitmaps() 217 for (i=0; i < fs->super->s_blocks_per_group; i++, blk++) { in fix_uninit_block_bitmaps() 218 if (blk >= fs->super->s_blocks_count) in fix_uninit_block_bitmaps() 220 if ((blk == super_blk) || in fix_uninit_block_bitmaps() 222 (blk >= old_desc_blk) && in fix_uninit_block_bitmaps() [all …]
|
/external/e2fsprogs/debugfs/ |
D | unused.c | 29 unsigned long blk; in do_dump_unused() local 38 for (blk=current_fs->super->s_first_data_block; in do_dump_unused() 39 blk < current_fs->super->s_blocks_count; blk++) { in do_dump_unused() 40 if (ext2fs_test_block_bitmap(current_fs->block_map,blk)) in do_dump_unused() 42 retval = io_channel_read_blk(current_fs->io, blk, 1, buf); in do_dump_unused() 53 blk); in do_dump_unused()
|
D | htree.c | 34 blk_t blk, char *buf) in htree_dump_leaf_node() argument 47 errcode = ext2fs_bmap(fs, ino, inode, buf, 0, blk, &pblk); in htree_dump_leaf_node() 50 "while mapping logical block %u\n", blk); in htree_dump_leaf_node() 55 (unsigned long) blk, (unsigned long) pblk); in htree_dump_leaf_node() 60 (unsigned long) blk, (unsigned long) pblk); in htree_dump_leaf_node() 74 (unsigned long) blk); in htree_dump_leaf_node() 81 fprintf(pager, "Corrupted directory block (%u)!\n", blk); in htree_dump_leaf_node() 112 blk_t blk, char *buf, int level); 161 blk_t blk, char *buf, int level) in htree_dump_int_block() argument 173 errcode = ext2fs_bmap(fs, ino, inode, buf, 0, blk, &pblk); in htree_dump_int_block() [all …]
|
/external/zlib/src/examples/ |
D | fitblk.c | 132 unsigned char *blk; /* intermediate and final stream */ in main() local 147 blk = malloc(size + EXCESS); in main() 152 if (ret != Z_OK || blk == NULL) in main() 157 def.next_out = blk; in main() 166 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout)) in main() 172 free(blk); in main() 194 inf.next_in = blk; in main() 211 def.next_out = blk; in main() 219 if (fwrite(blk, 1, have, stdout) != have || ferror(stdout)) in main() 228 free(blk); in main()
|
/external/clang/test/SemaObjCXX/ |
D | arc-nsconsumed-errors.mm | 4 typedef void (^blk)(id, __attribute((ns_consumed)) id); 6 blk a = ^void (__attribute((ns_consumed)) id, __attribute((ns_consumed)) id){}; // expected-error {… 8 blk b = ^void (id, __attribute((ns_consumed)) id){}; 10 blk c = ^void (__attribute((ns_consumed)) id, __attribute((ns_consumed)) id){}; // expected-error {… 12 blk d = ^void (id, id) {}; // expected-error {{cannot initialize a variable of type '__strong blk'}}
|
/external/e2fsprogs/tests/progs/ |
D | test_rel.c | 55 const char *str, blk_t *blk) in parse_block() argument 59 *blk = strtoul(str, &tmp, 0); in parse_block() 218 blk_t blk; in do_brel_get() local 226 if (parse_block(argv[0], "block", argv[1], &blk)) in do_brel_get() 228 retval = ext2fs_brel_get(brel, blk, &ent); in do_brel_get() 233 display_brel_entry(blk, &ent); in do_brel_get() 256 blk_t blk; in do_brel_next() local 261 retval = ext2fs_brel_next(brel, &blk, &ent); in do_brel_next() 266 if (blk == 0) { in do_brel_next() 270 display_brel_entry(blk, &ent); in do_brel_next() [all …]
|
/external/e2fsprogs/misc/ |
D | tune2fs.c | 1067 static int ext2fs_is_meta_block(ext2_filsys fs, blk_t blk) in ext2fs_is_meta_block() argument 1070 group = ext2fs_group_of_blk(fs, blk); in ext2fs_is_meta_block() 1071 if (fs->group_desc[group].bg_block_bitmap == blk) in ext2fs_is_meta_block() 1073 if (fs->group_desc[group].bg_inode_bitmap == blk) in ext2fs_is_meta_block() 1078 static int ext2fs_is_block_in_group(ext2_filsys fs, dgrp_t group, blk_t blk) in ext2fs_is_block_in_group() argument 1088 if (blk >= start_blk && blk <= end_blk) in ext2fs_is_block_in_group() 1100 blk_t blk, new_blk, goal; in move_block() local 1107 for (new_blk = blk = fs->super->s_first_data_block; in move_block() 1108 blk < fs->super->s_blocks_count; blk++) { in move_block() 1109 if (!ext2fs_test_block_bitmap(bmap, blk)) in move_block() [all …]
|
/external/llvm/lib/Target/R600/ |
D | AMDILCFGStructurizer.cpp | 2169 bool CFGStructurizer<PassT>::needMigrateBlock(BlockT *blk) { in needMigrateBlock() argument 2173 bool multiplePreds = blk && (blk->pred_size() > 1); in needMigrateBlock() 2178 unsigned blkSize = blk->size(); in needMigrateBlock() 2180 && (blkSize * (blk->pred_size() - 1) > cloneInstrThreshold)); in needMigrateBlock() 2229 void CFGStructurizer<PassT>::setLoopLandBlock(LoopT *loopRep, BlockT *blk) { in setLoopLandBlock() argument 2237 if (blk == NULL) { in setLoopLandBlock() 2238 blk = funcRep->CreateMachineBasicBlock(); in setLoopLandBlock() 2239 funcRep->push_back(blk); //insert to function in setLoopLandBlock() 2240 SHOWNEWBLK(blk, "DummyLandingBlock for loop without break: "); in setLoopLandBlock() 2243 theEntry->landBlk = blk; in setLoopLandBlock() [all …]
|
/external/libnfc-nxp/src/ |
D | phFriNfc_ISO15693Map.h | 43 #define ISO15693_GET_VALUE_FIELD_BLOCK_NO(blk, byte_addr, ndef_size) \ argument 45 (ISO15693_BYTES_PER_BLOCK - 1)) ? (blk + 1) : blk) 47 #define ISO15693_GET_VALUE_FIELD_BYTE_NO(blk, byte_addr, ndef_size) \ argument
|