/third_party/mesa3d/src/amd/common/ |
D | ac_debug.c | 66 uint32_t *ib; member 77 static void ac_do_parse_ib(FILE *f, struct ac_ib_parser *ib); 210 static uint32_t ac_ib_get(struct ac_ib_parser *ib) in ac_ib_get() argument 214 if (ib->cur_dw < ib->num_dw) { in ac_ib_get() 215 v = ib->ib[ib->cur_dw]; in ac_ib_get() 225 fprintf(ib->f, "%sValgrind: The next DWORD is garbage%s\n", in ac_ib_get() 228 fprintf(ib->f, "\n\035#%08x ", v); in ac_ib_get() 230 fprintf(ib->f, "\n\035#???????? "); in ac_ib_get() 233 ib->cur_dw++; in ac_ib_get() 238 struct ac_ib_parser *ib) in ac_parse_set_reg_packet() argument [all …]
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | eg_debug.c | 133 static void ac_parse_set_reg_packet(FILE *f, uint32_t *ib, unsigned count, in ac_parse_set_reg_packet() argument 136 unsigned reg = (ib[1] << 2) + reg_offset; in ac_parse_set_reg_packet() 140 eg_dump_reg(f, reg + i*4, ib[2+i], ~0); in ac_parse_set_reg_packet() 143 static uint32_t *ac_parse_packet3(FILE *f, uint32_t *ib, int *num_dw, in ac_parse_packet3() argument 148 unsigned count = PKT_COUNT_G(ib[0]); in ac_parse_packet3() 149 unsigned op = PKT3_IT_OPCODE_G(ib[0]); in ac_parse_packet3() 150 const char *predicate = PKT3_PREDICATE(ib[0]) ? "(predicate)" : ""; in ac_parse_packet3() 151 const char *compute_mode = (ib[0] & 0x2) ? "(C)" : ""; in ac_parse_packet3() 178 ac_parse_set_reg_packet(f, ib, count, EVERGREEN_CONTEXT_REG_OFFSET); in ac_parse_packet3() 181 ac_parse_set_reg_packet(f, ib, count, EVERGREEN_CONFIG_REG_OFFSET); in ac_parse_packet3() [all …]
|
/third_party/mesa3d/src/mesa/tnl/ |
D | t_rebase.c | 108 const struct _mesa_index_buffer *ib, in REBASE() 131 if (0 && ib && ctx->Extensions.ARB_draw_elements_base_vertex) { in REBASE() 148 } else if (ib) { in REBASE() 158 t_rebase_prims(ctx, arrays, &prim[0], i, ib, min_index, in REBASE() 160 t_rebase_prims(ctx, arrays, &prim[i], nr_prims - i, ib, min_index, in REBASE() 171 if (ib->obj) { in REBASE() 172 if (!ib->obj->Mappings[MAP_INTERNAL].Pointer) { in REBASE() 173 ctx->Driver.MapBufferRange(ctx, 0, ib->obj->Size, GL_MAP_READ_BIT, in REBASE() 174 ib->obj, MAP_INTERNAL); in REBASE() 178 ptr = ADD_POINTERS(ib->obj->Mappings[MAP_INTERNAL].Pointer, ib->ptr); in REBASE() [all …]
|
D | t_split_inplace.c | 49 const struct _mesa_index_buffer *ib; member 70 struct _mesa_index_buffer ib; in flush_vertex() local 76 if (split->ib) { in flush_vertex() 77 ib = *split->ib; in flush_vertex() 79 ib.count = split->max_index - split->min_index + 1; in flush_vertex() 80 ib.ptr = (const void *)((const char *)ib.ptr + in flush_vertex() 81 (split->min_index << ib.index_size_shift)); in flush_vertex() 94 split->ib ? &ib : NULL, in flush_vertex() 95 !split->ib, in flush_vertex() 211 else if (split->ib == NULL) { in split_prims() [all …]
|
D | t_draw.c | 345 const struct _mesa_index_buffer *ib, in bind_indices() argument 354 if (!ib) { in bind_indices() 359 if (ib->obj) { in bind_indices() 360 if (!_mesa_bufferobj_mapped(ib->obj, MAP_INTERNAL)) { in bind_indices() 362 bo[*nr_bo] = ib->obj; in bind_indices() 364 ptr = ctx->Driver.MapBufferRange(ctx, (GLsizeiptr) ib->ptr, in bind_indices() 365 ib->count << ib->index_size_shift, in bind_indices() 366 GL_MAP_READ_BIT, ib->obj, in bind_indices() 368 assert(ib->obj->Mappings[MAP_INTERNAL].Pointer); in bind_indices() 371 ptr = ADD_POINTERS(ib->obj->Mappings[MAP_INTERNAL].Pointer, ib->ptr); in bind_indices() [all …]
|
D | t_split_copy.c | 59 const struct _mesa_index_buffer *ib; member 152 const struct _mesa_index_buffer *ib) in dump_draw_info() argument 160 printf(" IB: %p\n", (void*) ib); in dump_draw_info() 472 if (copy->ib->obj) { in replay_init() 473 if (!_mesa_bufferobj_mapped(copy->ib->obj, MAP_INTERNAL)) in replay_init() 474 ctx->Driver.MapBufferRange(ctx, 0, copy->ib->obj->Size, GL_MAP_READ_BIT, in replay_init() 475 copy->ib->obj, MAP_INTERNAL); in replay_init() 478 ADD_POINTERS(copy->ib->obj->Mappings[MAP_INTERNAL].Pointer, in replay_init() 479 copy->ib->ptr); in replay_init() 481 srcptr = copy->ib->ptr; in replay_init() [all …]
|
D | t_split.c | 106 const struct _mesa_index_buffer *ib, in _tnl_split_prims() argument 114 if (ib) { in _tnl_split_prims() 132 _tnl_split_copy(ctx, arrays, prim, nr_prims, ib, draw, limits); in _tnl_split_prims() 134 else if (ib->count > limits->max_indices) { in _tnl_split_prims() 139 _tnl_split_inplace(ctx, arrays, prim, nr_prims, ib, in _tnl_split_prims() 153 _tnl_split_inplace(ctx, arrays, prim, nr_prims, ib, in _tnl_split_prims()
|
D | tnl.h | 106 const struct _mesa_index_buffer *ib, 116 const struct _mesa_index_buffer *ib, 172 const struct _mesa_index_buffer *ib, 199 const struct _mesa_index_buffer *ib,
|
/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_primitive_restart.c | 166 const struct _mesa_index_buffer *ib, in vbo_sw_primitive_restart_common_start() argument 184 GLboolean map_ib = ib->obj && !ib->obj->Mappings[MAP_INTERNAL].Pointer; in vbo_sw_primitive_restart_common_start() 212 new_ib = *ib; in vbo_sw_primitive_restart_common_start() 216 ib = &new_ib; in vbo_sw_primitive_restart_common_start() 225 ctx->Driver.MapBufferRange(ctx, 0, ib->obj->Size, GL_MAP_READ_BIT, in vbo_sw_primitive_restart_common_start() 226 ib->obj, MAP_INTERNAL); in vbo_sw_primitive_restart_common_start() 229 if (ib->obj) in vbo_sw_primitive_restart_common_start() 230 ptr = ADD_POINTERS(ib->obj->Mappings[MAP_INTERNAL].Pointer, ib->ptr); in vbo_sw_primitive_restart_common_start() 232 ptr = ib->ptr; in vbo_sw_primitive_restart_common_start() 234 sub_prims = find_sub_primitives(ptr, 1 << ib->index_size_shift, in vbo_sw_primitive_restart_common_start() [all …]
|
D | brw_draw_upload.c | 733 const struct _mesa_index_buffer *index_buffer = brw->ib.ib; in brw_upload_indices() 735 struct brw_bo *old_bo = brw->ib.bo; in brw_upload_indices() 754 &brw->ib.bo, &offset); in brw_upload_indices() 755 brw->ib.size = brw->ib.bo->size; in brw_upload_indices() 762 if (bo != brw->ib.bo) { in brw_upload_indices() 763 brw_bo_unreference(brw->ib.bo); in brw_upload_indices() 764 brw->ib.bo = bo; in brw_upload_indices() 765 brw->ib.size = bufferobj->Size; in brw_upload_indices() 774 brw->ib.start_vertex_offset = offset / ib_type_size; in brw_upload_indices() 776 if (brw->ib.bo != old_bo) in brw_upload_indices() [all …]
|
/third_party/ntfs-3g/libntfs-3g/ |
D | index.c | 83 static int ntfs_ib_write(ntfs_index_context *icx, INDEX_BLOCK *ib) in ntfs_ib_write() argument 85 s64 ret, vcn = sle64_to_cpu(ib->index_block_vcn); in ntfs_ib_write() 90 1, icx->block_size, ib); in ntfs_ib_write() 102 if (ntfs_ib_write(icx, icx->ib)) in ntfs_icx_ib_write() 155 ntfs_ib_write(icx, icx->ib); in ntfs_index_ctx_free() 157 free(icx->ib); in ntfs_index_ctx_free() 460 int ntfs_index_block_inconsistent(const INDEX_BLOCK *ib, u32 block_size, in ntfs_index_block_inconsistent() argument 463 u32 ib_size = (unsigned)le32_to_cpu(ib->index.allocated_size) in ntfs_index_block_inconsistent() 466 if (!ntfs_is_indx_record(ib->magic)) { in ntfs_index_block_inconsistent() 473 if (sle64_to_cpu(ib->index_block_vcn) != vcn) { in ntfs_index_block_inconsistent() [all …]
|
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_vbo_t.c | 59 vbo_init_arrays(struct gl_context *ctx, const struct _mesa_index_buffer *ib, in vbo_init_arrays() argument 66 if (ib) { in vbo_init_arrays() 69 if (ib->index_size_shift == 2) in vbo_init_arrays() 71 else if (ib->index_size_shift == 1) in vbo_init_arrays() 76 nouveau_init_array(&render->ib, 0, 0, ib->count, ib_type, in vbo_init_arrays() 77 ib->obj, ib->ptr, GL_TRUE, ctx); in vbo_init_arrays() 96 vbo_deinit_arrays(struct gl_context *ctx, const struct _mesa_index_buffer *ib, in vbo_deinit_arrays() argument 102 if (ib) in vbo_deinit_arrays() 103 nouveau_cleanup_array(&render->ib); in vbo_deinit_arrays() 244 const struct _mesa_index_buffer *ib, [all …]
|
D | nouveau_render_t.c | 42 BATCH_OUT_I16(r->ib.extract_u(&r->ib, 0, i) + d, \ 43 r->ib.extract_u(&r->ib, 0, i + 1) + d) 45 BATCH_OUT_I32(r->ib.extract_u(&r->ib, 0, i) + d) 149 get_max_vertices(struct gl_context *ctx, const struct _mesa_index_buffer *ib, in get_max_vertices() argument 160 if (ib) { in get_max_vertices() 161 switch (ib->index_size_shift) { in get_max_vertices()
|
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_cs.c | 269 cs->csc->ib[IB_MAIN].ip_type, in amdgpu_cs_get_next_fence() 270 cs->csc->ib[IB_MAIN].ip_instance, in amdgpu_cs_get_next_fence() 271 cs->csc->ib[IB_MAIN].ring); in amdgpu_cs_get_next_fence() 409 return cs->ib[IB_MAIN].ip_type != AMDGPU_HW_IP_UVD && in amdgpu_cs_has_user_fence() 410 cs->ib[IB_MAIN].ip_type != AMDGPU_HW_IP_VCE && in amdgpu_cs_has_user_fence() 411 cs->ib[IB_MAIN].ip_type != AMDGPU_HW_IP_UVD_ENC && in amdgpu_cs_has_user_fence() 412 cs->ib[IB_MAIN].ip_type != AMDGPU_HW_IP_VCN_DEC && in amdgpu_cs_has_user_fence() 413 cs->ib[IB_MAIN].ip_type != AMDGPU_HW_IP_VCN_ENC && in amdgpu_cs_has_user_fence() 414 cs->ib[IB_MAIN].ip_type != AMDGPU_HW_IP_VCN_JPEG; in amdgpu_cs_has_user_fence() 705 struct amdgpu_ib *ib, in amdgpu_ib_new_buffer() argument [all …]
|
/third_party/grpc/src/csharp/Grpc.Tools/ |
D | ProtoCompile.cs | 484 for (int ib = 0, ie; (ie = cmd.IndexOf('\n', ib)) >= 0; ib = ie + 1) in LogToolCommand() 488 if (ib == 0) in LogToolCommand() 494 ib = iep + 1; in LogToolCommand() 498 if (cmd[ib] == '-') in LogToolCommand() 501 int iarg = cmd.IndexOf('=', ib, ie - ib); in LogToolCommand() 505 printer.Append(cmd, ib, ie - ib); in LogToolCommand() 508 printer.Append(cmd, ib, iarg + 1 - ib); in LogToolCommand() 509 ib = iarg + 1; in LogToolCommand() 512 PrintQuoting(cmd, ib, ie - ib); in LogToolCommand()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_vsplit_tmp.h | 40 const ELT_TYPE *ib = (const ELT_TYPE *) draw->pt.user.elts; in CONCAT() local 57 if (min_index == 0 && sizeof(ib[0]) == sizeof(draw_elts[0])) { in CONCAT() 62 ELT_TYPE idx = DRAW_GET_IDX(ib, start + i); in CONCAT() 67 draw_elts = (const ushort *) (ib + istart); in CONCAT() 98 ELT_TYPE idx = DRAW_GET_IDX(ib, i + start); in CONCAT() 108 ELT_TYPE idx = DRAW_GET_IDX(ib, i + start); in CONCAT() 139 const ELT_TYPE *ib = (const ELT_TYPE *) draw->pt.user.elts; in CONCAT() local 150 ADD_CACHE(vsplit, ib, 0, ispoken, 0); in CONCAT() 153 ADD_CACHE(vsplit, ib, istart, i, 0); in CONCAT() 157 ADD_CACHE(vsplit, ib, 0, iclose, 0); in CONCAT() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/ |
D | pooling_grad.c | 38 for (int ib = 0; ib < count; ib++) { in AvgPoolingGrad() local 39 float *out = output_ptr + ib * in_h * in_w * channel; in AvgPoolingGrad() 40 const float *inPtr = input_ptr + ib * output_h * output_w * channel; in AvgPoolingGrad() 116 for (int ib = 0; ib < output_batch; ib++) { in MaxPoolingGrad() local 117 float *out = output_ptr + ib * in_h * in_w * channel; in MaxPoolingGrad() 118 const float *inPtr = input_ptr + ib * in_h * in_w * channel; in MaxPoolingGrad() 119 const float *dyPtr = dy_ptr + ib * output_h * output_w * channel; in MaxPoolingGrad()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | SpillPlacement.cpp | 271 unsigned ib = bundles->getBundle(I->Number, false); in addConstraints() local 272 activate(ib); in addConstraints() 273 nodes[ib].addBias(Freq, I->Entry); in addConstraints() 292 unsigned ib = bundles->getBundle(*I, false); in addPrefSpill() local 294 activate(ib); in addPrefSpill() 296 nodes[ib].addBias(Freq, PrefSpill); in addPrefSpill() 305 unsigned ib = bundles->getBundle(Number, false); in addLinks() local 309 if (ib == ob) in addLinks() 311 activate(ib); in addLinks() 314 nodes[ib].addLink(ob, Freq); in addLinks() [all …]
|
/third_party/typescript/tests/baselines/reference/ |
D | classdecl.symbols | 85 export interface ib { 86 >ib : Symbol(ib, Decl(classdecl.ts, 42, 5)) 100 export class ib2 implements m1.ib { 102 >m1.ib : Symbol(m1.ib, Decl(classdecl.ts, 42, 5)) 104 >ib : Symbol(m1.ib, Decl(classdecl.ts, 42, 5)) 116 class ib2 implements m1.ib { 118 >m1.ib : Symbol(m1.ib, Decl(classdecl.ts, 42, 5)) 120 >ib : Symbol(m1.ib, Decl(classdecl.ts, 42, 5))
|
D | classdecl.js | 47 export interface ib { 56 export class ib2 implements m1.ib { 64 class ib2 implements m1.ib { 239 interface ib { 246 class ib2 implements m1.ib { 252 declare class ib2 implements m1.ib {
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16_grad/ |
D | pooling_grad.c | 38 for (int ib = 0; ib < count; ib++) { in AvgPoolingFp16Grad() local 39 float16_t *out = &output_ptr[(ib * in_h * in_w * channel)]; in AvgPoolingFp16Grad() 40 const float16_t *inPtr = &input_ptr[(ib * output_h * output_w * channel)]; in AvgPoolingFp16Grad() 119 for (int ib = 0; ib < output_batch; ib++) { in MaxPoolingFp16Grad() local 120 float16_t *out = &output_ptr[(ib * in_h * in_w * channel)]; in MaxPoolingFp16Grad() 121 const float16_t *inPtr = &input_ptr[(ib * in_h * in_w * channel)]; in MaxPoolingFp16Grad() 122 const float16_t *dyPtr = &dy_ptr[(ib * output_h * output_w * channel)]; in MaxPoolingFp16Grad()
|
/third_party/mesa3d/bin/pick/ |
D | ui.py | 113 …commit_list: typing.List['urwid.Button'] = attr.ib(factory=lambda: urwid.SimpleFocusListWalker([])… 114 …feedback_box: typing.List['urwid.Text'] = attr.ib(factory=lambda: urwid.SimpleFocusListWalker([]),… 115 …header: 'urwid.Text' = attr.ib(factory=lambda: urwid.Text('Mesa Stable Picker', align='center'), i… 116 body: 'urwid.Columns' = attr.ib(attr.Factory(lambda s: s._make_body(), True), init=False) 117 footer: 'urwid.Columns' = attr.ib(attr.Factory(lambda s: s._make_footer(), True), init=False) 118 root: RootWidget = attr.ib(attr.Factory(lambda s: s._make_root(), True), init=False) 119 mainloop: urwid.MainLoop = attr.ib(None, init=False) 121 previous_commits: typing.List['core.Commit'] = attr.ib(factory=list, init=False) 122 new_commits: typing.List['core.Commit'] = attr.ib(factory=list, init=False) 123 git_lock: asyncio.Lock = attr.ib(factory=asyncio.Lock, init=False)
|
/third_party/boost/libs/multiprecision/test/ |
D | test_cpp_rat_serial.cpp | 89 boost::archive::binary_iarchive ib(ss); in test_neg() local 90 ib >> val2; in test_neg() 99 boost::archive::xml_iarchive ib(ss); in test_neg() local 100 ib >> boost::serialization::make_nvp("value", val2); in test_neg() 147 boost::archive::binary_iarchive ib(ss); in test() local 148 ib >> val2; in test()
|
/third_party/mindspore/tests/st/ops/graph_kernel/ |
D | test_user_define.py | 87 ib = tvm.ir_builder.create() 88 with ib.for_range_n(data_1.shape, "i") as i: 89 ib.store(dst, i, ib.load(data_1, i) + ib.load(data_2, i)) 90 return ib.get()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_draw.c | 753 struct pipe_resource *ib) in validate_index_buffer() argument 757 svga_buffer_handle(svga, ib, PIPE_BIND_INDEX_BUFFER); in validate_index_buffer() 762 struct svga_buffer *sbuf = svga_buffer(ib); in validate_index_buffer() 768 if (ib != svga->state.hw_draw.ib || in validate_index_buffer() 780 pipe_resource_reference(&svga->state.hw_draw.ib, ib); in validate_index_buffer() 807 struct pipe_resource *ib, in draw_vgpu10() argument 857 if (ib) { in draw_vgpu10() 858 ret = validate_index_buffer(hwtnl, range, ib); in draw_vgpu10() 882 if (ib) { in draw_vgpu10() 911 svga->state.hw_draw.ib != NULL) { in draw_vgpu10() [all …]
|