Lines Matching refs:apstr
966 apstr = self.lexer.tokens[0][1]
968 self.defines.append(apstr)
969 if string.find(apstr, 'ENABLED') != -1:
970 self.conditionals.append("defined(%s)" % apstr)
974 apstr = self.lexer.tokens[0][1]
976 self.defines.append(apstr)
977 if string.find(apstr, 'ENABLED') != -1:
978 self.conditionals.append("!defined(%s)" % apstr)
982 apstr = ""
984 if apstr != "":
985 apstr = apstr + " "
986 apstr = apstr + tok[1]
988 self.defines.append(apstr)
989 if string.find(apstr, 'ENABLED') != -1:
990 self.conditionals.append(apstr)
1798 apstr = ""
1800 if apstr != "":
1801 apstr = apstr + " && "
1802 apstr = apstr + cond
1803 output.write(" <cond>%s</cond>\n"% (apstr));