Home
last modified time | relevance | path

Searched refs:result_dict (Results 1 – 16 of 16) 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/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/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/autotest/client/cros/audio/
Daudio_helper.py662 result_dict = dict()
665 result_dict['index'] = max_cross_correlation
666 result_dict['best_delay'] = best_delay
667 result_dict['equal'] = True if (
670 logging.debug('result_dict: %r', result_dict)
671 return result_dict
719 result_dict = dict(test_channel=test_channel,
721 result_dict.update(
725 compare_results.append(result_dict)
/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/toolchain-utils/crosperf/
Dresults_cache.py193 result_dict = field_dict[k2]
195 if 'value' in result_dict:
196 keyvals_dict[key] = result_dict['value']
197 elif 'values' in result_dict:
198 values = result_dict['values']
199 if ('type' in result_dict and
200 result_dict['type'] == 'list_of_scalar_values' and values and
205 units_dict[key] = result_dict['units']
/external/protobuf/python/google/protobuf/internal/
Dunknown_fields_test.py176 result_dict = {}
180 decoder(memoryview(value), 0, len(value), self.all_fields, result_dict)
181 self.assertEqual(expected_value, result_dict[field_descriptor])
/external/autotest/site_utils/
Dgenerate_test_report531 def _PrintResultDictKeyVals(self, test_entry, result_dict): argument
543 if not result_dict:
545 dict_keys = result_dict.keys()
555 self._color.BOLD, result_dict[dict_key])
/external/google-fruit/extras/benchmark/
Drun_benchmarks.py83 result_dict = dict()
88 result_dict[metric] = value
89 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,
/external/tensorflow/tensorflow/python/tpu/
Dtensor_tracer.py844 result_dict = {}
870 result_dict[signature_name] = signature_result_tensor
871 return result_dict
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DScriptInterpreterPython.cpp1620 PythonDictionary result_dict(PyRefType::Borrowed, py_return.get()); in OSPlugin_RegisterInfo() local
1621 return result_dict.CreateStructuredDictionary(); in OSPlugin_RegisterInfo()
1821 PythonDictionary result_dict(PyRefType::Borrowed, py_return.get()); in OSPlugin_CreateThread() local
1822 return result_dict.CreateStructuredDictionary(); in OSPlugin_CreateThread()