Home
last modified time | relevance | path

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

/tools/repohooks/tools/
Dcheckpatch.pl1704 my $var = '_' x length($stream);
1857 substr($var, length($res), 1, $av_pend_colon);
1879 substr($var, length($res), 1, $variant);
1897 return ($res, $var);
3616 my $var = $2;
3617 $var = "" if (!defined $var);
3631 $decl = rtrim($decl) if ($var eq "");
3632 $fixed[$fixlinenr] =~ s@\b$sign\s*\Q$pointer\E\s*$var\b@$decl$var@;
4552 my $var = $1;
4554 "Unnecessary parentheses around $var\n" . $herecurr) &&
[all …]
/tools/repohooks/rh/
Dhooks.py68 replacements = dict((var, self.get(var)) for var in all_vars)
88 var = '${%s}' % (key,)
89 if arg == var:
114 def get(self, var): argument
116 return getattr(self, 'var_%s' % (var,))
Dhooks_unittest.py86 for var in rh.hooks.Placeholders.vars():
87 self.assertIn('* `${%s}`:' % (var,), data,
88 msg='README.md missing docs for var "%s"' % (var,))
155 for var in self.replacer.vars():
156 self.assertIn('test%s' % (var,), dir(self),
157 msg='Missing unittest for variable %s' % (var,))
Dconfig_test.py36 def assertEnv(var, value): argument
38 assert var in os.environ, '$%s missing in environment' % (var,)
39 assertEqual('env[%s]' % (var,), value, os.environ[var])
Dsixish.py60 def setenv(var, val): argument
67 os.environ[var] = val
69 os.environ[var] = val.encode('utf-8')
/tools/treble/build/sandbox/
Drbe.py59 for var in env_array:
60 var = var.split('=')
61 name = var[0]
62 value = var[1]
Dnsjail.py295 for var in env:
296 nsjail_command.extend(['--env', var])
/tools/tradefederation/core/src/com/android/tradefed/util/
DSystemUtil.java108 String var = System.getenv(envVariable.name()); in getExternalTestCasesDir() local
109 if (var == null) { in getExternalTestCasesDir()
112 File dir = new File(var); in getExternalTestCasesDir()
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dhostapd_ap_preset.py30 def _get_or_default(var, default_value): argument
40 return var if var is not None else default_value
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java820 IDeviceBuildInfo info, File testsDir, EnvVariable var, String baseName) {
821 File externalDir = getExternalTestCasesDirs(var);
823 String path = SystemUtil.ENV_VARIABLE_PATHS_IN_TESTS_DIR.get(var);
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DIperfHelper.py107 var = statistics.variance(samples)
115 round(mean, 2), round(var, 2), round(max_dev, 2)))
/tools/security/fuzzing/orphans/pppd/
Deap_fuzz.cc9 #define S_MALLOC(var, size) \ argument
11 if ((var = (uint8_t *)malloc(size)) == NULL) { \
/tools/metalava/
DFORMAT.md273 var property2: String? = "initial"