/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/llvm-project/llvm/test/CodeGen/AMDGPU/ |
D | switch-default-block-unreachable.ll | 11 ; GCN: bb.{{[0-9]+}}.entry.true.blk: 12 ; GCN: bb.{{[0-9]+}}.entry.false.blk: 13 ; GCN: bb.{{[0-9]+}}.switch.blk: 15 ; GCN-NOT: bb.{{[0-9]+}}.preheader.blk 16 ; GCN-NOT: bb.{{[0-9]+}}.pre.false.blk: 17 ; GCN-NOT: bb.{{[0-9]+}}.unreach.blk: 23 br i1 undef, label %entry.true.blk, label %entry.false.blk 25 entry.true.blk: ; preds = %entry 27 br i1 %exit.cmp, label %switch.blk, label %exit 29 entry.false.blk: ; preds = %entry [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/swiftshader/third_party/astc-encoder/Source/ |
D | astc_decompress_symbolic.cpp | 92 imageblock* blk in decompress_symbolic_block() argument 94 blk->xpos = xpos; in decompress_symbolic_block() 95 blk->ypos = ypos; in decompress_symbolic_block() 96 blk->zpos = zpos; in decompress_symbolic_block() 107 blk->orig_data[4 * i] = 1.0f; in decompress_symbolic_block() 108 blk->orig_data[4 * i + 1] = 0.0f; in decompress_symbolic_block() 109 blk->orig_data[4 * i + 2] = 1.0f; in decompress_symbolic_block() 110 blk->orig_data[4 * i + 3] = 1.0f; in decompress_symbolic_block() 111 blk->rgb_lns[i] = 0; in decompress_symbolic_block() 112 blk->alpha_lns[i] = 0; in decompress_symbolic_block() [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/libiio/src/ |
D | scan.c | 170 ssize_t iio_scan_block_scan(struct iio_scan_block *blk) in iio_scan_block_scan() argument 172 iio_context_info_list_free(blk->info); in iio_scan_block_scan() 173 blk->info = NULL; in iio_scan_block_scan() 174 blk->ctx_cnt = iio_scan_context_get_info_list(blk->ctx, &blk->info); in iio_scan_block_scan() 175 return blk->ctx_cnt; in iio_scan_block_scan() 179 struct iio_scan_block *blk, unsigned int index) in iio_scan_block_get_info() argument 181 if (!blk->info || (ssize_t)index >= blk->ctx_cnt) { in iio_scan_block_get_info() 185 return blk->info[index]; in iio_scan_block_get_info() 191 struct iio_scan_block *blk; in iio_create_scan_block() local 193 blk = calloc(1, sizeof(*blk)); in iio_create_scan_block() [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 | 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 | 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 | 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/libpcap/ |
D | grammar.c | 647 } blk; member 2181 CHECK_INT_VAL(finish_parse(cstate, (yyvsp[0].blk).b)); in yyparse() 2188 { (yyval.blk).q = qerr; } in yyparse() 2194 … { gen_and((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse() 2200 … { gen_and((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse() 2206 … { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse() 2212 … { gen_or((yyvsp[-2].blk).b, (yyvsp[0].blk).b); (yyval.blk) = (yyvsp[0].blk); } in yyparse() 2218 { (yyval.blk) = (yyvsp[-1].blk); } in yyparse() 2224 { (yyval.blk) = (yyvsp[-1].blk); } in yyparse() 2230 … { CHECK_PTR_VAL(((yyval.blk).b = gen_ncode(cstate, NULL, (bpf_u_int32)(yyvsp[0].i), in yyparse() [all …]
|
/external/mesa3d/src/panfrost/util/ |
D | pan_liveness.c | 62 liveness_block_live_out(pan_block *blk, unsigned temp_count) in liveness_block_live_out() argument 64 pan_foreach_successor(blk, succ) { in liveness_block_live_out() 66 blk->live_out[i] |= succ->live_in[i]; in liveness_block_live_out() 76 pan_block *blk, unsigned temp_count, in liveness_block_update() argument 81 liveness_block_live_out(blk, temp_count); in liveness_block_update() 83 uint16_t *live = ralloc_array(blk, uint16_t, temp_count); in liveness_block_update() 84 memcpy(live, blk->live_out, temp_count * sizeof(uint16_t)); in liveness_block_update() 86 pan_foreach_instr_in_block_rev(blk, ins) in liveness_block_update() 92 progress |= (blk->live_in[i] != live[i]); in liveness_block_update() 94 ralloc_free(blk->live_in); in liveness_block_update() [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 …]
|
/external/angle/third_party/vulkan-deps/glslang/src/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/glslang/Test/ |
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);
|
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);
|
/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/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | cfg.h | 87 void RegisterBlock(BasicBlock* blk) { in RegisterBlock() argument 88 assert(blk->begin() != blk->end() && in RegisterBlock() 90 assert(blk->tail()->IsBlockTerminator() && in RegisterBlock() 92 uint32_t blk_id = blk->id(); in RegisterBlock() 93 id2block_[blk_id] = blk; in RegisterBlock() 94 AddEdges(blk); in RegisterBlock() 98 void ForgetBlock(const BasicBlock* blk) { in ForgetBlock() argument 99 id2block_.erase(blk->id()); in ForgetBlock() 100 label2preds_.erase(blk->id()); in ForgetBlock() 101 RemoveSuccessorEdges(blk); in ForgetBlock() [all …]
|