Home
last modified time | relevance | path

Searched refs:func (Results 1 – 19 of 19) sorted by relevance

/test/vts/utils/python/coverage/
Dgcno_parser_test.py73 func = function_summary.FunctionSummary(0, "func", "src.c", 1)
77 parser.ReadBlocks(n_blocks, func)
78 self.assertEqual(len(func.blocks), n_blocks)
80 self.assertEqual(func.blocks[i].flag, 3 * i)
81 self.assertEqual(func.blocks[i].index, i)
91 func = function_summary.FunctionSummary(0, "func", "src.c", 1)
92 func.blocks = [block_summary.BlockSummary(i, 3 * i)
103 parser.ReadArcs(n_arcs * 2 + 1, func)
107 func.blocks[src_block_index].exit_arcs[j].src_block.index,
110 func.blocks[src_block_index].exit_arcs[j].dst_block.index, i)
[all …]
Dgcno_parser.py92 func = None
105 if not func:
107 self.file_summary.functions[func.ident] = func
112 if func:
113 self.file_summary.functions[func.ident] = func
114 func = self.ReadFunction()
117 self.ReadBlocks(length, func)
120 self.ReadArcs(length, func)
123 self.ReadLines(length, func)
148 def ReadBlocks(self, length, func): argument
[all …]
Dgcda_parser_test.py47 func = function_summary.FunctionSummary(ident, 'test', 'test.c', 0)
48 fs.functions[ident] = func
56 func = parser.ReadFunction(5)
57 assert (func.ident == ident)
66 func = function_summary.FunctionSummary(0, 'test', 'test.c', 0)
68 func.blocks = blocks
69 fs.functions[func.ident] = func
77 parser.ReadCounts(func)
90 func = function_summary.FunctionSummary(0, 'test', 'test.c', 0)
92 func.blocks = blocks
[all …]
Dgcda_parser.py96 func = None
112 func = self.ReadFunction(length)
114 self.ReadCounts(func)
115 if not func.Resolve():
138 func = self.file_summary.functions[ident]
148 return func
150 def ReadCounts(self, func): argument
160 for block in func.blocks:
Dcoverage_report.py49 func = gcno_file_summary.functions[ident]
50 file_name = func.src_file_name
64 for block in func.blocks:
/test/vts/drivers/hal/common/component_loader/
DDllLoader.cpp61 void (*func)() = (void (*)())LoadSymbol("__sanitizer_reset_coverage"); in SancovResetCoverage() local
62 if (func == NULL) { in SancovResetCoverage()
65 func(); in SancovResetCoverage()
70 void (*func)(writeout_fn, flush_fn) = in GcovInit() local
72 if (func == NULL) { in GcovInit()
75 func(wfn, ffn); in GcovInit()
80 void (*func)() = (void (*)()) LoadSymbol("__gcov_flush"); in GcovFlush() local
81 if (func == NULL) { in GcovFlush()
84 func(); in GcovFlush()
DHalDriverLoader.cpp212 loader_function func = in LoadDriver() local
214 if (!func) { in LoadDriver()
219 DriverBase* driver = func(); in LoadDriver()
238 loader_function_with_arg func = in LoadDriverWithInterfacePointer() local
240 if (!func) { in LoadDriverWithInterfacePointer()
244 return func(interface_pt); in LoadDriverWithInterfacePointer()
/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/
DKernelProcFileTestBase.py42 func = p_multiple
45 func.__doc__ = '%ss : %ss %s \n| %s' % format_tuple
46 return func
59 func = t_token
60 func.__doc__ = tok
61 return func
/test/vts/runners/host/
Dsignals.py24 def GeneratedTest(func): argument
32 @functools.wraps(func)
34 func(*args, **kwargs)
36 func.__name__)
Dutils.py291 def concurrent_exec(func, param_list): argument
310 future_to_params = {executor.submit(func, *p): p for p in param_list}
545 def decorator(func): argument
546 @functools.wraps(func)
552 return func(*args, **kwargs)
555 "seconds.").format(func.__name__, sec))
Dbase_test.py822 def _exec_procedure_func(self, func): argument
836 if (func not in (self._onPass, self._onSilent, self._onSkip)
845 func.__name__)
848 func()
853 func.__name__, record.test_name)
854 record.addError(func.__name__, e)
1156 def _exec_func(self, func, *args): argument
1171 return func(*args)
1176 func.__name__, self.test_module_name)
/test/vts-testcase/kernel/api/proc/
DKernelProcFileTestBase.py43 func = p_multiple
46 func.__doc__ = '%ss : %ss %s \n| %s' % format_tuple
47 return func
60 func = t_token
61 func.__doc__ = tok
62 return func
/test/vts/utils/python/common/
Dtimeout_utils.py49 def decorator(func): argument
56 result = func(*args, **kwargs)
68 return wraps(func)(wrapper)
/test/framework/harnesses/host_controller/campaigns/testdata/
Ddefault_testcase.py131 def RecursivelyApply(input_list, func): argument
134 input_list[number] = RecursivelyApply(input_list[number], func)
136 input_list[number] = func(item)
/test/vts-testcase/security/poc/target/kernel_wifi/31707909/
Dpoc.cpp51 int func; member
87 s->func = 1; in poc()
/test/vts/testcases/vts_selftest/manual_tests/shell_performance/
DVtsSelfTestShellPerformance.py67 def Measure(self, func, *args): argument
75 func(*args)
/test/vts/utils/native/libcoverage/
DVtsCoverageConfigureMain.cpp39 bool parseFqInstaceName(string fqInstanceName, Lambda &&func) { in parseFqInstaceName() argument
49 std::forward<Lambda>(func)(fqInterfaceName, instanceName, halName); in parseFqInstaceName() local
/test/vts/runners/host/tcp_server/
Dcallback_server.py146 for id, func in _functions.items():
147 if func is callback_func:
/test/vts/utils/python/controllers/
Dandroid_device.py271 def filter_devices(ads, func): argument
285 if func(ad):