Home
last modified time | relevance | path

Searched refs:locatedb (Results 1 – 2 of 2) sorted by relevance

/tools/asuite/atest-py2/tools/
Datest_tools.py165 def _get_cc_result(locatedb=None): argument
171 if not locatedb:
172 locatedb = constants.LOCATE_CACHE
180 find_cc_cmd = find_cmd.format(locatedb, cc_grep_re)
184 def _get_java_result(locatedb=None): argument
190 if not locatedb:
191 locatedb = constants.LOCATE_CACHE
194 find_cmd = r"locate -d%s '*.java' '*.kt'|grep -i test" % locatedb
196 find_cmd = r"locate -d%s / | egrep -i '/*.test.*\.(java|kt)$'" % locatedb
/tools/asuite/atest/tools/
Datest_tools.py191 def _get_cc_result(locatedb=None): argument
197 if not locatedb:
198 locatedb = constants.LOCATE_CACHE
206 find_cc_cmd = find_cmd.format(locatedb, cc_grep_re)
210 def _get_java_result(locatedb=None): argument
216 if not locatedb:
217 locatedb = constants.LOCATE_CACHE
220 find_cmd = r"locate -d%s '*.java' '*.kt'|grep -i test" % locatedb
222 find_cmd = r"locate -d%s / | egrep -i '/*.test.*\.(java|kt)$'" % locatedb