Lines Matching refs:conditionals
103 info=None, extra=None, conditionals = None):
112 if conditionals == None or len(conditionals) == 0:
113 self.conditionals = None
115 self.conditionals = conditionals[:]
118 extra, conditionals)))
130 if self.conditionals != None:
131 r = r + " " + repr(self.conditionals)
149 def set_conditionals(self, conditionals):
150 if conditionals == None or len(conditionals) == 0:
151 self.conditionals = None
153 self.conditionals = conditionals[:]
172 return self.conditionals
175 conditionals=None):
178 extra, conditionals)))
189 if conditionals != None:
190 self.set_conditionals(conditionals)
206 def add_ref(self, name, header, module, static, type, lineno, info=None, extra=None, conditionals = None):
212 d.update(header, module, type, lineno, info, extra, conditionals)
214 d = identifier(name, header, module, type, lineno, info, extra, conditionals)
228 def add(self, name, header, module, static, type, lineno, info=None, extra=None, conditionals = None):
234 d.update(header, module, type, lineno, info, extra, conditionals)
236 d = identifier(name, header, module, type, lineno, info, extra, conditionals)
337 if idx.functions[id].conditionals != \
338 self.functions[id].conditionals:
341 print(" H: %s" % self.functions[id].conditionals)
342 print(" C: %s" % idx.functions[id].conditionals)
596 self.conditionals = []
614 info, extra, self.conditionals)
617 info, extra, self.conditionals)
623 self.lineno(), info, extra, self.conditionals)
626 info, extra, self.conditionals)
959 # Processing of conditionals modified by Bill 1/1/05
961 # We process conditionals (i.e. tokens from #ifdef, #ifndef,
980 self.conditionals.append("defined(%s)" % apstr)
988 self.conditionals.append("!defined(%s)" % apstr)
1000 self.conditionals.append(apstr)
1004 if self.conditionals != [] and \
1006 self.conditionals[-1] = "!(%s)" % self.conditionals[-1]
1008 if self.conditionals != [] and \
1010 self.conditionals = self.conditionals[:-1]
1807 # Processing of conditionals modified by Bill 1/1/05
1809 if id.conditionals != None:
1811 for cond in id.conditionals: