/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/ |
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 93 mv $tmp_soong_var $out_dir/soong/soong.variables
|
D | build_linux_bionic.sh | 59 tmp_soong_var=$(mktemp --tmpdir soong.variables.bak.XXXXXX) 61 cat $out_dir/soong/soong.variables > ${tmp_soong_var} 74 python3 <<END - ${tmp_soong_var} ${out_dir}/soong/soong.variables
|
/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/test/701-easy-div-rem/ |
D | genMain.py | 41 def subst_vars(variables, text): argument 43 for key, value in variables.iteritems():
|
/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 | 213 std::vector<jvmtiLocalVariableEntry> variables; in GetLocalVariableTable() local 217 jlong table_size = sizeof(jvmtiLocalVariableEntry) * variables.size(); in GetLocalVariableTable() 221 for (jvmtiLocalVariableEntry& e : variables) { in GetLocalVariableTable() 228 *out_entry_count_ptr = variables.size(); in GetLocalVariableTable() 229 memcpy(*out_table_ptr, variables.data(), table_size); in GetLocalVariableTable() 249 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/626-checker-arm64-scratch-register/smali/ |
D | Main2.smali | 178 # // order of the instructions where these variables are used below.
|