/external/autotest/client/common_lib/ |
D | smogcheck_ina219.py | 117 def readMeasure(self, measure): argument 130 hex_str = '0x%.4x' % self.readWord(self.range_dict[measure]['reg']) 132 return self._checkMeasureRange(hex_str, measure) 134 logging.error('Error reading %s: %s', measure, e) 152 def _checkMeasureRange(self, hex_str, measure): argument 166 hex_str, self.range_dict[measure]['denom']) 167 measure_msg = '%s value %.2f' % (measure, measure_float) 168 range_msg = '[%(min).2f, %(max).2f]' % self.range_dict[measure] 169 if (measure_float < self.range_dict[measure]['min'] or 170 measure_float > self.range_dict[measure]['max']):
|
/external/caliper/caliper/src/test/java/com/google/caliper/memory/ |
D | ObjectGraphMeasurerTest.java | 42 ObjectGraphMeasurer.Footprint footprint = ObjectGraphMeasurer.measure(oneEnumField); in testEnum() 52 ObjectGraphMeasurer.Footprint footprint = ObjectGraphMeasurer.measure(oneClassField); in testClass() 61 ObjectGraphMeasurer.Footprint footprint = ObjectGraphMeasurer.measure(oneObjectField); in testObject() 73 ObjectGraphMeasurer.Footprint footprint = ObjectGraphMeasurer.measure(withCycle); in testCycle() 84 ObjectGraphMeasurer.Footprint footprint = ObjectGraphMeasurer.measure(multiplePathsToObject); in testMultiplePathsToObject() 95 ObjectGraphMeasurer.Footprint footprint = ObjectGraphMeasurer.measure(multiplePathsToClass); in testMultiplePathsToClass() 104 ObjectGraphMeasurer.Footprint footprint = ObjectGraphMeasurer.measure(new WithStaticField()); in testStaticFields() 118 ObjectGraphMeasurer.Footprint footprint = ObjectGraphMeasurer.measure(oneNullOneNonNull); in testNullField()
|
/external/devlib/devlib/instrument/ |
D | __init__.py | 166 measure = mt 167 name = '{}_{}'.format(site, measure) 171 measure = 'unknown' 174 chan = InstrumentChannel(name, site, measure) 230 def get_channels(self, measure): argument 231 if hasattr(measure, 'name'): 232 measure = measure.name 233 return [c for c in self.list_channels() if c.kind == measure] 235 def add_channel(self, site, measure, name=None, **attrs): argument 237 name = '{}_{}'.format(site, measure) [all …]
|
D | hwmon.py | 45 measure = self.measure_map.get(ts.kind)[0] 46 if measure: 48 self.add_channel(_guess_site(ts), measure, name=ts.name, sensor=ts)
|
/external/ltp/testcases/kernel/security/integrity/ima/policy/ |
D | measure.policy-invalid | 2 # Integrity measure policy 14 measure func=FILE_MMAP mask=MAY_EXEC 15 measure func=BPRM_CHECK mask=MAY_EXEC 16 measure func=PATH_CHECK mask=MAY_READ uid=0
|
D | measure.policy | 2 # Integrity measure policy 14 measure func=FILE_MMAP mask=MAY_EXEC 15 measure func=BPRM_CHECK mask=MAY_EXEC 16 measure func=PATH_CHECK mask=MAY_READ uid=0
|
D | Makefile | 29 INSTALL_TARGETS := measure*
|
/external/netperf/ |
D | configure.ac | 460 [AS_HELP_STRING([--enable-sctp],[include tests to measure SCTP performance ])]) 618 …[AS_HELP_STRING([--enable-cpuutil],[include code to measure CPU utilization using specified mechan… 624 AC_DEFINE([USE_PSTAT],,[Use HP-UX's pstat interface to measure CPU util.]) 628 AC_DEFINE([USE_PSTAT],,[Use HP-UX's pstat interface to measure CPU util.]) 632 AC_DEFINE([USE_PERFSTAT],,[Use AIX's perfstat interface to measure CPU util.]) 638 AC_DEFINE([USE_LOOPER],,[Use looper/soaker processes to measure CPU util.]) 642 AC_DEFINE([USE_PROC_STAT],,[Use Linux's procstat interface to measure CPU util.]) 646 AC_DEFINE([USE_KSTAT],,[Use Solaris's kstat interface to measure CPU util.]) 651 AC_DEFINE([USE_KSTAT],,[Use Solaris's kstat interface to measure CPU util.]) 656 AC_DEFINE([USE_OSX],,[Use MacOS X's host_info interface to measure CPU util.]) [all …]
|
D | config.h.in | 319 /* Use Solaris's kstat interface to measure CPU util. */ 322 /* Use looper/soaker processes to measure CPU util. */ 325 /* Use MacOS X's host_info interface to measure CPU util. */ 328 /* Use AIX's perfstat interface to measure CPU util. */ 331 /* Use Linux's procstat interface to measure CPU util. */ 334 /* Use HP-UX's pstat interface to measure CPU util. */ 337 /* Use MumbleBSD's sysctl interface to measure CPU util. */
|
/external/autotest/client/tests/unixbench5/ |
D | control | 10 This test measure system wide performance by running the following tests: 12 - Whetstone - measure floating point operations. 13 - Execl Throughput - measure the number of execl calls per second.
|
/external/autotest/client/tests/unixbench/ |
D | control | 11 This test measure system wide performance by running the following tests: 13 - Whetstone - measure floating point operations. 14 - Execl Throughput - measure the number of execl calls per second.
|
/external/ltp/testcases/kernel/sched/sched_stress/ |
D | sched_stress.sh | 31 echo 0.000000 > sch.measure 35 rm -rf /tmp/tmp$$ ./sched_datafile sch.measure
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/ |
D | EastAsianWidth.java | 36 public native static void measure(char[] charArray, int start, int end, in measure() method in EastAsianWidth 45 measure(testInput, 0, 1, testResult, true); in measure() method
|
/external/pdfium/xfa/fxfa/parser/ |
D | cscript_layoutpseudomodel.cpp | 94 CXFA_Measurement measure; in HWXY() local 112 measure.Set(rtRect.height, XFA_UNIT_Pt); in HWXY() 115 measure.Set(rtRect.width, XFA_UNIT_Pt); in HWXY() 118 measure.Set(rtRect.left, XFA_UNIT_Pt); in HWXY() 121 measure.Set(rtRect.top, XFA_UNIT_Pt); in HWXY() 124 XFA_UNIT unit = measure.GetUnit(wsUnit.AsStringC()); in HWXY() 125 FX_FLOAT fValue = measure.ToUnit(unit); in HWXY()
|
/external/autotest/client/site_tests/kernel_HdParm/ |
D | control | 7 PURPOSE = "Use hdparm to measure disk performance." 15 This test uses hdparm to measure disk performance.
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
D | PeriodFormatterData.java | 325 String measure = dr.measures == null ? null : dr.measures[index]; in appendCount() local 331 if (measure != null) { in appendCount() 332 sb.append(measure); in appendCount() 345 if (measure != null) { in appendCount() 346 sb.append(measure); in appendCount() 371 String measure = dr.measures[index]; in appendCount() local 372 if (measure != null) { in appendCount() 373 sb.append(measure); in appendCount()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/impl/ |
D | PeriodFormatterData.java | 327 String measure = dr.measures == null ? null : dr.measures[index]; in appendCount() local 333 if (measure != null) { in appendCount() 334 sb.append(measure); in appendCount() 347 if (measure != null) { in appendCount() 348 sb.append(measure); in appendCount() 373 String measure = dr.measures[index]; in appendCount() local 374 if (measure != null) { in appendCount() 375 sb.append(measure); in appendCount()
|
/external/ltp/testcases/kernel/security/integrity/ima/tests/ |
D | ima_policy.sh | 40 VALID_POLICY=$LTPROOT/testcases/data/ima_policy/measure.policy 45 INVALID_POLICY=$LTPROOT/testcases/data/ima_policy/measure.policy-invalid
|
/external/caliper/caliper/src/main/java/com/google/caliper/memory/ |
D | ObjectGraphMeasurer.java | 154 public static Footprint measure(Object rootObject) { in measure() method in ObjectGraphMeasurer 155 return measure(rootObject, Predicates.alwaysTrue()); in measure() 173 public static Footprint measure(Object rootObject, Predicate<Object> objectAcceptor) { in measure() method in ObjectGraphMeasurer
|
/external/autotest/server/site_tests/video_PlaybackQuality/ |
D | control.mp4 | 19 This test measure video playback quality by playback mp4 video format file. 20 It will measure the top/bottom/left/right color bars correction during the
|
/external/python/cpython2/Lib/lib-tk/ |
D | tkFont.py | 145 def measure(self, text): member in Font 198 print f.measure("hello"), f.metrics("linespace") 203 print f.measure("hello"), f.metrics("linespace")
|
/external/libusb/examples/ |
D | sam3u_benchmark.c | 125 static void measure(void) in measure() function 143 measure(); in sig_hdlr()
|
/external/python/cpython2/Demo/tkinter/ttk/ |
D | treeview_multicolumn.py | 80 self.tree.column(col, width=tkFont.Font().measure(col.title())) 87 ilen = tkFont.Font().measure(val)
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | do_plc.c | 42 int32_t measure, maxMeasure, energy; in WebRtcIlbcfix_DoThePlc() local 114 measure = (int16_t)WEBRTC_SPL_SHIFT_W32(ener, -shift2) * crossSquare; in WebRtcIlbcfix_DoThePlc() 130 if ((measure>>tmp1) > (maxMeasure>>tmp2)) { in WebRtcIlbcfix_DoThePlc()
|
/external/autotest/client/site_tests/power_Consumption/ |
D | power_Consumption.py | 472 measure = [] 474 measure += \ 477 measure += power_rapl.create_rapl() 478 self._plog = power_status.PowerLogger(measure)
|