/dports/multimedia/quodlibet/quodlibet-4.3.0/quodlibet/util/string/ |
H A D | __init__.py | 52 assert len(escape_char) == 1 55 if isinstance(escape_char, str): 56 escape_char = escape_char.encode("ascii") 70 if char != escape_char and char != sep: 71 current += escape_char 75 if char == escape_char: 86 def join_escape(values, sep, escape_char="\\"): argument 96 assert len(escape_char) == 1 100 if isinstance(escape_char, str): 101 escape_char = escape_char.encode("ascii") [all …]
|
/dports/textproc/libexttextcat/libexttextcat-3.4.6/src/ |
H A D | utf8misc.c | 64 unsigned char escape_char = ((*str & WEIGHT_MASK) << 1); in utf8_next_char() local 70 while (escape_char & ESCAPE_MASK && *str) in utf8_next_char() 76 escape_char = escape_char << 1; in utf8_next_char() 102 unsigned char escape_char = ((str[pointer] & WEIGHT_MASK) << 1); in utf8_charcopy() local 108 while (escape_char & ESCAPE_MASK && str[pointer]) in utf8_charcopy() 111 escape_char = escape_char << 1; in utf8_charcopy() 141 unsigned char escape_char = ((key[pointer] & WEIGHT_MASK) << 1); in utf8_issame() local 143 while (escape_char & ESCAPE_MASK && key[pointer] == lex[pointer]) in utf8_issame() 145 escape_char = escape_char << 1; in utf8_issame()
|
/dports/textproc/libtextcat/libtextcat-2.2/src/ |
H A D | utf8misc.c | 48 …char escape_char = ((str[pointer] & WEIGHT_MASK) << 1); /*and we use it to count (by bit translati… in nextcharstart() local 50 …while(escape_char & ESCAPE_MASK && str[pointer]){/*every step, we move the byte of 1 bit left, whe… in nextcharstart() 51 escape_char = escape_char <<1; in nextcharstart() 69 …char escape_char = ((str[pointer] & WEIGHT_MASK) << 1); /*and we use it to count following charact… in charcopy() local 71 …while(escape_char & ESCAPE_MASK && str[pointer]){ /*every step, we move the byte of 1 bit left, … in charcopy() 73 escape_char = escape_char <<1; in charcopy() 97 …char escape_char = ((key[pointer] & WEIGHT_MASK) << 1); /*and we use it to count (only the wei… in issame() local 99 while(escape_char & ESCAPE_MASK && key[pointer] == lex[pointer] ){ in issame() 100 escape_char = escape_char <<1; in issame()
|
/dports/net-mgmt/collectd5/collectd-5.12.0/src/utils/format_graphite/ |
H A D | format_graphite.c | 123 dst[i] = escape_char; in gr_copy_escape_part() 161 sizeof(n_plugin_instance), escape_char, 1); in gr_format_name_tagged() 164 sizeof(n_type_instance), escape_char, 1); in gr_format_name_tagged() 239 gr_copy_escape_part(n_host, r_host, sizeof(n_host), escape_char, in gr_format_name() 248 sizeof(n_plugin_instance), escape_char, in gr_format_name() 290 assert(strchr(GRAPHITE_FORBIDDEN, escape_char) == NULL); in escape_graphite_string() 294 *head = escape_char; in escape_graphite_string() 299 char const *postfix, char const escape_char, in format_graphite() argument 326 postfix, escape_char, flags); in format_graphite() 334 escape_char, flags); in format_graphite() [all …]
|
/dports/graphics/vkd3d/vkd3d-1.2/libs/vkd3d-common/ |
H A D | debug.c | 130 int escape_char; in debugstr_a() local 139 escape_char = c; in debugstr_a() 142 escape_char = 0; in debugstr_a() 146 if (escape_char) in debugstr_a() 190 int escape_char; in debugstr_w16() local 199 escape_char = c; in debugstr_w16() 202 escape_char = 0; in debugstr_w16() 206 if (escape_char) in debugstr_w16() 250 int escape_char; in debugstr_w32() local 259 escape_char = c; in debugstr_w32() [all …]
|
/dports/devel/elixir-hex/hex-1.0.1/src/ |
H A D | mix_safe_erl_term.xrl | 68 [escape_char(C)|escape(Cs)]. 70 escape_char($n) -> $\n; %\n = LF 71 escape_char($r) -> $\r; %\r = CR 72 escape_char($t) -> $\t; %\t = TAB 73 escape_char($v) -> $\v; %\v = VT 74 escape_char($b) -> $\b; %\b = BS 75 escape_char($f) -> $\f; %\f = FF 76 escape_char($e) -> $\e; %\e = ESC 77 escape_char($s) -> $\s; %\s = SPC 78 escape_char($d) -> $\d; %\d = DEL [all …]
|
/dports/devel/rebar3/rebar3-3.17.0/src/vendored/ |
H A D | r3_safe_erl_term.xrl | 68 [escape_char(C)|escape(Cs)]. 70 escape_char($n) -> $\n; %\n = LF 71 escape_char($r) -> $\r; %\r = CR 72 escape_char($t) -> $\t; %\t = TAB 73 escape_char($v) -> $\v; %\v = VT 74 escape_char($b) -> $\b; %\b = BS 75 escape_char($f) -> $\f; %\f = FF 76 escape_char($e) -> $\e; %\e = ESC 77 escape_char($s) -> $\s; %\s = SPC 78 escape_char($d) -> $\d; %\d = DEL [all …]
|
/dports/games/easyrpg-player/Player-0.7.0/src/ |
H A D | game_message.cpp | 159 uint32_t escape_char, in ParseParamImpl() argument 170 if (ret.ch != escape_char) { in ParseParamImpl() 211 if (ch == escape_char) { in ParseParamImpl() 215 auto ret = ParseParamImpl('V', 'v', iter, end, escape_char, true, max_recursion - 1); in ParseParamImpl() 254 return ParseParamImpl('V', 'v', iter, end, escape_char, skip_prefix, max_recursion - 1); in ParseVariable() 257 …t Game_Message::ParseColor(const char* iter, const char* end, uint32_t escape_char, bool skip_pref… in ParseColor() argument 258 return ParseParamImpl('C', 'c', iter, end, escape_char, skip_prefix, max_recursion); in ParseColor() 261 …t Game_Message::ParseSpeed(const char* iter, const char* end, uint32_t escape_char, bool skip_pref… in ParseSpeed() argument 262 return ParseParamImpl('S', 's', iter, end, escape_char, skip_prefix, max_recursion); in ParseSpeed() 265 …t Game_Message::ParseActor(const char* iter, const char* end, uint32_t escape_char, bool skip_pref… in ParseActor() argument [all …]
|
/dports/sysutils/openipmi/OpenIPMI-2.0.29/sample/ |
H A D | solterm.c | 96 char escape_char = '~'; variable 300 …cape character is %c. %c? for help; %c. to disconnect.\n", escape_char, escape_char, escape_char); in connection_state() 496 printf("[%c%c]", escape_char, c); in show_escape() 498 printf("[%c^%c]", escape_char, (c | 0x40)); in show_escape() 500 printf("[%c\\0x%02x]", escape_char, c); in show_escape() 523 escape_char, escape_char, escape_char, in show_help() 524 escape_char, escape_char, escape_char, in show_help() 525 escape_char, escape_char, escape_char in show_help() 535 escape_char, escape_char, escape_char in show_help() 650 sol_send(&escape_char, 1); in stdin_data_avail() [all …]
|
/dports/audio/py-mutagen/mutagen-1.42.0/mutagen/_tools/ |
H A D | _util.py | 18 def split_escape(string, sep, maxsplit=None, escape_char="\\"): argument 25 assert len(escape_char) == 1 28 if isinstance(escape_char, text_type): 29 escape_char = escape_char.encode("ascii") 43 if char != escape_char and char != sep: 44 current += escape_char 48 if char == escape_char:
|
/dports/mail/elm/elm2.5.8/src/ |
H A D | editmsg.c | 140 escape_char); in tilde_help() 144 escape_char); in tilde_help() 147 escape_char); in tilde_help() 150 escape_char); in tilde_help() 153 escape_char); in tilde_help() 156 escape_char, escape_char); in tilde_help() 159 escape_char); in tilde_help() 168 escape_char); in tilde_help() 171 escape_char); in tilde_help() 503 escape_char, escape_char); [all …]
|
/dports/net/zerotier/ZeroTierOne-1.8.3/attic/historic/anode/libanode/impl/ |
H A D | dictionary.c | 111 char escape_char, in AnodeDictionary_read() argument 119 char last = ~escape_char; in AnodeDictionary_read() 123 if ((!*in)||((Anode_strchr(line_breaks,*in))&&((last != escape_char)||(!escape_char)))) { in AnodeDictionary_read() 132 if ((Anode_strchr(kv_breaks,*line))&&((last != escape_char)||(!escape_char))) { in AnodeDictionary_read() 137 while ((*line)&&(Anode_strchr(kv_breaks,*line))&&((last != escape_char)||(!escape_char))) in AnodeDictionary_read() 141 if (escape_char) { in AnodeDictionary_read() 144 if (*p1 == escape_char) { in AnodeDictionary_read() 155 if (*p1 == escape_char) { in AnodeDictionary_read()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/chrome_cleaner/strings/ |
H A D | string_util.cc | 29 const wchar_t escape_char, 36 const wchar_t escape_char, in WStringWildcardMatchRecursiveCached() argument 49 text, text_offset, pattern, pattern_offset, escape_char, cache); in WStringWildcardMatchRecursiveCached() 58 const wchar_t escape_char, in WStringWildcardMatchRecursive() argument 96 pattern_offset + 1, escape_char, in WStringWildcardMatchRecursive() 104 if (first_pattern == escape_char) { in WStringWildcardMatchRecursive() 111 DCHECK(first_pattern == escape_char || first_pattern == L'?' || in WStringWildcardMatchRecursive() 160 const wchar_t escape_char) { in WStringWildcardMatchInsensitive() argument 164 return WStringWildcardMatchRecursive(text, 0, pattern, 0, escape_char, in WStringWildcardMatchInsensitive()
|
/dports/devel/elixir-plug/plug-1.4.5/lib/plug/ |
H A D | html.ex | 41 @compile {:inline, escape_char: 1} 53 escape_char(rest, len, original, char) 64 defp escape_char(<<rest::binary>>, 0, _original, char) do function 65 [escape_char(char) | to_iodata(rest, 0, rest)] 68 defp escape_char(<<rest::binary>>, len, original, char) do function 69 [binary_part(original, 0, len), escape_char(char) | to_iodata(rest, 0, rest)] 73 defp escape_char(unquote(match)), do: unquote(insert) function
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/chrome_cleaner/os/ |
H A D | registry_util.cc | 45 const wchar_t escape_char, in ExtractHeadingSubkeyComponent() argument 52 if (pattern[offset] == escape_char) { in ExtractHeadingSubkeyComponent() 77 const wchar_t escape_char, in CollectMatchingRegistryPathsRecursive() argument 91 ExtractHeadingSubkeyComponent(pattern, escape_char, &subkey_pattern, in CollectMatchingRegistryPathsRecursive() 102 remaining_pattern, escape_char, in CollectMatchingRegistryPathsRecursive() 114 escape_char)) { in CollectMatchingRegistryPathsRecursive() 116 remaining_pattern, escape_char, in CollectMatchingRegistryPathsRecursive() 171 const wchar_t escape_char, in CollectMatchingRegistryNames() argument 204 if (NameMatchesPattern(&value_name[0], pattern, escape_char)) in CollectMatchingRegistryNames() 217 const wchar_t escape_char, in CollectMatchingRegistryPaths() argument [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/third_party/rust/unicode-normalization/scripts/ |
H A D | unicode.py | 214 def escape_char(c): function 218 pfun=lambda x: "(%s,%s)" % (escape_char(x[0]), escape_char(x[1]))): 257 data = "(%s,&[" % escape_char(char) 263 data += escape_char(d) 277 data = "(%s,&[" % escape_char(char) 284 data += "(%s,%s)" % (escape_char(pair[0]), escape_char(pair[1])) 310 pfun=lambda x: "(%s,%s,%s)" % (escape_char(x[0]), escape_char(x[1]), x[2])) 339 pfun=lambda x: "(%s,%s)" % (escape_char(x[0]), escape_char(x[1])))
|
/dports/databases/arrow/apache-arrow-6.0.1/cpp/src/gandiva/ |
H A D | like_holder.cc | 93 auto escape_char = dynamic_cast<LiteralNode*>(node.children().at(2).get()); in Make() local 95 escape_char == nullptr, in Make() 98 auto escape_char_type = escape_char->return_type()->id(); in Make() 104 arrow::util::get<std::string>(escape_char->holder()), holder); in Make() 121 Status LikeHolder::Make(const std::string& sql_pattern, const std::string& escape_char, in Make() argument 123 ARROW_RETURN_IF(escape_char.length() > 1, in Make() 124 Status::Invalid("The length of escape char ", escape_char, in Make() 127 if (escape_char.length() == 1) { in Make() 129 RegexUtil::SqlLikePatternToPcre(sql_pattern, escape_char.at(0), pcre_pattern)); in Make()
|
/dports/lang/rust/rustc-1.58.1-src/vendor/unicode-security/scripts/ |
H A D | unicode.py | 302 d_proto = escape_char(d_proto_list[0]) 414 raise Exception("Not in scripts: " + escape_char(c)) 424 source_text = escape_char(source) 472 def escape_char(c): function 482 line += escape_char(c) 484 line += ", " + escape_char(c) 490 pfun=lambda x: "(%s,%s)" % (escape_char(x[0]), escape_char(x[1])), is_const=True): 551 pfun=lambda x: "(%s,%s)" % (escape_char(x[0]), escape_char(x[1]))) 560 … pfun=lambda x: "(%s,%s, IdentifierType::%s)" % (escape_char(x[0]), escape_char(x[1]), x[2])) 588 pfun=lambda x: "(%s, &%s)" % (escape_char(x[0]), escape_char_list(x[1]))) [all …]
|
/dports/textproc/p5-Text-CSV_XS/Text-CSV_XS-1.47/t/ |
H A D | 55_combi.t | 36 is ($csv->escape_char ("\x0c"), "\x0c", "Reset esc"); 46 $attr{sep_char} eq $attr{escape_char}) { 56 $attr{escape_char} =~ m/[\r\n]/ 63 $attr{escape_char} =~ m/^[ \t]/ 111 escape_char => $ec, 150 { ok (my $csv = Text::CSV_XS->new ({ binary => 1, escape_char => "" }), "New CSV no escape"); 154 { ok (my $csv = Text::CSV_XS->new ({ binary => 1, escape_char => "", escape_null => 0 }), "New CS…
|
/dports/databases/mdbtools/mdbtools-1.0.0/src/util/ |
H A D | mdb-export.c | 42 char *escape_char = NULL; in main() local 69 …{"escape", 'X', 0, G_OPTION_ARG_STRING, &escape_char, "Use <char> to escape quoted characters with… in main() 132 if (escape_char) in main() 133 escape_char = escapes(escape_char); in main() 264 escape_char, quote_char, in main() 322 escape_char, quote_char, in main() 351 g_free(escape_char); in main() 366 …mdb_print_col(outfile, value, quote_text, col_type, length, quote_char_binary_sqlite, escape_char,… in format_value() 374 …mdb_print_col(outfile, value, quote_text, col_type, length, quote_char_binary_sqlite, escape_char,… in format_value() 382 …file, value, quote_text, col_type, length, quote_char_binary_postgres, escape_char, bin_mode | exp… in format_value() [all …]
|
/dports/textproc/p5-Text-CSV/Text-CSV-2.01/t/ |
H A D | 55_combi.t | 37 is ($csv->escape_char ("\x0c"), "\x0c", "Reset esc"); 47 $attr{sep_char} eq $attr{escape_char}) { 57 $attr{escape_char} =~ m/[\r\n]/ 64 $attr{escape_char} =~ m/^[ \t]/ 112 escape_char => $ec, 151 { ok (my $csv = Text::CSV->new ({ binary => 1, escape_char => "" }), "New CSV no escape"); 155 { ok (my $csv = Text::CSV->new ({ binary => 1, escape_char => "", escape_null => 0 }), "New CSV n…
|
/dports/lang/spidermonkey60/firefox-60.9.0/third_party/rust/unicode-normalization/scripts/ |
H A D | unicode.py | 204 def escape_char(c): function 208 pfun=lambda x: "(%s,%s)" % (escape_char(x[0]), escape_char(x[1]))): 217 tab_entry_type='char', slice_element_sfun=escape_char): 241 % (" "*8, escape_char(k), item_slice[0], item_slice[1])) 304 slice_element_sfun=lambda pair: "(%s,%s)" % (escape_char(pair[0]), 305 escape_char(pair[1]))) 325 pfun=lambda x: "(%s,%s,%s)" % (escape_char(x[0]), escape_char(x[1]), x[2])) 354 pfun=lambda x: "(%s,%s)" % (escape_char(x[0]), escape_char(x[1])))
|
/dports/www/geckodriver/mozilla-central-e9783a644016aa9b317887076618425586730d73/testing/geckodriver/cargo-crates/unicode-normalization-0.1.5/scripts/ |
H A D | unicode.py | 204 def escape_char(c): function 208 pfun=lambda x: "(%s,%s)" % (escape_char(x[0]), escape_char(x[1]))): 217 tab_entry_type='char', slice_element_sfun=escape_char): 241 % (" "*8, escape_char(k), item_slice[0], item_slice[1])) 304 slice_element_sfun=lambda pair: "(%s,%s)" % (escape_char(pair[0]), 305 escape_char(pair[1]))) 325 pfun=lambda x: "(%s,%s,%s)" % (escape_char(x[0]), escape_char(x[1]), x[2])) 354 pfun=lambda x: "(%s,%s)" % (escape_char(x[0]), escape_char(x[1])))
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/unicode-normalization/scripts/ |
H A D | unicode.py | 204 def escape_char(c): function 208 pfun=lambda x: "(%s,%s)" % (escape_char(x[0]), escape_char(x[1]))): 217 tab_entry_type='char', slice_element_sfun=escape_char): 241 % (" "*8, escape_char(k), item_slice[0], item_slice[1])) 304 slice_element_sfun=lambda pair: "(%s,%s)" % (escape_char(pair[0]), 305 escape_char(pair[1]))) 325 pfun=lambda x: "(%s,%s,%s)" % (escape_char(x[0]), escape_char(x[1]), x[2])) 354 pfun=lambda x: "(%s,%s)" % (escape_char(x[0]), escape_char(x[1])))
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/unicode-normalization/scripts/ |
H A D | unicode.py | 204 def escape_char(c): function 208 pfun=lambda x: "(%s,%s)" % (escape_char(x[0]), escape_char(x[1]))): 217 tab_entry_type='char', slice_element_sfun=escape_char): 241 % (" "*8, escape_char(k), item_slice[0], item_slice[1])) 304 slice_element_sfun=lambda pair: "(%s,%s)" % (escape_char(pair[0]), 305 escape_char(pair[1]))) 325 pfun=lambda x: "(%s,%s,%s)" % (escape_char(x[0]), escape_char(x[1]), x[2])) 354 pfun=lambda x: "(%s,%s)" % (escape_char(x[0]), escape_char(x[1])))
|