/external/python/cpython3/Tools/c-analyzer/cpython/ |
D | supported.py | 103 elif _vartype_okay(variable.vartype, 126 if variable.vartype.startswith('static state '): 129 if variable.vartype.startswith('static identifier '): 196 def _is_vartype_okay(vartype, ignoredtypes=None): argument 197 if _is_object(vartype): 200 if vartype.startswith('static const '): 202 if vartype.startswith('const '): 207 if name in vartype: 211 if name in vartype: 214 if name in vartype: [all …]
|
D | find.py | 95 elif var.vartype == UNKNOWN: 98 elif skip_objects and _is_object(found.vartype):
|
D | _generate.py | 296 yield _as_known(found.id, found.vartype) 307 if variable.vartype== UNKNOWN: 309 yield _as_known(variable.id, variable.vartype)
|
/external/python/cpython3/Tools/c-analyzer/c_analyzer/parser/ |
D | declarations.py | 225 vartype = m.group(0) 226 name = stmt[len(vartype):].partition('=')[0].strip() 233 vartype = f'{vartype} ({inside.strip()}){after}' 237 vartype = f'{vartype} {before}' 239 vartype = vartype.strip() 240 while ' ' in vartype: 241 vartype = vartype.replace(' ', ' ') 243 return name, vartype 290 name, vartype = _parse_var(stmt) 292 yield (None, name, vartype) [all …]
|
/external/python/cpython3/Tools/c-analyzer/c_analyzer/variables/ |
D | info.py | 7 def normalize_vartype(vartype): argument 10 if vartype is None: 15 return str(vartype) 48 def __new__(cls, id, storage, vartype): argument 53 vartype=normalize_vartype(vartype) if vartype else None, 84 if self.vartype is None or self.vartype == UNKNOWN: 93 return 'const' in self.vartype.split()
|
/external/python/cpython3/Lib/test/test_tools/test_c_analyzer/test_variables/ |
D | test_info.py | 23 for vartype, expected in tests: 24 with self.subTest(vartype): 25 normalized = normalize_vartype(vartype) 50 vartype='int', 69 vartype='int', 84 vartype=value, 104 vartype=PseudoStr('int'), 114 vartype=Object(), 124 vartype=StrProxy('variable'), 134 vartype=('x', 'y', 'z'), [all …]
|
D | test_known.py | 95 self._return_read_file = [('variable', v.id, v.vartype) 122 *[('_handle_var', (v.id, v.vartype))
|
/external/autotest/tko/ |
D | job_serializer.py | 422 def set_attr_safely(self, var, attr, value, vartype): argument 439 if vartype in supported_types: 441 value = vartype() 442 elif not isinstance(value, vartype): 444 type(value), attr, vartype) 446 setattr(var, attr, vartype(value))
|
/external/python/cpython3/Lib/test/test_tools/test_c_analyzer/test_parser/ |
D | test_declarations.py | 518 name, vartype = _parse_var(stmt) 520 self.assertEqual((name, vartype), expected)
|
/external/rust/crates/half/src/binary16/ |
D | convert.rs | 4 (fn $name:ident($var:ident : $vartype:ty) -> $restype:ty { 8 pub(crate) fn $name($var: $vartype) -> $restype {
|
/external/python/cpython3/Lib/idlelib/ |
D | editor.py | 1202 def setvar(self, name, value, vartype=None): argument 1203 var = self.get_var_obj(name, vartype) 1209 def get_var_obj(self, name, vartype=None): argument 1211 if not var and vartype: 1213 self.tkinter_vars[name] = var = vartype(self.text)
|
/external/python/cpython2/Lib/idlelib/ |
D | EditorWindow.py | 1127 def setvar(self, name, value, vartype=None): argument 1128 var = self.get_var_obj(name, vartype) 1134 def get_var_obj(self, name, vartype=None): argument 1136 if not var and vartype: 1138 self.tkinter_vars[name] = var = vartype(self.text)
|
/external/python/setuptools/pkg_resources/ |
D | __init__.py | 127 def _declare_state(vartype, **kw): argument 129 _state_vars.update(dict.fromkeys(kw, vartype))
|