Home
last modified time | relevance | path

Searched refs:varid (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Tools/c-analyzer/c_analyzer/variables/
Dknown.py54 def look_up_variable(varid, knownvars, *, argument
69 if varid.funcname == UNKNOWN:
70 if not varid.filename or varid.filename == UNKNOWN:
71 for varid in knownvars:
72 if not varid.funcname:
74 if varid.name == varid.name:
75 return knownvars[varid]
79 for varid in knownvars:
80 if not varid.funcname:
82 if not match_files(varid.filename, varid.filename):
[all …]
Dinfo.py35 varid = ID(filename, funcname, name)
37 self = cls.from_id(varid, decl)
39 self = cls(varid, storage, decl)
43 def from_id(cls, varid, decl): argument
45 storage = extract_storage(decl, infunc=varid.funcname)
46 return cls(varid, storage, decl)
Dfind.py67 for varid, decl in iter_vars(filenames or (),
73 var = handle_var(varid, decl)
/external/python/cpython3/Tools/c-analyzer/c_analyzer/parser/
Dnaive.py136 for varid, decl in _iter_variables(filename,
140 if _match_varid(varid, name, funcname, ignored):
141 return varid, decl
160 for varid in varids:
161 if varid.filename and varid.filename != UNKNOWN:
162 srcfiles = [varid.filename]
165 yield varid, UNKNOWN
169 varid, decl = _find_varid(filename, varid.funcname, varid.name,
174 if varid:
175 yield varid, decl
[all …]
Dfind.py24 varid = handle_id(filename, funcname, name)
25 yield varid, decl
66 for varid, decl in _iter_vars(filenames,
70 if varid.name != name:
73 if varid.funcname:
74 if varid.funcname == UNKNOWN:
76 return varid, decl
77 elif not varid.funcname:
78 return varid, decl
/external/python/cpython3/Tools/c-analyzer/cpython/
D_generate.py101 for varid in cached:
102 if varid.name == name:
106 return cached.pop(varid)
111 def find_matching_variable(varid, varcache, allfilenames, *, argument
114 if varid.filename and varid.filename != UNKNOWN:
115 filenames = [varid.filename]
119 variable = _pop_cached(varcache, filename, varid.funcname, varid.name)
123 if varid.filename and varid.filename != UNKNOWN and varid.funcname is None:
127 variable = _pop_cached(varcache, filename, None, varid.name)
249 varid = ID(filename, funcname, symbol.name)
[all …]
D__main__.py20 for varid in knownvars:
21 if varid in used:
23 if varid.funcname is not None:
25 if varid.name != variable.name:
28 if variable.filename == varid.filename:
29 found.append(varid)
31 found.append(varid)
52 for varid in sorted(badknown):
54 unused = sorted(varid
55 for varid in set(knownvars) - used
[all …]
Dknown.py38 def _handle_var(varid, decl): argument
42 storage = _get_storage(decl, varid.funcname)
43 return Variable(varid, storage, decl)
54 def look_up_variable(varid, knownvars, *, argument
66 return _lookup(varid, knownvars)
Dsupported.py343 def _get_row(varid, reason): argument
345 varid.filename,
346 varid.funcname or '-',
347 varid.name,
/external/python/cpython3/Tools/c-analyzer/c_analyzer/symbols/
Dfind.py21 for varid in knownvars:
22 if symbol.match(varid):
26 return knownvars.pop(varid)
61 varid, decl = _from_source(symbol, filenames,
65 found = handle_var(varid, decl)
72 varid, decl = _from_source(symbol, filenames,
76 return handle_var(varid, decl)
/external/python/cpython3/Lib/test/test_tools/test_c_analyzer/test_variables/
Dtest_known.py82 def _handle_var(self, varid, decl): argument
83 self.calls.append(('_handle_var', (varid, decl)))
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_shader.c178 int varid = 0; in etna_link_shaders() local
179 etna_bitarray_set(vs_output, 8, varid++, vs->vs_pos_out_reg); in etna_link_shaders()
181 etna_bitarray_set(vs_output, 8, varid++, link.varyings[idx].reg); in etna_link_shaders()
183 etna_bitarray_set(vs_output, 8, varid++, vs->vs_pointsize_out_reg); /* pointsize is last */ in etna_link_shaders()