Home | History | Annotate | Download | only in tools

Lines Matching refs:item

28 # a dictionary that maps item types as they appear in the .ini
65 class Item:
110 lastItem = Item(value)
133 for item in items:
134 if item.type == None:
135 sys.stderr.write("ignoring config item with no type '%s'\n" % item.name)
138 if not typesToMacros.has_key(item.type):
139 sys.stderr.write("ignoring config item with unknown type '%s': '%s'\n" % \
140 (item.type, item.name))
143 if item.default == None:
144 sys.stderr.write("ignoring config item with no default '%s' */" % item.name)
148 varMacro = typesToMacros[item.type]
149 varNameStr = quoteStringForC(item.name)
150 varName = item.name.replace(".","_")
151 varDefault = item.default
152 varAbstract = quoteStringForC(item.abstract)
153 varDesc = quoteStringForC(item.description)
155 if item.type in [ 'string', 'boolean', 'diskSize' ]: