/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
D | NumberFormatTest.java | 27 NumberFormat nf = new NumberFormat(java.text.NumberFormat.getInstance()); in testNumberFormat() local 28 assertEquals(nf, NumberFormat.getInstance()); in testNumberFormat() 130 NumberFormat nf = NumberFormat.getInstance(); in testIsParseIntegerOnly() local 131 nf.setParseIntegerOnly(true); in testIsParseIntegerOnly() 132 assertTrue(nf.isParseIntegerOnly()); in testIsParseIntegerOnly() 133 nf.setParseIntegerOnly(false); in testIsParseIntegerOnly() 134 assertFalse(nf.isParseIntegerOnly()); in testIsParseIntegerOnly() 142 NumberFormat nf = NumberFormat.getInstance(); in testSetParseIntegerOnly() local 143 assertEquals(new Double(123.456), nf.parse(str)); in testSetParseIntegerOnly() 144 nf.setParseIntegerOnly(true); in testSetParseIntegerOnly() [all …]
|
/external/python/cpython3/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/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/arm-optimized-routines/math/single/ |
D | rredf.h | 80 float nf = 0.636619772367581343f * x; in __mathlib_rredf() local 112 nf = _frnd(nf); in __mathlib_rredf() 115 nf = (nf - 8388608.0f) + 8388608.0f; in __mathlib_rredf() 117 …nf = (nf + 8388608.0f) - 8388608.0f; /* round to _nearest_ integer. FIXME: use some sort of frnd… in __mathlib_rredf() 119 *q = 3 & (int)nf; in __mathlib_rredf() 127 return ((x - nf * 0x1.92p+0F) - nf * 0x1.fb4p-12F) - nf * 0x1.4442d2p-24F; in __mathlib_rredf() 130 … return ((x - nf * 0x1.92p+0F) - nf * 0x1.fb4p-12F) - nf * 0x1.444p-24F - nf * 0x1.68c234p-39F; in __mathlib_rredf()
|
/external/libnl/src/ |
D | nl-route-delete.c | 88 int nf = 0; in main() local 141 case 'd': nf++; nl_cli_route_parse_dst(route, optarg); break; in main() 142 case 'n': nf++; nl_cli_route_parse_nexthop(route, optarg, link_cache); break; in main() 143 case 't': nf++; nl_cli_route_parse_table(route, optarg); break; in main() 144 case ARG_FAMILY: nf++; nl_cli_route_parse_family(route, optarg); break; in main() 145 case ARG_SRC: nf++; nl_cli_route_parse_src(route, optarg); break; in main() 146 case ARG_IIF: nf++; nl_cli_route_parse_iif(route, optarg, link_cache); break; in main() 147 case ARG_PREF_SRC: nf++; nl_cli_route_parse_pref_src(route, optarg); break; in main() 148 case ARG_METRICS: nf++; nl_cli_route_parse_metric(route, optarg); break; in main() 149 case ARG_PRIORITY: nf++; nl_cli_route_parse_prio(route, optarg); break; in main() [all …]
|
D | .gitignore | 2 /nf-ct-add 3 nf-ct-list 4 nf-exp-list 5 nf-exp-add 6 nf-exp-delete 7 nf-log 8 nf-monitor 41 nf-queue
|
/external/icu/icu4c/source/i18n/ |
D | unum.cpp | 155 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_clone() local 156 const DecimalFormat* df = dynamic_cast<const DecimalFormat*>(nf); in unum_clone() 160 const RuleBasedNumberFormat* rbnf = dynamic_cast<const RuleBasedNumberFormat*>(nf); in unum_clone() 510 const NumberFormat* nf = reinterpret_cast<const NumberFormat*>(fmt); in unum_getAttribute() local 513 return nf->isLenient(); in unum_getAttribute() 516 return nf->getMaximumIntegerDigits(); in unum_getAttribute() 519 return nf->getMinimumIntegerDigits(); in unum_getAttribute() 523 return nf->getMinimumIntegerDigits(); in unum_getAttribute() 526 return nf->getMaximumFractionDigits(); in unum_getAttribute() 529 return nf->getMinimumFractionDigits(); in unum_getAttribute() [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 …]
|
/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 …]
|
/external/skia/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/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/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/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/skia/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/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/skia/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/skia/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/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/skia/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/skia/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/syzkaller/dashboard/config/ |
D | upstream.cmdline | 3 nf-conntrack-ftp.ports=20000 4 nf-conntrack-tftp.ports=20000 5 nf-conntrack-sip.ports=20000 6 nf-conntrack-irc.ports=20000 7 nf-conntrack-sane.ports=20000
|
/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 …]
|