Home
last modified time | relevance | path

Searched refs:result_dict (Results 1 – 15 of 15) sorted by relevance

/external/toolchain-utils/android_bench_suite/
Dparse_result.py20 result_dict = dict_list[0]
21 for key in result_dict:
22 result_dict[key] = result_dict[key] / bench_base[bench]
23 return [result_dict]
28 result_dict = {}
33 result_dict['total_time_s'] = float(words[3])
34 result_dict['retval'] = 0
35 return normalize(bench, [result_dict])
41 result_dict = {}
51 result_dict['total_voices'] = accum / cnt
[all …]
Dgen_json.py51 result_dict = {}
57 result_dict = parse(bench, fin)
58 return result_dict
/external/autotest/frontend/afe/json_rpc/
DserviceHandler.py150 def translateResult(result_dict): argument
156 if result_dict['err'] is not None:
157 error_name = result_dict['err'].__class__.__name__
158 result_dict['err'] = {'name': error_name,
159 'message': str(result_dict['err']),
160 'traceback': result_dict['err_traceback']}
161 result_dict['result'] = None
164 json_dict = {'result': result_dict['result'],
165 'id': result_dict['id'],
166 'error': result_dict['err'] }
[all …]
/external/autotest/tko/
Djsonp_fetcher.cgi24 result_dict = serviceHandler.ServiceHandler.blank_result_dict() variable
27 result_dict['result'] = file_contents
29 result_dict['err'] = LogFileNotFound('%s not found' % path)
30 result_dict['err_traceback'] = traceback.format_exc()
32 encoded_result = serviceHandler.ServiceHandler.translateResult(result_dict)
/external/skia/tools/
Djsondiff.py80 result_dict = {}
86 return result_dict
103 result_dict[test_name] = digest_pair[1]
104 return result_dict
125 result_dict = {}
138 result_dict[test_name] = digest_pair[1]
139 return result_dict
/external/skqp/tools/
Djsondiff.py80 result_dict = {}
86 return result_dict
103 result_dict[test_name] = digest_pair[1]
104 return result_dict
125 result_dict = {}
138 result_dict[test_name] = digest_pair[1]
139 return result_dict
/external/autotest/client/cros/audio/
Daudio_helper.py775 result_dict = dict()
778 result_dict['index'] = max_cross_correlation
779 result_dict['best_delay'] = best_delay
780 result_dict['equal'] = True if (
783 logging.debug('result_dict: %r', result_dict)
784 return result_dict
832 result_dict = dict(test_channel=test_channel,
834 result_dict.update(
838 compare_results.append(result_dict)
/external/protobuf/python/google/protobuf/internal/
Dunknown_fields_test.py165 result_dict = {}
169 decoder(value, 0, len(value), self.all_fields, result_dict)
170 return result_dict[field_descriptor]
276 result_dict = {}
281 decoder(value, 0, len(value), self.message, result_dict)
282 return result_dict[field_descriptor]
/external/toolchain-utils/crosperf/
Dresults_cache.py108 result_dict = field_dict[k2]
110 if 'value' in result_dict:
111 keyvals_dict[key] = result_dict['value']
112 elif 'values' in result_dict:
113 values = result_dict['values']
114 if ('type' in result_dict and
115 result_dict['type'] == 'list_of_scalar_values' and values and
120 units_dict[key] = result_dict['units']
/external/autotest/frontend/tko/
Drpc_interface.py291 for result_dict in test_query:
292 hostname = result_dict['hostname']
293 test = result_dict['test_name']
294 machine_idx = result_dict['machine_idx']
/external/python/cpython3/Lib/distutils/tests/
Dtest_dist.py114 result_dict = {
132 sorted(result_dict.keys()))
135 self.assertEqual(value, result_dict[key])
141 for key in result_dict.keys():
/external/autotest/client/common_lib/cros/
Dgs_cache_client.py292 result_dict = self._api.extract(
297 for k, v in result_dict.items()
/external/autotest/site_utils/
Dgenerate_test_report541 def _PrintResultDictKeyVals(self, test_entry, result_dict): argument
553 if not result_dict:
555 dict_keys = result_dict.keys()
565 self._color.BOLD, result_dict[dict_key])
/external/google-fruit/extras/benchmark/
Drun_benchmarks.py81 result_dict = dict()
86 result_dict[metric] = value
87 return result_dict
/external/tensorflow/tensorflow/python/kernel_tests/
Dparse_single_example_op_test.py108 for result_dict in [out, out_with_example_name]:
109 result = flatten_values_tensors_or_sparse(result_dict.values())
112 _compare_output_to_expected(self, result_dict, expected_values,