/external/python/cpython2/Parser/ |
D | pgen.c | 39 nfa *nf, node *n, int *pa, int *pb); 41 nfa *nf, node *n, int *pa, int *pb); 43 nfa *nf, node *n, int *pa, int *pb); 45 nfa *nf, node *n, int *pa, int *pb); 48 addnfastate(nfa *nf) in addnfastate() argument 52 nf->nf_state = (nfastate *)PyObject_REALLOC(nf->nf_state, in addnfastate() 53 sizeof(nfastate) * (nf->nf_nstates + 1)); in addnfastate() 54 if (nf->nf_state == NULL) in addnfastate() 56 st = &nf->nf_state[nf->nf_nstates++]; in addnfastate() 59 return st - nf->nf_state; in addnfastate() [all …]
|
/external/libnl/src/ |
D | nl-route-delete.c | 91 int nf = 0; in main() local 144 case 'd': nf++; nl_cli_route_parse_dst(route, optarg); break; in main() 145 case 'n': nf++; nl_cli_route_parse_nexthop(route, optarg, link_cache); break; in main() 146 case 't': nf++; nl_cli_route_parse_table(route, optarg); break; in main() 147 case ARG_FAMILY: nf++; nl_cli_route_parse_family(route, optarg); break; in main() 148 case ARG_SRC: nf++; nl_cli_route_parse_src(route, optarg); break; in main() 149 case ARG_IIF: nf++; nl_cli_route_parse_iif(route, optarg, link_cache); break; in main() 150 case ARG_PREF_SRC: nf++; nl_cli_route_parse_pref_src(route, optarg); break; in main() 151 case ARG_METRICS: nf++; nl_cli_route_parse_metric(route, optarg); break; in main() 152 case ARG_PRIORITY: nf++; nl_cli_route_parse_prio(route, optarg); break; in main() [all …]
|
D | .gitignore | 3 nf-ct-add 4 nf-ct-events 5 nf-ct-list 6 nf-exp-add 7 nf-exp-delete 8 nf-exp-list 9 nf-log 10 nf-monitor 11 nf-queue
|
/external/libcups/vcnet/regex/ |
D | split.c | 188 register int nf; local 190 nf = split(string, fields, NF, seps); 191 print(nf, NF, fields); 194 print(nf, nfp, fields) in print() argument 195 int nf; in print() 202 bound = (nf > nfp) ? nfp : nf; 203 printf("%d:\t", nf); 205 printf("\"%s\"%s", fields[fn], (fn+1 < nf) ? ", " : "\n"); 212 int nf; member 282 register int nf; in regress() local [all …]
|
/external/llvm-project/llvm/lib/Target/RISCV/ |
D | RISCVInstrInfoV.td | 107 // vl<nf>r.v vd, (rs1) 108 class VWholeLoad<bits<3> nf, string opcodestr> 109 : RVInstVLU<nf, 0b0, LUMOPUnitStrideWholeReg, 117 class VUnitStrideSegmentLoad<bits<3> nf, RISCVLSUMOP lumop, 119 : RVInstVLU<nf, width.Value{3}, lumop, width.Value{2-0}, 124 class VStridedSegmentLoad<bits<3> nf, RISCVWidth width, string opcodestr> 125 : RVInstVLS<nf, width.Value{3}, width.Value{2-0}, 131 class VIndexedSegmentLoad<bits<3> nf, RISCVWidth width, string opcodestr> 132 : RVInstVLX<nf, width.Value{3}, width.Value{2-0}, 158 // vs<nf>r.v vd, (rs1) [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatRegressionTest.java | 50 NumberFormat nf = NumberFormat.getInstance(Locale.US); in Test4161100() local 51 nf.setMinimumFractionDigits(1); in Test4161100() 52 nf.setMaximumFractionDigits(1); in Test4161100() 54 String s = nf.format(a); in Test4161100() 56 ((DecimalFormat) nf).toPattern() + " = " + s); in Test4161100() 79 NumberFormat nf = NumberFormat.getInstance(loc); in TestJ691() local 91 df.setNumberFormat(nf); in TestJ691() 330 void checkNBSPPatternRtNum(String testcase, NumberFormat nf, double myNumber) { in checkNBSPPatternRtNum() argument 331 String myString = nf.format(myNumber); in checkNBSPPatternRtNum() 335 aNumber = nf.parse(myString).doubleValue(); in checkNBSPPatternRtNum() [all …]
|
D | NumberFormatSpecificationTest.java | 46 NumberFormat nf = nfWithPattern("#,##0.##"); in TestNfSetters() local 47 nf.setMaximumIntegerDigits(5); in TestNfSetters() 48 nf.setMinimumIntegerDigits(4); in TestNfSetters() 49 assertEquals("", "34 567,89", format(1234567.89, nf)); in TestNfSetters() 50 assertEquals("", "0 034,56", format(34.56, nf)); in TestNfSetters() 165 private static String format(double d, NumberFormat nf) { in format() argument 166 return nf.format(d).replace('\u00a0', ' '); in format()
|
D | NumberRegressionTests.java | 231 NumberFormat nf = NumberFormat.getInstance(); in Test4071492() local 232 nf.setMaximumFractionDigits(4); in Test4071492() 233 String out = nf.format(x); in Test4071492() 247 NumberFormat nf = NumberFormat.getInstance(Locale.FRANCE); in Test4086575() local 248 logln("nf toPattern1: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 249 logln("nf toLocPattern1: " + ((DecimalFormat)nf).toLocalizedPattern()); in Test4086575() 253 ((DecimalFormat)nf).applyLocalizedPattern("###,00;(###,00)"); in Test4086575() 254 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 255 logln("nf toLocPattern2: " + ((DecimalFormat)nf).toLocalizedPattern()); in Test4086575() 257 logln("nf: " + nf.format(1234)); // 1234,00 in Test4086575() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatRegressionTest.java | 47 NumberFormat nf = NumberFormat.getInstance(Locale.US); in Test4161100() local 48 nf.setMinimumFractionDigits(1); in Test4161100() 49 nf.setMaximumFractionDigits(1); in Test4161100() 51 String s = nf.format(a); in Test4161100() 53 ((DecimalFormat) nf).toPattern() + " = " + s); in Test4161100() 76 NumberFormat nf = NumberFormat.getInstance(loc); in TestJ691() local 88 df.setNumberFormat(nf); in TestJ691() 327 void checkNBSPPatternRtNum(String testcase, NumberFormat nf, double myNumber) { in checkNBSPPatternRtNum() argument 328 String myString = nf.format(myNumber); in checkNBSPPatternRtNum() 332 aNumber = nf.parse(myString).doubleValue(); in checkNBSPPatternRtNum() [all …]
|
D | NumberFormatSpecificationTest.java | 43 NumberFormat nf = nfWithPattern("#,##0.##"); in TestNfSetters() local 44 nf.setMaximumIntegerDigits(5); in TestNfSetters() 45 nf.setMinimumIntegerDigits(4); in TestNfSetters() 46 assertEquals("", "34 567,89", format(1234567.89, nf)); in TestNfSetters() 47 assertEquals("", "0 034,56", format(34.56, nf)); in TestNfSetters() 162 private static String format(double d, NumberFormat nf) { in format() argument 163 return nf.format(d).replace('\u00a0', ' '); in format()
|
D | NumberRegressionTests.java | 228 NumberFormat nf = NumberFormat.getInstance(); in Test4071492() local 229 nf.setMaximumFractionDigits(4); in Test4071492() 230 String out = nf.format(x); in Test4071492() 244 NumberFormat nf = NumberFormat.getInstance(Locale.FRANCE); in Test4086575() local 245 logln("nf toPattern1: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 246 logln("nf toLocPattern1: " + ((DecimalFormat)nf).toLocalizedPattern()); in Test4086575() 250 ((DecimalFormat)nf).applyLocalizedPattern("###,00;(###,00)"); in Test4086575() 251 logln("nf toPattern2: " + ((DecimalFormat)nf).toPattern()); in Test4086575() 252 logln("nf toLocPattern2: " + ((DecimalFormat)nf).toLocalizedPattern()); in Test4086575() 254 logln("nf: " + nf.format(1234)); // 1234,00 in Test4086575() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | unum.cpp | 160 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_clone() local 161 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_clone() 165 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_clone() 515 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_getAttribute() local 518 return nf->isLenient(); in unum_getAttribute() 521 return nf->getMaximumIntegerDigits(); in unum_getAttribute() 524 return nf->getMinimumIntegerDigits(); in unum_getAttribute() 528 return nf->getMinimumIntegerDigits(); in unum_getAttribute() 531 return nf->getMaximumFractionDigits(); in unum_getAttribute() 534 return nf->getMinimumFractionDigits(); in unum_getAttribute() [all …]
|
/external/icu/icu4c/source/samples/numfmt/ |
D | main.cpp | 105 setNumberFormatCurrency_2_4(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { in setNumberFormatCurrency_2_4() argument 118 DecimalFormat *dnf=dynamic_cast<DecimalFormat *>(&nf); in setNumberFormatCurrency_2_4() 171 nf.setMinimumFractionDigits(currencyMap[i].fractionDigits); in setNumberFormatCurrency_2_4() 172 nf.setMaximumFractionDigits(currencyMap[i].fractionDigits); in setNumberFormatCurrency_2_4() 194 setNumberFormatCurrency_2_6(NumberFormat &nf, const char *currency, UErrorCode &errorCode) { in setNumberFormatCurrency_2_6() argument 210 nf.setCurrency(uCurrency); in setNumberFormatCurrency_2_6() 212 nf.setCurrency(uCurrency, errorCode); in setNumberFormatCurrency_2_6() 230 NumberFormat *nf; in showCurrencyFormatting() local 247 nf=NumberFormat::createCurrencyInstance(sampleLocaleIDs[i], errorCode); in showCurrencyFormatting() 259 setNumberFormatCurrency_2_6(*nf, sampleCurrencies[j], errorCode); in showCurrencyFormatting() [all …]
|
/external/skqp/src/compute/hs/vk/amd/gcn/u64/ |
D | gen.bat | 50 cl -I ../.. -I ../../.. -EP %%f -P -Fi%%~nf.pre.comp || goto :error 51 clang-format -style=Mozilla -i %%~nf.pre.comp || goto :error 52 glslangValidator --target-env vulkan1.1 -o %%~nf.spv %%~nf.pre.comp || goto :error 53 spirv-opt -O %%~nf.spv -o %%~nf.spv || goto :error 54 REM spirv-remap -v --do-everything --input %%~nf.spv --output remap || goto :error 55 xxd -i < %%~nf.spv > %%~nf.spv.xxd || goto :error 56 for /f %%A in ('wc -c %%~nf.spv') do ( 57 echo %%~nf.spv %%A 58 printf "%%.8x" %%A | xxd -r -p | xxd -i > %%~nf.len.xxd || goto :error
|
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
D | NumberFormatTest.java | 51 NumberFormat nf; in checkGetInstance() local 53 nf = getJDKInstance(type, loc, method); in checkGetInstance() 55 boolean isIcuImpl = (nf instanceof com.ibm.icu.impl.jdkadapter.DecimalFormatICU) in checkGetInstance() 56 || (nf instanceof com.ibm.icu.impl.jdkadapter.NumberFormatICU); in checkGetInstance() 69 if (!nf.equals(nfIcu)) { in checkGetInstance() 83 NumberFormat nf = null; in getJDKInstance() local 88 nf = NumberFormat.getInstance(loc); in getJDKInstance() 92 nf = NumberFormat.getNumberInstance(loc); in getJDKInstance() 96 nf = NumberFormat.getIntegerInstance(loc); in getJDKInstance() 100 nf = NumberFormat.getPercentInstance(loc); in getJDKInstance() [all …]
|
/external/skqp/src/compute/hs/vk/amd/gcn/u32/ |
D | gen.bat | 50 cl -I ../.. -I ../../.. -EP %%f -P -Fi%%~nf.pre.comp || goto :error 51 clang-format -style=Mozilla -i %%~nf.pre.comp || goto :error 52 glslangValidator --target-env vulkan1.1 -o %%~nf.spv %%~nf.pre.comp || goto :error 53 spirv-opt -O %%~nf.spv -o %%~nf.spv || goto :error 55 xxd -i < %%~nf.spv > %%~nf.spv.xxd || goto :error 56 for /f %%A in ('wc -c %%~nf.spv') do ( 57 echo %%~nf.spv %%A 58 printf "%%.8x" %%A | xxd -r -p | xxd -i > %%~nf.len.xxd || goto :error
|
/external/skqp/src/compute/hs/vk/nvidia/sm_35/u64/ |
D | gen.bat | 51 cl -I ../.. -I ../../.. -EP %%f -P -Fi%%~nf.pre.comp || goto :error 52 clang-format -style=Mozilla -i %%~nf.pre.comp || goto :error 53 glslangValidator --target-env vulkan1.1 -o %%~nf.spv %%~nf.pre.comp || goto :error 54 spirv-opt -O %%~nf.spv -o %%~nf.spv || goto :error 55 REM spirv-remap -v --do-everything --input %%~nf.spv --output remap || goto :error 56 xxd -i < %%~nf.spv > %%~nf.spv.xxd || goto :error 57 for /f %%A in ('wc -c %%~nf.spv') do ( 58 echo %%~nf.spv %%A 59 printf "%%.8x" %%A | xxd -r -p | xxd -i > %%~nf.len.xxd || goto :error
|
/external/skqp/src/compute/hs/vk/nvidia/sm_35/u32/ |
D | gen.bat | 51 cl -I ../.. -I ../../.. -EP %%f -P -Fi%%~nf.pre.comp || goto :error 52 clang-format -style=Mozilla -i %%~nf.pre.comp || goto :error 53 glslangValidator --target-env vulkan1.1 -o %%~nf.spv %%~nf.pre.comp || goto :error 54 spirv-opt -O %%~nf.spv -o %%~nf.spv || goto :error 56 xxd -i < %%~nf.spv > %%~nf.spv.xxd || goto :error 57 for /f %%A in ('wc -c %%~nf.spv') do ( 58 echo %%~nf.spv %%A 59 printf "%%.8x" %%A | xxd -r -p | xxd -i > %%~nf.len.xxd || goto :error
|
/external/skqp/src/compute/hs/vk/intel/gen8/u64/ |
D | gen.bat | 58 cl -I ../.. -I ../../.. -EP %%f -P -Fi%%~nf.pre.comp || goto :error 59 clang-format -style=Mozilla -i %%~nf.pre.comp || goto :error 60 glslangValidator --target-env vulkan1.1 -o %%~nf.spv %%~nf.pre.comp || goto :error 61 spirv-opt -O %%~nf.spv -o %%~nf.spv || goto :error 63 xxd -i < %%~nf.spv > %%~nf.spv.xxd || goto :error 64 for /f %%A in ('wc -c %%~nf.spv') do ( 65 echo %%~nf.spv %%A 66 printf "%%.8x" %%A | xxd -r -p | xxd -i > %%~nf.len.xxd || goto :error
|
/external/skqp/src/compute/hs/vk/intel/gen8/u32/ |
D | gen.bat | 61 cl -I ../.. -I ../../.. -EP %%f -P -Fi%%~nf.pre.comp || goto :error 62 clang-format -style=Mozilla -i %%~nf.pre.comp || goto :error 63 glslangValidator --target-env vulkan1.1 -o %%~nf.spv %%~nf.pre.comp || goto :error 64 spirv-opt -O %%~nf.spv -o %%~nf.spv || goto :error 66 xxd -i < %%~nf.spv > %%~nf.spv.xxd || goto :error 67 for /f %%A in ('wc -c %%~nf.spv') do ( 68 echo %%~nf.spv %%A 69 printf "%%.8x" %%A | xxd -r -p | xxd -i > %%~nf.len.xxd || goto :error
|
/external/igt-gpu-tools/lib/i915/shaders/ps/ |
D | blit.g11a | 5 (W) mad(8|M0) acc0.0<1>:nf r6.7<0;0>:f r2.0<8;1>:f r6.0<0>:f 6 (W) mad(8|M0) r10.0<1>:f acc0.0<8;1>:nf r3.0<8;1>:f r6.1<0>:f 8 (W) mad(8|M0) acc0.0<1>:nf r6.0<0;0>:f r4.0<8;1>:f r6.0<0>:f 9 (W) mad(8|M0) r11.0<1>:f acc0.0<8;1>:nf r5.0<8;1>:f r6.1<0>:f 11 (W) mad(8|M0) acc0.0<1>:nf r6.4<0;0>:f r2.0<8;1>:f r6.4<0>:f 12 (W) mad(8|M0) r12.0<1>:f acc0.0<8;1>:nf r3.0<8;1>:f r6.5<0>:f 14 (W) mad(8|M0) acc0.0<1>:nf r6.0<0;0>:f r4.0<8;1>:f r6.4<0>:f 15 (W) mad(8|M0) r13.0<1>:f acc0.0<8;1>:nf r5.0<8;1>:f r6.5<0>:f
|
/external/ltp/testcases/kernel/syscalls/fork/ |
D | fork09.c | 67 int pid, status, nf; in main() local 149 for (nf = first; nf < nfiles; nf++) { in main() 150 fclose(fildeses[nf]); in main() 151 sprintf(filname, "file%d.%d", nf, mypid); in main()
|
/external/icu/icu4c/source/test/intltest/ |
D | numrgts.cpp | 489 NumberFormat *nf = NumberFormat::createInstance(status); in Test4071492() local 491 delete nf; in Test4071492() 494 nf->setMaximumFractionDigits(4); in Test4071492() 497 out = nf->format(x, out, pos); in Test4071492() 503 delete nf; in Test4071492() 525 DecimalFormat *nf = dynamic_cast<DecimalFormat *>(nf1); in Test4086575() local 526 if(nf == NULL) { in Test4086575() 532 logln("nf toPattern1: " + nf->toPattern(temp)); in Test4086575() 533 logln("nf toLocPattern1: " + nf->toLocalizedPattern(temp)); in Test4086575() 537 nf->applyLocalizedPattern(UnicodeString("###,00;(###,00)"), status); in Test4086575() [all …]
|
/external/mesa3d/bin/ |
D | meson-cmd-extract.py | 65 nf = conf['properties'].get('native_file') 66 if nf: 69 nf = ast.literal_eval(nf) 70 args.extend(['--native-file={}'.format(f) for f in nf])
|
/external/python/cffi/c/ |
D | cdlopen.c | 225 Py_ssize_t nf = 0; /* total number of fields */ in ffiobj_init() local 228 nf += PyTuple_GET_SIZE(PyTuple_GET_ITEM(struct_unions, i)) - 1; in ffiobj_init() 231 nf * sizeof(struct _cffi_field_s)); in ffiobj_init() 238 nf = 0; in ffiobj_init() 259 nstructs[i].first_field_index = nf; in ffiobj_init() 266 nfields[nf].field_type_op = cdl_opcode(f); f += 4; in ffiobj_init() 267 nfields[nf].field_offset = (size_t)-1; in ffiobj_init() 268 if (_CFFI_GETOP(nfields[nf].field_type_op) != _CFFI_OP_NOOP) { in ffiobj_init() 269 nfields[nf].field_size = cdl_4bytes(f); f += 4; in ffiobj_init() 272 nfields[nf].field_size = (size_t)-1; in ffiobj_init() [all …]
|