Home | History | Annotate | Download | only in scripts

Lines Matching defs:appendSection

927     def appendSection(self, section, text):
950 self.appendSection('struct', body)
966 self.appendSection('command', '')
967 self.appendSection('command', 'static %s' % (decls[0]))
991 self.appendSection('command', '')
993 self.appendSection('command', '// declare only')
994 self.appendSection('command', 'static %s' % (decls[0]))
995 self.appendSection('command', '// TODO: Implement custom intercept body')
997 self.appendSection('command', 'static %s' % (decls[0][:-1]))
998 self.appendSection('command', '{\n%s}' % (CUSTOM_C_INTERCEPTS[name]))
1010 self.appendSection('command', '')
1011 self.appendSection('command', 'static %s' % (decls[0][:-1]))
1013 self.appendSection('command', '{%s}' % (CUSTOM_C_INTERCEPTS[name]))
1015 self.appendSection('command', '{')
1034 self.appendSection('command', ' unique_lock_t lock(global_lock);')
1037 self.appendSection('command', ' for (uint32_t i = 0; i < %s; ++i) {' % (lp_len))
1038 self.appendSection('command', ' %s[i] = (%s)%s;' % (lp_txt, lp_type, allocator_txt))
1039 self.appendSection('command', ' }')
1042 self.appendSection('command', ' *%s = (%s)%s;' % (lp_txt, lp_type, allocator_txt))
1044 self.appendSection('command', '//Destroy object')
1046 self.appendSection('command', '//Not a CREATE or DESTROY function')
1054 self.appendSection('command', ' return VK_SUCCESS;')
1055 self.appendSection('command', '}')