/dports/mail/py-python-slimta/python-slimta-4.2.1/slimta/ |
H A D | bounce.py | 152 template_str = cls.header_template 153 if not isinstance(template_str, bytes): 154 template_str = template_str.encode('ascii') 155 template_str = re.sub(br'\r?\n', br'\r\n', template_str) 156 cls.header_template = BytesFormat(template_str, mode='remove') 159 template_str = cls.footer_template 160 if not isinstance(template_str, bytes): 161 template_str = template_str.encode('ascii') 162 template_str = re.sub(br'\r?\n', br'\r\n', template_str) 163 cls.footer_template = BytesFormat(template_str, mode='remove')
|
/dports/games/freeorion/freeorion-0.4.10.2/util/ |
H A D | i18n.h | 87 std::string template_str; in FlexibleFormatList() local 91 template_str = UserString("FORMAT_LIST_0_ITEMS"); in FlexibleFormatList() 94 template_str = UserString("FORMAT_LIST_1_ITEMS"); in FlexibleFormatList() 97 template_str = UserString("FORMAT_LIST_2_ITEMS"); in FlexibleFormatList() 100 template_str = UserString("FORMAT_LIST_3_ITEMS"); in FlexibleFormatList() 103 template_str = UserString("FORMAT_LIST_4_ITEMS"); in FlexibleFormatList() 106 template_str = UserString("FORMAT_LIST_5_ITEMS"); in FlexibleFormatList() 109 template_str = UserString("FORMAT_LIST_6_ITEMS"); in FlexibleFormatList() 112 template_str = UserString("FORMAT_LIST_7_ITEMS"); in FlexibleFormatList() 115 template_str = UserString("FORMAT_LIST_8_ITEMS"); in FlexibleFormatList() [all …]
|
/dports/devel/elixir-distillery/distillery-1.5.2/lib/mix/lib/releases/ |
H A D | overlays.ex | 27 {:error, {:template_str, term()}} | 54 {:error, {:template_str, _}} = err -> err 65 with {:ok, path} <- template_str(path, vars), 73 with {:ok, from} <- template_str(from, vars), 74 {:ok, to} <- template_str(to, vars), 83 with {:ok, from} <- template_str(from, vars), 84 {:ok, to} <- template_str(to, vars), 95 {:ok, to} <- template_str(to, vars), 108 @spec template_str(String.t, Keyword.t) :: {:ok, String.t} | {:error, {:template_str, term}} 109 def template_str(str, overlay_vars) do function [all …]
|
/dports/lang/rust/rustc-1.58.1-src/compiler/rustc_codegen_gcc/src/ |
H A D | asm.rs | 372 template_str.push_str(ATT_SYNTAX_INS); in codegen_inline_asm() 381 template_str.push_str(s); in codegen_inline_asm() 385 template_str.push_str("%%"); in codegen_inline_asm() 386 template_str.push_str(s); in codegen_inline_asm() 393 template_str.push('%'); in codegen_inline_asm() 454 template_str.push_str(INTEL_SYNTAX_INS); in codegen_inline_asm() 680 let mut template_str = String::new(); in codegen_global_asm() localVariable 693 template_str.push_str(line); in codegen_global_asm() 694 template_str.push('\n'); in codegen_global_asm() 710 let template_str = in codegen_global_asm() localVariable [all …]
|
/dports/audio/mumble/mumble-1.3.3/src/murmur_grpcwrapper_protoc_plugin/ |
H A D | main.cpp | 238 const char *template_str; in Generate() local 241 template_str = CStream_SStream; in Generate() 243 template_str = CStream_SSingle; in Generate() 247 template_str = CSingle_SStream; in Generate() 249 template_str = CSingle_SSingle; in Generate() 252 cpp.Print(tpl, template_str); in Generate()
|
/dports/audio/murmur/mumble-1.3.3/src/murmur_grpcwrapper_protoc_plugin/ |
H A D | main.cpp | 238 const char *template_str; in Generate() local 241 template_str = CStream_SStream; in Generate() 243 template_str = CStream_SSingle; in Generate() 247 template_str = CSingle_SStream; in Generate() 249 template_str = CSingle_SSingle; in Generate() 252 cpp.Print(tpl, template_str); in Generate()
|
/dports/devel/pecl-mustache/mustache-0.9.2/ |
H A D | mustache_template.cpp | 56 char * template_str = NULL; in PHP_METHOD() local 62 &_this_zval, MustacheTemplate_ce_ptr, &template_str, &template_len) == FAILURE) { in PHP_METHOD() 70 if( template_len > 0 && template_str != NULL ) { in PHP_METHOD() 72 …stacheTemplate_ce_ptr, _this_zval, "template", sizeof("template") - 1, template_str, template_len); in PHP_METHOD() 74 …plate_ce_ptr, Z_OBJ_P(_this_zval), "template", sizeof("template") - 1, template_str, template_len); in PHP_METHOD()
|
H A D | mustache_lambda_helper.cpp | 102 char * template_str = NULL; in PHP_METHOD() local 108 &_this_zval, MustacheLambdaHelper_ce_ptr, &template_str, &template_len) == FAILURE) { in PHP_METHOD() 116 std::string templateStr(template_str/*, (size_t) Z_STRLEN_P(template_str)*/); in PHP_METHOD()
|
/dports/biology/p5-BioPerl/BioPerl-1.7.7/lib/Bio/Tools/ |
H A D | AmpliconSearch.pm | 20 my $template_str; 214 $template_str = undef; 284 $template_str = undef; 373 if (not defined $template_str) { 380 if ($template_str =~ m/$re/g) { 384 my $end = pos($template_str); 391 $template_str = ''; 408 $template_str = $self->template->seq;
|
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/modules/python/tests/ |
H A D | test_python_template.c | 123 PyObject *template_str = _py_string_from_string(template, -1); in create_py_log_template() local 124 PyObject *args = PyTuple_Pack(1, template_str); in create_py_log_template() 126 Py_DECREF(template_str); in create_py_log_template() 207 PyObject *template_str = _py_string_from_string("${PROGRAM}", -1); in Test() local 208 cr_assert_not(py_is_log_template_options((PyObject *)template_str)); in Test() 210 …PyObject *args = PyTuple_Pack(2, template_str, Py_None); /* Second argument must be PyLogTemplateO… in Test() 212 Py_DECREF(template_str); in Test()
|
/dports/cad/yosys/yosys-yosys-0.12/kernel/ |
H A D | yosys.cc | 402 template_str = stringf("%s\\%s", path.c_str(), template_str.c_str() + 5); in make_temp_file() 426 template_str = p; in make_temp_file() 430 return template_str; in make_temp_file() 436 template_str = make_temp_file(template_str); in make_temp_dir() 437 mkdir(template_str.c_str()); in make_temp_dir() 438 return template_str; in make_temp_dir() 440 template_str = make_temp_file(template_str); in make_temp_dir() 441 mkdir(template_str.c_str(), 0777); in make_temp_dir() 442 return template_str; in make_temp_dir() 455 template_str = p; in make_temp_dir() [all …]
|
/dports/dns/dnsviz/dnsviz-0.9.2/dnsviz/commands/ |
H A D | graph.py | 85 template_str = fh.read() 90 template_str = template_str.replace('LOCAL_MEDIA_URL', LOCAL_MEDIA_URL) 91 template_str = template_str.replace('JQUERY_PATH', JQUERY_PATH) 92 template_str = template_str.replace('JQUERY_UI_PATH', JQUERY_UI_PATH) 93 template_str = template_str.replace('JQUERY_UI_CSS_PATH', JQUERY_UI_CSS_PATH) 94 template_str = template_str.replace('RAPHAEL_PATH', RAPHAEL_PATH) 95 template_str = template_str.replace('JS_CODE', js_img) 98 fh = io.open(filename, 'w', encoding='utf-8').write(template_str)
|
/dports/math/vampire/vampire-4.5.1/Shell/ |
H A D | LaTeX.cpp | 339 vstring template_str = theory->tryGetInterpretedLaTeXName(l->functor(),true,l->isNegative()); in toString() local 341 if(template_str.empty()){ in toString() 352 while((start_pos = template_str.find(from, start_pos)) != std::string::npos) { in toString() 353 template_str.replace(start_pos, from.length(), to); in toString() 357 return template_str; in toString() 505 vstring template_str = theory->tryGetInterpretedLaTeXName(trm->functor(),false); in toString() local 507 if(template_str.empty()){ in toString() 516 while((start_pos = template_str.find(from, start_pos)) != std::string::npos) { in toString() 517 template_str.replace(start_pos, from.length(), to); in toString() 521 result += template_str; in toString()
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/src/mod/event_handlers/mod_cdr_sqlite/ |
H A D | mod_cdr_sqlite.c | 117 const char *template_str = NULL; in my_on_reporting() local 149 …template_str = (const char *) switch_core_hash_find(globals.template_hash, globals.default_templat… in my_on_reporting() 151 if (!template_str) { in my_on_reporting() 152 template_str = default_template; in my_on_reporting() 155 expanded_vars = switch_channel_expand_variables(channel, template_str); in my_on_reporting() 167 if (expanded_vars != template_str) { in my_on_reporting()
|
/dports/games/freeorion/freeorion-0.4.10.2/combat/ |
H A D | CombatEvents.cpp | 428 return str(FlexibleFormat(template_str) in CombatLogDescription() 586 const std::string& template_str = UserString("ENC_COMBAT_ATTACK_STR"); in CombatLogDescription() local 588 return str(FlexibleFormat(template_str) in CombatLogDescription() 600 return str(FlexibleFormat(template_str) in CombatLogDetails() 606 return str(FlexibleFormat(template_str) in CombatLogDetails() 686 std::string template_str, object_str; in CombatLogDescription() local 694 template_str = UserString("ENC_COMBAT_UNKNOWN_DESTROYED_STR"); in CombatLogDescription() 698 template_str = UserString("ENC_COMBAT_PLANET_INCAPACITATED_STR"); in CombatLogDescription() 702 template_str = UserString("ENC_COMBAT_DESTROYED_STR"); in CombatLogDescription() 879 const std::string& template_str = (number_launched >= 0 ? in CombatLogDescription() local [all …]
|
/dports/devel/awscli/awscli-1.20.61/awscli/customizations/cloudformation/ |
H A D | deploy.py | 254 template_str = handle.read() 265 template_dict = yaml_parse(template_str) 290 return self.deploy(deployer, stack_name, template_str, 297 def deploy(self, deployer, stack_name, template_str, argument 304 cfn_template=template_str,
|
/dports/mail/slimta/slimta-0.7.9/slimta/app/ |
H A D | setup.py | 81 template_str = resource_string('slimta.app', resource_name) 82 if isinstance(template_str, bytes): 83 template_str = template_str.decode('ascii') 84 tmpl = Template(template_str)
|
/dports/sysutils/cfengine317/cfengine-3.17.0/tests/acceptance/10_files/templating/ |
H A D | mustache_inline_demo.cf | 38 "template_str" string => "This is a test: {{a}}"; 44 edit_template_string => "$(template_str)", 50 "Rendering template file $(template_str) to $(G.testfile)";
|
/dports/sysutils/cfengine/cfengine-3.19.0/tests/acceptance/10_files/templating/ |
H A D | mustache_inline_demo.cf | 38 "template_str" string => "This is a test: {{a}}"; 44 edit_template_string => "$(template_str)", 50 "Rendering template file $(template_str) to $(G.testfile)";
|
/dports/sysutils/cfengine-devel/core-d08ae9eff/tests/acceptance/10_files/templating/ |
H A D | mustache_inline_demo.cf | 38 "template_str" string => "This is a test: {{a}}"; 44 edit_template_string => "$(template_str)", 50 "Rendering template file $(template_str) to $(G.testfile)";
|
/dports/sysutils/cfengine316/cfengine-3.16.0/tests/acceptance/10_files/templating/ |
H A D | mustache_inline_demo.cf | 38 "template_str" string => "This is a test: {{a}}"; 44 edit_template_string => "$(template_str)", 50 "Rendering template file $(template_str) to $(G.testfile)";
|
/dports/sysutils/cfengine318/cfengine-3.18.1/tests/acceptance/10_files/templating/ |
H A D | mustache_inline_demo.cf | 38 "template_str" string => "This is a test: {{a}}"; 44 edit_template_string => "$(template_str)", 50 "Rendering template file $(template_str) to $(G.testfile)";
|
/dports/sysutils/cfengine319/cfengine-3.19.0/tests/acceptance/10_files/templating/ |
H A D | mustache_inline_demo.cf | 38 "template_str" string => "This is a test: {{a}}"; 44 edit_template_string => "$(template_str)", 50 "Rendering template file $(template_str) to $(G.testfile)";
|
/dports/www/firefox/firefox-99.0/js/src/jit/ |
H A D | GenerateLIRFiles.py | 80 template_str = "" 82 template_str += str(num_value_allocs) + " * BOX_PIECES + " 84 template_str += str(num_int64_allocs) + " * INT64_PIECES + " 85 template_str += str(num_regular_allocs) 86 return template_str
|
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/modules/kvformat/tests/ |
H A D | test_format_welf.c | 98 assert_template(LogMessage *msg, const gchar *template_str, const gchar *expected) in assert_template() argument 101 cr_assert(log_template_compile(template, template_str, NULL)); in assert_template() 106 template_str, result->str, expected); in assert_template()
|