Lines Matching refs:name

35     def __init__(self, name):
36 self.name = name
39 def add_field(self, index, name, type):
40 self.fields.append((index,name,type))
47 for index, name, type in self.fields:
51 print("%s.%s unknown bits %x" % (self.name, name, unk))
70 print("%s.%sunknown integer type %d" % (self.name, name, size))
77 fields[index] = "`%s` %s%s" % (name, tname, flags)
79 keys.append("`%s`" % name)
82 return "CREATE TABLE %s (%s PRIMARY KEY %s)" % (self.name, fields, keys)
117 r.SetStream(i+1, field.name)
129 def add_stream(db, name, path):
130 v = db.OpenView("INSERT INTO _Streams (Name, Data) VALUES ('%s', ?)" % name)
136 def init_database(name, schema,
140 os.unlink(name)
145 db = OpenDatabase(name, MSIDBOPEN_CREATE)
191 def __init__(self, name):
192 self.name = name
220 [(1, self.index, None, "#"+self.name, None, None)])
221 add_stream(db, self.name, filename)
233 None), the path to the physical directory, and a logical directory name.
263 directory. If no component name is given, the directory name is used. If no feature
333 if there is no current component. By default, the file name in the source
402 self.name = fname
404 return 'msilib.Binary(os.path.join(dirname,"%s"))' % self.name
420 def __init__(self, dlg, name):
422 self.name = name
426 [(self.dlg.name, self.name, event, argument,
431 [(self.dlg.name, self.name, event, attribute)])
435 [(self.dlg.name, self.name, action, condition)])
438 def __init__(self, dlg, name, property):
440 self.name = name
444 def add(self, name, x, y, w, h, text, value = None):
446 value = name
453 def __init__(self, db, name, x, y, w, h, attr, title, first, default, cancel):
455 self.name = name
457 add_data(db, "Dialog", [(name, x,y,w,h,attr,title,first,default,cancel)])
459 def control(self, name, type, x, y, w, h, attr, prop, text, next, help):
461 [(self.name, name, type, x, y, w, h, attr, prop, text, next, help)])
462 return Control(self, name)
464 def text(self, name, x, y, w, h, attr, text):
465 return self.control(name, "Text", x, y, w, h, attr, None,
468 def bitmap(self, name, x, y, w, h, text):
469 return self.control(name, "Bitmap", x, y, w, h, 1, None, text, None, None)
471 def line(self, name, x, y, w, h):
472 return self.control(name, "Line", x, y, w, h, 1, None, None, None, None)
474 def pushbutton(self, name, x, y, w, h, attr, text, next):
475 return self.control(name, "PushButton", x, y, w, h, attr, None, text, next, None)
477 def radiogroup(self, name, x, y, w, h, attr, prop, text, next):
479 [(self.name, name, "RadioButtonGroup",
481 return RadioButtonGroup(self, name, prop)
483 def checkbox(self, name, x, y, w, h, attr, prop, text, next):
484 return self.control(name, "CheckBox", x, y, w, h, attr, prop, text, next, None)