/art/tools/checker/match/ |
D | line.py | 34 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 …]
|
D | file.py | 26 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/ |
D | logger.py | 58 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/ |
D | build_linux_bionic_tests.sh | 46 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
|
D | build_linux_bionic.sh | 53 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/ |
D | genMain.py | 41 def subst_vars(variables, text): argument 43 for key, value in variables.items():
|
/art/runtime/interpreter/mterp/ |
D | README.txt | 11 * Within a text line, $ can be used insert variables from code. 26 The following global variables are generally available:
|
/art/openjdkjvmti/ |
D | ti_method.cc | 231 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/tools/checker/ |
D | README | 62 variables. Any other surrounding text will be passed to Python's `eval` as is.
|
/art/test/ |
D | README.chroot.md | 37 0. Unset variables which are not used with the chroot-based approach (if they
|
D | README.md | 32 `default-check`). These scripts rely on environment variables set by
|
/art/test/626-checker-arm64-scratch-register/smali/ |
D | Main2.smali | 178 # // order of the instructions where these variables are used below.
|