Home
last modified time | relevance | path

Searched refs:nfmt (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mesa3d/src/amd/common/
Dac_shader_util.c116 unsigned ac_get_tbuffer_format(enum amd_gfx_level gfx_level, unsigned dfmt, unsigned nfmt) in ac_get_tbuffer_format() argument
131 switch (nfmt) { in ac_get_tbuffer_format()
149 switch (nfmt) { in ac_get_tbuffer_format()
167 switch (nfmt) { in ac_get_tbuffer_format()
185 switch (nfmt) { in ac_get_tbuffer_format()
205 switch (nfmt) { in ac_get_tbuffer_format()
225 switch (nfmt) { in ac_get_tbuffer_format()
245 switch (nfmt) { in ac_get_tbuffer_format()
257 switch (nfmt) { in ac_get_tbuffer_format()
269 switch (nfmt) { in ac_get_tbuffer_format()
[all …]
Dac_shader_util.h100 unsigned ac_get_tbuffer_format(enum amd_gfx_level gfx_level, unsigned dfmt, unsigned nfmt);
/third_party/skia/third_party/externals/icu/source/samples/cal/
Dcal.c431 UNumberFormat *nfmt; in print_month() local
487 nfmt = unum_open(UNUM_DECIMAL, NULL,0,NULL,NULL, status); in print_month()
503 unum_format(nfmt, day, s, BUF_SIZE, 0, status); in print_month()
533 unum_close(nfmt); in print_month()
548 UNumberFormat *nfmt; in print_year() local
599 nfmt = unum_open(UNUM_DECIMAL,NULL, 0,NULL,NULL, status); in print_year()
674 unum_format(nfmt, left_day, s, BUF_SIZE, 0, status); in print_year()
722 unum_format(nfmt, right_day, s, BUF_SIZE, 0, status); in print_year()
762 unum_close(nfmt); in print_year()
/third_party/flutter/skia/third_party/externals/icu/source/samples/cal/
Dcal.c431 UNumberFormat *nfmt; in print_month() local
487 nfmt = unum_open(UNUM_DECIMAL, NULL,0,NULL,NULL, status); in print_month()
503 unum_format(nfmt, day, s, BUF_SIZE, 0, status); in print_month()
533 unum_close(nfmt); in print_month()
548 UNumberFormat *nfmt; in print_year() local
599 nfmt = unum_open(UNUM_DECIMAL,NULL, 0,NULL,NULL, status); in print_year()
674 unum_format(nfmt, left_day, s, BUF_SIZE, 0, status); in print_year()
722 unum_format(nfmt, right_day, s, BUF_SIZE, 0, status); in print_year()
762 unum_close(nfmt); in print_year()
/third_party/icu/icu4c/source/samples/cal/
Dcal.c431 UNumberFormat *nfmt; in print_month() local
487 nfmt = unum_open(UNUM_DECIMAL, NULL,0,NULL,NULL, status); in print_month()
503 unum_format(nfmt, day, s, BUF_SIZE, 0, status); in print_month()
533 unum_close(nfmt); in print_month()
548 UNumberFormat *nfmt; in print_year() local
599 nfmt = unum_open(UNUM_DECIMAL,NULL, 0,NULL,NULL, status); in print_year()
674 unum_format(nfmt, left_day, s, BUF_SIZE, 0, status); in print_year()
722 unum_format(nfmt, right_day, s, BUF_SIZE, 0, status); in print_year()
762 unum_close(nfmt); in print_year()
/third_party/musl/libc-test/src/regression/
Dprintf-fmt-n.c8 #define T(n,nfmt,fmt) do { \ argument
9 if ((ret = sprintf(buf, "%256d%d" nfmt "%d", 1, 2, &n, 3)) != 258) \
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DSimpleDateFormatICU.java228 com.ibm.icu.text.NumberFormat nfmt = fIcuSdf.getNumberFormat(); in getNumberFormat() local
229 if (nfmt instanceof NumberFormatJDK) { in getNumberFormat()
230 return ((NumberFormatJDK)nfmt).unwrap(); in getNumberFormat()
232 if (nfmt instanceof com.ibm.icu.text.DecimalFormat) { in getNumberFormat()
233 return DecimalFormatICU.wrap((com.ibm.icu.text.DecimalFormat)nfmt); in getNumberFormat()
235 return NumberFormatICU.wrap(nfmt); in getNumberFormat()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatRegressionTest.java283 NumberFormat nfmt = NumberFormat.getInstance(); in TestT5698() local
287 Number n = nfmt.parse(data[i]); in TestT5698()
312 NumberFormat nfmt = NumberFormat.getInstance(); in TestSurrogatesParsing() local
316 Number n = nfmt.parse(data[i]); in TestSurrogatesParsing()
DNumberFormatTest.java1970 NumberFormat nfmt = NumberFormat.getCurrencyInstance(new Locale("und", "PH")); in Test6816() local
1971 DecimalFormatSymbols decsym = ((DecimalFormat)nfmt).getDecimalFormatSymbols(); in Test6816()
4426 NumberFormat nfmt = NumberFormat.getInstance();
4427 DisplayContext context = nfmt.getContext(DisplayContext.Type.CAPITALIZATION);
4431 nfmt.setContext(DisplayContext.CAPITALIZATION_FOR_STANDALONE);
4432 context = nfmt.getContext(DisplayContext.Type.CAPITALIZATION);
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DNumberFormatRegressionTest.java286 NumberFormat nfmt = NumberFormat.getInstance(); in TestT5698() local
290 Number n = nfmt.parse(data[i]); in TestT5698()
315 NumberFormat nfmt = NumberFormat.getInstance(); in TestSurrogatesParsing() local
319 Number n = nfmt.parse(data[i]); in TestSurrogatesParsing()
DNumberFormatTest.java1973 NumberFormat nfmt = NumberFormat.getCurrencyInstance(new Locale("und", "PH")); in Test6816() local
1974 DecimalFormatSymbols decsym = ((DecimalFormat)nfmt).getDecimalFormatSymbols(); in Test6816()
4429 NumberFormat nfmt = NumberFormat.getInstance();
4430 DisplayContext context = nfmt.getContext(DisplayContext.Type.CAPITALIZATION);
4434 nfmt.setContext(DisplayContext.CAPITALIZATION_FOR_STANDALONE);
4435 context = nfmt.getContext(DisplayContext.Type.CAPITALIZATION);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUSearchableTables.td33 class GcnBufferFormatBase<bits<8> f, bits<8> bpc, bits<8> numc, bits<8> nfmt, bits<8> dfmt> {
37 bits<8> NumFormat = nfmt;
41 …bits<8> f, bits<8> bpc, bits<8> numc, bits<8> nfmt, bits<8> dfmt> : GcnBufferFormatBase<f, bpc, nu…
42 …bits<8> f, bits<8> bpc, bits<8> numc, bits<8> nfmt, bits<8> dfmt> : GcnBufferFormatBase<f, bpc, nu…
DBUFInstructions.td135 bits<3> nfmt = format{6-4};
2131 let Inst{25-23} = nfmt;
2360 let Inst{25-23} = nfmt;
2390 let Inst{25-23} = nfmt;
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp420 unsigned nfmt = (attrib_format >> 4) & 0x7; in init_context() local
423 if (nfmt == V_008F0C_BUF_NUM_FORMAT_UNORM) { in init_context()
425 } else if (nfmt == V_008F0C_BUF_NUM_FORMAT_UINT || nfmt == V_008F0C_BUF_NUM_FORMAT_USCALED) { in init_context()
426 bool uscaled = nfmt == V_008F0C_BUF_NUM_FORMAT_USCALED; in init_context()
Daco_opt_value_numbering.cpp255 return aM.sync == bM.sync && aM.dfmt == bM.dfmt && aM.nfmt == bM.nfmt && in operator ()()
Daco_print_ir.cpp524 switch (mtbuf.nfmt) { in print_instr_format_specific()
Daco_instruction_selection.cpp5503 unsigned nfmt = (attrib_format >> 4) & 0x7; in visit_load_input() local
5556 (nfmt == V_008F0C_BUF_NUM_FORMAT_FLOAT || nfmt == V_008F0C_BUF_NUM_FORMAT_UINT || in visit_load_input()
5557 nfmt == V_008F0C_BUF_NUM_FORMAT_SINT) && in visit_load_input()
5641 soffset, fetch_dfmt, nfmt, fetch_offset, false, true) in visit_load_input()
5661 nfmt != V_008F0C_BUF_NUM_FORMAT_UINT && nfmt != V_008F0C_BUF_NUM_FORMAT_SINT; in visit_load_input()
9759 Temp nfmt; in visit_tex() local
9761 nfmt = bld.sop2(aco_opcode::s_cselect_b32, bld.def(s1), in visit_tex()
9765 nfmt = bld.sop2(aco_opcode::s_cselect_b32, bld.def(s1), in visit_tex()
9772 nfmt = bld.sop2(aco_opcode::s_lshl_b32, bld.def(s1), bld.def(s1, scc), nfmt, in visit_tex()
9777 desc[1] = bld.sop2(aco_opcode::s_or_b32, bld.def(s1), bld.def(s1, scc), desc[1], nfmt); in visit_tex()
[all …]
Daco_assembler.cpp414 uint32_t img_format = ac_get_tbuffer_format(ctx.gfx_level, mtbuf.dfmt, mtbuf.nfmt); in emit_instruction()
Daco_ir.h1591 uint8_t nfmt : 3; /* Numeric format of data in memory */ member
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIntrinsicsAMDGPU.td1032 llvm_i32_ty, // nfmt(imm)
1048 llvm_i32_ty, // nfmt(imm)
1064 llvm_i32_ty, // format(imm; bits 3..0 = dfmt, bits 6..4 = nfmt)
1078 llvm_i32_ty, // format(imm; bits 3..0 = dfmt, bits 6..4 = nfmt)
1092 llvm_i32_ty, // format(imm; bits 3..0 = dfmt, bits 6..4 = nfmt)
1107 llvm_i32_ty, // format(imm; bits 3..0 = dfmt, bits 6..4 = nfmt)
/third_party/mesa3d/src/amd/vulkan/
Dradv_formats.c153 unsigned *nfmt, bool *post_shuffle, in radv_translate_vertex_format() argument
157 *nfmt = radv_translate_buffer_numformat(desc, 0); in radv_translate_vertex_format()
Dradv_cmd_buffer.c3726 unsigned nfmt = (format >> 4) & 0x7; in radv_write_vertex_descriptors() local
3731 rsrc_word3 |= S_008F0C_FORMAT(ac_get_tbuffer_format(chip, dfmt, nfmt)); in radv_write_vertex_descriptors()
3733 rsrc_word3 |= S_008F0C_NUM_FORMAT(nfmt) | S_008F0C_DATA_FORMAT(dfmt); in radv_write_vertex_descriptors()
6095 unsigned nfmt, dfmt; in radv_CmdSetVertexInputEXT() local
6103 &dfmt, &nfmt, &post_shuffle, &alpha_adjust); in radv_CmdSetVertexInputEXT()
6105 found->hw_fmt = dfmt | (nfmt << 4); in radv_CmdSetVertexInputEXT()
Dradv_private.h2325 unsigned *nfmt, bool *post_shuffle,
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.h285 unsigned dfmt, unsigned nfmt, unsigned cache_policy,
Dac_llvm_build.c1390 unsigned dfmt, unsigned nfmt, unsigned cache_policy, in ac_build_tbuffer_load() argument
1400 args[idx++] = LLVMConstInt(ctx->i32, ac_get_tbuffer_format(ctx->gfx_level, dfmt, nfmt), 0); in ac_build_tbuffer_load()
1418 unsigned dfmt, unsigned nfmt, unsigned cache_policy, in ac_build_struct_tbuffer_load() argument
1422 nfmt, cache_policy, can_speculate, true); in ac_build_struct_tbuffer_load()

12