Home
last modified time | relevance | path

Searched refs:expr (Results 1 – 12 of 12) sorted by relevance

/tools/dexter/slicer/export/slicer/
Dcommon.h23 void _checkFailed(const char* expr, int line, const char* file) __attribute__((noreturn));
24 #define SLICER_CHECK(expr) do { if(!(expr)) slicer::_checkFailed(#expr, __LINE__, __FILE__); } whil… argument
33 void _weakCheckFailed(const char* expr, int line, const char* file);
34 #define SLICER_WEAK_CHECK(expr) do { if(!(expr)) slicer::_weakCheckFailed(#expr, __LINE__, __FILE__… argument
/tools/test/connectivity/acts/framework/acts/
Dasserts.py145 def assert_true(expr, msg, extras=None): argument
154 if not expr:
158 def assert_false(expr, msg, extras=None): argument
167 if expr:
185 def skip_if(expr, reason, extras=None): argument
194 if expr:
217 def abort_class_if(expr, reason, extras=None): argument
234 if expr:
253 def abort_all_if(expr, reason, extras=None): argument
266 if expr:
/tools/appbundle/bundletool/etc/
Dbundletool22 newProg=`expr "${newProg}" : ".* -> \(.*\)$"`
23 if expr "x${newProg}" : 'x/' >/dev/null; then
69 while expr "x$1" : 'x-J' >/dev/null; do
70 opt=`expr "x$1" : 'x-J\(.*\)'`
72 if expr "x${opt}" : "xXmx[0-9]" >/dev/null; then
/tools/apksig/etc/
Dapksigner22 newProg=`expr "${newProg}" : ".* -> \(.*\)$"`
23 if expr "x${newProg}" : 'x/' >/dev/null; then
69 while expr "x$1" : 'x-J' >/dev/null; do
70 opt=`expr "x$1" : 'x-J\(.*\)'`
72 if expr "x${opt}" : "xXmx[0-9]" >/dev/null; then
/tools/dexter/slicer/
Dcommon.cc28 void _checkFailed(const char* expr, int line, const char* file) { in _checkFailed() argument
29 printf("\nSLICER_CHECK failed [%s] at %s:%d\n\n", expr, file, line); in _checkFailed()
40 void _weakCheckFailed(const char* expr, int line, const char* file) { in _weakCheckFailed() argument
43 printf("\nSLICER_WEAK_CHECK failed [%s] at %s:%d\n\n", expr, file, line); in _weakCheckFailed()
/tools/metalava/
Dgradlew15 link=`expr "$ls" : '.*-> \(.*\)$'`
16 if expr "$link" : '/.*' > /dev/null; then
/tools/tradefederation/core/src/com/android/tradefed/util/
DEmmaXmlReportParser.java70 XPathExpression expr = xpath.compile(COVERAGE_XPATH); in parseXmlFile() local
71 NodeList nl = (NodeList) expr.evaluate(doc, XPathConstants.NODESET); in parseXmlFile()
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DPackageManagerOTATestUtils.java170 XPathExpression expr = xpath.compile(xPathString); in getNodeForXPath() local
171 Node node = (Node) expr.evaluate(doc, XPathConstants.NODE); in getNodeForXPath()
/tools/repohooks/rh/
Dutils.py497 expr = '\n'.join((
508 exec expr in namespace # pylint: disable=exec-used
Dhooks.py208 for expr in expressions:
209 if re.search(expr, subject):
/tools/repohooks/tools/
Dpylintrc372 max-bool-expr=5
Dcpplint.py3483 def _IsType(clean_lines, nesting_state, expr): argument
3495 last_word = Match(r'^.*(\b\S+)$', expr)
3499 token = expr