/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_shader.c | 351 struct svga_shader_variant *variant = shader->variants; in svga_search_shader_key() local 355 for ( ; variant; variant = variant->next) { in svga_search_shader_key() 356 if (svga_compile_keys_equal(key, &variant->key)) in svga_search_shader_key() 357 return variant; in svga_search_shader_key() 383 struct svga_shader_variant *variant, in define_gb_shader_vgpu9() argument 394 variant->gb_shader = sws->shader_create(sws, variant->type, in define_gb_shader_vgpu9() 395 variant->tokens, codeLen); in define_gb_shader_vgpu9() 399 if (!variant->gb_shader) in define_gb_shader_vgpu9() 402 ret = SVGA3D_BindGBShader(svga->swc, variant->gb_shader); in define_gb_shader_vgpu9() 412 struct svga_shader_variant *variant, in define_gb_shader_vgpu10() argument [all …]
|
D | svga_state_vs.c | 99 struct svga_shader_variant *variant; in get_compiled_dummy_vertex_shader() local 111 variant = translate_vertex_program(svga, vs, key); in get_compiled_dummy_vertex_shader() 112 return variant; in get_compiled_dummy_vertex_shader() 125 struct svga_shader_variant *variant; in compile_vs() local 128 variant = translate_vertex_program(svga, vs, key); in compile_vs() 129 if (variant == NULL) { in compile_vs() 132 variant = get_compiled_dummy_vertex_shader(svga, vs, key); in compile_vs() 134 else if (svga_shader_too_large(svga, variant)) { in compile_vs() 138 (unsigned) (variant->nr_tokens in compile_vs() 139 * sizeof(variant->tokens[0]))); in compile_vs() [all …]
|
D | svga_state_constants.c | 67 const struct svga_shader_variant *variant, in svga_get_extra_constants_common() argument 74 for (i = 0; i < variant->key.num_textures; i++) { in svga_get_extra_constants_common() 81 if (variant->key.tex[i].unnormalized) { in svga_get_extra_constants_common() 83 assert(variant->key.tex[i].width_height_idx == count); in svga_get_extra_constants_common() 119 const struct svga_shader_variant *variant = svga->state.hw_draw.fs; in svga_get_extra_fs_constants() local 122 count += svga_get_extra_constants_common(svga, variant, in svga_get_extra_fs_constants() 171 const struct svga_shader_variant *variant, in svga_get_clip_plane_constants() argument 179 unsigned clip_planes = variant->key.clip_plane_enable; in svga_get_clip_plane_constants() 202 const struct svga_shader_variant *variant = svga->state.hw_draw.vs; in svga_get_extra_vs_constants() local 207 if (variant->key.vs.need_prescale) { in svga_get_extra_vs_constants() [all …]
|
D | svga_state_ts.c | 45 struct svga_shader_variant *variant; in compile_tcs() local 48 variant = svga_tgsi_vgpu10_translate(svga, &tcs->base, key, in compile_tcs() 50 if (!variant) in compile_tcs() 53 ret = svga_define_shader(svga, variant); in compile_tcs() 55 svga_destroy_shader_variant(svga, variant); in compile_tcs() 59 *out_variant = variant; in compile_tcs() 113 struct svga_shader_variant *variant; in emit_hw_tcs() local 143 variant = svga_search_shader_key(&tcs->base, &key); in emit_hw_tcs() 145 if (!variant) { in emit_hw_tcs() 146 ret = compile_tcs(svga, tcs, &key, &variant); in emit_hw_tcs() [all …]
|
D | svga_state_gs.c | 71 struct svga_shader_variant *variant; in compile_gs() local 74 variant = translate_geometry_program(svga, gs, key); in compile_gs() 75 if (!variant) { in compile_gs() 84 variant = translate_geometry_program(svga, gs, key); in compile_gs() 85 if (!variant) { in compile_gs() 90 ret = svga_define_shader(svga, variant); in compile_gs() 92 svga_destroy_shader_variant(svga, variant); in compile_gs() 96 *out_variant = variant; in compile_gs() 144 struct svga_shader_variant *variant; in emit_hw_gs() local 193 variant = NULL; in emit_hw_gs() [all …]
|
D | svga_shader.h | 404 struct svga_shader_variant *variant); 409 struct svga_shader_variant *variant); 416 struct svga_shader_variant *variant); 426 const struct svga_shader_variant *variant) in svga_shader_too_large() argument 432 if (variant->nr_tokens * sizeof(variant->tokens[0]) in svga_shader_too_large() 485 svga_fs_variant(struct svga_shader_variant *variant) in svga_fs_variant() argument 487 assert(!variant || variant->type == SVGA3D_SHADERTYPE_PS); in svga_fs_variant() 488 return (struct svga_fs_variant *)variant; in svga_fs_variant() 493 svga_tes_variant(struct svga_shader_variant *variant) in svga_tes_variant() argument 495 assert(!variant || variant->type == SVGA3D_SHADERTYPE_DS); in svga_tes_variant() [all …]
|
/external/v8/infra/testing/ |
D | builders.pyl | 12 # * variant 21 # {'name': 'v8testing', 'variant': 'extra', 'shards': 2} 25 # least-qualified test (no variant, no test args) should come first. You may 42 {'name': 'benchmarks', 'variant': 'default'}, 43 {'name': 'v8testing', 'variant': 'default', 'shards': 4}, 44 {'name': 'v8testing', 'variant': 'trusted', 'shards': 4}, 45 {'name': 'mozilla', 'variant': 'default'}, 46 {'name': 'test262', 'variant': 'default', 'shards': 9}, 76 {'name': 'benchmarks', 'variant': 'extra'}, 79 {'name': 'mozilla', 'variant': 'extra'}, [all …]
|
/external/vogar/src/vogar/ |
D | ModeId.java | 115 public boolean supportsVariant(Variant variant) { in supportsVariant() argument 116 if (variant == Variant.DEFAULT) { in supportsVariant() 118 } else if (variant == Variant.X64 || variant == Variant.X32) { in supportsVariant() 137 public String defaultVmCommand(Variant variant) { in defaultVmCommand() argument 138 if (!supportsVariant(variant)) { in defaultVmCommand() 139 throw new AssertionError("Unsupported variant: " + variant + " for " + this); in defaultVmCommand() 145 if (variant == Variant.DEFAULT) { in defaultVmCommand() 147 } else if (variant == Variant.X32) { in defaultVmCommand() 149 } else if (variant == Variant.X64) { in defaultVmCommand() 152 throw throwInvalidVariant(variant); in defaultVmCommand() [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/ |
D | functional-control-flow-to-cfg.mlir | 52 func @testIfThen(%arg0: tensor<!tf.variant>) -> tensor<!tf.variant> { 53 return %arg0 : tensor<!tf.variant> 55 func @testIfElse(%arg0: tensor<!tf.variant>) -> tensor<!tf.variant> { 56 return %arg0 : tensor<!tf.variant> 59 …unc @testIfCasts(%arg0: tensor<i1>, %arg1: tensor<!tf.variant<tensor<f32>>>) -> tensor<!tf.variant… 60 func @testIfCasts(%arg0: tensor<i1>, %arg1: tensor<!tf.variant<tensor<f32>>>) -> tensor<!tf.variant… 63 } : (tensor<i1>, tensor<!tf.variant<tensor<f32>>>) -> tensor<!tf.variant<tensor<f32>>> 64 return %0: tensor<!tf.variant<tensor<f32>>> 68 …1 = "tf.Cast"(%arg1) {Truncate = false} : (tensor<!tf.variant<tensor<f32>>>) -> tensor<!tf.variant> 69 // CHECK: %2 = call @testIfThen(%1) : (tensor<!tf.variant>) -> tensor<!tf.variant> [all …]
|
D | types.mlir | 3 // CHECK: !tf.variant 4 func @variant_without_type(!tf.variant) -> () 6 // CHECK: !tf.variant<tensor<?xf32>> 7 func @variant_with_type(!tf.variant<tensor<?xf32>>) -> () 9 // CHECK: !tf.variant<tensor<3xf32>, tensor<2xi32>> 10 func @variant_with_multiple_types(!tf.variant<tensor<3xf32>, tensor<2xi32>>) -> () 12 // CHECK: tensor<*x!tf.variant<tensor<?xf32>>> 13 func @variant_element_type(tensor<*x!tf.variant<tensor<?xf32>>>) -> () 15 // CHECK: tensor<!tf.variant<tensor<?x!tf.variant<tensor<?xf32>>>>> 16 func @nested_variant(tensor<!tf.variant<tensor<?x!tf.variant<tensor<?xf32>>>>>) -> () [all …]
|
/external/swiftshader/third_party/subzero/tests_lit/llvm2ice_tests/ |
D | nop-insertion.ll | 5 ; Use filetype=asm because this currently depends on the /* variant */ 32 ; PROB50: nop /* variant = 1 */ 34 ; PROB50: nop /* variant = 3 */ 38 ; PROB50: nop /* variant = 1 */ 40 ; PROB50: nop /* variant = 4 */ 42 ; PROB50: nop /* variant = 1 */ 45 ; PROB50: nop /* variant = 0 */ 47 ; PROB50: nop /* variant = 3 */ 49 ; PROB50: nop /* variant = 1 */ 56 ; PROB90: nop /* variant = 1 */ [all …]
|
/external/libcxx/test/std/utilities/variant/variant.variant/variant.ctor/ |
D | copy.pass.cpp | 113 using V = std::variant<int, long>; in test_copy_ctor_sfinae() 117 using V = std::variant<int, NoCopy>; in test_copy_ctor_sfinae() 121 using V = std::variant<int, MoveOnly>; in test_copy_ctor_sfinae() 125 using V = std::variant<int, MoveOnlyNT>; in test_copy_ctor_sfinae() 132 using V = std::variant<int, long>; in test_copy_ctor_sfinae() 136 using V = std::variant<int, NTCopy>; in test_copy_ctor_sfinae() 141 using V = std::variant<int, TCopy>; in test_copy_ctor_sfinae() 145 using V = std::variant<int, TCopyNTMove>; in test_copy_ctor_sfinae() 153 std::variant<int> v(std::in_place_index<0>, 42); in test_copy_ctor_basic() 154 std::variant<int> v2 = v; in test_copy_ctor_basic() [all …]
|
D | move.pass.cpp | 115 using V = std::variant<int, long>; in test_move_noexcept() 119 using V = std::variant<int, MoveOnly>; in test_move_noexcept() 123 using V = std::variant<int, MoveOnlyNT>; in test_move_noexcept() 127 using V = std::variant<int, ThrowsMove>; in test_move_noexcept() 134 using V = std::variant<int, long>; in test_move_ctor_sfinae() 138 using V = std::variant<int, MoveOnly>; in test_move_ctor_sfinae() 142 using V = std::variant<int, MoveOnlyNT>; in test_move_ctor_sfinae() 146 using V = std::variant<int, NoCopy>; in test_move_ctor_sfinae() 153 using V = std::variant<int, long>; in test_move_ctor_sfinae() 157 using V = std::variant<int, NTMove>; in test_move_ctor_sfinae() [all …]
|
D | default.pass.cpp | 50 using V = std::variant<std::monostate, int>; in test_default_ctor_sfinae() 54 using V = std::variant<NonDefaultConstructible, int>; in test_default_ctor_sfinae() 59 using V = std::variant<int &, int>; in test_default_ctor_sfinae() 67 using V = std::variant<int>; in test_default_ctor_noexcept() 71 using V = std::variant<NotNoexcept>; in test_default_ctor_noexcept() 78 using V = std::variant<DefaultCtorThrows, int>; in test_default_ctor_throws() 92 std::variant<int> v; in test_default_ctor_basic() 97 std::variant<int, long> v; in test_default_ctor_basic() 102 std::variant<int, NonDefaultConstructible> v; in test_default_ctor_basic() 107 using V = std::variant<int, long>; in test_default_ctor_basic() [all …]
|
D | T.pass.cpp | 53 using V = std::variant<Dummy, NoThrowT>; in test_T_ctor_noexcept() 57 using V = std::variant<Dummy, ThrowsT>; in test_T_ctor_noexcept() 64 using V = std::variant<long, unsigned>; in test_T_ctor_sfinae() 68 using V = std::variant<std::string, std::string>; in test_T_ctor_sfinae() 72 using V = std::variant<std::string, void *>; in test_T_ctor_sfinae() 77 using V = std::variant<AnyConstructible, NoConstructible>; in test_T_ctor_sfinae() 89 using V = std::variant<int, int &&>; in test_T_ctor_sfinae() 93 using V = std::variant<int, const int &>; in test_T_ctor_sfinae() 101 constexpr std::variant<int> v(42); in test_T_ctor_basic() 106 constexpr std::variant<int, long> v(42l); in test_T_ctor_basic() [all …]
|
D | in_place_type_args.pass.cpp | 37 using V = std::variant<int>; in test_ctor_sfinae() 43 using V = std::variant<int, long, long long>; in test_ctor_sfinae() 49 using V = std::variant<int, long, int *>; in test_ctor_sfinae() 57 using V = std::variant<int, long, int>; in test_ctor_sfinae() 63 using V = std::variant<int, long, int *>; in test_ctor_sfinae() 69 using V = std::variant<int, long, int *>; in test_ctor_sfinae() 80 constexpr std::variant<int> v(std::in_place_type<int>, 42); in test_ctor_basic() 85 constexpr std::variant<int, long> v(std::in_place_type<long>, 42); in test_ctor_basic() 90 constexpr std::variant<int, const int, long> v( in test_ctor_basic() 96 using V = std::variant<const int, volatile int, int>; in test_ctor_basic() [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 74 struct draw_gs_llvm_variant *variant; member 87 struct draw_tcs_llvm_variant *variant; member 101 struct draw_tes_llvm_variant *variant; member 709 create_jit_types(struct draw_llvm_variant *variant) in create_jit_types() argument 711 struct gallivm_state *gallivm = variant->gallivm; in create_jit_types() 722 variant->context_ptr_type = LLVMPointerType(context_type, 0); in create_jit_types() 725 variant->buffer_ptr_type = LLVMPointerType(buffer_type, 0); in create_jit_types() 728 variant->vb_ptr_type = LLVMPointerType(vb_type, 0); in create_jit_types() 733 get_context_ptr_type(struct draw_llvm_variant *variant) in get_context_ptr_type() argument 735 if (!variant->context_ptr_type) in get_context_ptr_type() [all …]
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | TestUtil.java | 28 String variant = locale.getVariant(); in toICUExtendedLocale() local 29 variant = variant.length() == 0 ? ICU_VARIANT : variant + ICU_VARIANT_SUFFIX; in toICUExtendedLocale() 37 return new Locale(locale.getLanguage(), locale.getCountry(), variant); in toICUExtendedLocale() 46 locBld.setVariant(variant); in toICUExtendedLocale() 56 String variant = locale.getVariant(); in isICUExtendedLocale() local 57 if (variant.equals(ICU_VARIANT) || variant.endsWith(ICU_VARIANT_SUFFIX)) { in isICUExtendedLocale() 142 String variant = loc.getVariant(); in isProblematicIBMLocale() local 143 if (variant.startsWith("EURO") || variant.startsWith("PREEURO") in isProblematicIBMLocale() 144 || variant.startsWith("Cyrl") || variant.startsWith("Latn")) { in isProblematicIBMLocale()
|
/external/crosvm/enumn/src/ |
D | lib.rs | 122 for variant in &variants { in testable_derive() 123 match variant.fields { in testable_derive() 126 let span = variant.ident.span(); in testable_derive() 172 let declare_discriminants = variants.iter().map(|variant| { in testable_derive() 173 let variant = &variant.ident; in testable_derive() localVariable 175 const #variant: #repr = #ident::#variant as #repr; in testable_derive() 178 let match_discriminants = variants.iter().map(|variant| { in testable_derive() 179 let variant = &variant.ident; in testable_derive() localVariable 181 discriminant::#variant => Some(#ident::#variant), in testable_derive()
|
/external/libcxx/test/std/utilities/variant/variant.variant/variant.assign/ |
D | move.pass.cpp | 156 using V = std::variant<int>; in test_move_assignment_noexcept() 160 using V = std::variant<MoveOnly>; in test_move_assignment_noexcept() 164 using V = std::variant<int, long>; in test_move_assignment_noexcept() 168 using V = std::variant<int, MoveOnly>; in test_move_assignment_noexcept() 172 using V = std::variant<MoveOnlyNT>; in test_move_assignment_noexcept() 176 using V = std::variant<MoveOnlyOddNothrow>; in test_move_assignment_noexcept() 183 using V = std::variant<int, long>; in test_move_assignment_sfinae() 187 using V = std::variant<int, CopyOnly>; in test_move_assignment_sfinae() 191 using V = std::variant<int, NoCopy>; in test_move_assignment_sfinae() 195 using V = std::variant<int, MoveOnly>; in test_move_assignment_sfinae() [all …]
|
D | T.pass.cpp | 117 using V = std::variant<Dummy, NoThrowT>; in test_T_assignment_noexcept() 121 using V = std::variant<Dummy, ThrowsCtorT>; in test_T_assignment_noexcept() 125 using V = std::variant<Dummy, ThrowsAssignT>; in test_T_assignment_noexcept() 132 using V = std::variant<long, unsigned>; in test_T_assignment_sfinae() 136 using V = std::variant<std::string, std::string>; in test_T_assignment_sfinae() 140 using V = std::variant<std::string, void *>; in test_T_assignment_sfinae() 145 using V = std::variant<int, int &&>; in test_T_assignment_sfinae() 149 using V = std::variant<int, const int &>; in test_T_assignment_sfinae() 157 std::variant<int> v(43); in test_T_assignment_basic() 163 std::variant<int, long> v(43l); in test_T_assignment_basic() [all …]
|
D | copy.pass.cpp | 212 using V = std::variant<CopyMaybeThrows>; in test_copy_assignment_not_noexcept() 216 using V = std::variant<int, CopyDoesThrow>; in test_copy_assignment_not_noexcept() 223 using V = std::variant<int, long>; in test_copy_assignment_sfinae() 227 using V = std::variant<int, CopyOnly>; in test_copy_assignment_sfinae() 231 using V = std::variant<int, NoCopy>; in test_copy_assignment_sfinae() 235 using V = std::variant<int, MoveOnly>; in test_copy_assignment_sfinae() 239 using V = std::variant<int, MoveOnlyNT>; in test_copy_assignment_sfinae() 246 using V = std::variant<int, long>; in test_copy_assignment_sfinae() 250 using V = std::variant<int, NTCopyAssign>; in test_copy_assignment_sfinae() 255 using V = std::variant<int, TCopyAssign>; in test_copy_assignment_sfinae() [all …]
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_pipeline_cache.c | 228 struct v3dv_shader_variant *variant = in v3dv_pipeline_cache_search_for_variant() local 233 fprintf(stderr, "\tcache hit: %p\n", variant); in v3dv_pipeline_cache_search_for_variant() 237 if (variant) in v3dv_pipeline_cache_search_for_variant() 238 v3dv_shader_variant_ref(variant); in v3dv_pipeline_cache_search_for_variant() 241 return variant; in v3dv_pipeline_cache_search_for_variant() 257 struct v3dv_shader_variant *variant) in v3dv_pipeline_cache_upload_variant() argument 267 _mesa_hash_table_search(cache->variant_cache, variant->variant_sha1); in v3dv_pipeline_cache_upload_variant() 274 v3dv_shader_variant_ref(variant); in v3dv_pipeline_cache_upload_variant() 275 _mesa_hash_table_insert(cache->variant_cache, variant->variant_sha1, variant); in v3dv_pipeline_cache_upload_variant() 279 _mesa_sha1_format(sha1buf, variant->variant_sha1); in v3dv_pipeline_cache_upload_variant() [all …]
|
/external/libcxx/test/std/utilities/variant/variant.get/ |
D | get_index.pass.cpp | 45 using V = std::variant<int, const long>; in test_const_lvalue_get() 54 using V = std::variant<int, const long>; in test_const_lvalue_get() 61 using V = std::variant<int, const long>; in test_const_lvalue_get() 70 using V = std::variant<int, const long>; in test_const_lvalue_get() 79 using V = std::variant<int &>; in test_const_lvalue_get() 86 using V = std::variant<int &&>; in test_const_lvalue_get() 93 using V = std::variant<const int &&>; in test_const_lvalue_get() 104 using V = std::variant<int, const long>; in test_lvalue_get() 111 using V = std::variant<int, const long>; in test_lvalue_get() 119 using V = std::variant<int &>; in test_lvalue_get() [all …]
|
D | get_type.pass.cpp | 39 using V = std::variant<int, const long>; in test_const_lvalue_get() 48 using V = std::variant<int, const long>; in test_const_lvalue_get() 55 using V = std::variant<int, const long>; in test_const_lvalue_get() 64 using V = std::variant<int, const long>; in test_const_lvalue_get() 73 using V = std::variant<int &>; in test_const_lvalue_get() 80 using V = std::variant<int &&>; in test_const_lvalue_get() 87 using V = std::variant<const int &&>; in test_const_lvalue_get() 98 using V = std::variant<int, const long>; in test_lvalue_get() 105 using V = std::variant<int, const long>; in test_lvalue_get() 113 using V = std::variant<int &>; in test_lvalue_get() [all …]
|