Home | History | Annotate | Download | only in scripts

Lines Matching defs:appendSection

290     def appendSection(self, section, text):
838 self.appendSection('command', '')
839 self.appendSection('command', '// Declare only')
840 self.appendSection('command', decls[0])
850 self.appendSection('command', '')
851 self.appendSection('command', '#ifdef '+ feature_extra_protect)
856 self.appendSection('command', '')
857 self.appendSection('command', decls[0][:-1])
858 self.appendSection('command', '{')
864 self.appendSection('command', ' instance_layer_data *dev_data = GetLayerDataPtr(get_dispatch_key('+dispatchable_name+'), instance_layer_data_map);')
866 self.appendSection('command', ' layer_data *dev_data = GetLayerDataPtr(get_dispatch_key('+dispatchable_name+'), layer_data_map);')
877 self.appendSection('command', "\n".join(str(api_decls).rstrip().split("\n")))
879 self.appendSection('command', "\n".join(str(api_pre).rstrip().split("\n")))
896 self.appendSection('command', ' ' + assignresult + API + '(' + paramstext + ');')
898 self.appendSection('command', "\n".join(str(api_post).rstrip().split("\n")))
901 self.appendSection('command', ' return result;')
902 self.appendSection('command', '}')
904 self.appendSection('command', '#endif // '+ feature_extra_protect)