test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
symbols Namespace Reference

Functions

def get_libraries
 
def get_symbols
 

Variables

string addr_re = r"(?P<address>[0-9a-f]{1,16})?"
 
string code_re = r"(?P<code>[a-zA-Z])"
 
tuple demangled = set()
 
tuple dependencies = collections.defaultdict(set)
 
tuple deps = set()
 
tuple dm = subprocess.check_output(["c++filt",u])
 
tuple filetype = subprocess.check_output(["file", fpth])
 
tuple fpth = os.path.realpath(os.path.join(dirpath,f))
 
tuple G = nx.DiGraph()
 
tuple H = nx.DiGraph()
 
tuple ldd_line_re = re.compile(r"\s+(.*) => (.*) \(0x")
 
tuple libraries = collections.defaultdict(set)
 
string name = node+".dot"
 
tuple nm_line_re
 
tuple provides = collections.defaultdict(set)
 
tuple requires = collections.defaultdict(set)
 
tuple s = nx.dfs_successors(G,node)
 
string symbol_demunged_re = r"(?P<symbol>[a-zA-Z0-9_.$@:&()<>{}\[\]|^!%,~*+-=# ]+)"
 
string symbol_re = r"(?P<symbol>[a-zA-Z0-9_.$@]+)"
 
tuple symbols_re_skip = re.compile("(@@)")
 
tuple T = nx.dfs_tree(H,node)
 
tuple unmet = set()
 

Function Documentation

def symbols.get_libraries (   fname)

Definition at line 33 of file symbols.py.

References Clusterizer1DCommons.add(), and split.

33 
34 def get_libraries(fname):
35  lines = subprocess.check_output(["ldd",fname])
36  for l in lines.splitlines():
37  m = ldd_line_re.match(l)
38  if not m: continue
39  library = m.group(2)
40  libraries[os.path.basename(fname)].add(os.path.basename(library.rstrip('\r\n')))
41 
42 
43 paths=os.environ['LD_LIBRARY_PATH'].split(':')
void add(const std::vector< const T * > &source, std::vector< const T * > &dest)
double split
Definition: MVATrainer.cc:139
def get_libraries
Definition: symbols.py:33
def symbols.get_symbols (   fname)

Definition at line 22 of file symbols.py.

References Clusterizer1DCommons.add().

22 
23 def get_symbols(fname):
24  lines = subprocess.check_output(["nm", "-g", fname])
25  for l in lines.splitlines():
26  m = nm_line_re.match(l)
27  if not m : continue
28  symbol = m.group('symbol')
29  if m.group('code') == 'U':
30  requires[os.path.basename(fname)].add(symbol)
31  else:
32  provides[symbol].add(os.path.basename(fname))
void add(const std::vector< const T * > &source, std::vector< const T * > &dest)
def get_symbols
Definition: symbols.py:22

Variable Documentation

string symbols.addr_re = r"(?P<address>[0-9a-f]{1,16})?"

Definition at line 8 of file symbols.py.

string symbols.code_re = r"(?P<code>[a-zA-Z])"

Definition at line 9 of file symbols.py.

tuple symbols.demangled = set()

Definition at line 61 of file symbols.py.

Referenced by pat::UserData.checkDictionaries(), DQMStore.print_trace(), edm.typeDemangle(), and pat::UserData.typeNameFor().

tuple symbols.dependencies = collections.defaultdict(set)

Definition at line 19 of file symbols.py.

Referenced by EcalDQMonitorTask.EcalDQMonitorTask(), and ora.getTableHierarchyFromMappingElement().

tuple symbols.deps = set()

Definition at line 54 of file symbols.py.

Referenced by edm::eventsetup.findDependents(), MuIsoDepositProducer.produce(), CandIsoDepositProducer.produce(), L3MuonIsolationProducer.produce(), and L2MuonIsolationProducer.produce().

tuple symbols.dm = subprocess.check_output(["c++filt",u])

Definition at line 65 of file symbols.py.

Referenced by LMFIOV.fetchIdSql(), reco::tau::RecoTauConstructor.get(), ora::ClassUtils.getDataMemberProperty(), MCTruthHelper< P >.isDirectHardProcessTauDecayProduct(), MCTruthHelper< P >.isDirectPromptTauDecayProduct(), MCTruthHelper< P >.isDirectTauDecayProduct(), L1DataEmulDigi.L1DataEmulDigi(), heppy::RochCor.momcor_data(), heppy::RochCor2012.momcor_data(), heppy::RochCor.momcor_mc(), heppy::RochCor2012.momcor_mc(), Conv4HitsReco.mqFindByIteration(), PedeSteererWeakModeConstraints.PedeSteererWeakModeConstraints(), PseudoTopProducer.produce(), FP420DigiMain.push_digis(), RecoTauDecayModeCutMultiplexer.RecoTauDecayModeCutMultiplexer(), reco::tau::RecoTauDiscriminantInvariantWidth.RecoTauDiscriminantInvariantWidth(), reco::PFTau.setDecayMode(), LMFIOV.writeDBSql(), and LMFRunIOV.writeDBSql().

tuple symbols.filetype = subprocess.check_output(["file", fpth])

Definition at line 48 of file symbols.py.

Referenced by SiStripQualityStatistics.analyze(), TrackerMap.printall(), TrackerMap.save(), TrackerMap.save_as_fectrackermap(), TrackerMap.save_as_fedtrackermap(), TrackerMap.save_as_HVtrackermap(), and TrackerMap.save_as_psutrackermap().

tuple symbols.fpth = os.path.realpath(os.path.join(dirpath,f))

Definition at line 47 of file symbols.py.

tuple symbols.G = nx.DiGraph()

Definition at line 70 of file symbols.py.

tuple symbols.H = nx.DiGraph()

Definition at line 87 of file symbols.py.

tuple symbols.ldd_line_re = re.compile(r"\s+(.*) => (.*) \(0x")

Definition at line 15 of file symbols.py.

tuple symbols.libraries = collections.defaultdict(set)

Definition at line 20 of file symbols.py.

string symbols.name = node+".dot"

Definition at line 93 of file symbols.py.

tuple symbols.nm_line_re
Initial value:
1 = re.compile(r"\s+".join([addr_re, code_re, symbol_re]) + "\s*$",
2  re.I)
static std::string join(char **cmd)
Definition: RemoteFile.cc:18

Definition at line 13 of file symbols.py.

tuple symbols.provides = collections.defaultdict(set)

Definition at line 18 of file symbols.py.

tuple symbols.requires = collections.defaultdict(set)

Definition at line 17 of file symbols.py.

tuple symbols.s = nx.dfs_successors(G,node)

Definition at line 76 of file symbols.py.

string symbols.symbol_demunged_re = r"(?P<symbol>[a-zA-Z0-9_.$@:&()<>{}\[\]|^!%,~*+-=# ]+)"

Definition at line 11 of file symbols.py.

string symbols.symbol_re = r"(?P<symbol>[a-zA-Z0-9_.$@]+)"

Definition at line 10 of file symbols.py.

tuple symbols.symbols_re_skip = re.compile("(@@)")

Definition at line 12 of file symbols.py.

tuple symbols.T = nx.dfs_tree(H,node)

Definition at line 92 of file symbols.py.

tuple symbols.unmet = set()

Definition at line 60 of file symbols.py.