Lines Matching refs:conditionals
102 info=None, extra=None, conditionals = None): argument
111 if conditionals == None or len(conditionals) == 0:
112 self.conditionals = None
114 self.conditionals = conditionals[:]
117 extra, conditionals)))
129 if self.conditionals != None:
130 r = r + " " + repr(self.conditionals)
148 def set_conditionals(self, conditionals): argument
149 if conditionals == None or len(conditionals) == 0:
150 self.conditionals = None
152 self.conditionals = conditionals[:]
171 return self.conditionals
174 conditionals=None): argument
177 extra, conditionals)))
188 if conditionals != None:
189 self.set_conditionals(conditionals)
205 …_ref(self, name, header, module, static, type, lineno, info=None, extra=None, conditionals = None): argument
211 d.update(header, module, type, lineno, info, extra, conditionals)
213 d = identifier(name, header, module, type, lineno, info, extra, conditionals)
227 …def add(self, name, header, module, static, type, lineno, info=None, extra=None, conditionals = No… argument
233 d.update(header, module, type, lineno, info, extra, conditionals)
235 d = identifier(name, header, module, type, lineno, info, extra, conditionals)
336 if idx.functions[id].conditionals != \
337 self.functions[id].conditionals:
340 print(" H: %s" % self.functions[id].conditionals)
341 print(" C: %s" % idx.functions[id].conditionals)
595 self.conditionals = []
613 info, extra, self.conditionals)
616 info, extra, self.conditionals)
622 self.lineno(), info, extra, self.conditionals)
625 info, extra, self.conditionals)
979 self.conditionals.append("defined(%s)" % apstr)
987 self.conditionals.append("!defined(%s)" % apstr)
999 self.conditionals.append(apstr)
1003 if self.conditionals != [] and \
1005 self.conditionals[-1] = "!(%s)" % self.conditionals[-1]
1007 if self.conditionals != [] and \
1009 self.conditionals = self.conditionals[:-1]
1808 if id.conditionals != None:
1810 for cond in id.conditionals: