Home
last modified time | relevance | path

Searched refs:results (Results 1 – 25 of 2590) sorted by relevance

12345678910>>...104

/external/deqp/scripts/
Dtestset.py29 def all (results, predicate): argument
30 for result in results:
35 def any (results, predicate): argument
36 for result in results:
48 def __init__ (self, name, results): argument
50 self.results = results
68 results = []
70 results.append(TestCaseResult(case, []))
71 return results
73 def addResultsToCaseList (caselist, results): argument
[all …]
/external/skqp/tests/
DStringTest.cpp219 SkTArray<SkString> results; in DEF_TEST() local
221 SkStrSplit("a-_b_c-dee--f-_-_-g-", "-_", &results); in DEF_TEST()
222 REPORTER_ASSERT(r, results.count() == 6); in DEF_TEST()
223 REPORTER_ASSERT(r, results[0].equals("a")); in DEF_TEST()
224 REPORTER_ASSERT(r, results[1].equals("b")); in DEF_TEST()
225 REPORTER_ASSERT(r, results[2].equals("c")); in DEF_TEST()
226 REPORTER_ASSERT(r, results[3].equals("dee")); in DEF_TEST()
227 REPORTER_ASSERT(r, results[4].equals("f")); in DEF_TEST()
228 REPORTER_ASSERT(r, results[5].equals("g")); in DEF_TEST()
230 results.reset(); in DEF_TEST()
[all …]
/external/skia/tests/
DStringTest.cpp200 SkTArray<SkString> results; in DEF_TEST() local
202 SkStrSplit("a-_b_c-dee--f-_-_-g-", "-_", &results); in DEF_TEST()
203 REPORTER_ASSERT(r, results.count() == 6); in DEF_TEST()
204 REPORTER_ASSERT(r, results[0].equals("a")); in DEF_TEST()
205 REPORTER_ASSERT(r, results[1].equals("b")); in DEF_TEST()
206 REPORTER_ASSERT(r, results[2].equals("c")); in DEF_TEST()
207 REPORTER_ASSERT(r, results[3].equals("dee")); in DEF_TEST()
208 REPORTER_ASSERT(r, results[4].equals("f")); in DEF_TEST()
209 REPORTER_ASSERT(r, results[5].equals("g")); in DEF_TEST()
211 results.reset(); in DEF_TEST()
[all …]
/external/libcxxabi/src/
Dcxa_personality.cpp521 const scan_results& results) in set_registers() argument
529 static_cast<uintptr_t>(results.ttypeIndex)); in set_registers()
530 _Unwind_SetIP(context, results.landingPad); in set_registers()
554 static void scan_eh_tab(scan_results &results, _Unwind_Action actions, in scan_eh_tab() argument
559 results.ttypeIndex = 0; in scan_eh_tab()
560 results.actionRecord = 0; in scan_eh_tab()
561 results.languageSpecificData = 0; in scan_eh_tab()
562 results.landingPad = 0; in scan_eh_tab()
563 results.adjustedPtr = 0; in scan_eh_tab()
564 results.reason = _URC_FATAL_PHASE1_ERROR; in scan_eh_tab()
[all …]
/external/tensorflow/tensorflow/core/util/
Dtensor_slice_set_test.cc90 float results[10]; in TEST() local
91 EXPECT_TRUE(tss.Query(s, results)); in TEST()
93 EXPECT_EQ(expected[i], results[i]); in TEST()
105 float results[5]; in TEST() local
106 EXPECT_TRUE(tss.Query(s, results)); in TEST()
108 EXPECT_EQ(expected[i], results[i]); in TEST()
121 float results[6]; in TEST() local
122 EXPECT_TRUE(tss.Query(s, results)); in TEST()
124 EXPECT_EQ(expected[i], results[i]); in TEST()
135 float results[6]; in TEST() local
[all …]
/external/python/cpython3/Lib/lib2to3/fixes/
Dfix_operator.py43 def transform(self, node, results): argument
44 method = self._check_method(node, results)
46 return method(node, results)
49 def _sequenceIncludes(self, node, results): argument
50 return self._handle_rename(node, results, "contains")
53 def _isCallable(self, node, results): argument
54 obj = results["obj"]
59 def _repeat(self, node, results): argument
60 return self._handle_rename(node, results, "mul")
63 def _irepeat(self, node, results): argument
[all …]
Dfix_idioms.py90 def transform(self, node, results): argument
91 if "isinstance" in results:
92 return self.transform_isinstance(node, results)
93 elif "while" in results:
94 return self.transform_while(node, results)
95 elif "sorted" in results:
96 return self.transform_sort(node, results)
100 def transform_isinstance(self, node, results): argument
101 x = results["x"].clone() # The thing inside of type()
102 T = results["T"].clone() # The type being compared against
[all …]
Dfix_xrange.py27 def transform(self, node, results): argument
28 name = results["name"]
30 return self.transform_xrange(node, results)
32 return self.transform_range(node, results)
36 def transform_xrange(self, node, results): argument
37 name = results["name"]
42 def transform_range(self, node, results): argument
45 range_call = Call(Name("range"), [results["args"].clone()])
50 for n in results["rest"]:
66 results = {}
[all …]
/external/skia/
DPRESUBMIT.py126 results = []
128 results.append(
132 return results
166 results = []
168 results.append(
173 return results
177 results = []
189 results.append(output_api.PresubmitError(
191 return results
196 results = []
[all …]
/external/skqp/
DPRESUBMIT.py143 results = []
145 results.append(
150 return results
154 results = []
166 results.append(output_api.PresubmitError(
168 return results
173 results = []
178 results.append(output_api.PresubmitError('`python %s test` failed' % f))
179 return results
184 results = []
[all …]
/external/python/cpython2/Lib/lib2to3/fixes/
Dfix_operator.py41 def transform(self, node, results): argument
42 method = self._check_method(node, results)
44 return method(node, results)
47 def _sequenceIncludes(self, node, results): argument
48 return self._handle_rename(node, results, u"contains")
51 def _isCallable(self, node, results): argument
52 obj = results["obj"]
57 def _repeat(self, node, results): argument
58 return self._handle_rename(node, results, u"mul")
61 def _irepeat(self, node, results): argument
[all …]
Dfix_idioms.py90 def transform(self, node, results): argument
91 if "isinstance" in results:
92 return self.transform_isinstance(node, results)
93 elif "while" in results:
94 return self.transform_while(node, results)
95 elif "sorted" in results:
96 return self.transform_sort(node, results)
100 def transform_isinstance(self, node, results): argument
101 x = results["x"].clone() # The thing inside of type()
102 T = results["T"].clone() # The type being compared against
[all …]
Dfix_xrange.py27 def transform(self, node, results): argument
28 name = results["name"]
30 return self.transform_xrange(node, results)
32 return self.transform_range(node, results)
36 def transform_xrange(self, node, results): argument
37 name = results["name"]
42 def transform_range(self, node, results): argument
45 range_call = Call(Name(u"range"), [results["args"].clone()])
50 for n in results["rest"]:
66 results = {}
[all …]
/external/v8/
DPRESUBMIT.py72 results = []
75 results.append(output_api.PresubmitError("C++ lint check failed"))
78 results.append(output_api.PresubmitError(
83 results.append(output_api.PresubmitError("Status file check failed"))
84 results.extend(input_api.canned_checks.CheckAuthorizedAuthor(
86 return results
128 results = []
130 results.append(output_api.PresubmitError(
134 results.append(output_api.PresubmitPromptOrNotify(
139 return results
[all …]
/external/icu/icu4c/source/test/intltest/
Dlistformattertest.cpp40 UnicodeString three, UnicodeString four, UnicodeString results[4]) { in CheckFourCases()
48 CheckFormatting(formatter.getAlias(), input1, 1, results[0]); in CheckFourCases()
51 CheckFormatting(formatter.getAlias(), input2, 2, results[1]); in CheckFourCases()
54 CheckFormatting(formatter.getAlias(), input3, 3, results[2]); in CheckFourCases()
57 CheckFormatting(formatter.getAlias(), input4, 4, results[3]); in CheckFourCases()
61 UnicodeString three, UnicodeString four, UnicodeString results[4]) { in RecordFourCases()
69 formatter->format(input1, 1, results[0], errorCode); in RecordFourCases()
71 formatter->format(input2, 2, results[1], errorCode); in RecordFourCases()
73 formatter->format(input3, 3, results[2], errorCode); in RecordFourCases()
75 formatter->format(input4, 4, results[3], errorCode); in RecordFourCases()
[all …]
/external/autotest/client/common_lib/
Dgtest_parser.py173 results = self._master_name_re.search(line)
174 if results:
175 self.master_name = results.group(1)
178 results = self._disabled.search(line)
179 if results:
181 disabled = int(results.group(1))
194 results = self._flaky.search(line)
195 if results:
197 flaky = int(results.group(1))
210 results = self._test_start.search(line)
[all …]
/external/libchrome/base/strings/
Dstring_split_unittest.cc153 std::vector<std::string> results = SplitStringUsingSubstr( in TEST() local
155 ASSERT_EQ(1u, results.size()); in TEST()
156 EXPECT_THAT(results, ElementsAre("")); in TEST()
234 std::vector<std::string> results = SplitStringUsingSubstr( in TEST() local
237 ASSERT_EQ(1u, results.size()); in TEST()
238 EXPECT_THAT(results, ElementsAre("alongwordwithnodelimiter")); in TEST()
242 std::vector<std::string> results = SplitStringUsingSubstr( in TEST() local
245 ASSERT_EQ(6u, results.size()); in TEST()
246 EXPECT_THAT(results, ElementsAre("", "", "", "one", "two", "three")); in TEST()
250 std::vector<std::string> results = SplitStringUsingSubstr( in TEST() local
[all …]
/external/autotest/client/site_tests/platform_BootPerf/
Dplatform_BootPerf.py201 def _gather_vboot_times(self, results): argument
230 results['mhz_primary_cpu'] = khz / 1000.0
244 results['seconds_power_on_to_lf_start'] = times[0]
245 results['seconds_power_on_to_lf_end'] = times[1]
246 results['seconds_power_on_to_lk_start'] = times[2]
247 results['seconds_power_on_to_lk_end'] = times[3]
250 def _gather_firmware_boot_time(self, results): argument
268 boot_time = results['seconds_kernel_to_login']
269 results['seconds_power_on_to_kernel'] = firmware_time
270 results['seconds_power_on_to_login'] = (
[all …]
/external/tensorflow/tensorflow/core/graph/
Dgraph_constructor_test.cc74 ImportGraphDefResults* results = nullptr) { in ExpectError() argument
79 Status status = ImportGraphDef(opts, gdef_, &graph_, refiner, results); in ExpectError()
98 ImportGraphDefResults* results = nullptr) { in ExpectOK() argument
100 Status s = ImportGraphDef(opts, gdef_, &graph_, refiner, results); in ExpectOK()
1439 ImportGraphDefResults results; in TEST_F() local
1443 opts, &refiner, &results); in TEST_F()
1444 EXPECT_TRUE(results.missing_unused_input_map_keys.empty()); in TEST_F()
1447 results.missing_unused_input_map_keys.push_back(TensorId()); in TEST_F()
1451 &refiner, &results); in TEST_F()
1455 results.missing_unused_input_map_keys.clear(); in TEST_F()
[all …]
/external/ltp/utils/ffsb-6.0-rc2/
Dffsb_op.c58 void init_ffsb_op_results(ffsb_op_results_t * results) in init_ffsb_op_results() argument
60 memset(results, 0, sizeof(ffsb_op_results_t)); in init_ffsb_op_results()
63 static int exclusive_op(ffsb_op_results_t * results, unsigned int op_num) in exclusive_op() argument
70 ret += results->ops[i]; in exclusive_op()
85 static void print_op_results(unsigned int op_num, ffsb_op_results_t * results, in print_op_results() argument
91 double op_pcnt = 100 * (double)results->ops[op_num] / (double)total_ops; in print_op_results()
92 double weight_pcnt = 100 * (double)results->op_weight[op_num] / in print_op_results()
95 ffsb_printsize(buf, results->bytes[op_num] / runtime, 256); in print_op_results()
99 generic_op_print(ffsb_op_list[op_num].op_name, results->ops[op_num], in print_op_results()
105 ffsb_op_results_t * results, double runtime)
[all …]
/external/libyuv/files/
DPRESUBMIT.py34 results = []
35 results.extend(input_api.canned_checks.RunPylint(input_api, output_api,
52 results.extend(_RunPythonTests(input_api, output_api))
53 return results
57 results = []
58 results.extend(_CommonChecks(input_api, output_api))
59 results.extend(
61 return results
65 results = []
66 results.extend(_CommonChecks(input_api, output_api))
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/random/
Drandom_shuffle_queue_test.py85 results = []
88 results.append((a, b))
91 results.append((a[i], b[i]))
93 results)
116 results = []
118 results.append(dequeued_t.eval())
119 self.assertItemsEqual(elems, results)
133 results = []
136 results.append(sess.run(dequeued_t))
143 self.assertItemsEqual(elems, results)
[all …]
/external/webrtc/
DPRESUBMIT.py322 results = []
324 results.append(output_api.PresubmitError(
328 results.append(output_api.PresubmitPromptOrNotify(
333 return results
357 results = []
364 results.extend(_CheckApprovedFilesLintClean(
366 results.extend(input_api.canned_checks.RunPylint(input_api, output_api,
407 results.extend(input_api.canned_checks.CheckLongLines(
409 results.extend(input_api.canned_checks.CheckChangeHasNoTabs(
411 results.extend(input_api.canned_checks.CheckChangeHasNoStrayWhitespace(
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/fakes/
DRoboCursor.java18 protected Object[][] results = new Object[0][0]; field in RoboCursor
49 Object value = results[resultsIndex][columnIndex]; in getString()
55 Object value = results[resultsIndex][columnIndex]; in getShort()
61 Object value = results[resultsIndex][columnIndex]; in getInt()
67 return (Long) results[resultsIndex][columnIndex]; in getLong()
72 Object value = results[resultsIndex][columnIndex]; in getFloat()
78 Object value = results[resultsIndex][columnIndex]; in getDouble()
84 return (byte[]) results[resultsIndex][columnIndex]; in getBlob()
89 return DatabaseUtils.getTypeOfObject(results[0][columnIndex]); in getType()
94 return results[resultsIndex][columnIndex] == null; in isNull()
[all …]
/external/autotest/server/
Dautoserv143 def _run_with_ssp(job, container_id, job_id, results, parser, ssp_url, argument
166 results, control=control,
196 if parser.options.results:
197 paths_to_replace[parser.options.results] = container_result_dir
223 debug_files = os.listdir(os.path.join(results, 'debug'))
236 def correct_results_folder_permission(results): argument
248 if not results:
251 utils.run('sudo -n chown -R %s "%s"' % (os.getuid(), results))
252 utils.run('sudo -n chgrp -R %s "%s"' % (os.getgid(), results))
303 def run_autoserv(pid_file_manager, results, parser, ssp_url, use_ssp): argument
[all …]

12345678910>>...104