Home
last modified time | relevance | path

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

/art/tools/checker/match/
Dline.py34 def getVariable(name, variables, pos): argument
35 if name in variables:
36 return variables[name]
38 Logger.testFailed("Missing definition of variable \"{}\"".format(name), pos, variables)
40 def setVariable(name, value, variables, pos): argument
41 if name not in variables:
42 return variables.copyWith(name, value)
44 Logger.testFailed("Multiple definitions of variable \"{}\"".format(name), pos, variables)
46 def matchWords(checkerWord, stringWord, variables, pos): argument
53 pattern = re.escape(getVariable(expression.name, variables, pos))
[all …]
Dfile.py26 def __init__(self, assertion, lineNo, variables): argument
29 self.variables = variables
46 def findMatchingLine(assertion, c1Pass, scope, variables, excludeLines=[]): argument
59 newVariables = MatchLines(assertion, c1Pass.body[i], variables)
62 raise MatchFailedException(assertion, scope.start, variables)
64 def matchDagGroup(assertions, c1Pass, scope, variables): argument
78 match = findMatchingLine(assertion, c1Pass, scope, variables, matchedLines)
79 variables = match.variables
83 return MatchInfo(MatchScope(min(matchedLines), max(matchedLines)), variables)
85 def testNotGroup(assertions, c1Pass, scope, variables): argument
[all …]
/art/tools/checker/common/
Dlogger.py58 def fail(msg, file=None, line=-1, lineText=None, variables=None): argument
73 if variables:
75 for var in variables:
78 for var in collections.OrderedDict(sorted(variables.items())):
83 Logger.log(variables[var], Logger.Level.Error, out=sys.stderr)
97 def testFailed(msg, assertion, variables): argument
99 Logger.fail(msg, assertion.fileName, assertion.lineNo, assertion.originalText, variables)
/art/tools/
Dbuild_linux_bionic_tests.sh46 tmp_soong_var=$(mktemp --tmpdir soong.variables.bak.XXXXXX)
49 cat $out_dir/soong/soong.variables > ${tmp_soong_var}
50 python3 <<END - ${tmp_soong_var} ${out_dir}/soong/soong.variables
63 mv $tmp_soong_var $out_dir/soong/soong.variables
94 mv $tmp_soong_var $out_dir/soong/soong.variables
Dbuild_linux_bionic.sh53 tmp_soong_var=$(mktemp --tmpdir soong.variables.bak.XXXXXX)
56 cat $out_dir/soong/soong.variables > ${tmp_soong_var}
69 python3 <<END - ${tmp_soong_var} ${out_dir}/soong/soong.variables
/art/test/701-easy-div-rem/
DgenMain.py41 def subst_vars(variables, text): argument
43 for key, value in variables.items():
/art/runtime/interpreter/mterp/
DREADME.txt11 * Within a text line, $ can be used insert variables from code.
26 The following global variables are generally available:
/art/openjdkjvmti/
Dti_method.cc231 std::vector<jvmtiLocalVariableEntry> variables; in GetLocalVariableTable() local
235 jlong table_size = sizeof(jvmtiLocalVariableEntry) * variables.size(); in GetLocalVariableTable()
239 for (jvmtiLocalVariableEntry& e : variables) { in GetLocalVariableTable()
246 *out_entry_count_ptr = variables.size(); in GetLocalVariableTable()
247 memcpy(*out_table_ptr, variables.data(), table_size); in GetLocalVariableTable()
267 variables.push_back({ in GetLocalVariableTable()
/art/test/
DREADME.chroot.md37 0. Unset variables which are not used with the chroot-based approach (if they
DREADME.md32 `default-check`). These scripts rely on environment variables set by
/art/tools/checker/
DREADME62 variables. Any other surrounding text will be passed to Python's `eval` as is.
/art/test/626-checker-arm64-scratch-register/smali/
DMain2.smali178 # // order of the instructions where these variables are used below.