Lines Matching full:replace
150 main_c = main_c.replace("%%MONITOR_TYPE%%", monitor_type)
151 main_c = main_c.replace("%%MIN_TYPE%%", min_type)
152 main_c = main_c.replace("%%MODEL_NAME%%", self.name)
153 main_c = main_c.replace("%%NR_EVENTS%%", str(nr_events))
154 main_c = main_c.replace("%%TRACEPOINT_HANDLERS_SKEL%%", tracepoint_handlers)
155 main_c = main_c.replace("%%TRACEPOINT_ATTACH%%", tracepoint_attach)
156 main_c = main_c.replace("%%TRACEPOINT_DETACH%%", tracepoint_detach)
157 main_c = main_c.replace("%%DESCRIPTION%%", self.description)
224 trace_h = trace_h.replace("%%MODEL_NAME%%", self.name)
225 trace_h = trace_h.replace("%%MODEL_NAME_UP%%", self.name.upper())
226 trace_h = trace_h.replace("%%MONITOR_CLASS%%", monitor_class)
227 trace_h = trace_h.replace("%%MONITOR_CLASS_TYPE%%", monitor_class_type)
228 trace_h = trace_h.replace("%%TRACEPOINT_ARGS_SKEL_EVENT%%", tracepoint_args_skel_event)
229 trace_h = trace_h.replace("%%TRACEPOINT_ARGS_SKEL_ERROR%%", tracepoint_args_skel_error)
235 kconfig = kconfig.replace("%%MODEL_NAME%%", self.name)
236 kconfig = kconfig.replace("%%MODEL_NAME_UP%%", self.name.upper())
237 kconfig = kconfig.replace("%%MONITOR_CLASS_TYPE%%", monitor_class_type)
238 kconfig = kconfig.replace("%%DESCRIPTION%%", self.description)
244 content = content.replace(marker, line + "\n" + marker)