Home
last modified time | relevance | path

Searched refs:units (Results 1 – 25 of 689) sorted by relevance

12345678910>>...28

/external/icu/android_icu4j/src/main/java/android/icu/util/
DUniversalTimeScale.java267 units = theUnits; in TimeScaleData()
289 long units; field in UniversalTimeScale.TimeScaleData
339 return (otherTime + data.epochOffset) * data.units; in from()
356 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local
359 return other.add(epochOffset).multiply(units); in bigDecimalFrom()
376 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local
379 return other.add(epochOffset).multiply(units); in bigDecimalFrom()
396 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local
399 return otherTime.add(epochOffset).multiply(units); in bigDecimalFrom()
446 return (universalTime + data.unitsRound) / data.units - data.epochOffsetP1; in toLong()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUniversalTimeScale.java303 units = theUnits; in TimeScaleData()
325 long units; field in UniversalTimeScale.TimeScaleData
377 return (otherTime + data.epochOffset) * data.units; in from()
396 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local
399 return other.add(epochOffset).multiply(units); in bigDecimalFrom()
418 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local
421 return other.add(epochOffset).multiply(units); in bigDecimalFrom()
440 BigDecimal units = new BigDecimal(data.units); in bigDecimalFrom() local
443 return otherTime.add(epochOffset).multiply(units); in bigDecimalFrom()
492 return (universalTime + data.unitsRound) / data.units - data.epochOffsetP1; in toLong()
[all …]
/external/webrtc/webrtc/test/testsupport/
Dperf_test.cc28 const std::string& units, in ResultsToString() argument
42 << prefix << values << suffix << " " << units << std::endl; in ResultsToString()
52 const std::string& units, in PrintResultsImpl() argument
55 prefix, suffix, units, important).c_str()); in PrintResultsImpl()
67 const std::string& units, in PrintResult() argument
72 units, important); in PrintResult()
80 const std::string& units, in AppendResult() argument
86 "", "", units, important); in AppendResult()
93 const std::string& units, in PrintResult() argument
95 PrintResultsImpl(measurement, modifier, trace, value, "", "", units, in PrintResult()
[all …]
Dperf_test.h40 const std::string& units,
48 const std::string& units,
57 const std::string& units,
65 const std::string& units,
75 const std::string& units,
83 const std::string& units,
94 const std::string& units,
102 const std::string& units,
/external/autotest/client/site_tests/graphics_dEQP/expectations/skylake/
DdEQP-GLES2.functional.hasty.Flaky.bz2 ... cube_9 49dEQP-GLES2.functional.texture.units.2_units.only_2d.1 50dEQP- ...
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCompactDecimalDataCache.java67 Map<String, DecimalFormat.Unit[]> units; field in CompactDecimalDataCache.Data
69 Data(long[] divisors, Map<String, DecimalFormat.Unit[]> units) { in Data() argument
71 this.units = units; in Data()
354 saveUnit(new DecimalFormat.Unit(prefix, suffix), pluralVariant, idx, result.units); in populatePrefixSuffix()
433 if (result.units.get(OTHER)[i] == null) { in fillInMissing()
435 copyFromPreviousIndex(i, result.units); in fillInMissing()
438 propagateOtherToMissing(i, result.units); in fillInMissing()
444 int idx, Map<String, DecimalFormat.Unit[]> units) { in propagateOtherToMissing() argument
445 DecimalFormat.Unit otherVariantValue = units.get(OTHER)[idx]; in propagateOtherToMissing()
446 for (DecimalFormat.Unit[] byBase : units.values()) { in propagateOtherToMissing()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCompactDecimalDataCache.java66 Map<String, DecimalFormat.Unit[]> units; field in CompactDecimalDataCache.Data
68 Data(long[] divisors, Map<String, DecimalFormat.Unit[]> units) { in Data() argument
70 this.units = units; in Data()
353 saveUnit(new DecimalFormat.Unit(prefix, suffix), pluralVariant, idx, result.units); in populatePrefixSuffix()
432 if (result.units.get(OTHER)[i] == null) { in fillInMissing()
434 copyFromPreviousIndex(i, result.units); in fillInMissing()
437 propagateOtherToMissing(i, result.units); in fillInMissing()
443 int idx, Map<String, DecimalFormat.Unit[]> units) { in propagateOtherToMissing() argument
444 DecimalFormat.Unit otherVariantValue = units.get(OTHER)[idx]; in propagateOtherToMissing()
445 for (DecimalFormat.Unit[] byBase : units.values()) { in propagateOtherToMissing()
[all …]
DCompactDecimalFormat.java60 private final Map<String, DecimalFormat.Unit[]> units; field in CompactDecimalFormat
120 this.units = data.units; in CompactDecimalFormat()
168 this.units = otherPluralVariant(pluralAffixes, divisor, debugCreationErrors); in CompactDecimalFormat()
169 if (!pluralRules.getKeywords().equals(this.units.keySet())) { in CompactDecimalFormat()
170 …ralCategories, should be: " + pluralRules.getKeywords() + ", was actually " + this.units.keySet()); in CompactDecimalFormat()
207 return mapsAreEqual(units, other.units) in equals()
341 CompactDecimalDataCache.getUnit(units, pluralVariant, base)); in toAmount()
396 DecimalFormat.Unit[] units = new DecimalFormat.Unit[power10ToAffix.length]; in otherPluralVariant() local
420 units[i] = new Unit(pair[0], pair[1]); in otherPluralVariant()
422 result.put(pluralCategory, units); in otherPluralVariant()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/
DGenerateCTimeScaleData.java74 … long units = UniversalTimeScale.getTimeScaleValue(scale, UniversalTimeScale.UNITS_VALUE); in main() local
76 if (units == ticks) { in main()
78 } else if (units == microseconds) { in main()
80 } else if (units == milliseconds) { in main()
82 } else if (units == seconds) { in main()
84 } else if (units == minutes) { in main()
86 } else if (units == hours) { in main()
88 } else if (units == days) { in main()
91 cargs[0] = "INT64_C(" + Long.toString(units) + ")"; in main()
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
Dindexeddb_timeline.py24 units='ms',
32 units='ms',
40 units='ms',
49 units='ms',
58 units='ms',
67 units='ms',
76 units='ms',
Dtrace_event_stats.py27 metric_description, units, process_name='Renderer'): argument
32 self.units = units
120 units='count',
129 units=input_for_event.units,
/external/llvm/lib/Fuzzer/test/
Dmerge.test11 CHECK1: Merge: running the initial corpus {{.*}} of 3 units
12 CHECK1: Merge: written 0 out of 0 units
23 CHECK2: Merge: running the initial corpus {{.*}} of 3 units
24 CHECK2: Merge: written 3 out of 6 units
26 # Now, T1 has 6 units and T2 has no new interesting units.
28 CHECK3: Merge: running the initial corpus {{.*}} of 6 units
29 CHECK3: Merge: written 0 out of 6 units
/external/toybox/toys/other/
Dvmstat.c91 uint64_t units, total_hz, *ptr = (uint64_t *)(top+idx), in vmstat_main() local
125 sscanf(s, "%"PRIu64, &units); in vmstat_main()
126 } else units = loop_delay; in vmstat_main()
144 else if (order[i]>17) out = ((out * page_kb)+(units-1))/units; in vmstat_main()
145 else if (order[i]>15) out = ((out)+(units-1))/units; in vmstat_main()
146 else if (order[i]<9) out = (out+(units-1)) / units; in vmstat_main()
/external/chromium-trace/catapult/telemetry/telemetry/testing/
Dtest_page_test_results.py25 def AssertHasPageSpecificScalarValue(self, name, units, expected_value): argument
27 self.test.assertEquals(units, value.units)
31 def AssertHasPageSpecificListOfScalarValues(self, name, units, argument
34 self.test.assertEquals(units, value.units)
/external/autotest/server/cros/
Dtelemetry_runner.py84 def _cleanup_units_string(self, units): argument
102 if '%' in units:
103 units = units.replace('%', 'percent')
104 if '/' in units:
105 units = units.replace('/','_per_')
106 return self._cleanup_perf_string(units)
186 units = self._cleanup_units_string(
209 'units': units, 'value': value})
220 units = self._cleanup_units_string(
238 'units': units, 'value': value})
[all …]
/external/libchrome/base/trace_event/
Dmemory_allocator_dump.cc59 const char* units, in AddScalar() argument
64 attributes_->SetString("units", units); in AddScalar()
70 const char* units, in AddScalarF() argument
74 attributes_->SetString("units", units); in AddScalarF()
80 const char* units, in AddString() argument
84 attributes_->SetString("units", units); in AddString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/
DUtils.java82 buf[--x] = zh.units[u++]; in chineseNumber()
155 if (i < buf.length - 1 && buf[i+1] == zh.units[0]) continue; in chineseNumber()
156 … if (i > x && (buf[i-1] == zh.units[0] || buf[i-1] == zh.digits[0] || buf[i-1] == '*')) continue; in chineseNumber()
162 if (buf[x] == zh.digits[1] && (zh.ko || buf[x+1] == zh.units[0])) { in chineseNumber()
188 final char[] units; field in Utils.ChineseDigits
193 ChineseDigits(String digits, String units, String levels, char liang, boolean ko) { in ChineseDigits() argument
195 this.units = units.toCharArray(); in ChineseDigits()
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/
DUtils.java86 buf[--x] = zh.units[u++]; in chineseNumber()
159 if (i < buf.length - 1 && buf[i+1] == zh.units[0]) continue; in chineseNumber()
160 … if (i > x && (buf[i-1] == zh.units[0] || buf[i-1] == zh.digits[0] || buf[i-1] == '*')) continue; in chineseNumber()
166 if (buf[x] == zh.digits[1] && (zh.ko || buf[x+1] == zh.units[0])) { in chineseNumber()
192 final char[] units; field in Utils.ChineseDigits
197 ChineseDigits(String digits, String units, String levels, char liang, boolean ko) { in ChineseDigits() argument
199 this.units = units.toCharArray(); in ChineseDigits()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
DLanguageTestRoot.java38 private static final TimeUnit[] units = { field in LanguageTestRoot
178 for (int i = 0; i < units.length; ++i) { in timestring()
179 TimeUnit p = units[i]; in timestring()
244 for (int i = 0; i < units.length; ++i) { in testFullPluralizedForms()
245 TimeUnit u = units[i]; in testFullPluralizedForms()
270 for (int i = 0; i < units.length; ++i) { in testMediumForms()
271 TimeUnit u = units[i]; in testMediumForms()
291 for (int i = 0; i < units.length; ++i) { in testShortForms()
292 TimeUnit u = units[i]; in testShortForms()
431 for (int i = 0; i < units.length; ++i) { in testHalfUnits()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/
DLanguageTestRoot.java42 private static final TimeUnit[] units = { field in LanguageTestRoot
182 for (int i = 0; i < units.length; ++i) { in timestring()
183 TimeUnit p = units[i]; in timestring()
248 for (int i = 0; i < units.length; ++i) { in testFullPluralizedForms()
249 TimeUnit u = units[i]; in testFullPluralizedForms()
274 for (int i = 0; i < units.length; ++i) { in testMediumForms()
275 TimeUnit u = units[i]; in testMediumForms()
295 for (int i = 0; i < units.length; ++i) { in testShortForms()
296 TimeUnit u = units[i]; in testShortForms()
435 for (int i = 0; i < units.length; ++i) { in testHalfUnits()
[all …]
/external/chromium-trace/catapult/dashboard/dashboard/
Dadd_point_queue.py178 units = row_dict.get('units')
185 master_name, bot_name, test_name, units=units,
215 master_name, bot_name, test_name, units=None, argument
232 'units': units if is_leaf_test else None,
301 units = properties['units']
302 direction = units_to_direction.GetImprovementDirection(units)
330 units = properties.get('units')
331 if units:
332 direction = units_to_direction.GetImprovementDirection(units)
/external/icu/icu4c/source/layout/
DLEFontInstance.cpp115 void LEFontInstance::unitsToPoints(LEPoint &units, LEPoint &points) const in unitsToPoints() argument
117 points.fX = xUnitsToPoints(units.fX); in unitsToPoints()
118 points.fY = yUnitsToPoints(units.fY); in unitsToPoints()
131 void LEFontInstance::pixelsToUnits(LEPoint &pixels, LEPoint &units) const in pixelsToUnits()
133 units.fX = xPixelsToUnits(pixels.fX); in pixelsToUnits()
134 units.fY = yPixelsToUnits(pixels.fY); in pixelsToUnits()
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/
DTimeUnit.java59 return ordinal == 0 ? null : units[ordinal - 1]; in larger()
64 return ordinal == units.length - 1 ? null : units[ordinal + 1]; in smaller()
68 static final TimeUnit[] units = { field in TimeUnit
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
DTimeUnit.java57 return ordinal == 0 ? null : units[ordinal - 1]; in larger()
62 return ordinal == units.length - 1 ? null : units[ordinal + 1]; in smaller()
66 static final TimeUnit[] units = { field in TimeUnit
/external/chromium-trace/catapult/tracing/tracing_build/
Dstrip_memory_infra_trace.py13 units = ['B', 'KiB', 'MiB', 'GiB']
14 while abs(value) >= 1024 and len(units) > 1:
16 units = units.pop(0)
17 return '%3.1f %s' % (value, units[0])

12345678910>>...28