/third_party/boost/libs/graph/test/ |
D | disjoint_set_test.cpp | 18 std::size_t elts[] in do_test() local 20 std::size_t elts[4] in do_test() 24 const int N = sizeof(elts) / sizeof(*elts); in do_test() 28 ds.make_set(elts[0]); in do_test() 29 ds.make_set(elts[1]); in do_test() 30 ds.make_set(elts[2]); in do_test() 31 ds.make_set(elts[3]); in do_test() 50 BOOST_TEST(1 == ds.count_sets(elts, elts + N)); in do_test() 52 ds.normalize_sets(elts, elts + N); in do_test() 53 ds.compress_sets(elts, elts + N); in do_test() [all …]
|
/third_party/boost/libs/disjoint_sets/test/ |
D | disjoint_set_test.cpp | 18 std::size_t elts[] in do_test() local 20 std::size_t elts[4] in do_test() 24 const int N = sizeof(elts)/sizeof(*elts); in do_test() 28 ds.make_set(elts[0]); in do_test() 29 ds.make_set(elts[1]); in do_test() 30 ds.make_set(elts[2]); in do_test() 31 ds.make_set(elts[3]); in do_test() 51 BOOST_CHECK(1 == ds.count_sets(elts, elts + N)); in do_test() 53 ds.normalize_sets(elts, elts + N); in do_test() 54 ds.compress_sets(elts, elts + N); in do_test() [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv50_push.c | 38 prim_restart_search_i08(uint8_t *elts, unsigned push, uint8_t index) in prim_restart_search_i08() argument 42 if (elts[i] == index) in prim_restart_search_i08() 48 prim_restart_search_i16(uint16_t *elts, unsigned push, uint16_t index) in prim_restart_search_i16() argument 52 if (elts[i] == index) in prim_restart_search_i16() 58 prim_restart_search_i32(uint32_t *elts, unsigned push, uint32_t index) in prim_restart_search_i32() argument 62 if (elts[i] == index) in prim_restart_search_i32() 70 uint8_t *elts = (uint8_t *)ctx->idxbuf + start; in emit_vertices_i08() local 78 nr = prim_restart_search_i08(elts, push, ctx->restart_index); in emit_vertices_i08() 84 PUSH_DATA (ctx->push, *elts + ctx->index_bias); in emit_vertices_i08() 89 ctx->translate->run_elts8(ctx->translate, elts, nr, in emit_vertices_i08() [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
D | nv30_push.c | 56 prim_restart_search_i08(uint8_t *elts, unsigned push, uint8_t index) in prim_restart_search_i08() argument 60 if (elts[i] == index) in prim_restart_search_i08() 66 prim_restart_search_i16(uint16_t *elts, unsigned push, uint16_t index) in prim_restart_search_i16() argument 70 if (elts[i] == index) in prim_restart_search_i16() 76 prim_restart_search_i32(uint32_t *elts, unsigned push, uint32_t index) in prim_restart_search_i32() argument 80 if (elts[i] == index) in prim_restart_search_i32() 88 uint8_t *elts = (uint8_t *)ctx->idxbuf + start; in emit_vertices_i08() local 96 nr = prim_restart_search_i08(elts, push, ctx->restart_index); in emit_vertices_i08() 102 ctx->translate->run_elts8(ctx->translate, elts, nr, 0, 0, ctx->push->cur); in emit_vertices_i08() 106 elts += nr; in emit_vertices_i08() [all …]
|
/third_party/mesa3d/src/mesa/tnl_dd/ |
D | t_dd_dmatmp2.h | 75 GLuint *elts, GLuint nr ) in TAG() 80 for ( i = 0 ; i+1 < nr ; i+=2, elts += 2 ) { in TAG() 81 EMIT_TWO_ELTS( dest, 0, elts[0], elts[1] ); in TAG() 85 EMIT_ELT( dest, 0, elts[0] ); in TAG() 549 GLuint *elts = GET_MESA_ELTS(); in TAG() local 558 dest = TAG(emit_elts)( ctx, dest, elts+j, nr ); in TAG() 573 GLuint *elts = GET_MESA_ELTS(); in TAG() local 595 dest = TAG(emit_elts)( ctx, dest, elts+j, nr ); in TAG() 612 GLuint *elts = GET_MESA_ELTS(); in TAG() local 627 dest = TAG(emit_elts)( ctx, dest, elts+j, nr ); in TAG() [all …]
|
D | t_dd_triemit.h | 132 static void TAG(fast_clipped_poly)( struct gl_context *ctx, const GLuint *elts, in TAG() 138 const GLuint *start = (const GLuint *)VERT(elts[0]); in TAG() 143 PRINT_VERTEX(VERT(elts[0])); in TAG() 144 PRINT_VERTEX(VERT(elts[1])); in TAG() 149 PRINT_VERTEX(VERT(elts[i])); in TAG() 152 COPY_DWORDS( j, vb, vertsize, VERT(elts[i-1]) ); in TAG() 153 COPY_DWORDS( j, vb, vertsize, VERT(elts[i]) ); in TAG()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_vbo_translate.c | 127 prim_restart_search_i08(const uint8_t *elts, unsigned push, uint8_t index) in prim_restart_search_i08() argument 130 for (i = 0; i < push && elts[i] != index; ++i); in prim_restart_search_i08() 135 prim_restart_search_i16(const uint16_t *elts, unsigned push, uint16_t index) in prim_restart_search_i16() argument 138 for (i = 0; i < push && elts[i] != index; ++i); in prim_restart_search_i16() 143 prim_restart_search_i32(const uint32_t *elts, unsigned push, uint32_t index) in prim_restart_search_i32() argument 146 for (i = 0; i < push && elts[i] != index; ++i); in prim_restart_search_i32() 172 ef_toggle_search_i08(struct push_context *ctx, const uint8_t *elts, unsigned n) in ef_toggle_search_i08() argument 177 for (i = 0; i < n && ef_value_8(ctx, elts[i]) == ef; ++i); in ef_toggle_search_i08() 179 for (i = 0; i < n && ef_value_32(ctx, elts[i]) == ef; ++i); in ef_toggle_search_i08() 184 ef_toggle_search_i16(struct push_context *ctx, const uint16_t *elts, unsigned n) in ef_toggle_search_i16() argument [all …]
|
/third_party/mindspore/mindspore/_extends/parse/ |
D | trope.py | 51 def MakeTuple(*elts): # pragma: no cover argument 61 def make_list(*elts): # pragma: no cover argument 66 def make_slice(*elts): # pragma: no cover argument 71 def make_range(*elts): # pragma: no cover argument
|
/third_party/mesa3d/src/gallium/tests/unit/ |
D | translate_test.c | 63 unsigned * elts; in main() local 146 elts = align_malloc(count * sizeof *elts, 4096); in main() 171 elts[i] = i; in main() 271 translate[0]->run_elts(translate[0], elts, count, 0, 0, buffer[1]); in main() 273 translate[1]->run_elts(translate[1], elts, count, 0, 0, buffer[2]); in main() 275 translate[0]->run_elts(translate[0], elts, count, 0, 0, buffer[3]); in main() 277 translate[1]->run_elts(translate[1], elts, count, 0, 0, buffer[4]); in main()
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_vsplit.c | 121 vsplit_add_cache_ubyte(struct vsplit_frontend *vsplit, const ubyte *elts, in vsplit_add_cache_ubyte() argument 127 elt_idx = (unsigned)((int)(DRAW_GET_IDX(elts, elt_idx)) + elt_bias); in vsplit_add_cache_ubyte() 138 vsplit_add_cache_ushort(struct vsplit_frontend *vsplit, const ushort *elts, in vsplit_add_cache_ushort() argument 144 elt_idx = (unsigned)((int)(DRAW_GET_IDX(elts, elt_idx)) + elt_bias); in vsplit_add_cache_ushort() 160 vsplit_add_cache_uint(struct vsplit_frontend *vsplit, const uint *elts, in vsplit_add_cache_uint() argument 169 elt_idx = (unsigned)((int)(DRAW_GET_IDX(elts, elt_idx)) + elt_bias); in vsplit_add_cache_uint()
|
D | draw_pt_fetch_shade_pipeline.c | 168 fetch_info->elts, in fetch() 228 fetch_info->elts); in draw_vertex_shader_run() 405 fetch_info.elts = fetch_elts; in fetch_pipeline_run() 411 prim_info.elts = draw_elts; in fetch_pipeline_run() 434 fetch_info.elts = NULL; in fetch_pipeline_linear_run() 439 prim_info.elts = NULL; in fetch_pipeline_linear_run() 465 fetch_info.elts = NULL; in fetch_pipeline_linear_run_elts() 470 prim_info.elts = draw_elts; in fetch_pipeline_linear_run_elts()
|
D | draw_tess.c | 70 vertex_idx = input_prim_info->elts[vertex_idx]; in llvm_fetch_tcs_input() 181 output_prims->elts = NULL; in draw_tess_ctrl_shader_run() 235 vertex_idx = input_prim_info->elts[vertex_idx]; in llvm_fetch_tes_input() 335 ushort *elts = NULL; in draw_tess_eval_shader_run() local 343 output_prims->elts = NULL; in draw_tess_eval_shader_run() 383 elts = REALLOC(elts, elt_start * sizeof(uint16_t), in draw_tess_eval_shader_run() 387 elts[elt_start + i] = vert_start + data.indices[i]; in draw_tess_eval_shader_run() 410 *elts_out = elts; in draw_tess_eval_shader_run() 411 output_prims->elts = elts; in draw_tess_eval_shader_run()
|
D | draw_pt_fetch_shade_pipeline_llvm.c | 593 const unsigned *elts; in llvm_pipeline_generic() local 623 elts = NULL; in llvm_pipeline_generic() 628 elts = fetch_info->elts; in llvm_pipeline_generic() 640 elts, draw->pt.user.drawid, in llvm_pipeline_generic() 815 fetch_info.elts = fetch_elts; in llvm_middle_end_run() 821 prim_info.elts = draw_elts; in llvm_middle_end_run() 844 fetch_info.elts = NULL; in llvm_middle_end_linear_run() 849 prim_info.elts = NULL; in llvm_middle_end_linear_run() 874 fetch_info.elts = NULL; in llvm_middle_end_linear_run_elts() 879 prim_info.elts = draw_elts; in llvm_middle_end_linear_run_elts()
|
D | draw_prim_assembler.c | 244 #define LOCAL_VARS const ushort *elts = input_prims->elts; 245 #define GET_ELT(idx) (elts[start + (idx)]) 284 output_prims->elts = NULL; in draw_prim_assembler_run()
|
D | draw_pipe.c | 201 #define GET_ELT(idx) (MIN2(elts[idx], max_index)) 210 const ushort *elts, \ 252 unsigned int index = prim_info->elts[start + i]; in draw_pipeline_run() 270 prim_info->elts + start, in draw_pipeline_run()
|
D | draw_pt_emit.c | 144 const ushort *elts = prim_info->elts; in draw_pt_emit() local 203 elts + start, in draw_pt_emit()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceTypes.cpp | 38 #define X(tag, sizeLog2, align, elts, elty, str, rcstr) _table_tag_##tag, argument 53 #define X(tag, sizeLog2, align, elts, elty, str, rcstr) \ argument 72 #define X(tag, sizeLog2, align, elts, elty, str, rcstr) \ argument 73 _table_elts_##tag = elts, 104 #define X(tag, sizeLog2, align, elts, elty, str, rcstr) \ argument 105 {sizeLog2, align, elts, IceType_##elty, str, rcstr},
|
/third_party/python/Python/ |
D | ast_opt.c | 289 make_const_tuple(asdl_expr_seq *elts) in make_const_tuple() argument 291 for (int i = 0; i < asdl_seq_LEN(elts); i++) { in make_const_tuple() 292 expr_ty e = (expr_ty)asdl_seq_GET(elts, i); in make_const_tuple() 298 PyObject *newval = PyTuple_New(asdl_seq_LEN(elts)); in make_const_tuple() 303 for (int i = 0; i < asdl_seq_LEN(elts); i++) { in make_const_tuple() 304 expr_ty e = (expr_ty)asdl_seq_GET(elts, i); in make_const_tuple() 320 newval = make_const_tuple(node->v.Tuple.elts); in fold_tuple() 355 asdl_expr_seq *elts = arg->v.List.elts; in fold_iter() local 356 Py_ssize_t n = asdl_seq_LEN(elts); in fold_iter() 358 expr_ty e = (expr_ty)asdl_seq_GET(elts, i); in fold_iter() [all …]
|
D | ast_unparse.c | 340 elem_count = asdl_seq_LEN(e->v.Set.elts); in append_ast_set() 343 APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Set.elts, i), PR_TEST); in append_ast_set() 355 elem_count = asdl_seq_LEN(e->v.List.elts); in append_ast_list() 358 APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.List.elts, i), PR_TEST); in append_ast_list() 369 elem_count = asdl_seq_LEN(e->v.Tuple.elts); in append_ast_tuple() 379 APPEND_EXPR((expr_ty)asdl_seq_GET(e->v.Tuple.elts, i), PR_TEST); in append_ast_tuple() 792 for (Py_ssize_t i = 0; i < asdl_seq_LEN(slice->v.Tuple.elts); i++) { in append_ast_subscript() 793 expr_ty element = asdl_seq_GET(slice->v.Tuple.elts, i); in append_ast_subscript()
|
/third_party/mesa3d/src/gallium/auxiliary/translate/ |
D | translate.h | 90 const unsigned *elts, 97 const uint16_t *elts, 104 const uint8_t *elts,
|
/third_party/mesa3d/src/mesa/tnl/ |
D | t_split_inplace.c | 222 GLuint *elts = malloc(count * sizeof(GLuint)); in split_prims() local 226 elts[j] = prim->start + j; in split_prims() 231 ib.ptr = elts; in split_prims() 246 free(elts); in split_prims()
|
D | t_draw.c | 380 GLuint *elts = (GLuint *)get_space(ctx, (start + ib->count) * sizeof(GLuint)); in bind_indices() local 381 VB->Elts = elts; in bind_indices() 383 elts += start; in bind_indices() 388 *elts++ = (GLuint)(*in++) + VB->Primitive[0].basevertex; in bind_indices() 393 *elts++ = (GLuint)(*in++) + VB->Primitive[0].basevertex; in bind_indices() 398 *elts++ = (GLuint)(*in++) + VB->Primitive[0].basevertex; in bind_indices()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | DerivedTypes.h | 272 create(StringRef Name, Type *elt1, Tys *... elts) { in create() argument 274 SmallVector<llvm::Type *, 8> StructFields({elt1, elts...}); in create() 291 get(Type *elt1, Tys *... elts) { in get() argument 294 SmallVector<llvm::Type *, 8> StructFields({elt1, elts...}); in get() 328 setBody(Type *elt1, Tys *... elts) { in setBody() argument 330 SmallVector<llvm::Type *, 8> StructFields({elt1, elts...}); in setBody()
|
/third_party/python/Lib/lib2to3/fixes/ |
D | fix_urllib.py | 148 elts = mod_dict[module] 150 for elt in elts[:-1]: 153 names.extend(handle_name(elts[-1], pref))
|
/third_party/libffi/src/sparc/ |
D | ffi64.c | 57 ffi_type **elts; in ffi_struct_float_mask() local 73 for (elts = outer_type->elements; (t = *elts) != NULL; elts++) in ffi_struct_float_mask()
|