Lines Matching refs:Name
77 % (entry.Name(), entry.Tag(), self._tags[entry.Tag()], LINE_COUNT)
80 self._tags[entry.Tag()] = entry.Name()
81 declare(" Added entry: %s" % entry.Name())
83 def Name(self):
89 name = "%s_%s" % (self._name, entry.Name())
121 dcl = entry.AssignDeclaration("(*%s_assign)" % entry.Name())
122 dcl.extend(entry.GetDeclaration("(*%s_get)" % entry.Name()))
124 dcl.extend(entry.AddDeclaration("(*%s_add)" % entry.Name()))
135 filep.write(" ev_uint8_t %s_set;\n" % entry.Name())
207 filep.write(" tmp->%s_set = 0;\n\n" % entry.Name())
276 filep.write(" if (tmp->%s_set) {\n" % entry.Name())
313 % (entry.Name())
331 % (entry.Name())
464 def Name(self):
497 "parent_name": self._struct.Name(),
517 return "%s_%s_get" % (self._struct.Name(), self._name)
521 "int %s(struct %s *, %s *);" % (funcname, self._struct.Name(), self._ctype)
538 return "%s_%s_assign" % (self._struct.Name(), self._name)
541 return "%s_%s_add" % (self._struct.Name(), self._name)
546 % (funcname, self._struct.Name(), self._ctype)
566 code = ["%s->%s_set = 0;" % (structname, self.Name())]
610 "int %s(struct %s *, %s **);" % (funcname, self._struct.Name(), self._ctype)
617 % (funcname, self._struct.Name(), self._ctype)
631 % (self._struct.Name(), name, self._struct.Name(), self._ctype),
646 % (self._struct.Name(), name, self._struct.Name(), self._ctype),
677 "%s->%s_set = 0;" % (structname, self.Name()),
850 "if (%s->%s_set == 1) {" % (structname, self.Name()),
851 " free(%s->%s_data);" % (structname, self.Name()),
852 " %s->%s_data = NULL;" % (structname, self.Name()),
853 " %s->%s_set = 0;" % (structname, self.Name()),
939 % (self._struct.Name(), name, self._struct.Name(), self._ctype),
1030 "if (%s->%s_set == 1) {" % (structname, self.Name()),
1031 " %s_free(%s->%s_data);" % (self._refname, structname, self.Name()),
1032 " %s->%s_data = NULL;" % (structname, self.Name()),
1033 " %s->%s_set = 0;" % (structname, self.Name()),
1079 % (funcname, self._struct.Name(), self._ctype)
1086 % (funcname, self._struct.Name(), self._ctype)
1096 % (self._struct.Name(), name, self._struct.Name(), self._ctype),
1116 % (self._struct.Name(), name, self._struct.Name(), self._ctype),
1154 "if (%s->%s_set == 1) {" % (structname, self.Name()),
1155 " free (%s->%s_data);" % (structname, self.Name()),
1156 " %s->%s_data = NULL;" % (structname, self.Name()),
1157 " %s->%s_length = 0;" % (structname, self.Name()),
1158 " %s->%s_set = 0;" % (structname, self.Name()),
1230 % (funcname, self._struct.Name(), self._ctype)