/external/libpcap/ |
H A D | grammar.y | 254 } blk; 258 %type <blk> expr id nid pid term rterm qid 259 %type <blk> head 263 %type <blk> and or paren not null prog 266 %type <blk> atmfield 267 %type <blk> atmfieldvalue atmvalue atmlistvalue 269 %type <blk> mtp3field 270 %type <blk> mtp3fieldvalue mtp3value mtp3listvalue 330 and: AND { $$ = $<blk>0; } 332 or: OR { $$ = $<blk> [all...] |
/external/e2fsprogs/e2fsck/ |
H A D | pass1.c | 406 blk64_t blk; local 443 &blk)) 449 blk = inode->i_block[i]; 450 if (!blk) 455 if (blk < ctx->fs->super->s_first_data_block || 456 blk >= ext2fs_blocks_count(ctx->fs->super) || 458 blk)) 461 blk = inode->i_block[0]; 475 retval = ext2fs_read_dir_block3(ctx->fs, blk, buf, 0); 1456 blk64_t blk; local 1498 blk64_t blk; local 1682 blk64_t blk; local 1767 blk64_t blk, last_lblk; local 2256 blk64_t blk = *block_nr; local 2413 blk64_t blk = *block_nr; local 2859 e2fsck_block_alloc_stats(ext2_filsys fs, blk64_t blk, int inuse) argument [all...] |
H A D | badblocks.c | 20 static void invalid_block(ext2_filsys fs EXT2FS_ATTR((unused)), blk_t blk) 22 printf(_("Bad block %u out of range; ignored.\n"), blk);
|
H A D | super.c | 68 blk64_t blk = *block_nr; local 75 pctx->blk = blk; 78 if (HOLE_BLKADDR(blk)) 81 if ((blk < fs->super->s_first_data_block) || 82 (blk >= ext2fs_blocks_count(fs->super))) { 89 if (!ext2fs_test_block_bitmap2(fs->block_map, blk)) { 108 pb->errcode = io_channel_read_blk64(fs->io, blk, 1, 130 pb->errcode = io_channel_read_blk64(fs->io, blk, 1, 136 pb->errcode = io_channel_write_blk64(fs->io, blk, 321 blk_t blk, pblk; local [all...] |
H A D | pass5.c | 105 blk64_t blk, num; local 141 blk = DIV_ROUND_UP(start, 143 count -= (blk * EXT2_INODES_PER_BLOCK(fs->super) - start); 144 blk += ext2fs_inode_table_loc(fs, group); 148 e2fsck_discard_blocks(ctx, blk, num); 158 if (pctx->blk == pctx->blk2) 164 if (pctx->blk == pctx->blk2) 183 pctx->blk = pctx->blk2 = NO_BLK; 231 pctx.blk = B2C(fs->super->s_first_data_block); 246 pctx.blk [all...] |
H A D | pass2.c | 209 pctx.blk = dx_db->min_hash; 230 pctx.blk = dx_db->max_hash; 333 if (db_a->blk != db_b->blk) 334 return (int) (db_a->blk - db_b->blk); 536 blk_t blk; local 588 blk = ext2fs_le32_to_cpu(ent[i].block) & 0x0ffffff; 590 if (blk >= (blk_t) dx_dir->numblocks) { 591 cd->pctx.blk 1417 blk64_t blk; local [all...] |
H A D | emptydir.c | 98 db->blk, db->blockcnt, db->ino); 100 ext2fs_mark_block_bitmap2(edi->empty_dir_blocks, db->blk); 106 db->blk, db->blockcnt);
|
/external/e2fsprogs/tests/progs/ |
H A D | test_rel.c | 55 const char *str, blk_t *blk) 59 *blk = strtoul(str, &tmp, 0); 218 blk_t blk; local 226 if (parse_block(argv[0], "block", argv[1], &blk)) 228 retval = ext2fs_brel_get(brel, blk, &ent); 233 display_brel_entry(blk, &ent); 256 blk_t blk; local 261 retval = ext2fs_brel_next(brel, &blk, &ent); 266 if (blk == 0) { 270 display_brel_entry(blk, 54 parse_block(const char *request, const char *desc, const char *str, blk_t *blk) argument 278 blk_t blk; local 332 blk_t blk; local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | tst_iscan.c | 180 blk64_t blk; local 191 for (j=0, blk = ext2fs_inode_table_loc(test_fs, i); 193 j++, blk++) { 194 if (!ext2fs_test_block_bitmap2(touched_map, blk) && 195 !ext2fs_test_block_bitmap2(bad_block_map, blk)) { 196 printf("Missing block --- %llu\n", blk);
|
H A D | imager.c | 65 blk64_t blk; local 75 blk = ext2fs_inode_table_loc(fs, (unsigned)group); 76 if (!blk) { 85 retval = io_channel_read_blk64(fs->io, blk, c, buf); 97 blk++; 122 blk += d; 144 blk64_t blk; local 153 blk = ext2fs_inode_table_loc(fs, (unsigned)group); 154 if (!blk) { 172 retval = io_channel_write_blk64(fs->io, blk, [all...] |
H A D | bb_inode.c | 217 blk_t blk; local 223 if (!ext2fs_badblocks_list_iterate(rec->bb_iter, &blk)) 236 blk = rec->ind_blocks[rec->ind_blocks_ptr++]; 237 if (ext2fs_test_block_bitmap2(fs->block_map, blk)) 240 retval = ext2fs_new_block(fs, 0, 0, &blk); 246 retval = io_channel_write_blk64(fs->io, blk, 1, rec->block_buf); 256 ext2fs_block_alloc_stats2(fs, blk, +1); 258 *block_nr = blk;
|
H A D | tst_badblocks.c | 96 blk_t blk; local 105 while (ext2fs_badblocks_list_iterate(iter, &blk)) { 106 printf("%u ", blk); 107 if (i++ != blk) 206 static void invalid_proc(ext2_filsys fs, blk_t blk) argument 208 if (blk == 34500) { 212 printf("Invalid block #: %u\n", blk);
|
H A D | ext2fs.h | 137 blk64_t blk; member in struct:ext2_db_entry2 144 blk_t blk; member in struct:ext2_db_entry 263 void (*block_alloc_stats)(ext2_filsys fs, blk64_t blk, int inuse); 612 #define EXT2FS_B2C(fs, blk) ((blk) >> (fs)->cluster_ratio_bits) 674 blk64_t blk, 677 blk64_t blk, 684 void ext2fs_block_alloc_stats(ext2_filsys fs, blk_t blk, int inuse); 685 void ext2fs_block_alloc_stats2(ext2_filsys fs, blk64_t blk, int inuse); 694 extern errcode_t ext2fs_u32_list_add(ext2_u32_list bb, __u32 blk); 1685 ext2fs_group_of_blk(ext2_filsys fs, blk_t blk) argument [all...] |
H A D | alloc_tables.c | 87 blk64_t group_blk, start_blk, last_blk, new_blk, blk; local 207 for (j=0, blk = new_blk; 209 j++, blk++) { 210 ext2fs_mark_block_bitmap2(bmap, blk); 212 dgrp_t gr = ext2fs_group_of_blk2(fs, blk);
|
H A D | block.c | 393 blk64_t blk, new_blk; local 415 blk = 0; 416 r = (*ctx.func)(fs, &blk, blockcnt, 425 (blk64_t) blk, 0); 428 if (blk) 435 blk = extent.e_pblk; 445 ret |= (*ctx.func)(fs, &blk, 448 extent.e_pblk = blk; 479 blk += j; 482 blk [all...] |
/external/bluetooth/bluedroid/embdrv/sbc/decoder/srce/ |
H A D | synthesis-sbc.c | 260 OI_UINT blk; local 268 for (blk = blkstart; blk < blkstop; blk++) { 291 OI_UINT blk; local 299 for (blk = blkstart; blk < blkstop; blk++) { 325 OI_UINT blk; local 333 for (blk [all...] |
/external/e2fsprogs/misc/ |
H A D | e2image.c | 68 /* writing to blk device: don't skip zeroed blocks */ 476 static void scramble_dir_block(ext2_filsys fs, blk64_t blk, char *buf) argument 501 (unsigned long long) blk, rec_len); 513 (unsigned long long) blk, dirent->name_len); 559 blk64_t blk; local 601 for (blk = start; blk < end; blk++) { 610 if (blk < (source_offset - dest_offset) / fs->blocksize) 648 if ((blk > 1037 add_l2_item(struct ext2_qcow2_image *img, blk64_t blk, blk64_t data, blk64_t next) argument 1125 blk64_t blk, offset, size, end; local [all...] |
H A D | tune2fs.c | 1352 static int ext2fs_is_meta_block(ext2_filsys fs, blk64_t blk) argument 1355 group = ext2fs_group_of_blk2(fs, blk); 1356 if (ext2fs_block_bitmap_loc(fs, group) == blk) 1358 if (ext2fs_inode_bitmap_loc(fs, group) == blk) 1363 static int ext2fs_is_block_in_group(ext2_filsys fs, dgrp_t group, blk64_t blk) argument 1373 if (blk >= start_blk && blk <= end_blk) 1385 blk64_t blk, new_blk, goal; local 1392 for (new_blk = blk = fs->super->s_first_data_block; 1393 blk < ext2fs_blocks_coun 1449 translate_block(blk64_t blk) argument 1492 blk64_t blk; local 1566 blk64_t blk, new_blk; local 1591 blk64_t blk; local 1664 blk64_t blk; local [all...] |
H A D | e2freefrag.c | 106 unsigned long long blk, num_blks; local 120 for (blk = 0; blk < num_blks; blk++, chunk_start_blk++) { 121 if (chunk_num == 0 && blk == 0) { 122 blk = fs->super->s_first_data_block; 123 chunk_start_blk = blk;
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | texcompress_etc_tmp.h | 120 int modifier, bit, idx, blk; local 128 blk = (block->flipped) ? (y >= 2) : (x >= 2); 130 base_color = block->base_colors[blk]; 131 modifier = block->modifier_tables[blk][idx];
|
/external/mesa3d/src/mesa/main/ |
H A D | texcompress_etc_tmp.h | 120 int modifier, bit, idx, blk; local 128 blk = (block->flipped) ? (y >= 2) : (x >= 2); 130 base_color = block->base_colors[blk]; 131 modifier = block->modifier_tables[blk][idx];
|
/external/yaffs2/yaffs2/mtdemul/ |
H A D | nandemul2k.c | 104 int blk = page/PAGES_PER_BLOCK; local 107 memcpy(buffer,&ned.block[blk]->page[pg]->data[start],nBytes); 115 int blk = page/PAGES_PER_BLOCK; local 119 p = &ned.block[blk]->page[pg]->data[start]; 134 nandemul_Block *blk; local 141 blk = ned.block[blockNumber]; 145 memset(blk->page[i],0xff,sizeof(nandemul_Page)); 146 blk->page[i]->empty = 1; 190 nandemul_Block *blk; local 192 if(!(blk [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/ |
H A D | AMDILCFGStructurizer.cpp | 2353 bool CFGStructurizer<PassT>::needMigrateBlock(BlockT *blk) { argument 2357 bool multiplePreds = blk && (blk->pred_size() > 1); 2362 unsigned blkSize = blk->size(); 2364 && (blkSize * (blk->pred_size() - 1) > cloneInstrThreshold)); 2413 void CFGStructurizer<PassT>::setLoopLandBlock(LoopT *loopRep, BlockT *blk) { argument 2421 if (blk == NULL) { 2422 blk = funcRep->CreateMachineBasicBlock(); 2423 funcRep->push_back(blk); //insert to function 2424 SHOWNEWBLK(blk, "DummyLandingBloc 2862 setTrueBranch(MachineInstr *instr, MachineBasicBlock *blk) argument 2867 getFalseBranch(MachineBasicBlock *blk, MachineInstr *instr) argument 2901 getLastDebugLocInBB(MachineBasicBlock *blk) argument 2913 getNormalBlockBranchInstr(MachineBasicBlock *blk) argument 2927 getLoopendBlockBranchInstr(MachineBasicBlock *blk) argument 2946 getReturnInstr(MachineBasicBlock *blk) argument 2957 getContinueInstr(MachineBasicBlock *blk) argument 2968 getLoopBreakInstr(MachineBasicBlock *blk) argument 2978 isReturnBlock(MachineBasicBlock *blk) argument 2994 getInstrPos(MachineBasicBlock *blk, MachineInstr *instr) argument 3006 insertInstrBefore(MachineBasicBlock *blk, int newOpcode, AMDGPUCFGStructurizer *passRep) argument 3011 insertInstrBefore(MachineBasicBlock *blk, int newOpcode, AMDGPUCFGStructurizer *passRep, DebugLoc DL) argument 3029 insertInstrEnd(MachineBasicBlock *blk, int newOpcode, AMDGPUCFGStructurizer *passRep) argument 3034 insertInstrEnd(MachineBasicBlock *blk, int newOpcode, AMDGPUCFGStructurizer *passRep, DebugLoc DL) argument 3051 MachineBasicBlock *blk = oldInstr->getParent(); local 3069 MachineBasicBlock *blk = oldInstr->getParent(); local 3082 insertCondBranchBefore(MachineBasicBlock *blk, MachineBasicBlock::iterator insertPos, int newOpcode, AMDGPUCFGStructurizer *passRep, RegiT regNum, DebugLoc DL) argument 3100 insertCondBranchEnd(MachineBasicBlock *blk, int newOpcode, AMDGPUCFGStructurizer *passRep, RegiT regNum) argument 3121 MachineBasicBlock *blk = oldInstr->getParent(); local 3129 insertAssignInstrBefore(MachineBasicBlock *blk, AMDGPUCFGStructurizer *passRep, RegiT regNum, int regVal) argument 3147 insertCompareInstrBefore(MachineBasicBlock *blk, MachineBasicBlock::iterator instrPos, AMDGPUCFGStructurizer *passRep, RegiT dstReg, RegiT src1Reg, RegiT src2Reg) argument [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | AMDILCFGStructurizer.cpp | 2353 bool CFGStructurizer<PassT>::needMigrateBlock(BlockT *blk) { argument 2357 bool multiplePreds = blk && (blk->pred_size() > 1); 2362 unsigned blkSize = blk->size(); 2364 && (blkSize * (blk->pred_size() - 1) > cloneInstrThreshold)); 2413 void CFGStructurizer<PassT>::setLoopLandBlock(LoopT *loopRep, BlockT *blk) { argument 2421 if (blk == NULL) { 2422 blk = funcRep->CreateMachineBasicBlock(); 2423 funcRep->push_back(blk); //insert to function 2424 SHOWNEWBLK(blk, "DummyLandingBloc 2862 setTrueBranch(MachineInstr *instr, MachineBasicBlock *blk) argument 2867 getFalseBranch(MachineBasicBlock *blk, MachineInstr *instr) argument 2901 getLastDebugLocInBB(MachineBasicBlock *blk) argument 2913 getNormalBlockBranchInstr(MachineBasicBlock *blk) argument 2927 getLoopendBlockBranchInstr(MachineBasicBlock *blk) argument 2946 getReturnInstr(MachineBasicBlock *blk) argument 2957 getContinueInstr(MachineBasicBlock *blk) argument 2968 getLoopBreakInstr(MachineBasicBlock *blk) argument 2978 isReturnBlock(MachineBasicBlock *blk) argument 2994 getInstrPos(MachineBasicBlock *blk, MachineInstr *instr) argument 3006 insertInstrBefore(MachineBasicBlock *blk, int newOpcode, AMDGPUCFGStructurizer *passRep) argument 3011 insertInstrBefore(MachineBasicBlock *blk, int newOpcode, AMDGPUCFGStructurizer *passRep, DebugLoc DL) argument 3029 insertInstrEnd(MachineBasicBlock *blk, int newOpcode, AMDGPUCFGStructurizer *passRep) argument 3034 insertInstrEnd(MachineBasicBlock *blk, int newOpcode, AMDGPUCFGStructurizer *passRep, DebugLoc DL) argument 3051 MachineBasicBlock *blk = oldInstr->getParent(); local 3069 MachineBasicBlock *blk = oldInstr->getParent(); local 3082 insertCondBranchBefore(MachineBasicBlock *blk, MachineBasicBlock::iterator insertPos, int newOpcode, AMDGPUCFGStructurizer *passRep, RegiT regNum, DebugLoc DL) argument 3100 insertCondBranchEnd(MachineBasicBlock *blk, int newOpcode, AMDGPUCFGStructurizer *passRep, RegiT regNum) argument 3121 MachineBasicBlock *blk = oldInstr->getParent(); local 3129 insertAssignInstrBefore(MachineBasicBlock *blk, AMDGPUCFGStructurizer *passRep, RegiT regNum, int regVal) argument 3147 insertCompareInstrBefore(MachineBasicBlock *blk, MachineBasicBlock::iterator instrPos, AMDGPUCFGStructurizer *passRep, RegiT dstReg, RegiT src1Reg, RegiT src2Reg) argument [all...] |
/external/bluetooth/bluedroid/stack/gap/ |
H A D | gap_utils.c | 46 if (index < GAP_MAX_BLOCKS && gap_cb.blk[index].in_use) 48 p_cb = &gap_cb.blk[index]; 131 for (index = 0, p_cb = &gap_cb.blk[0]; index < GAP_MAX_BLOCKS; index++, p_cb++) 329 tGAP_INFO *p_cb = &gap_cb.blk[0]; 383 tGAP_INFO *p_cb = &gap_cb.blk[0];
|