Home
last modified time | relevance | path

Searched refs:string_replace (Results 1 – 25 of 483) sorted by relevance

12345678910>>...20

/dports/sysutils/cfengine317/cfengine-3.17.0/tests/acceptance/01_vars/02_functions/
H A Dstring_replace.cf4 # Test string_replace function
24 "match_once" string => string_replace("abcd", "abc", "ABC");
26 "match_none" string => string_replace("abdc", "abcd", "nope");
29 "overlap" string => string_replace("aaaa", "aaa", "yes");
31 "replace" string => string_replace($(test), "\t", "\r");
32 "replace2" string => string_replace($(test), "ghij\t", "tEsT");
36 "special" string => string_replace($(test2), "()", "1");
37 "special2" string => string_replace($(test2), "{}", "\1");
38 "special3" string => string_replace($(test2), ".*?", "\2");
41 "empty" string => string_replace("", "abc", "ABC");
[all …]
/dports/sysutils/cfengine316/cfengine-3.16.0/tests/acceptance/01_vars/02_functions/
H A Dstring_replace.cf4 # Test string_replace function
24 "match_once" string => string_replace("abcd", "abc", "ABC");
26 "match_none" string => string_replace("abdc", "abcd", "nope");
29 "overlap" string => string_replace("aaaa", "aaa", "yes");
31 "replace" string => string_replace($(test), "\t", "\r");
32 "replace2" string => string_replace($(test), "ghij\t", "tEsT");
36 "special" string => string_replace($(test2), "()", "1");
37 "special2" string => string_replace($(test2), "{}", "\1");
38 "special3" string => string_replace($(test2), ".*?", "\2");
41 "empty" string => string_replace("", "abc", "ABC");
[all …]
/dports/sysutils/cfengine/cfengine-3.19.0/tests/acceptance/01_vars/02_functions/
H A Dstring_replace.cf4 # Test string_replace function
24 "match_once" string => string_replace("abcd", "abc", "ABC");
26 "match_none" string => string_replace("abdc", "abcd", "nope");
29 "overlap" string => string_replace("aaaa", "aaa", "yes");
31 "replace" string => string_replace($(test), "\t", "\r");
32 "replace2" string => string_replace($(test), "ghij\t", "tEsT");
36 "special" string => string_replace($(test2), "()", "1");
37 "special2" string => string_replace($(test2), "{}", "\1");
38 "special3" string => string_replace($(test2), ".*?", "\2");
41 "empty" string => string_replace("", "abc", "ABC");
[all …]
/dports/sysutils/cfengine-devel/core-d08ae9eff/tests/acceptance/01_vars/02_functions/
H A Dstring_replace.cf4 # Test string_replace function
24 "match_once" string => string_replace("abcd", "abc", "ABC");
26 "match_none" string => string_replace("abdc", "abcd", "nope");
29 "overlap" string => string_replace("aaaa", "aaa", "yes");
31 "replace" string => string_replace($(test), "\t", "\r");
32 "replace2" string => string_replace($(test), "ghij\t", "tEsT");
36 "special" string => string_replace($(test2), "()", "1");
37 "special2" string => string_replace($(test2), "{}", "\1");
38 "special3" string => string_replace($(test2), ".*?", "\2");
41 "empty" string => string_replace("", "abc", "ABC");
[all …]
/dports/sysutils/cfengine318/cfengine-3.18.1/tests/acceptance/01_vars/02_functions/
H A Dstring_replace.cf4 # Test string_replace function
24 "match_once" string => string_replace("abcd", "abc", "ABC");
26 "match_none" string => string_replace("abdc", "abcd", "nope");
29 "overlap" string => string_replace("aaaa", "aaa", "yes");
31 "replace" string => string_replace($(test), "\t", "\r");
32 "replace2" string => string_replace($(test), "ghij\t", "tEsT");
36 "special" string => string_replace($(test2), "()", "1");
37 "special2" string => string_replace($(test2), "{}", "\1");
38 "special3" string => string_replace($(test2), ".*?", "\2");
41 "empty" string => string_replace("", "abc", "ABC");
[all …]
/dports/sysutils/cfengine319/cfengine-3.19.0/tests/acceptance/01_vars/02_functions/
H A Dstring_replace.cf4 # Test string_replace function
24 "match_once" string => string_replace("abcd", "abc", "ABC");
26 "match_none" string => string_replace("abdc", "abcd", "nope");
29 "overlap" string => string_replace("aaaa", "aaa", "yes");
31 "replace" string => string_replace($(test), "\t", "\r");
32 "replace2" string => string_replace($(test), "ghij\t", "tEsT");
36 "special" string => string_replace($(test2), "()", "1");
37 "special2" string => string_replace($(test2), "{}", "\1");
38 "special3" string => string_replace($(test2), ".*?", "\2");
41 "empty" string => string_replace("", "abc", "ABC");
[all …]
/dports/sysutils/gsmartcontrol/gsmartcontrol-1.1.3/src/hz/
H A Dfs_error_holder.h180 hz::string_replace(msg, "/path1/", p1, 1); in get_error_locale()
181 hz::string_replace(msg, "/path2/", p2, 1); in get_error_locale()
182 hz::string_replace(msg, "/errno/", loc_errno_str, 1); in get_error_locale()
205 hz::string_replace(msg, "/path1/", p1, 1); in get_error_utf8()
206 hz::string_replace(msg, "/path2/", p2, 1); in get_error_utf8()
233 hz::string_replace(msg, "/path1/", (err_path1 ? err_path1 : error_path1_), 1); in get_error_locale()
234 hz::string_replace(msg, "/path2/", (err_path2 ? err_path2 : error_path2_), 1); in get_error_locale()
235 hz::string_replace(msg, "/errno/", (errno_cstr ? errno_cstr : errno_str), 1); // utf-8 in get_error_locale()
243 hz::string_replace(msg, "/path1/", error_path1_, 1); in get_error_locale()
244 hz::string_replace(msg, "/path2/", error_path2_, 1); in get_error_locale()
[all …]
/dports/net-im/sayaka/sayaka-3.5.1/src/
H A Dtestacl.cpp576 input_str = string_replace(input_str, " ", ""); in test_showstatus_acl()
577 input_str = string_replace(input_str, "id:", "\"id\":"); in test_showstatus_acl()
578 input_str = string_replace(input_str, "reply:", "\"reply\":"); in test_showstatus_acl()
579 input_str = string_replace(input_str, "rt:", "\"rt\":"); in test_showstatus_acl()
580 input_str = string_replace(input_str, "rt_rep:","\"rt_rep\":"); in test_showstatus_acl()
581 input_str = string_replace(input_str, "ment:", "\"ment\":"); in test_showstatus_acl()
582 input_str = string_replace(input_str, "home", "\"home\":1"); in test_showstatus_acl()
583 input_str = string_replace(input_str, "filt", "\"filt\":1"); in test_showstatus_acl()
584 input_str = string_replace(input_str, "h---", "\"home\":-1"); in test_showstatus_acl()
585 input_str = string_replace(input_str, "f---", "\"filt\":-1"); in test_showstatus_acl()
[all …]
H A Dsubr.cpp39 rv = string_replace(rv, "\r\n", " "); in formatname()
40 rv = string_replace(rv, "\r", " "); in formatname()
41 rv = string_replace(rv, "\n", " "); in formatname()
57 rv = string_replace(rv, "&lt;", "<"); in unescape()
58 rv = string_replace(rv, "&gt;", ">"); in unescape()
59 rv = string_replace(rv, "&amp;", "&"); in unescape()
/dports/sysutils/cfengine-masterfiles/cfengine-masterfiles-3.19.0/inventory/
H A Dos.cf64 "description" string => string_replace(string_replace(
72 "description" string => string_replace(string_replace(string_replace(
84 …"description" string => string_replace(string_replace(string_replace(string_replace(string_replace(
/dports/sysutils/cfengine-masterfiles319/cfengine-masterfiles-3.19.0/inventory/
H A Dos.cf64 "description" string => string_replace(string_replace(
72 "description" string => string_replace(string_replace(string_replace(
84 …"description" string => string_replace(string_replace(string_replace(string_replace(string_replace(
/dports/sysutils/cfengine-masterfiles318/cfengine-masterfiles-3.18.1/inventory/
H A Dos.cf64 "description" string => string_replace(string_replace(
72 "description" string => string_replace(string_replace(string_replace(
84 …"description" string => string_replace(string_replace(string_replace(string_replace(string_replace(
/dports/sysutils/cfengine-masterfiles-devel/masterfiles-f98dca2d/inventory/
H A Dos.cf64 "description" string => string_replace(string_replace(
72 "description" string => string_replace(string_replace(string_replace(
84 …"description" string => string_replace(string_replace(string_replace(string_replace(string_replace(
/dports/finance/quickfix/quickfix-1.15.1/src/C++/test/
H A DStringUtilitiesTestCase.cpp38 string_replace( "A", "B", object ); in SUITE()
40 string_replace( "B", "A", object ); in SUITE()
42 string_replace( "A", "AB", object ); in SUITE()
44 string_replace( "AB", "ABCDE", object ); in SUITE()
46 string_replace( "ABCDE", "AB", object ); in SUITE()
/dports/math/gismo/gismo-21.12.0/unittests/
H A DgsUtils_test.cpp134 TEST(string_replace) in SUITE()
137 util::string_replace(s0, "abc", "xxx"); in SUITE()
140 util::string_replace(s0, "ijk", "yyy"); in SUITE()
143 util::string_replace(s0, "efg", "zzz"); in SUITE()
146 util::string_replace(s0, "xxx", "x"); in SUITE()
147 util::string_replace(s0, "yyy", "y"); in SUITE()
148 util::string_replace(s0, "zzz", "z"); in SUITE()
152 util::string_replace(s0, "x", "abc"); in SUITE()
153 util::string_replace(s0, "y", "ijk"); in SUITE()
154 util::string_replace(s0, "z", "efg"); in SUITE()
/dports/accessibility/speech-dispatcher/speech-dispatcher-0.10.2/src/modules/
H A Dgeneric.c442 string_replace(e_string, "$PLAY_COMMAND", in _generic_speak()
445 string_replace(e_string, "$TMPDIR", tmpdir); in _generic_speak()
448 string_replace(e_string, "$HOMEDIR", in _generic_speak()
452 string_replace(e_string, "$PITCH", in _generic_speak()
455 string_replace(e_string, "$PITCH_RANGE", in _generic_speak()
458 string_replace(e_string, "$RATE", in _generic_speak()
461 string_replace(e_string, "$VOLUME", in _generic_speak()
464 string_replace(e_string, "$LANGUAGE", in _generic_speak()
467 string_replace(e_string, "$PUNCT", in _generic_speak()
471 string_replace(e_string, "$VOICE", in _generic_speak()
[all …]
/dports/accessibility/py-speech-dispatcher/speech-dispatcher-0.10.2/src/modules/
H A Dgeneric.c442 string_replace(e_string, "$PLAY_COMMAND", in _generic_speak()
445 string_replace(e_string, "$TMPDIR", tmpdir); in _generic_speak()
448 string_replace(e_string, "$HOMEDIR", in _generic_speak()
452 string_replace(e_string, "$PITCH", in _generic_speak()
455 string_replace(e_string, "$PITCH_RANGE", in _generic_speak()
458 string_replace(e_string, "$RATE", in _generic_speak()
461 string_replace(e_string, "$VOLUME", in _generic_speak()
464 string_replace(e_string, "$LANGUAGE", in _generic_speak()
467 string_replace(e_string, "$PUNCT", in _generic_speak()
471 string_replace(e_string, "$VOICE", in _generic_speak()
[all …]
/dports/lang/v8/v8-9.6.180.12/build/config/ios/
H A Dswift_source_set.gni17 _target_label = string_replace(_target_label, "//", "", 1)
19 string_replace(string_replace(_target_label, "/", "_"), ":", "_")
/dports/graphics/blender/blender-2.91.0/intern/cycles/test/
H A Dutil_string_test.cpp126 string_replace(str, "x", ""); in TEST()
133 string_replace(str, "x", "y"); in TEST()
140 string_replace(str, "x", ""); in TEST()
147 string_replace(str, "x", ""); in TEST()
154 string_replace(str, "x", "FOO"); in TEST()
/dports/graphics/blender/blender-2.91.0/intern/cycles/util/
H A Dutil_string.cpp138 void string_replace(string &haystack, const string &needle, const string &other) in string_replace() function
153 string_replace(result, " (TM)", ""); in string_remove_trademark()
154 string_replace(result, " (R)", ""); in string_remove_trademark()
156 string_replace(result, "(TM)", ""); in string_remove_trademark()
157 string_replace(result, "(R)", ""); in string_remove_trademark()
/dports/misc/iio-oscilloscope/iio-oscilloscope-0.14-master/
H A Dmath_expression_generator.h71 static char * string_replace(const char * string, const char *pattern, in string_replace() function
121 new_expr = string_replace(old_expr, buf, NULL, eval); in c_file_create()
131 s2 = string_replace(s1, "Index", "i", NULL); in c_file_create()
133 s1 = string_replace(s2, "PreviousValue", "(i > 0 ? out_data[i -1] : 0)", NULL); in c_file_create()
134 s2 = string_replace(s1, "SampleCount", "chn_sample_cnt", NULL); in c_file_create()
/dports/sysutils/cfengine316/cfengine-3.16.0/examples/
H A Dstring_replace.cf28 "replace_once" string => string_replace("This is a string", "string", "thing");
30 "replace_several" string => string_replace("This is a string", "i", "o");
32 "replace_none" string => string_replace("This is a string", "boat", "no");
34 "replace_ambiguous" string => string_replace("aaaaa", "aaa", "b");
/dports/sysutils/cfengine317/cfengine-3.17.0/examples/
H A Dstring_replace.cf28 "replace_once" string => string_replace("This is a string", "string", "thing");
30 "replace_several" string => string_replace("This is a string", "i", "o");
32 "replace_none" string => string_replace("This is a string", "boat", "no");
34 "replace_ambiguous" string => string_replace("aaaaa", "aaa", "b");
/dports/sysutils/cfengine/cfengine-3.19.0/examples/
H A Dstring_replace.cf28 "replace_once" string => string_replace("This is a string", "string", "thing");
30 "replace_several" string => string_replace("This is a string", "i", "o");
32 "replace_none" string => string_replace("This is a string", "boat", "no");
34 "replace_ambiguous" string => string_replace("aaaaa", "aaa", "b");
/dports/sysutils/cfengine318/cfengine-3.18.1/examples/
H A Dstring_replace.cf28 "replace_once" string => string_replace("This is a string", "string", "thing");
30 "replace_several" string => string_replace("This is a string", "i", "o");
32 "replace_none" string => string_replace("This is a string", "boat", "no");
34 "replace_ambiguous" string => string_replace("aaaaa", "aaa", "b");

12345678910>>...20