/external/mesa3d/src/gallium/drivers/svga/ |
D | svga_shader.c | 265 struct svga_shader_variant *variant = shader->variants; in svga_search_shader_key() local 269 for ( ; variant; variant = variant->next) { in svga_search_shader_key() 270 if (svga_compile_keys_equal(key, &variant->key)) in svga_search_shader_key() 271 return variant; in svga_search_shader_key() 298 struct svga_shader_variant *variant, in define_gb_shader_vgpu9() argument 309 variant->gb_shader = sws->shader_create(sws, type, in define_gb_shader_vgpu9() 310 variant->tokens, codeLen); in define_gb_shader_vgpu9() 312 if (!variant->gb_shader) in define_gb_shader_vgpu9() 315 ret = SVGA3D_BindGBShader(svga->swc, variant->gb_shader); in define_gb_shader_vgpu9() 326 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 108 variant = translate_vertex_program(svga, vs, key); in get_compiled_dummy_vertex_shader() 109 return variant; in get_compiled_dummy_vertex_shader() 122 struct svga_shader_variant *variant; in compile_vs() local 125 variant = translate_vertex_program(svga, vs, key); in compile_vs() 126 if (variant == NULL) { in compile_vs() 129 variant = get_compiled_dummy_vertex_shader(svga, vs, key); in compile_vs() 131 else if (svga_shader_too_large(svga, variant)) { in compile_vs() 135 (unsigned) (variant->nr_tokens in compile_vs() 136 * sizeof(variant->tokens[0]))); in compile_vs() [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, SVGA3D_SHADERTYPE_GS, variant); in compile_gs() 92 svga_destroy_shader_variant(svga, SVGA3D_SHADERTYPE_GS, variant); in compile_gs() 96 *out_variant = variant; in compile_gs() 173 struct svga_shader_variant *variant; in emit_hw_gs() local 220 variant = NULL; in emit_hw_gs() [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() 170 const struct svga_shader_variant *variant, in svga_get_clip_plane_constants() argument 178 unsigned clip_planes = variant->key.clip_plane_enable; in svga_get_clip_plane_constants() 200 const struct svga_shader_variant *variant = svga->state.hw_draw.vs; in svga_get_extra_vs_constants() local 205 if (variant->key.vs.need_prescale) { in svga_get_extra_vs_constants() [all …]
|
D | svga_tgsi.c | 173 struct svga_shader_variant *variant = NULL; in svga_tgsi_vgpu9_translate() local 230 variant = svga_new_shader_variant(svga); in svga_tgsi_vgpu9_translate() 231 if (!variant) in svga_tgsi_vgpu9_translate() 234 variant->shader = shader; in svga_tgsi_vgpu9_translate() 235 variant->tokens = (const unsigned *) emit.buf; in svga_tgsi_vgpu9_translate() 236 variant->nr_tokens = (emit.ptr - emit.buf) / sizeof(unsigned); in svga_tgsi_vgpu9_translate() 237 memcpy(&variant->key, key, sizeof(*key)); in svga_tgsi_vgpu9_translate() 238 variant->id = UTIL_BITMASK_INVALID_INDEX; in svga_tgsi_vgpu9_translate() 240 variant->pstipple_sampler_unit = emit.pstipple_sampler_unit; in svga_tgsi_vgpu9_translate() 246 variant->constant_color_output = in svga_tgsi_vgpu9_translate() [all …]
|
D | svga_state_fs.c | 109 struct svga_shader_variant *variant; in get_compiled_dummy_shader() local 118 variant = translate_fragment_program(svga, fs, key); in get_compiled_dummy_shader() 119 return variant; in get_compiled_dummy_shader() 132 struct svga_shader_variant *variant; in compile_fs() local 135 variant = translate_fragment_program(svga, fs, key); in compile_fs() 136 if (variant == NULL) { in compile_fs() 139 variant = get_compiled_dummy_shader(svga, fs, key); in compile_fs() 141 else if (svga_shader_too_large(svga, variant)) { in compile_fs() 145 (unsigned) (variant->nr_tokens in compile_fs() 146 * sizeof(variant->tokens[0]))); in compile_fs() [all …]
|
/external/vogar/src/vogar/ |
D | ModeId.java | 113 public boolean supportsVariant(Variant variant) { in supportsVariant() argument 114 if (variant == Variant.DEFAULT) { in supportsVariant() 116 } else if (variant == Variant.X64 || variant == Variant.X32) { in supportsVariant() 135 public String defaultVmCommand(Variant variant) { in defaultVmCommand() argument 136 if (!supportsVariant(variant)) { in defaultVmCommand() 137 throw new AssertionError("Unsupported variant: " + variant + " for " + this); in defaultVmCommand() 143 if (variant == Variant.DEFAULT) { in defaultVmCommand() 145 } else if (variant == Variant.X32) { in defaultVmCommand() 147 } else if (variant == Variant.X64) { in defaultVmCommand() 150 throw throwInvalidVariant(variant); in defaultVmCommand() [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/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': 'mozilla', 'variant': 'default'}, 45 {'name': 'test262_variants', 'variant': 'default', 'shards': 6}, 56 {'name': 'benchmarks', 'variant': 'extra'}, 59 {'name': 'mozilla', 'variant': 'extra'}, 61 {'name': 'test262_variants', 'variant': 'extra', 'shards': 3}, [all …]
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_shader.c | 369 struct radv_shader_variant *variant, in radv_fill_shader_variant() argument 373 bool scratch_enabled = variant->config.scratch_bytes_per_wave > 0; in radv_fill_shader_variant() 379 variant->code_size = binary->code_size; in radv_fill_shader_variant() 380 variant->rsrc2 = S_00B12C_USER_SGPR(variant->info.num_user_sgprs) | in radv_fill_shader_variant() 383 variant->rsrc1 = S_00B848_VGPRS((variant->config.num_vgprs - 1) / 4) | in radv_fill_shader_variant() 384 S_00B848_SGPRS((variant->config.num_sgprs - 1) / 8) | in radv_fill_shader_variant() 386 S_00B848_FLOAT_MODE(variant->config.float_mode); in radv_fill_shader_variant() 391 variant->rsrc2 |= S_00B12C_OC_LDS_EN(1); in radv_fill_shader_variant() 395 vgpr_comp_cnt = variant->info.vs.vgpr_comp_cnt; in radv_fill_shader_variant() 397 variant->rsrc2 |= S_00B12C_OC_LDS_EN(1); in radv_fill_shader_variant() [all …]
|
/external/v8/tools/testrunner/local/ |
D | statusfile.py | 78 def get_outcomes(self, testname, variant=None): argument 82 for key in set([variant or '', '']): 112 for testname, variant in tests: 113 variant = variant or '' 115 if testname in self._rules.get(variant, {}): 116 used_rules.add((testname, variant)) 117 if SKIP in self._rules[variant][testname]: 120 for prefix in self._prefix_rules.get(variant, {}): 122 used_rules.add((prefix, variant)) 123 if SKIP in self._prefix_rules[variant][prefix]: [all …]
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 72 struct draw_gs_llvm_variant *variant; member 432 create_jit_types(struct draw_llvm_variant *variant) in create_jit_types() argument 434 struct gallivm_state *gallivm = variant->gallivm; in create_jit_types() 443 variant->context_ptr_type = LLVMPointerType(context_type, 0); in create_jit_types() 446 variant->buffer_ptr_type = LLVMPointerType(buffer_type, 0); in create_jit_types() 449 variant->vb_ptr_type = LLVMPointerType(vb_type, 0); in create_jit_types() 454 get_context_ptr_type(struct draw_llvm_variant *variant) in get_context_ptr_type() argument 456 if (!variant->context_ptr_type) in get_context_ptr_type() 457 create_jit_types(variant); in get_context_ptr_type() 458 return 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/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 | 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 …]
|
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 …]
|
/external/libcxx/test/std/utilities/variant/variant.get/ |
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 …]
|
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 …]
|
/external/libcxx/include/ |
D | variant | 2 //===------------------------------ variant -------------------------------===// 15 variant synopsis 19 // 20.7.2, class template variant 21 class variant { 25 constexpr variant() noexcept(see below); 26 variant(const variant&); // constexpr in C++20 27 variant(variant&&) noexcept(see below); // constexpr in C++20 29 template <class T> constexpr variant(T&&) noexcept(see below); 32 constexpr explicit variant(in_place_type_t<T>, Args&&...); 35 constexpr explicit variant( [all …]
|
/external/libcxx/test/std/utilities/variant/variant.visit/ |
D | visit.pass.cpp | 109 using V = std::variant<int>; in test_call_operator_forwarding() 121 using V = std::variant<int, long, double>; in test_call_operator_forwarding() 133 using V = std::variant<int, long, double>; in test_call_operator_forwarding() 134 using V2 = std::variant<int *, std::string>; in test_call_operator_forwarding() 153 using V = std::variant<int>; in test_argument_forwarding() 167 using V = std::variant<int &>; in test_argument_forwarding() 181 using V = std::variant<int &&>; in test_argument_forwarding() 196 using V = std::variant<int, S, long &&>; in test_argument_forwarding() 229 using V = std::variant<int>; in test_constexpr() 234 using V = std::variant<short, long, char>; in test_constexpr() [all …]
|