/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | UniversalTimeScale.java | 306 units = theUnits; in TimeScaleData() 328 long units; field in UniversalTimeScale.TimeScaleData 380 return (otherTime + data.epochOffset) * data.units; in from() 399 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local 402 return other.add(epochOffset).multiply(units); in bigDecimalFrom() 421 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local 424 return other.add(epochOffset).multiply(units); in bigDecimalFrom() 443 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local 446 return otherTime.add(epochOffset).multiply(units); in bigDecimalFrom() 495 return (universalTime + data.unitsRound) / data.units - data.epochOffsetP1; in toLong() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | UniversalTimeScale.java | 270 units = theUnits; in TimeScaleData() 292 long units; field in UniversalTimeScale.TimeScaleData 342 return (otherTime + data.epochOffset) * data.units; in from() 359 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local 362 return other.add(epochOffset).multiply(units); in bigDecimalFrom() 379 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local 382 return other.add(epochOffset).multiply(units); in bigDecimalFrom() 399 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local 402 return otherTime.add(epochOffset).multiply(units); in bigDecimalFrom() 449 return (universalTime + data.unitsRound) / data.units - data.epochOffsetP1; in toLong() [all …]
|
/third_party/icu/icu4c/source/data/misc/ |
D | grammaticalFeatures.txt | 159 units{""} 187 units{""} 200 units{""} 232 units{ 248 units{ 307 units{ 362 units{ 394 units{""} 402 units{""} 451 units{ [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/third_party/perf/ |
D | perf_test.cc | 60 const std::string &units, in ResultsToString() argument 68 suffix.c_str(), units.c_str()); in ResultsToString() 77 const std::string &units, in PrintResultsImpl() argument 82 ResultsToString(measurement, modifier, trace, values, prefix, suffix, units, important) in PrintResultsImpl() 96 const std::string &units, in PrintResult() argument 100 std::string(), units, important); in PrintResult() 107 const std::string &units, in PrintResult() argument 111 std::string(), units, important); in PrintResult() 119 const std::string &units, in AppendResult() argument 123 std::string(), units, important); in AppendResult() [all …]
|
D | angle-mods.patch | 147 - // <*>RESULT <graph_name>: <trace_name>= <value> <units> 148 - // <*>RESULT <graph_name>: <trace_name>= {<mean>, <std deviation>} <units> 149 - // <*>RESULT <graph_name>: <trace_name>= [<value>,value,value,...,] <units> 154 - units.c_str()); 157 - const std::string& units, 161 - std::string(), std::string(), units, important); 166 - const std::string& units, 170 - std::string(), std::string(), units, important); 174 - const std::string& units, 179 - std::string(), std::string(), units, important); [all …]
|
D | perf_result_reporter.cc | 20 const std::string &units) in RegisterFyiMetric() argument 22 RegisterMetric(metric_suffix, units, false); in RegisterFyiMetric() 26 const std::string &units) in RegisterImportantMetric() argument 28 RegisterMetric(metric_suffix, units, true); in RegisterImportantMetric() 36 PrintResult(metric_basename_, metric_suffix, story_name_, value, iter->second.units, in AddResult() 45 PrintResult(metric_basename_, metric_suffix, story_name_, value, iter->second.units, in AddResult() 54 PrintResult(metric_basename_, metric_suffix, story_name_, value, iter->second.units, in AddResult() 71 const std::string &units, in RegisterMetric() argument 75 metric_map_.insert({metric_suffix, {units, important}}); in RegisterMetric()
|
D | perf_test.h | 30 const std::string &units, 36 const std::string &units, 44 const std::string &units, 53 const std::string &units, 61 const std::string &units, 71 const std::string &units, 79 const std::string &units, 90 const std::string &units, 98 const std::string &units,
|
/third_party/ffmpeg/libavcodec/ |
D | truehd_core_bsf.c | 41 AccessUnit units[MAX_SUBSTREAMS]; in truehd_core_filter() local 80 units[i].bits[j] = get_bits1(&gbc); in truehd_core_filter() 82 units[i].offset = get_bits(&gbc, 12); in truehd_core_filter() 84 last_offset = units[i].offset * 2; in truehd_core_filter() 88 if (units[i].bits[0]) { in truehd_core_filter() 89 units[i].optional = get_bits(&gbc, 16); in truehd_core_filter() 128 substr_hdr |= (units[i].bits[0] << 15); in truehd_core_filter() 129 substr_hdr |= (units[i].bits[1] << 14); in truehd_core_filter() 130 substr_hdr |= (units[i].bits[2] << 13); in truehd_core_filter() 131 substr_hdr |= (units[i].bits[3] << 12); in truehd_core_filter() [all …]
|
D | cbs.c | 161 cbs_unit_uninit(&frag->units[i]); in ff_cbs_fragment_reset() 174 av_freep(&frag->units); in ff_cbs_fragment_free() 184 CodedBitstreamUnit *unit = &frag->units[i]; in cbs_read_fragment_content() 364 CodedBitstreamUnit *unit = &frag->units[i]; in ff_cbs_write_fragment_data() 702 CodedBitstreamUnit *units; in cbs_insert_unit() local 705 units = frag->units; in cbs_insert_unit() 708 memmove(units + position + 1, units + position, in cbs_insert_unit() 709 (frag->nb_units - position) * sizeof(*units)); in cbs_insert_unit() 711 units = av_malloc_array(frag->nb_units*2 + 1, sizeof(*units)); in cbs_insert_unit() 712 if (!units) in cbs_insert_unit() [all …]
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | units_data.h | 18 namespace units { 55 template class U_I18N_API MaybeStackArray<units::ConversionRateInfo*, 8>; 56 template class U_I18N_API MemoryPool<units::ConversionRateInfo, 8>; 57 template class U_I18N_API MaybeStackVector<units::ConversionRateInfo, 8>; 60 namespace units { 148 template class U_I18N_API MaybeStackArray<units::UnitPreferenceMetadata*, 8>; 149 template class U_I18N_API MemoryPool<units::UnitPreferenceMetadata, 8>; 150 template class U_I18N_API MaybeStackVector<units::UnitPreferenceMetadata, 8>; 151 template class U_I18N_API MaybeStackArray<units::UnitPreference*, 8>; 152 template class U_I18N_API MemoryPool<units::UnitPreference, 8>; [all …]
|
/third_party/icu/icu4c/source/i18n/ |
D | units_data.h | 18 namespace units { 55 template class U_I18N_API MaybeStackArray<units::ConversionRateInfo*, 8>; 56 template class U_I18N_API MemoryPool<units::ConversionRateInfo, 8>; 57 template class U_I18N_API MaybeStackVector<units::ConversionRateInfo, 8>; 60 namespace units { 155 template class U_I18N_API MaybeStackArray<units::UnitPreferenceMetadata*, 8>; 156 template class U_I18N_API MemoryPool<units::UnitPreferenceMetadata, 8>; 157 template class U_I18N_API MaybeStackVector<units::UnitPreferenceMetadata, 8>; 158 template class U_I18N_API MaybeStackArray<units::UnitPreference*, 8>; 159 template class U_I18N_API MemoryPool<units::UnitPreference, 8>; [all …]
|
/third_party/node/deps/icu-small/source/i18n/ |
D | units_data.h | 18 namespace units { 55 template class U_I18N_API MaybeStackArray<units::ConversionRateInfo*, 8>; 56 template class U_I18N_API MemoryPool<units::ConversionRateInfo, 8>; 57 template class U_I18N_API MaybeStackVector<units::ConversionRateInfo, 8>; 60 namespace units { 155 template class U_I18N_API MaybeStackArray<units::UnitPreferenceMetadata*, 8>; 156 template class U_I18N_API MemoryPool<units::UnitPreferenceMetadata, 8>; 157 template class U_I18N_API MaybeStackVector<units::UnitPreferenceMetadata, 8>; 158 template class U_I18N_API MaybeStackArray<units::UnitPreference*, 8>; 159 template class U_I18N_API MemoryPool<units::UnitPreference, 8>; [all …]
|
/third_party/elfutils/tests/ |
D | run-get-units-split.sh | 23 testrun ${abs_builddir}/get-units-split testfile-debug-types 28 testrun ${abs_builddir}/get-units-split testfile_multi_main 33 testrun ${abs_builddir}/get-units-split testfilebazdbgppc64.debug 40 testrun ${abs_builddir}/get-units-split testfile-dwarf-4 41 testrun ${abs_builddir}/get-units-split testfile-dwarf-5 44 testrun_compare ${abs_builddir}/get-units-split testfile-splitdwarf-4 << \EOF 53 testrun_compare ${abs_builddir}/get-units-split testfile-splitdwarf-5 << \EOF 63 testrun_on_self_exe ${abs_builddir}/get-units-split 64 testrun_on_self_lib ${abs_builddir}/get-units-split
|
D | run-get-units-invalid.sh | 23 testrun ${abs_builddir}/get-units-invalid testfile-debug-types 28 testrun ${abs_builddir}/get-units-invalid testfile_multi_main 33 testrun ${abs_builddir}/get-units-invalid testfilebazdbgppc64.debug 38 testrun ${abs_builddir}/get-units-invalid testfile-dwarf-4 39 testrun ${abs_builddir}/get-units-invalid testfile-dwarf-5 42 testrun_on_self ${abs_builddir}/get-units-invalid
|
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/ |
D | GenerateCTimeScaleData.java | 76 … long units = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.UNITS_VALUE); in main() local 78 if (units == ticks) { in main() 80 } else if (units == microseconds) { in main() 82 } else if (units == milliseconds) { in main() 84 } else if (units == seconds) { in main() 86 } else if (units == minutes) { in main() 88 } else if (units == hours) { in main() 90 } else if (units == days) { in main() 93 cargs[0] = "INT64_C(" + Long.toString(units) + ")"; in main()
|
/third_party/libinput/src/ |
D | filter-tablet.c | 48 const struct device_float_coords *units) in tablet_accelerator_filter_flat_mouse() argument 61 accelerated.x = units->x * filter->xres_scale; in tablet_accelerator_filter_flat_mouse() 62 accelerated.y = units->y * filter->yres_scale; in tablet_accelerator_filter_flat_mouse() 72 const struct device_float_coords *units) in tablet_accelerator_filter_flat_pen() argument 87 mm.x = 1.0 * units->x/filter->xres; in tablet_accelerator_filter_flat_pen() 88 mm.y = 1.0 * units->y/filter->yres; in tablet_accelerator_filter_flat_pen() 97 const struct device_float_coords *units, in tablet_accelerator_filter_flat() argument 112 units); in tablet_accelerator_filter_flat() 116 units); in tablet_accelerator_filter_flat()
|
/third_party/ltp/testcases/lib/ |
D | tst_sleep.c | 20 } units[] = { variable 27 static unsigned int units_len = sizeof(units) / sizeof(*units); 63 if (!strcmp(units[i].unit, end)) in main() 73 if (units[i].mul == 1000000) in main() 76 if (units[i].mul == 1000) { in main() 81 if (units[i].mul == 1) { in main()
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/resources/ |
D | ldml2icu_locale.txt | 79 //ldml/units/unitLength[@type="long"]/alias[@source="locale"][@path="../unitLength[@type='short']"] 80 ; /units:alias ; values=/LOCALE/unitsShort 81 //ldml/units/unitLength[@type="narrow"]/alias[@source="locale"][@path="../unitLength[@type='short']… 378 //ldml/units/unitLength[@type="narrow"]/unit[@type="(\w++)-(%A)"]/displayName ; /unitsNarrow/$1/$2/… 379 //ldml/units/unitLength[@type="short"]/unit[@type="(\w++)-(%A)"]/displayName ; /unitsShort/$1/$2/dn… 380 //ldml/units/unitLength[@type="long"]/unit[@type="(\w++)-(%A)"]/displayName ; /units/$1/$2/dnam 382 # TODO(icu-units#138): homogenize with compoundUnitPattern1 rules below by using "_" as case when c… 383 //ldml/units/unitLength[@type="narrow"]/unit[@type="(\w++)-(%A)"]/unitPattern[@count="(%A)"][@case=… 384 //ldml/units/unitLength[@type="short"]/unit[@type="(\w++)-(%A)"]/unitPattern[@count="(%A)"][@case="… 385 //ldml/units/unitLength[@type="long"]/unit[@type="(\w++)-(%A)"]/unitPattern[@count="(%A)"][@case="(… [all …]
|
/third_party/toybox/toys/other/ |
D | vmstat.c | 89 uint64_t units, total_hz, *ptr = (uint64_t *)(top+idx), in vmstat_main() local 123 sscanf(s, "%"PRIu64, &units); in vmstat_main() 124 } else units = loop_delay; in vmstat_main() 142 else if (order[i]>17) out = ((out * page_kb)+(units-1))/units; in vmstat_main() 143 else if (order[i]>15) out = ((out)+(units-1))/units; in vmstat_main() 144 else if (order[i]<9) out = (out+(units-1)) / units; in vmstat_main()
|
/third_party/skia/third_party/externals/icu/source/data/misc/ |
D | grammaticalFeatures.txt | 165 units{""} 193 units{""} 261 units{""} 542 units{""} 579 units{""} 689 units{""} 703 units{ 727 units{""} 741 units{ 776 units{ [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
D | Utils.java | 84 buf[--x] = zh.units[u++]; in chineseNumber() 157 if (i < buf.length - 1 && buf[i+1] == zh.units[0]) continue; in chineseNumber() 158 … if (i > x && (buf[i-1] == zh.units[0] || buf[i-1] == zh.digits[0] || buf[i-1] == '*')) continue; in chineseNumber() 164 if (buf[x] == zh.digits[1] && (zh.ko || buf[x+1] == zh.units[0])) { in chineseNumber() 190 final char[] units; field in Utils.ChineseDigits 195 ChineseDigits(String digits, String units, String levels, char liang, boolean ko) { in ChineseDigits() argument 197 this.units = units.toCharArray(); in ChineseDigits()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/impl/ |
D | Utils.java | 88 buf[--x] = zh.units[u++]; in chineseNumber() 161 if (i < buf.length - 1 && buf[i+1] == zh.units[0]) continue; in chineseNumber() 162 … if (i > x && (buf[i-1] == zh.units[0] || buf[i-1] == zh.digits[0] || buf[i-1] == '*')) continue; in chineseNumber() 168 if (buf[x] == zh.digits[1] && (zh.ko || buf[x+1] == zh.units[0])) { in chineseNumber() 197 final char[] units; field in Utils.ChineseDigits 202 ChineseDigits(String digits, String units, String levels, char liang, boolean ko) { in ChineseDigits() argument 204 this.units = units.toCharArray(); in ChineseDigits()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
D | LanguageTestFmwk.java | 45 private static final TimeUnit[] units = { field in LanguageTestFmwk 185 for (int i = 0; i < units.length; ++i) { in timestring() 186 TimeUnit p = units[i]; in timestring() 252 for (int i = 0; i < units.length; ++i) { in testFullPluralizedForms() 253 TimeUnit u = units[i]; in testFullPluralizedForms() 279 for (int i = 0; i < units.length; ++i) { in testMediumForms() 280 TimeUnit u = units[i]; in testMediumForms() 301 for (int i = 0; i < units.length; ++i) { in testShortForms() 302 TimeUnit u = units[i]; in testShortForms() 444 for (int i = 0; i < units.length; ++i) { in testHalfUnits() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/ |
D | LanguageTestFmwk.java | 46 private static final TimeUnit[] units = { field in LanguageTestFmwk 186 for (int i = 0; i < units.length; ++i) { in timestring() 187 TimeUnit p = units[i]; in timestring() 253 for (int i = 0; i < units.length; ++i) { in testFullPluralizedForms() 254 TimeUnit u = units[i]; in testFullPluralizedForms() 280 for (int i = 0; i < units.length; ++i) { in testMediumForms() 281 TimeUnit u = units[i]; in testMediumForms() 302 for (int i = 0; i < units.length; ++i) { in testShortForms() 303 TimeUnit u = units[i]; in testShortForms() 445 for (int i = 0; i < units.length; ++i) { in testHalfUnits() [all …]
|
/third_party/ltp/testcases/kernel/controllers/freezer/ |
D | vfork.c | 147 char *units; in _parse_opts() local 169 opt = sscanf(optarg, "%Ld%as", &duration, &units); in _parse_opts() 173 if ((opt != 2) || !strcmp(units, "s")) in _parse_opts() 175 else if (!strcmp(units, "ms")) in _parse_opts() 177 else if (!strcmp(units, "us")) in _parse_opts() 179 else if (!strcmp(units, "m")) in _parse_opts() 181 else if (!strcmp(units, "h")) in _parse_opts() 185 units); in _parse_opts()
|