Home
last modified time | relevance | path

Searched refs:keyval (Results 1 – 25 of 61) sorted by relevance

123

/external/toolchain-utils/crosperf/
Dmock_instance.py44 keyval = {} variable
45 keyval[0] = {
57 keyval[1] = {
68 keyval[2] = {
79 keyval[3] = {
90 keyval[4] = {
101 keyval[5] = {
112 keyval[6] = {
123 keyval[7] = {
134 keyval[8] = {
/external/autotest/client/tests/netperf2/
Dnetperf2.py227 keyval = {}
232 self.write_iteration_keyval(attr, keyval)
243 keyval['Failed_streams_count'] = failed_streams_count
248 keyval['CPU_C'] = 100 - cpu_stats['idle']
249 keyval['CPU_C_SYS'] = cpu_stats['sys']
250 keyval['CPU_C_HI'] = cpu_stats['irq']
251 keyval['CPU_C_SI'] = cpu_stats['soft']
252 keyval['INTRS_C'] = cpu_stats['intr/s']
255 keyval['actual_time'] = actual_time
263 keyval[key] = sum(vals)
[all …]
/external/autotest/client/site_tests/platform_MemCheck/
Dplatform_MemCheck.py24 keyval = dict()
54 keyval['PhysicalSize'] = phy_size
70 keyval[k] = value
91 keyval['speedref'] = speedref
96 keyval['timing_dimm_%d' % dimm] = max_timing
105 keyval['speed_dimm_%d' % dimm] = max_speed
121 keyval['memory_id_dimm_%d' % dimm] = line
131 self.write_perf_keyval(keyval)
/external/autotest/client/site_tests/platform_Crouton/
Dplatform_Crouton.py60 keyval = env_pair.split("=")
61 if len(keyval) == 2 and keyval[0].find("CROUTON_MIRROR_") == 0:
62 logging.debug('Setting env %s=%s', keyval[0], keyval[1])
63 os.environ[keyval[0]] = keyval[1]
/external/autotest/client/site_tests/hardware_Smartctl/
Dhardware_Smartctl.py104 keyval = {}
120 keyval[key] = field[7] # RAW_VALUE
126 if len(keyval) == 0:
131 keyval['fail'] = fail
133 keyval['exit_status'] = exit_status
134 keyval['device_model'] = model
135 self.write_perf_keyval(keyval)
/external/autotest/tko/
Djob_serializer.py152 fields_dict['keyval_dict'] = dict((keyval.name, keyval.value)
153 for keyval in job.keyval_dict)
220 fields_dict['attributes'] = dict((keyval.name, keyval.value)
221 for keyval in test.attributes)
330 fields_dict['attr_keyval'] = dict((keyval.name, keyval.value)
331 for keyval in iteration.attr_keyval)
333 fields_dict['perf_keyval'] = dict((keyval.name, keyval.value)
334 for keyval in iteration.perf_keyval)
Djob_serializer_unittest.py256 return dict((keyval.name, keyval.value) for keyval in
260 def check_dict(self, dictionary, keyval): argument
268 self.assertTrue(key in keyval);
269 self.assertEqual(str(value), keyval[key])
Dmodels.py51 keyval = {}
57 if 'hostname' in upper_keyval and 'hostname' in keyval:
59 keyval.update(upper_keyval)
67 return keyval
/external/autotest/tko/parsers/
Dversion_0.py21 keyval = cls.read_keyval(dir)
22 tko_utils.dprint(str(keyval))
24 user = keyval.get("user", None)
25 label = keyval.get("label", None)
26 queued_time = tko_utils.get_timestamp(keyval, "job_queued")
27 started_time = tko_utils.get_timestamp(keyval, "job_started")
28 finished_time = tko_utils.get_timestamp(keyval, "job_finished")
29 machine = cls.determine_hostname(keyval, dir)
31 machine_owner = keyval.get("owner", None)
33 aborted_by = keyval.get("aborted_by", None)
[all …]
/external/autotest/client/site_tests/hardware_TrimIntegrity/
Dhardware_TrimIntegrity.py217 keyval = dict()
218 keyval['data_verify_count'] = data_verify_count
219 keyval['data_verify_match'] = data_verify_match
220 keyval['trim_verify_count'] = trim_verify_count
221 keyval['trim_verify_zero'] = trim_verify_zero
222 keyval['trim_verify_one'] = trim_verify_one
223 keyval['trim_verify_non_delete'] = trim_verify_non_delete
224 keyval['trim_deterministic'] = trim_deterministic
225 self.write_perf_keyval(keyval)
/external/autotest/client/bin/
Dbase_sysinfo.py351 keyval = self.log_test_keyvals(test_sysinfodir)
352 test.write_test_keyval(keyval)
439 keyval = {}
442 keyval["sysinfo-" + log.logf] = log.readline(logdir)
443 return keyval
453 keyval = {}
456 keyval.update(self._read_sysinfo_keyvals(self.test_loggables,
458 keyval.update(self._read_sysinfo_keyvals(
464 if "sysinfo-uname" in keyval:
465 kernel_vers = " ".join(keyval["sysinfo-uname"].split()[2:])
[all …]
Dsite_sysinfo.py343 keyval = super(site_sysinfo, self).log_test_keyvals(test_sysinfodir)
353 keyval["CHROMEOS_BUILD"] = (
355 keyval[lsb_key] = lsb_dict[lsb_key]
359 keyval["hwid"] = utils.system_output('crossystem hwid')
376 keyval["CHROME_VERSION"], keyval["MILESTONE"] = (
380 keyval["TPM_DICTIONARY_ATTACK_COUNTER"] = (
384 return keyval
/external/autotest/client/common_lib/
Dbase_utils_unittest.py181 keyval = base_utils.read_keyval("file")
183 return keyval
208 keyval = self.read_keyval("a=b \n")
209 self.assertEquals(keyval, {"a": "b"})
213 keyval = self.read_keyval("a=b # a comment\n")
214 self.assertEquals(keyval, {"a": "b"})
218 keyval = self.read_keyval("a=1\n")
219 self.assertEquals(keyval, {"a": 1})
220 self.assertEquals(int, type(keyval["a"]))
224 keyval = self.read_keyval("a=1.5\n")
[all …]
/external/protobuf/ruby/ext/google/protobuf_c/
Dmap.c357 const char* keyval = NULL; in Map_index() local
360 table_key(self, key, keybuf, &keyval, &length); in Map_index()
362 if (upb_strtable_lookup2(&self->table, keyval, length, &v)) { in Map_index()
382 const char* keyval = NULL; in Map_index_set() local
386 table_key(self, key, keybuf, &keyval, &length); in Map_index_set()
392 upb_strtable_remove2(&self->table, keyval, length, NULL); in Map_index_set()
393 if (!upb_strtable_insert2(&self->table, keyval, length, v)) { in Map_index_set()
412 const char* keyval = NULL; in Map_has_key() local
414 table_key(self, key, keybuf, &keyval, &length); in Map_has_key()
416 if (upb_strtable_lookup2(&self->table, keyval, length, NULL)) { in Map_has_key()
[all …]
/external/autotest/client/tests/unixbench/
Dunixbench.py72 keyval = {}
88 keyval[key] = value
91 keyval['score'] = line.split()[-1]
93 self.write_perf_keyval(keyval)
/external/autotest/client/tests/unixbench5/
Dunixbench5.py67 keyval = {}
85 keyval[key + suffix] = words[-6]
88 keyval['score' + suffix] = subsections[2].strip().split()[-1]
90 self.write_perf_keyval(keyval)
/external/kmod/testsuite/
Dtest-depmod.c51 .files = (const struct keyval[]) {
78 .files = (const struct keyval[]) {
104 .files = (const struct keyval[]) {
Dtestsuite.h77 struct keyval { struct
96 const struct keyval *files; argument
103 const struct keyval *env_vars;
/external/autotest/client/tests/aiostress/
Daiostress.py50 keyval = {}
56 keyval[key] = value
58 self.write_perf_keyval(keyval)
/external/autotest/site_utils/bootperf-bin/
Dbootperf50 RESULTS_KEYVAL=$RESULTS_DIR/keyval
53 keyval
54 platform_BootPerfServer/keyval
55 platform_BootPerfServer/platform_BootPerf/keyval
/external/autotest/client/site_tests/audio_PlaybackPower/
Daudio_PlaybackPower.py67 keyval = power_logger.calc()
68 logging.info('Power output %s', keyval)
69 return keyval['result_' + measurements[0].domain + '_pwr']
/external/autotest/client/site_tests/power_MemorySuspend/
Dpower_MemorySuspend.py34 keyval = { 'numSpuriousWakeupError' : spurious_wakeup_count }
35 self.write_perf_keyval(keyval)
/external/libvncserver/client_examples/
Dgtkvncviewer.c283 static rfbKeySym gdkKey2rfbKeySym(guint keyval) in gdkKey2rfbKeySym() argument
286 switch(keyval) { in gdkKey2rfbKeySym()
361 if (keyval < 0x100) in gdkKey2rfbKeySym()
362 k = keyval; in gdkKey2rfbKeySym()
364 rfbClientLog ("Unknown keysym: %d\n", keyval); in gdkKey2rfbKeySym()
373 if ((event->type == GDK_KEY_PRESS) && (event->keyval == GDK_F8)) in key_event()
376 SendKeyEvent(cl, gdkKey2rfbKeySym (event->keyval), in key_event()
516 if (event->keyval == GDK_Escape) in on_entry_key_press_event()
518 else if (event->keyval == GDK_Return) in on_entry_key_press_event()
/external/autotest/client/tests/systemtap/
Dsystemtap.py92 keyval = {}
99 keyval[key] = value
102 self.write_perf_keyval(keyval)
/external/autotest/server/cros/chaos_lib/
Dchaos_parser.py293 keyval = None
303 keyval = os.path.join(root, name)
307 if not keyval:
310 return {'status_file': status, 'keyval_file': keyval}

123