Lines Matching refs:replace
96 pattern = pattern.replace('*', '.*')
158 bpf_text = bpf_text.replace('FILTER',
161 bpf_text = bpf_text.replace('FILTER', '')
163 bpf_text = bpf_text.replace('FACTOR', 'delta /= 1000000;')
166 bpf_text = bpf_text.replace('FACTOR', 'delta /= 1000;')
169 bpf_text = bpf_text.replace('FACTOR', '')
172 bpf_text = bpf_text.replace('STORAGE', 'BPF_HASH(ipaddr, u32);\n' +
175 bpf_text = bpf_text.replace('ENTRYSTORE',
178 bpf_text = bpf_text.replace('STORE',
192 bpf_text = bpf_text.replace('STORAGE', 'BPF_HISTOGRAM(dist);')
193 bpf_text = bpf_text.replace('ENTRYSTORE', '')
194 bpf_text = bpf_text.replace('STORE',