Home
last modified time | relevance | path

Searched refs:bld (Results 1 – 25 of 88) sorted by relevance

1234

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_surface_builder.cpp38 emit_send(const fs_builder &bld, enum opcode opcode, in emit_send() argument
46 const fs_reg usurface = bld.emit_uniformize(surface); in emit_send()
50 const fs_reg dst = bld.vgrf(BRW_REGISTER_TYPE_UD, rsize); in emit_send()
51 fs_inst *inst = bld.emit(opcode, dst, srcs, ARRAY_SIZE(srcs)); in emit_send()
65 emit_untyped_read(const fs_builder &bld, in emit_untyped_read() argument
70 return emit_send(bld, SHADER_OPCODE_UNTYPED_SURFACE_READ_LOGICAL, in emit_untyped_read()
80 emit_untyped_write(const fs_builder &bld, const fs_reg &surface, in emit_untyped_write() argument
85 emit_send(bld, SHADER_OPCODE_UNTYPED_SURFACE_WRITE_LOGICAL, in emit_untyped_write()
95 emit_untyped_atomic(const fs_builder &bld, in emit_untyped_atomic() argument
106 const fs_reg tmp = bld.vgrf(BRW_REGISTER_TYPE_UD, n); in emit_untyped_atomic()
[all …]
Dbrw_vec4_surface_builder.cpp35 emit_stride(const vec4_builder &bld, const src_reg &src, unsigned size, in emit_stride() argument
41 const dst_reg dst = bld.vgrf(src.type, in emit_stride()
45 bld.MOV(writemask(offset(dst, 8, i * dst_stride / 4), in emit_stride()
61 emit_insert(const vec4_builder &bld, const src_reg &src, in emit_insert() argument
70 const dst_reg tmp = bld.vgrf(src.type); in emit_insert()
72 bld.MOV(writemask(tmp, mask), src); in emit_insert()
74 bld.MOV(writemask(tmp, ~mask), brw_imm_d(0)); in emit_insert()
76 return emit_stride(bld, src_reg(tmp), n, has_simd4x2 ? 1 : 4, 1); in emit_insert()
87 emit_extract(const vec4_builder &bld, const src_reg src, in emit_extract() argument
94 return emit_stride(bld, src, n, 1, has_simd4x2 ? 1 : 4); in emit_extract()
[all …]
Dbrw_fs_nir.cpp61 fs_reg reg = bld.vgrf(BRW_REGISTER_TYPE_F, 4 * vec4s); in nir_setup_outputs()
64 outputs[var->data.driver_location + i] = offset(reg, bld, 4 * i); in nir_setup_outputs()
133 const fs_builder abld = v->bld.annotate("gl_InvocationID", NULL); in emit_system_values_block()
175 v->bld.annotate("gl_HelperInvocation", NULL); in emit_system_values_block()
260 nir_locals[reg->index] = bld.vgrf(reg_type, size); in nir_emit_impl()
297 fs_inst *inst = bld.MOV(bld.null_reg_d(), in nir_emit_if()
302 bld.IF(BRW_PREDICATE_NORMAL); in nir_emit_if()
307 bld.emit(BRW_OPCODE_ELSE); in nir_emit_if()
311 bld.emit(BRW_OPCODE_ENDIF); in nir_emit_if()
317 bld.emit(BRW_OPCODE_DO); in nir_emit_loop()
[all …]
Dtest_fs_cmod_propagation.cpp103 const fs_builder &bld = v->bld; in TEST_F() local
108 bld.ADD(dest, src0, src1); in TEST_F()
109 bld.CMP(bld.null_reg_f(), dest, zero, BRW_CONDITIONAL_GE); in TEST_F()
135 const fs_builder &bld = v->bld; in TEST_F() local
140 bld.ADD(dest, src0, src1); in TEST_F()
141 bld.CMP(bld.null_reg_f(), dest, nonzero, BRW_CONDITIONAL_GE); in TEST_F()
168 const fs_builder &bld = v->bld; in TEST_F() local
172 bld.FBL(dest, src0); in TEST_F()
173 bld.CMP(bld.null_reg_ud(), dest, zero, BRW_CONDITIONAL_GE); in TEST_F()
200 const fs_builder &bld = v->bld; in TEST_F() local
[all …]
Dtest_vec4_cmod_propagation.cpp145 const vec4_builder bld = vec4_builder(v).at_end(); in TEST_F() local
150 dst_reg dest_null = bld.null_reg_f(); in TEST_F()
153 bld.ADD(dest, src0, src1); in TEST_F()
154 bld.CMP(dest_null, src_reg(dest), zero, BRW_CONDITIONAL_GE); in TEST_F()
181 const vec4_builder bld = vec4_builder(v).at_end(); in TEST_F() local
186 dst_reg dest_null = bld.null_reg_f(); in TEST_F()
188 bld.ADD(dest, src0, src1); in TEST_F()
189 bld.CMP(dest_null, src_reg(dest), zero, BRW_CONDITIONAL_GE); in TEST_F()
218 const vec4_builder bld = vec4_builder(v).at_end(); in TEST_F() local
224 bld.CMP(retype(dest, BRW_REGISTER_TYPE_F), src0, zero, BRW_CONDITIONAL_L); in TEST_F()
[all …]
Dtest_fs_saturate_propagation.cpp103 const fs_builder &bld = v->bld; in TEST_F() local
108 bld.ADD(dst0, src0, src1); in TEST_F()
109 set_saturate(true, bld.MOV(dst1, dst0)); in TEST_F()
138 const fs_builder &bld = v->bld; in TEST_F() local
144 bld.ADD(dst0, src0, src1); in TEST_F()
145 set_saturate(true, bld.MOV(dst1, dst0)); in TEST_F()
146 bld.ADD(dst2, dst0, src0); in TEST_F()
176 const fs_builder &bld = v->bld; in TEST_F() local
181 bld.ADD(dst0, src0, src1) in TEST_F()
183 set_saturate(true, bld.MOV(dst1, dst0)); in TEST_F()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_blend_aos.c94 lp_build_blend_factor_unswizzled(struct lp_build_blend_aos_context *bld, in lp_build_blend_factor_unswizzled() argument
98 LLVMValueRef src_alpha = bld->src_alpha ? bld->src_alpha : bld->src; in lp_build_blend_factor_unswizzled()
99 LLVMValueRef src1_alpha = bld->src1_alpha ? bld->src1_alpha : bld->src1; in lp_build_blend_factor_unswizzled()
100 LLVMValueRef const_alpha = bld->const_alpha ? bld->const_alpha : bld->const_; in lp_build_blend_factor_unswizzled()
104 return bld->base.zero; in lp_build_blend_factor_unswizzled()
106 return bld->base.one; in lp_build_blend_factor_unswizzled()
108 return bld->src; in lp_build_blend_factor_unswizzled()
113 return bld->dst; in lp_build_blend_factor_unswizzled()
116 return bld->base.one; in lp_build_blend_factor_unswizzled()
122 if (!bld->has_dst_alpha) { in lp_build_blend_factor_unswizzled()
[all …]
Dlp_bld_interp.c160 coeffs_init_simple(struct lp_build_interp_soa_context *bld, in coeffs_init_simple() argument
165 struct lp_build_context *coeff_bld = &bld->coeff_bld; in coeffs_init_simple()
166 struct lp_build_context *setup_bld = &bld->setup_bld; in coeffs_init_simple()
171 for (attrib = 0; attrib < bld->num_attribs; ++attrib) { in coeffs_init_simple()
183 const unsigned interp = bld->interp[attrib]; in coeffs_init_simple()
227 bld->a0aos[attrib] = a0aos; in coeffs_init_simple()
228 bld->dadxaos[attrib] = dadxaos; in coeffs_init_simple()
229 bld->dadyaos[attrib] = dadyaos; in coeffs_init_simple()
238 attribs_update_simple(struct lp_build_interp_soa_context *bld, in attribs_update_simple() argument
245 struct lp_build_context *coeff_bld = &bld->coeff_bld; in attribs_update_simple()
[all …]
Dlp_bld_blend.c92 lp_build_blend_func(struct lp_build_context *bld, in lp_build_blend_func() argument
99 return lp_build_add(bld, term1, term2); in lp_build_blend_func()
101 return lp_build_sub(bld, term1, term2); in lp_build_blend_func()
103 return lp_build_sub(bld, term2, term1); in lp_build_blend_func()
105 return lp_build_min(bld, term1, term2); in lp_build_blend_func()
107 return lp_build_max(bld, term1, term2); in lp_build_blend_func()
110 return bld->zero; in lp_build_blend_func()
136 lp_build_blend(struct lp_build_context *bld, in lp_build_blend() argument
154 return lp_build_lerp(bld, src_factor, dst, src, 0); in lp_build_blend()
156 return lp_build_lerp(bld, dst_factor, src, dst, 0); in lp_build_blend()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_aos.c75 struct lp_build_tgsi_aos_context *bld = lp_aos_context(bld_base); in swizzle_aos() local
82 swizzles[bld->inv_swizzles[0]] = bld->swizzles[swizzle_x]; in swizzle_aos()
83 swizzles[bld->inv_swizzles[1]] = bld->swizzles[swizzle_y]; in swizzle_aos()
84 swizzles[bld->inv_swizzles[2]] = bld->swizzles[swizzle_z]; in swizzle_aos()
85 swizzles[bld->inv_swizzles[3]] = bld->swizzles[swizzle_w]; in swizzle_aos()
87 return lp_build_swizzle_aos(&bld->bld_base.base, a, swizzles); in swizzle_aos()
92 swizzle_scalar_aos(struct lp_build_tgsi_aos_context *bld, in swizzle_scalar_aos() argument
96 chan = bld->swizzles[chan]; in swizzle_scalar_aos()
97 return lp_build_swizzle_scalar_aos(&bld->bld_base.base, a, chan, 4); in swizzle_scalar_aos()
108 struct lp_build_tgsi_aos_context * bld = lp_aos_context(bld_base); in emit_fetch_constant() local
[all …]
Dlp_bld_arit.c90 lp_build_min_simple(struct lp_build_context *bld, in lp_build_min_simple() argument
95 const struct lp_type type = bld->type; in lp_build_min_simple()
223 min = lp_build_intrinsic_binary_anylength(bld->gallivm, intrinsic, in lp_build_min_simple()
227 isnan = lp_build_isnan(bld, b); in lp_build_min_simple()
228 return lp_build_select(bld, isnan, a, min); in lp_build_min_simple()
231 isnan = lp_build_isnan(bld, a); in lp_build_min_simple()
232 return lp_build_select(bld, isnan, a, min); in lp_build_min_simple()
235 return lp_build_intrinsic_binary_anylength(bld->gallivm, intrinsic, in lp_build_min_simple()
244 LLVMValueRef isnan = lp_build_isnan(bld, b); in lp_build_min_simple()
245 cond = lp_build_cmp(bld, PIPE_FUNC_LESS, a, b); in lp_build_min_simple()
[all …]
Dlp_bld_sample_aos.c78 lp_build_sample_wrap_nearest_int(struct lp_build_sample_context *bld, in lp_build_sample_wrap_nearest_int() argument
90 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; in lp_build_sample_wrap_nearest_int()
91 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_sample_wrap_nearest_int()
101 struct lp_build_context *coord_bld = &bld->coord_bld; in lp_build_sample_wrap_nearest_int()
145 lp_build_sample_wrap_nearest_float(struct lp_build_sample_context *bld, in lp_build_sample_wrap_nearest_float() argument
153 struct lp_build_context *coord_bld = &bld->coord_bld; in lp_build_sample_wrap_nearest_float()
171 if (bld->static_sampler_state->normalized_coords) { in lp_build_sample_wrap_nearest_float()
201 lp_build_coord_repeat_npot_linear_int(struct lp_build_sample_context *bld, in lp_build_coord_repeat_npot_linear_int() argument
208 struct lp_build_context *coord_bld = &bld->coord_bld; in lp_build_coord_repeat_npot_linear_int()
209 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; in lp_build_coord_repeat_npot_linear_int()
[all …]
Dlp_bld_arit.h52 lp_build_comp(struct lp_build_context *bld,
56 lp_build_add(struct lp_build_context *bld,
61 lp_build_horizontal_add(struct lp_build_context *bld,
65 lp_build_hadd_partial4(struct lp_build_context *bld,
70 lp_build_sub(struct lp_build_context *bld,
75 lp_build_mul(struct lp_build_context *bld,
80 lp_build_mul_32_lohi_cpu(struct lp_build_context *bld,
86 lp_build_mul_32_lohi(struct lp_build_context *bld,
92 lp_build_mul_imm(struct lp_build_context *bld,
97 lp_build_div(struct lp_build_context *bld,
[all …]
Dlp_bld_bitarit.c41 lp_build_or(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) in lp_build_or() argument
43 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_or()
44 const struct lp_type type = bld->type; in lp_build_or()
52 a = LLVMBuildBitCast(builder, a, bld->int_vec_type, ""); in lp_build_or()
53 b = LLVMBuildBitCast(builder, b, bld->int_vec_type, ""); in lp_build_or()
59 res = LLVMBuildBitCast(builder, res, bld->vec_type, ""); in lp_build_or()
67 lp_build_xor(struct lp_build_context *bld, LLVMValueRef a, LLVMValueRef b) in lp_build_xor() argument
69 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_xor()
70 const struct lp_type type = bld->type; in lp_build_xor()
78 a = LLVMBuildBitCast(builder, a, bld->int_vec_type, ""); in lp_build_xor()
[all …]
Dlp_bld_tgsi_soa.c178 LLVMTypeRef int_type = LLVMInt32TypeInContext(mask->bld->gallivm->context); in lp_exec_mask_function_init()
179 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_mask_function_init()
190 ctx->loop_limiter = lp_build_alloca(mask->bld->gallivm, in lp_exec_mask_function_init()
198 static void lp_exec_mask_init(struct lp_exec_mask *mask, struct lp_build_context *bld) in lp_exec_mask_init() argument
200 mask->bld = bld; in lp_exec_mask_init()
206 mask->int_vec_type = lp_build_int_vec_type(bld->gallivm, mask->bld->type); in lp_exec_mask_init()
224 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_mask_update()
269 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_mask_cond_push()
290 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_mask_cond_invert()
324 LLVMBuilderRef builder = mask->bld->gallivm->builder; in lp_exec_bgnloop()
[all …]
Dlp_bld_sample.c209 lp_build_rho(struct lp_build_sample_context *bld, in lp_build_rho() argument
217 struct gallivm_state *gallivm = bld->gallivm; in lp_build_rho()
218 struct lp_build_context *int_size_bld = &bld->int_size_in_bld; in lp_build_rho()
219 struct lp_build_context *float_size_bld = &bld->float_size_in_bld; in lp_build_rho()
220 struct lp_build_context *float_bld = &bld->float_bld; in lp_build_rho()
221 struct lp_build_context *coord_bld = &bld->coord_bld; in lp_build_rho()
222 struct lp_build_context *rho_bld = &bld->lodf_bld; in lp_build_rho()
223 const unsigned dims = bld->dims; in lp_build_rho()
225 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_rho()
226 LLVMTypeRef i32t = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_rho()
[all …]
Dlp_bld_sample_soa.c76 lp_build_sample_texel_soa(struct lp_build_sample_context *bld, in lp_build_sample_texel_soa() argument
89 const struct lp_static_sampler_state *static_state = bld->static_sampler_state; in lp_build_sample_texel_soa()
90 const unsigned dims = bld->dims; in lp_build_sample_texel_soa()
91 struct lp_build_context *int_coord_bld = &bld->int_coord_bld; in lp_build_sample_texel_soa()
92 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_sample_texel_soa()
140 lp_build_sample_offset(&bld->int_coord_bld, in lp_build_sample_texel_soa()
141 bld->format_desc, in lp_build_sample_texel_soa()
145 offset = lp_build_add(&bld->int_coord_bld, offset, mipoffsets); in lp_build_sample_texel_soa()
157 offset = lp_build_andnot(&bld->int_coord_bld, offset, use_border); in lp_build_sample_texel_soa()
160 lp_build_fetch_rgba_soa(bld->gallivm, in lp_build_sample_texel_soa()
[all …]
Dlp_bld_logic.c221 lp_build_cmp_ordered(struct lp_build_context *bld, in lp_build_cmp_ordered() argument
226 return lp_build_compare_ext(bld->gallivm, bld->type, func, a, b, TRUE); in lp_build_cmp_ordered()
238 lp_build_cmp(struct lp_build_context *bld, in lp_build_cmp() argument
243 return lp_build_compare(bld->gallivm, bld->type, func, a, b); in lp_build_cmp()
251 lp_build_select_bitwise(struct lp_build_context *bld, in lp_build_select_bitwise() argument
256 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_select_bitwise()
257 struct lp_type type = bld->type; in lp_build_select_bitwise()
268 LLVMTypeRef int_vec_type = lp_build_int_vec_type(bld->gallivm, type); in lp_build_select_bitwise()
285 LLVMTypeRef vec_type = lp_build_vec_type(bld->gallivm, type); in lp_build_select_bitwise()
300 lp_build_select(struct lp_build_context *bld, in lp_build_select() argument
[all …]
Dlp_bld_swizzle.c79 lp_build_broadcast_scalar(struct lp_build_context *bld, in lp_build_broadcast_scalar() argument
82 assert(lp_check_elem_type(bld->type, LLVMTypeOf(scalar))); in lp_build_broadcast_scalar()
84 return lp_build_broadcast(bld->gallivm, bld->vec_type, scalar); in lp_build_broadcast_scalar()
155 lp_build_swizzle_scalar_aos(struct lp_build_context *bld, in lp_build_swizzle_scalar_aos() argument
160 LLVMBuilderRef builder = bld->gallivm->builder; in lp_build_swizzle_scalar_aos()
161 const struct lp_type type = bld->type; in lp_build_swizzle_scalar_aos()
165 if(a == bld->undef || a == bld->zero || a == bld->one || num_channels == 1) in lp_build_swizzle_scalar_aos()
178 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_swizzle_scalar_aos()
185 return LLVMBuildShuffleVector(builder, a, bld->undef, LLVMConstVector(shuffles, n), ""); in lp_build_swizzle_scalar_aos()
201 lp_build_const_mask_aos(bld->gallivm, in lp_build_swizzle_scalar_aos()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_lowering_nv50.cpp44 expandIntegerMUL(BuildUtil *bld, Instruction *mul) in expandIntegerMUL() argument
69 bld->setPosition(mul, true); in expandIntegerMUL()
75 t[j] = bld->getSSA(fullSize); in expandIntegerMUL()
78 s[0] = bld->getSSA(fullSize); in expandIntegerMUL()
79 s[1] = bld->getSSA(fullSize); in expandIntegerMUL()
80 bld->mkOp1(OP_ABS, mul->sType, s[0], mul->getSrc(0)); in expandIntegerMUL()
81 bld->mkOp1(OP_ABS, mul->sType, s[1], mul->getSrc(1)); in expandIntegerMUL()
89 i[0] = bld->mkSplit(a, halfSize, s[0]); in expandIntegerMUL()
90 i[1] = bld->mkSplit(b, halfSize, s[1]); in expandIntegerMUL()
93 i[2] = i[3] = bld->mkOp2(OP_MUL, fTy, t[1], a[1], in expandIntegerMUL()
[all …]
Dnv50_ir_lowering_nvc0.cpp50 bld.setPosition(i, false); in handleDIV()
51 def[0] = bld.mkMovToReg(0, i->getSrc(0))->getDef(0); in handleDIV()
52 def[1] = bld.mkMovToReg(1, i->getSrc(1))->getDef(0); in handleDIV()
59 call = bld.mkFlow(OP_CALL, NULL, CC_ALWAYS, NULL); in handleDIV()
60 bld.mkMov(i->getDef(0), def[(i->op == OP_DIV) ? 0 : 1]); in handleDIV()
61 bld.mkClobber(FILE_GPR, (i->op == OP_DIV) ? 0xe : 0xd, 2); in handleDIV()
62 bld.mkClobber(FILE_PREDICATE, (i->dType == TYPE_S32) ? 0xf : 0x3, 0); in handleDIV()
77 bld.setPosition(i, false); in handleRCPRSQ()
81 bld.mkSplit(src, 4, i->getSrc(0)); in handleRCPRSQ()
84 dst[0] = bld.loadImm(NULL, 0); in handleRCPRSQ()
[all …]
Dnv50_ir_lowering_gm107.cpp52 bld.setPosition(i, false); in handlePFETCH()
53 src0 = bld.getSSA(); in handlePFETCH()
56 bld.mkOp2(OP_ADD , TYPE_U32, src0, i->getSrc(0), i->getSrc(1)); in handlePFETCH()
58 bld.mkOp1(OP_MOV , TYPE_U32, src0, i->getSrc(0)); in handlePFETCH()
107 Value *zero = bld.loadImm(bld.getSSA(), 0); in handleManualTXD()
115 crd[c] = bld.getScratch(); in handleManualTXD()
116 tmp = bld.getScratch(); in handleManualTXD()
121 bld.mkOp(OP_QUADON, TYPE_NONE, NULL); in handleManualTXD()
123 bld.mkOp2(OP_SHFL, TYPE_F32, crd[c], i->getSrc(c + array), bld.mkImm(l)); in handleManualTXD()
124 add = bld.mkOp2(OP_QUADOP, TYPE_F32, crd[c], crd[c], zero); in handleManualTXD()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_lower_idiv.c40 convert_instr(nir_builder *bld, nir_alu_instr *alu) in convert_instr() argument
53 bld->cursor = nir_before_instr(&alu->instr); in convert_instr()
55 numer = nir_ssa_for_alu_src(bld, alu, 0); in convert_instr()
56 denom = nir_ssa_for_alu_src(bld, alu, 1); in convert_instr()
59 af = nir_i2f(bld, numer); in convert_instr()
60 bf = nir_i2f(bld, denom); in convert_instr()
61 af = nir_fabs(bld, af); in convert_instr()
62 bf = nir_fabs(bld, bf); in convert_instr()
63 a = nir_iabs(bld, numer); in convert_instr()
64 b = nir_iabs(bld, denom); in convert_instr()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DLocaleBuilderTest.java114 Builder bld = bld_st; in TestLocaleBuilder() local
116 bld.clear(); in TestLocaleBuilder()
123 bld.setLanguage(TESTCASE[tidx][i++]); in TestLocaleBuilder()
125 bld.setScript(TESTCASE[tidx][i++]); in TestLocaleBuilder()
127 bld.setRegion(TESTCASE[tidx][i++]); in TestLocaleBuilder()
129 bld.setVariant(TESTCASE[tidx][i++]); in TestLocaleBuilder()
133 bld.setUnicodeLocaleKeyword(key, type); in TestLocaleBuilder()
135 bld.addUnicodeLocaleAttribute(TESTCASE[tidx][i++]); in TestLocaleBuilder()
139 bld.setExtension(key.charAt(0), value); in TestLocaleBuilder()
141 bld.setExtension(ULocale.PRIVATE_USE_EXTENSION, TESTCASE[tidx][i++]); in TestLocaleBuilder()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DLocaleBuilderTest.java113 Builder bld = bld_st; in TestLocaleBuilder() local
115 bld.clear(); in TestLocaleBuilder()
122 bld.setLanguage(TESTCASE[tidx][i++]); in TestLocaleBuilder()
124 bld.setScript(TESTCASE[tidx][i++]); in TestLocaleBuilder()
126 bld.setRegion(TESTCASE[tidx][i++]); in TestLocaleBuilder()
128 bld.setVariant(TESTCASE[tidx][i++]); in TestLocaleBuilder()
132 bld.setUnicodeLocaleKeyword(key, type); in TestLocaleBuilder()
134 bld.addUnicodeLocaleAttribute(TESTCASE[tidx][i++]); in TestLocaleBuilder()
138 bld.setExtension(key.charAt(0), value); in TestLocaleBuilder()
140 bld.setExtension(ULocale.PRIVATE_USE_EXTENSION, TESTCASE[tidx][i++]); in TestLocaleBuilder()
[all …]

1234