Home
last modified time | relevance | path

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

/art/tools/checker/match/
Dline.py39 def get_variable(name, variables, pos): argument
40 if name in variables:
41 return variables[name]
43 Logger.test_failed('Missing definition of variable "{}"'.format(name), pos, variables)
46 def set_variable(name, value, variables, pos): argument
47 if name not in variables:
48 return variables.copy_with(name, value)
50 Logger.test_failed('Multiple definitions of variable "{}"'.format(name), pos, variables)
53 def match_words(checker_word, string_word, variables, pos): argument
60 pattern = re.escape(get_variable(expression.name, variables, pos))
[all …]
Dfile.py27 def __init__(self, statement, line_no, variables): argument
30 self.variables = variables
81 def handle(self, statement, variables): argument
88 self._if(statement, variables)
90 self._elif(statement, variables)
107 def _if(self, statement, variables): argument
111 elif evaluate_line(statement, variables):
116 def _elif(self, statement, variables): argument
125 if evaluate_line(statement, variables):
163 def find_matching_line(statement, c1_pass, scope, variables, exclude_lines=[]): argument
[all …]
/art/tools/checker/common/
Dlogger.py58 def fail(msg, file=None, line=-1, line_text=None, variables=None): argument
75 if variables:
76 longest_name = max(len(var) for var in variables)
78 for var in collections.OrderedDict(sorted(variables.items())):
84 Logger.log(variables[var], Logger.Level.ERROR, out=sys.stderr)
98 def test_failed(msg, statement, variables): argument
100 Logger.fail(msg, statement.filename, statement.line_no, statement.original_text, variables)
/art/tools/
Dbuild_linux_bionic_tests.sh53 tmp_soong_var=$(mktemp --tmpdir soong.variables.bak.XXXXXX)
56 cat $out_dir/soong/soong.variables > ${tmp_soong_var}
57 python3 <<END - ${tmp_soong_var} ${out_dir}/soong/soong.variables
70 mv $tmp_soong_var $out_dir/soong/soong.variables
101 mv $tmp_soong_var $out_dir/soong/soong.variables
Dbuild_linux_bionic.sh63 tmp_soong_var=$(mktemp --tmpdir soong.variables.bak.XXXXXX)
66 cat $out_dir/soong/soong.variables > ${tmp_soong_var}
80 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/build/
DSoongConfig.bp1 // Set up Soong config variables.
2 // https://android.googlesource.com/platform/build/soong/+/master/README.md#soong-config-variables
/art/tools/checker/
DREADME63 variables. Any other surrounding text will be passed to Python's `eval` as is.
110 Like CHECK-EVAL, CHECK-IF and CHECK-ELIF support only referencing of variables, defining new
111 variables as part of the statement input is not allowed. Any other surrounding text will be passed
128 Statements inside branches can define new variables. If a new variable gets defined inside a branch
131 block defined by the CHECK-START statement. The absence of lexical scoping for Checker variables
147 The example above also shows how we can use environment variables to perform custom checks.
/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.cc232 std::vector<jvmtiLocalVariableEntry> variables; in GetLocalVariableTable() local
236 jlong table_size = sizeof(jvmtiLocalVariableEntry) * variables.size(); in GetLocalVariableTable()
240 for (jvmtiLocalVariableEntry& e : variables) { in GetLocalVariableTable()
247 *out_entry_count_ptr = variables.size(); in GetLocalVariableTable()
248 memcpy(*out_table_ptr, variables.data(), table_size); in GetLocalVariableTable()
268 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/test/626-checker-arm64-scratch-register/smali/
DMain2.smali178 # // order of the instructions where these variables are used below.