/external/grpc-grpc/src/ruby/spec/ |
D | server_spec.rb | 33 blk = proc { new_core_server_for_testing(nil).start } 34 expect(&blk).to_not raise_error 48 blk = proc do 52 expect(&blk).to_not raise_error 58 blk = proc do 62 expect(&blk).to_not raise_error 63 blk.call 64 expect(&blk).to_not raise_error 76 blk = proc do 80 expect(&blk).to_not raise_error [all …]
|
D | channel_spec.rb | 55 blk = proc do 58 expect(&blk).not_to raise_error 62 blk = construct_with_args(Object.new => 1) 63 expect(&blk).to raise_error TypeError 64 blk = construct_with_args(1 => 1) 65 expect(&blk).to raise_error TypeError 69 blk = construct_with_args(symbol: Object.new) 70 expect(&blk).to raise_error TypeError 71 blk = construct_with_args('1' => {}) 72 expect(&blk).to raise_error TypeError [all …]
|
D | server_credentials_spec.rb | 40 blk = proc do 43 expect(&blk).to raise_error 48 blk = proc do 51 expect(&blk).to raise_error 56 blk = proc do 61 expect(&blk).to raise_error 66 blk = proc do 70 expect(&blk).to raise_error 75 blk = proc { Creds.new(nil, cert_pairs, false) } 76 expect(&blk).to_not raise_error
|
/external/pdfium/third_party/bigint/ |
D | BigUnsigned.cc | 33 blk[i] = 0; in setBlock() 43 blk[j] = 0; in setBlock() 46 blk[i] = newBlock; in setBlock() 86 if (blk[i] == x.blk[i]) in compareTo() 88 else if (blk[i] > x.blk[i]) in compareTo() 160 temp = a2->blk[i] + b2->blk[i]; in add() 163 carryOut = (temp < a2->blk[i]); in add() 169 blk[i] = temp; // Save the addition result in add() 175 temp = a2->blk[i] + 1; in add() 177 blk[i] = temp; in add() [all …]
|
D | NumberlikeArray.hh | 41 Blk *blk; member in NumberlikeArray 45 blk = (cap > 0) ? (new Blk[cap]) : NULL; in NumberlikeArray() 53 blk = NULL; in NumberlikeArray() 58 delete [] blk; in ~NumberlikeArray() 81 Blk getBlock(Index i) const { return blk[i]; } in getBlock() 105 delete [] blk; in allocate() 108 blk = new Blk[cap]; in allocate() 116 Blk *oldBlk = blk; in allocateAndCopy() 119 blk = new Blk[cap]; in allocateAndCopy() 123 blk[i] = oldBlk[i]; in allocateAndCopy() [all …]
|
/external/u-boot/fs/yaffs2/ |
D | yaffs_bitmap.c | 20 static inline u8 *yaffs_block_bits(struct yaffs_dev *dev, int blk) in yaffs_block_bits() argument 22 if (blk < dev->internal_start_block || blk > dev->internal_end_block) { in yaffs_block_bits() 25 blk); in yaffs_block_bits() 29 (dev->chunk_bit_stride * (blk - dev->internal_start_block)); in yaffs_block_bits() 32 void yaffs_verify_chunk_bit_id(struct yaffs_dev *dev, int blk, int chunk) in yaffs_verify_chunk_bit_id() argument 34 if (blk < dev->internal_start_block || blk > dev->internal_end_block || in yaffs_verify_chunk_bit_id() 38 blk, chunk); in yaffs_verify_chunk_bit_id() 43 void yaffs_clear_chunk_bits(struct yaffs_dev *dev, int blk) in yaffs_clear_chunk_bits() argument 45 u8 *blk_bits = yaffs_block_bits(dev, blk); in yaffs_clear_chunk_bits() 50 void yaffs_clear_chunk_bit(struct yaffs_dev *dev, int blk, int chunk) in yaffs_clear_chunk_bit() argument [all …]
|
D | yaffs_yaffs1.c | 25 int blk; in yaffs1_scan() local 50 for (blk = dev->internal_start_block; blk <= dev->internal_end_block; in yaffs1_scan() 51 blk++) { in yaffs1_scan() 52 yaffs_clear_chunk_bits(dev, blk); in yaffs1_scan() 56 yaffs_query_init_block_state(dev, blk, &state, &seq_number); in yaffs1_scan() 66 blk, state, seq_number); in yaffs1_scan() 70 "block %d is bad", blk); in yaffs1_scan() 80 for (blk = dev->internal_start_block; in yaffs1_scan() 81 !alloc_failed && blk <= dev->internal_end_block; blk++) { in yaffs1_scan() 85 bi = yaffs_get_block_info(dev, blk); in yaffs1_scan() [all …]
|
/external/e2fsprogs/lib/support/ |
D | quotaio_tree.c | 62 static void read_blk(struct quota_handle *h, unsigned int blk, dqbuf_t buf) in read_blk() argument 66 err = h->e2fs_read(&h->qh_qf, blk << QT_BLKSIZE_BITS, buf, in read_blk() 69 log_err("Cannot read block %u: %s", blk, strerror(errno)); in read_blk() 75 static int write_blk(struct quota_handle *h, unsigned int blk, dqbuf_t buf) in write_blk() argument 79 err = h->e2fs_write(&h->qh_qf, blk << QT_BLKSIZE_BITS, buf, in write_blk() 82 log_err("Cannot write block (%u): %s", blk, strerror(errno)); in write_blk() 94 int blk; in get_free_dqblk() local 100 blk = info->dqi_free_blk; in get_free_dqblk() 101 read_blk(h, blk, buf); in get_free_dqblk() 112 blk = info->dqi_blocks++; in get_free_dqblk() [all …]
|
/external/f2fs-tools/fsck/ |
D | quotaio_tree.c | 63 static void read_blk(struct quota_handle *h, unsigned int blk, dqbuf_t buf) in read_blk() argument 67 err = h->read(&h->qh_qf, blk << QT_BLKSIZE_BITS, buf, in read_blk() 70 log_err("Cannot read block %u: %s", blk, strerror(errno)); in read_blk() 76 static int write_blk(struct quota_handle *h, unsigned int blk, dqbuf_t buf) in write_blk() argument 80 err = h->write(&h->qh_qf, blk << QT_BLKSIZE_BITS, buf, in write_blk() 83 log_err("Cannot write block (%u): %s", blk, strerror(errno)); in write_blk() 95 int blk; in get_free_dqblk() local 101 blk = info->dqi_free_blk; in get_free_dqblk() 102 read_blk(h, blk, buf); in get_free_dqblk() 113 blk = info->dqi_blocks++; in get_free_dqblk() [all …]
|
/external/libpcap/ |
D | grammar.c | 626 } blk; member 2082 finish_parse(cstate, (yyvsp[0].blk).b); in yyparse() 2089 { (yyval.blk).q = qerr; } in yyparse() 2095 { gen_and((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse() 2101 { gen_and((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse() 2107 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse() 2113 { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse() 2119 { (yyval.blk) = (yyvsp[-1].blk); } in yyparse() 2125 { (yyval.blk) = (yyvsp[-1].blk); } in yyparse() 2131 { (yyval.blk).b = gen_ncode(cstate, NULL, (bpf_u_int32)(yyvsp[0].i), in yyparse() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | alloc_stats.c | 61 void ext2fs_block_alloc_stats2(ext2_filsys fs, blk64_t blk, int inuse) in ext2fs_block_alloc_stats2() argument 63 int group = ext2fs_group_of_blk2(fs, blk); in ext2fs_block_alloc_stats2() 65 if (blk >= ext2fs_blocks_count(fs->super)) { in ext2fs_block_alloc_stats2() 68 "Illegal block number: %lu", (unsigned long) blk); in ext2fs_block_alloc_stats2() 73 ext2fs_mark_block_bitmap2(fs->block_map, blk); in ext2fs_block_alloc_stats2() 75 ext2fs_unmark_block_bitmap2(fs->block_map, blk); in ext2fs_block_alloc_stats2() 85 (fs->block_alloc_stats)(fs, (blk64_t) blk, inuse); in ext2fs_block_alloc_stats2() 88 void ext2fs_block_alloc_stats(ext2_filsys fs, blk_t blk, int inuse) in ext2fs_block_alloc_stats() argument 90 ext2fs_block_alloc_stats2(fs, blk, inuse); in ext2fs_block_alloc_stats() 95 blk64_t blk, in ext2fs_set_block_alloc_stats_callback() argument [all …]
|
D | badblocks.c | 108 errcode_t ext2fs_u32_list_add(ext2_u32_list bb, __u32 blk) in ext2fs_u32_list_add() argument 131 if ((bb->num != 0) && (bb->list[i] == blk)) in ext2fs_u32_list_add() 133 if ((bb->num == 0) || (bb->list[i] < blk)) { in ext2fs_u32_list_add() 134 bb->list[bb->num++] = blk; in ext2fs_u32_list_add() 140 if (bb->list[i] == blk) in ext2fs_u32_list_add() 142 if (bb->list[i] > blk) { in ext2fs_u32_list_add() 149 bb->list[j] = blk; in ext2fs_u32_list_add() 154 errcode_t ext2fs_badblocks_list_add(ext2_badblocks_list bb, blk_t blk) in ext2fs_badblocks_list_add() argument 156 return ext2fs_u32_list_add((ext2_u32_list) bb, (__u32) blk); in ext2fs_badblocks_list_add() 163 int ext2fs_u32_list_find(ext2_u32_list bb, __u32 blk) in ext2fs_u32_list_find() argument [all …]
|
D | check_desc.c | 40 blk64_t blk, b; in ext2fs_check_desc() local 64 blk = ext2fs_block_bitmap_loc(fs, i); in ext2fs_check_desc() 65 if (blk < first_block || blk > last_block || in ext2fs_check_desc() 66 ext2fs_test_block_bitmap2(bmap, blk)) { in ext2fs_check_desc() 70 ext2fs_mark_block_bitmap2(bmap, blk); in ext2fs_check_desc() 75 blk = ext2fs_inode_bitmap_loc(fs, i); in ext2fs_check_desc() 76 if (blk < first_block || blk > last_block || in ext2fs_check_desc() 77 ext2fs_test_block_bitmap2(bmap, blk)) { in ext2fs_check_desc() 81 ext2fs_mark_block_bitmap2(bmap, blk); in ext2fs_check_desc() 86 blk = ext2fs_inode_table_loc(fs, i); in ext2fs_check_desc() [all …]
|
D | rw_bitmaps.c | 40 blk64_t blk; in write_bitmaps() local 99 blk = ext2fs_block_bitmap_loc(fs, i); in write_bitmaps() 100 if (blk) { in write_bitmaps() 101 retval = io_channel_write_blk64(fs->io, blk, 1, in write_bitmaps() 131 blk = ext2fs_inode_bitmap_loc(fs, i); in write_bitmaps() 132 if (blk) { in write_bitmaps() 133 retval = io_channel_write_blk64(fs->io, blk, 1, in write_bitmaps() 164 blk64_t blk; in mark_uninit_bg_group_blocks() local 176 blk = ext2fs_inode_table_loc(fs, i); in mark_uninit_bg_group_blocks() 177 if (blk) in mark_uninit_bg_group_blocks() [all …]
|
D | blknum.c | 20 dgrp_t ext2fs_group_of_blk2(ext2_filsys fs, blk64_t blk) in ext2fs_group_of_blk2() argument 22 return (blk - fs->super->s_first_data_block) / in ext2fs_group_of_blk2() 101 void ext2fs_blocks_count_set(struct ext2_super_block *super, blk64_t blk) in ext2fs_blocks_count_set() argument 103 super->s_blocks_count = blk; in ext2fs_blocks_count_set() 105 super->s_blocks_count_hi = (__u64) blk >> 32; in ext2fs_blocks_count_set() 111 void ext2fs_blocks_count_add(struct ext2_super_block *super, blk64_t blk) in ext2fs_blocks_count_add() argument 114 tmp = ext2fs_blocks_count(super) + blk; in ext2fs_blocks_count_add() 131 void ext2fs_r_blocks_count_set(struct ext2_super_block *super, blk64_t blk) in ext2fs_r_blocks_count_set() argument 133 super->s_r_blocks_count = blk; in ext2fs_r_blocks_count_set() 135 super->s_r_blocks_count_hi = (__u64) blk >> 32; in ext2fs_r_blocks_count_set() [all …]
|
D | dblist.c | 133 blk64_t blk, e2_blkcnt_t blockcnt) in ext2fs_add_dir_block2() argument 153 new_entry->blk = blk; in ext2fs_add_dir_block2() 166 blk64_t blk, e2_blkcnt_t blockcnt) in ext2fs_set_dir_block2() argument 176 dblist->list[i].blk = blk; in ext2fs_set_dir_block2() 240 if (db_a->blk != db_b->blk) in dir_block_cmp2() 241 return (int) (db_a->blk - db_b->blk); in dir_block_cmp2() 285 errcode_t ext2fs_add_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk, in ext2fs_add_dir_block() argument 288 return ext2fs_add_dir_block2(dblist, ino, blk, blockcnt); in ext2fs_add_dir_block() 294 errcode_t ext2fs_set_dir_block(ext2_dblist dblist, ext2_ino_t ino, blk_t blk, in ext2fs_set_dir_block() argument 297 return ext2fs_set_dir_block2(dblist, ino, blk, blockcnt); in ext2fs_set_dir_block() [all …]
|
/external/u-boot/fs/ |
D | fs_internal.c | 13 int fs_devread(struct blk_desc *blk, disk_partition_t *partition, in fs_devread() argument 18 ALLOC_CACHE_ALIGN_BUFFER(char, sec_buf, (blk ? blk->blksz : 0)); in fs_devread() 19 if (blk == NULL) { in fs_devread() 23 log2blksz = blk->log2blksz; in fs_devread() 35 byte_offset &= blk->blksz - 1; in fs_devread() 42 if (blk_dread(blk, partition->start + sector, 1, in fs_devread() 47 readlen = min((int)blk->blksz - byte_offset, in fs_devread() 59 block_len = byte_len & ~(blk->blksz - 1); in fs_devread() 62 ALLOC_CACHE_ALIGN_BUFFER(u8, p, blk->blksz); in fs_devread() 64 block_len = blk->blksz; in fs_devread() [all …]
|
/external/u-boot/test/dm/ |
D | blk.c | 18 struct udevice *blk, *usb_blk, *dev; in dm_test_blk_base() local 21 ut_asserteq(-ENODEV, uclass_get_device_by_seq(UCLASS_BLK, 0, &blk)); in dm_test_blk_base() 25 IF_TYPE_HOST, 1, 512, 2, &blk)); in dm_test_blk_base() 26 ut_assertok(blk_create_device(blk, "usb_storage_blk", "test", in dm_test_blk_base() 32 ut_asserteq_ptr(blk, dev); in dm_test_blk_base() 40 ut_asserteq_ptr(blk, dev); in dm_test_blk_base() 53 struct udevice *blk; in count_blk_devices() local 62 uclass_foreach_dev(blk, uc) in count_blk_devices() 100 struct udevice *blk, *dev; in dm_test_blk_find() local 103 IF_TYPE_HOST, 1, 512, 2, &blk)); in dm_test_blk_find() [all …]
|
/external/e2fsprogs/resize/ |
D | resize2fs.c | 66 static inline int is_block_bm(ext2_filsys fs, unsigned int grp, blk64_t blk) in is_block_bm() argument 68 return blk == ext2fs_block_bitmap_loc(fs, grp); in is_block_bm() 71 static inline int is_inode_bm(ext2_filsys fs, unsigned int grp, blk64_t blk) in is_inode_bm() argument 73 return blk == ext2fs_inode_bitmap_loc(fs, grp); in is_inode_bm() 76 static int is_inode_tb(ext2_filsys fs, unsigned int grp, blk64_t blk) in is_inode_tb() argument 78 return blk >= ext2fs_inode_table_loc(fs, grp) && in is_inode_tb() 79 blk < (ext2fs_inode_table_loc(fs, grp) + in is_inode_tb() 585 blk64_t blk, lblk; in fix_uninit_block_bitmaps() local 596 blk = ext2fs_group_first_block2(fs, g); in fix_uninit_block_bitmaps() 598 ext2fs_unmark_block_bitmap_range2(fs->block_map, blk, in fix_uninit_block_bitmaps() [all …]
|
/external/grpc-grpc/src/ruby/spec/generic/ |
D | service_spec.rb | 46 blk = proc { Class.new { include Dsl } } 47 expect(&blk).to_not raise_error 127 blk = proc do 133 expect(&blk).to raise_error ArgumentError 135 blk = proc do 141 expect(&blk).to raise_error ArgumentError 146 blk = proc do 152 expect(&blk).to raise_error ArgumentError 163 blk = proc do 169 expect(&blk).to raise_error ArgumentError [all …]
|
D | rpc_desc_spec.rb | 64 blk = proc do 67 expect(&blk).to_not raise_error 122 blk = proc do 125 expect(&blk).to_not raise_error 215 blk = proc do 218 expect(&blk).to raise_error 223 blk = proc do 226 expect(&blk).to_not raise_error 231 blk = proc do 234 expect(&blk).to raise_error [all …]
|
/external/deqp-deps/glslang/Test/ |
D | spv.meshShaderUserDefined.mesh | 28 } blk[]; 42 blk[iid].f = 11.0; 43 blk[iid+1].fArr[gid] = blk[iid].f; 44 blk[iid/2].pos.yzx = vec3(14.0, 15.0, 13.0); 45 blk[iid*2].posArr[1].yzw = blk[iid/2].pos; 46 blk[iid/4].m[2].wzyx = vec4(13.0, 14.0, 15.0, 16.0); 47 blk[iid].mArr[0][1][1] = blk[iid/4].m[2].w; 48 blk[iid*4].mArr[1][gid] = vec3(17.0, 18.0, 19.0);
|
D | spv.320.meshShaderUserDefined.mesh | 28 } blk[]; 42 blk[iid].f = 11.0; 43 blk[iid+1].fArr[gid] = blk[iid].f; 44 blk[iid/2].pos.yzx = vec3(14.0, 15.0, 13.0); 45 blk[iid*2].posArr[1].yzw = blk[iid/2].pos; 46 blk[iid/4].m[2].wzyx = vec4(13.0, 14.0, 15.0, 16.0); 47 blk[iid].mArr[0][1][1] = blk[iid/4].m[2].w; 48 blk[iid*4].mArr[1][gid] = vec3(17.0, 18.0, 19.0);
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | cfg.h | 83 void RegisterBlock(BasicBlock* blk) { in RegisterBlock() argument 84 assert(blk->begin() != blk->end() && in RegisterBlock() 86 assert(blk->tail()->IsBlockTerminator() && in RegisterBlock() 88 uint32_t blk_id = blk->id(); in RegisterBlock() 89 id2block_[blk_id] = blk; in RegisterBlock() 90 AddEdges(blk); in RegisterBlock() 94 void ForgetBlock(const BasicBlock* blk) { in ForgetBlock() argument 95 id2block_.erase(blk->id()); in ForgetBlock() 96 label2preds_.erase(blk->id()); in ForgetBlock() 97 RemoveSuccessorEdges(blk); in ForgetBlock() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | cfg.h | 83 void RegisterBlock(BasicBlock* blk) { in RegisterBlock() argument 84 assert(blk->begin() != blk->end() && in RegisterBlock() 86 assert(blk->tail()->IsBlockTerminator() && in RegisterBlock() 88 uint32_t blk_id = blk->id(); in RegisterBlock() 89 id2block_[blk_id] = blk; in RegisterBlock() 90 AddEdges(blk); in RegisterBlock() 94 void ForgetBlock(const BasicBlock* blk) { in ForgetBlock() argument 95 id2block_.erase(blk->id()); in ForgetBlock() 96 label2preds_.erase(blk->id()); in ForgetBlock() 97 RemoveSuccessorEdges(blk); in ForgetBlock() [all …]
|