Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 98) sorted by relevance

1234

/test/vts-testcase/kernel/encryption/
Dadiantum.cpp40 __le32 x; in get_unaligned_le32() local
42 memcpy(&x, p, sizeof(x)); in get_unaligned_le32()
43 return le32_to_cpu(x); in get_unaligned_le32()
47 __le32 x = cpu_to_le32(v); in put_unaligned_le32() local
49 memcpy(p, &x, sizeof(x)); in put_unaligned_le32()
53 __le64 x = cpu_to_le64(v); in put_unaligned_le64() local
55 memcpy(p, &x, sizeof(x)); in put_unaligned_le64()
116 static void ChaChaPermute(uint32_t x[16], int nrounds) { in ChaChaPermute()
119 CHACHA_QUARTERROUND(x[0], x[4], x[8], x[12]); in ChaChaPermute()
120 CHACHA_QUARTERROUND(x[1], x[5], x[9], x[13]); in ChaChaPermute()
[all …]
/test/vts/testcases/vts_selftest/test_framework/base_test/
DVtsSelfTestBaseTestFilter.py74 …test_func=lambda x: asserts.assertTrue(self.CheckPassFilter(x), 'Filter should accept test name: %…
76 name_func=lambda x: 'filter_accept_%s' % x)
83 …test_func=lambda x: asserts.assertFalse(self.CheckPassFilter(x), 'Filter should not accept test na…
85 name_func=lambda x: 'filter_not_accept_%s' % x)
/test/framework/harnesses/host_controller/command_processor/
Dcommand_config.py247 if not [x for x in builds[build_type] if x == device]:
256 if not [x for x in builds[build_type] if x == gsi]:
265 if not [x for x in builds[build_type] if x == test]:
276 x for x in builds[artifact]
277 if getattr(x, storage_type_text) ==
280 pab_builds.sort(key=lambda x: tuple([getattr(x, attribute)
283 pab_builds, lambda x: tuple([getattr(x, attribute)
303 targets = ",".join([x.name for x in group if x.name])
320 getattr(x, "" + artifact + "_build_target")
321 for x in group
[all …]
/test/mlts/benchmark/results/
Dgenerate_result.py178 baseline = next(filter(lambda x: x.backend_type == BASELINE_BACKEND,
180 other = sorted(filter(lambda x: x is not baseline, results),
181 key=lambda x: x.backend_type)
229 (start_sec + x * time_freq_step_sec) * 1000.0)
230 for x in range(left_to_pad)], [0] * left_to_pad)
233 (end_time + x * time_freq_step_sec) * 1000.0)
234 for x in range(right_to_pad)], [0] * right_to_pad)
240 (time_freq_start_sec + x * time_freq_step_sec) * 1000.0)
241 for x in range(len(time_freq_sec))], time_freq_sec)
294 val = [float(x) * 100.0 for x in result.evaluator_values]
[all …]
/test/vts-testcase/vndk/dependency/
Dvts_vndk_dependency_test.py122 self._sp_hal = [re.compile(x) for x in sp_hal_strings]
146 if not any(elf.MatchCpuAbi(x) for x in abi_list):
351 vendor_link_paths = [vndk_utils.FormatVndkPath(x, bitness) for
352 x in self._VENDOR_LINK_PATHS]
363 sp_hal_link_paths = [vndk_utils.FormatVndkPath(x, bitness) for
364 x in self._SP_HAL_LINK_PATHS]
372 if any(x.match(obj.target_path) for x in self._sp_hal):
376 bitness, ", ".join(x.name for x in sp_hal_libs))
387 bitness, ", ".join(x.name for x in vndk_sp_ext_deps))
444 error_lines = ["%s: %s" % (x[0], x[1]) for x in read_errors]
[all …]
DVtsVndkDependencyTest.py125 self._sp_hal = [re.compile(x) for x in sp_hal_strings]
149 if not any(elf.MatchCpuAbi(x) for x in abi_list):
346 vendor_link_paths = [vndk_utils.FormatVndkPath(x, bitness) for
347 x in self._VENDOR_LINK_PATHS]
358 sp_hal_link_paths = [vndk_utils.FormatVndkPath(x, bitness) for
359 x in self._SP_HAL_LINK_PATHS]
367 if any(x.match(obj.target_path) for x in self._sp_hal):
371 bitness, ", ".join(x.name for x in sp_hal_libs))
382 bitness, ", ".join(x.name for x in vndk_sp_ext_deps))
439 error_lines = ["%s: %s" % (x[0], x[1]) for x in read_errors]
[all …]
/test/vts-testcase/kernel/linux_kselftest/
Dkselftest_config.py34 KSFT_CASES_PRESUBMIT = map(lambda x: test_case.LinuxKselftestTestcase(*(x)), [
37 KSFT_CASES_STABLE = map(lambda x: test_case.LinuxKselftestTestcase(*(x)), [
76 KSFT_CASES_STAGING = map(lambda x: test_case.LinuxKselftestTestcase(*(x)), [
/test/vti/test_serving/gae/webapp/src/endpoint/
Dendpoint_base.py58 return [x for x in resource_attrs if x in reference_attrs]
80 x[0] for x in value.__dict__.items()
81 if not x[0].startswith("_")
89 x.name for x in value.all_fields()
91 value.get_assigned_value(x.name) not in [None, []])
95 x for x in list(value.to_dict())
97 getattr(value, x, None) not in [None, []])
159 x for x in entities
160 if all([not getattr(x, attr) for attr in empty_repeated_field])
/test/vts/utils/python/coverage/testdata/
Dsample.c10 int x, y; local
11 x = 100;
13 testFunctionName(x + y);
15 printf("The value of x is %d. \n", x);
17 if (x > y) {
/test/vti/test_serving/gae/webapp/src/scheduler/
Dschedule_worker.py180 builds.sort(key=lambda x: x.build_id, reverse=True)
210 schedules.sort(key=lambda x: self.GetProductName(x))
214 lambda x: self.GetProductName(x))
217 group.sort(key=lambda x: x.priority_value if (
218 x.priority_value) else Status.GetPriorityValue(x.priority))
482 x for x in host_devices
483 if x.product.lower() == target_product_type.lower() and
485 x.device_equipment))
496 key=lambda x: (len(x.device_equipment)
497 if x.device_equipment else 0))
[all …]
Ddevice_heartbeat.py51 x for x in devices
52 if (datetime.datetime.now() - x.timestamp
77 x for x in lab.admin
78 if x not in labs_to_alert[lab.name]["_recipients"]
/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/
DProcUidConcurrentTimeTests.py58 no_repeated_uids = len(set(x[0] for x in times)) == len(times)
86 p[0] = sum(int(x) for x in p[1])
104 no_repeated_uids = len(set(x[0] for x in times)) == len(times)
DProcQtaguidCtrlTest.py38 if any(map(lambda x: x < 0, parsed)):
49 if any(map(lambda x: x < 0, parsed)):
/test/vts-testcase/kernel/api/proc/
DProcUidConcurrentTimeTests.py57 no_repeated_uids = len(set(x[0] for x in times)) == len(times)
84 p[0] = sum(int(x) for x in p[1])
102 no_repeated_uids = len(set(x[0] for x in times)) == len(times)
DProcQtaguidCtrlTest.py36 if any(map(lambda x: x < 0, parsed)):
47 if any(map(lambda x: x < 0, parsed)):
/test/vts-testcase/vndk/golden/
Dvndk_data.py107 abi_dir = next(x[0] for x in _ABI_LIST if abi_name.startswith(x[0]))
170 arch_name = next(x[2] for x in _ABI_LIST if
171 abi_name.startswith(x[0]) and x[1] == abi_bitness)
266 vndk_lists = tuple([] for x in tags)
305 vndk_lists = tuple([] for x in tags)
/test/vts-testcase/kernel/ltp/testcase/tools/common/
Dlist_utils.py41 x for x in itertools.chain(*lists) if not (x in seen or seen.add(x))
/test/framework/harnesses/host_controller/tfc/
Dapi_message.py46 return dict((x, getattr(self, x)) for x in keys if hasattr(self, x))
/test/vts/tools/vts-core-tradefed/tests/src/com/android/compatibility/tradefed/util/
DTargetFileUtilsTest.java42 for (int x = 0; x <= 7; x++) { in testHasPermission()
45 String permission = "" + x + y + z; in testHasPermission()
47 if (hasPermission(x, FilePermission.READ) in testHasPermission()
53 if (hasPermission(x, FilePermission.WRITE) in testHasPermission()
59 if (hasPermission(x, FilePermission.EXECUTE) in testHasPermission()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
DLinearPartition.java103 for (int x = 0; x < i; x++) { in buildPartitionTable()
104 float cost = Math.max(table[x][j - 1], table[i][0] - table[x][0]); in buildPartitionTable()
107 solution[i - 1][j - 1] = x; in buildPartitionTable()
/test/vts/utils/python/performance/
Dbenchmark_parser.py81 return [int(float(x[self._REAL_TIME])) for x in self._benchmarks]
93 table.append([record[x] for x in table[0]])
/test/vti/test_serving/gae/webapp/src/utils/
Demail_util.py126 x for x in lab.admin
127 if x not in labs_to_alert[lab.name]["_recipients"]
217 recipients.extend([x for x in lab.admin if x not in recipients])
287 x for x in address
288 if any(pattern.match(x) for pattern in verify_patterns)
/test/vts-testcase/vndk/files/
DVtsVndkFilesTest.py100 unexpected = [x for x in self._ListFiles(vndk_dir) if
101 path_utils.TargetBaseName(x) not in vndk_set]
121 unexpected = [x for x in self._ListFiles(vndk_dir) if
122 path_utils.TargetBaseName(x) in vndk_set]
Dvts_vndk_files_test.py95 unexpected = [x for x in self._ListFiles(vndk_dir) if
96 target_path_module.basename(x) not in vndk_set]
116 unexpected = [x for x in self._ListFiles(vndk_dir) if
117 target_path_module.basename(x) in vndk_set]
/test/vts/testcases/vts_selftest/manual_tests/shell_performance/
DVtsSelfTestShellPerformance.py103 x = (vts_list_time * repeats - vts_time) / ((repeats - 1) * repeats)
104 y = vts_list_time - repeats * x
105 z = adb_time / repeats - x
107 logging.info("estimated execution time for vts = %s", x)

1234