Home
last modified time | relevance | path

Searched refs:template_str (Results 1 – 25 of 93) sorted by relevance

1234

/dports/mail/py-python-slimta/python-slimta-4.2.1/slimta/
H A Dbounce.py152 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 Di18n.h87 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 Doverlays.ex27 {: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 Dasm.rs372 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 Dmain.cpp238 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 Dmain.cpp238 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 Dmustache_template.cpp56 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 Dmustache_lambda_helper.cpp102 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 DAmpliconSearch.pm20 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 Dtest_python_template.c123 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 Dyosys.cc402 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 Dgraph.py85 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 DLaTeX.cpp339 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 Dmod_cdr_sqlite.c117 const char *template_str = NULL; in my_on_reporting() local
149template_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 DCombatEvents.cpp428 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 Ddeploy.py254 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 Dsetup.py81 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 Dmustache_inline_demo.cf38 "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 Dmustache_inline_demo.cf38 "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 Dmustache_inline_demo.cf38 "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 Dmustache_inline_demo.cf38 "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 Dmustache_inline_demo.cf38 "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 Dmustache_inline_demo.cf38 "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 DGenerateLIRFiles.py80 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 Dtest_format_welf.c98 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()

1234