Home
last modified time | relevance | path

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

12345678910>>...24

/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 …]
/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',
/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/opencv3/modules/ts/misc/
Dtable_formatter.py648 "name": ("Name of Test", lambda test,test0,units: str(test)),
650 … "samples": ("Number of\ncollected samples", lambda test,test0,units: test.get("samples", units)),
651 "outliers": ("Number of\noutliers", lambda test,test0,units: test.get("outliers", units)),
653 "gmean": ("Geometric mean", lambda test,test0,units: test.get("gmean", units)),
654 "mean": ("Mean", lambda test,test0,units: test.get("mean", units)),
655 "min": ("Min", lambda test,test0,units: test.get("min", units)),
656 "median": ("Median", lambda test,test0,units: test.get("median", units)),
657 "stddev": ("Standard deviation", lambda test,test0,units: test.get("stddev", units)),
658 "gstddev": ("Standard deviation of Ln(time)", lambda test,test0,units: test.get("gstddev")),
660 …"gmean%": ("Geometric mean (relative)", lambda test,test0,units: getRelativeVal(test, test0, "gmea…
[all …]
/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/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/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/opencv3/doc/pattern_tools/
Dgen_pattern.py25 def __init__(self, cols,rows,output,units,square_size,radius_rate,page_width,page_height): argument
29 self.units = units
61 …c = canvas(self.g,width="%d%s"%(self.width,self.units),height="%d%s"%(self.height,self.units),view…
79 units = "mm"
98 units = a
107 pm = PatternMaker(columns,rows,output,units,square_size,radius_rate,page_width,page_height)
/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/chromium-trace/catapult/tracing/tracing/value/
D__init__.py11 def __init__(self, canonical_url, name, units, description=None, argument
15 self.units = units
28 if self.units is not None:
29 d['units'] = self.units
66 super(ScalarValue, self).__init__(canonical_url, name, units=None,
102 super(DictValue, self).__init__(canonical_url, name, units=None,
138 units=None,
173 units=None,
/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/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/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Ddimension-handler.js70 var units = [], unit;
72 units.push(unit);
74 if (units.indexOf(unit) < 0)
75 units.push(unit);
78 left = units.map(function(unit) { return left[unit] || 0; });
79 right = units.map(function(unit) { return right[unit] || 0; });
86 return scope.numberToString(value) + units[i];
/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,
296 units = properties['units']
297 direction = units_to_direction.GetImprovementDirection(units)
323 units = properties.get('units')
324 if units:
325 direction = units_to_direction.GetImprovementDirection(units)
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.equinox.p2.console_1.0.200.v20100601.jar ... .equinox.p2.metadata.IInstallableUnit[] units int i public void _provlquery (org.eclipse. ...
/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()

12345678910>>...24