Home
last modified time | relevance | path

Searched refs:escChar (Results 1 – 25 of 90) sorted by relevance

1234

/dports/astro/py-ro/RO-3.6.9/python/RO/
H A DStringUtil.py415 def quoteStr(astr, escChar='\\', quoteChar='"'): argument
426 if escChar != quoteChar:
428 astr = astr.replace(escChar, escChar + escChar)
430 return quoteChar + astr.replace(quoteChar, escChar + quoteChar) + quoteChar
432 def unquoteStr(astr, escChar='\\', quoteChars='"\''): argument
440 … return astr[1:-1].replace(escChar + escChar, escChar).replace(escChar + quoteChar, quoteChar)
/dports/audio/tse3/tse3-0.3.1/src/tse3play/
H A Dtse3play.cpp68 const char escChar = char(0x1b); variable
588 cout << escChar << "[0m\n"; in go()
967 cout << escChar << "[34m" in drawFrame()
969 << escChar << "[37m" in drawFrame()
975 << escChar << "[34m"; in drawFrame()
980 << escChar << "[37m"; in drawFrame()
989 cout << escChar << "[33;1m" in message()
991 << escChar << "[37m"; in message()
1069 cout << escChar << "[32;1m"; in updateBars()
1079 cout << escChar << "[0m"; in updateBars()
[all …]
/dports/textproc/hs-pandoc/pandoc-2.14.2/src/Text/Pandoc/Writers/
H A DRTF.hs144 escChar '\t' = "\\tab " function
145 escChar '\8216' = "\\u8216'" function
146 escChar '\8217' = "\\u8217'" function
147 escChar '\8220' = "\\u8220\"" function
148 escChar '\8221' = "\\u8221\"" function
149 escChar '\8211' = "\\u8211-" function
150 escChar '\8212' = "\\u8212-" function
151 escChar '{' = "\\{" function
152 escChar '}' = "\\}" function
153 escChar '\\' = "\\\\" function
[all …]
H A DHaddock.hs77 | otherwise = T.concatMap escChar t
79 escChar '\\' = "\\\\" function
80 escChar '/' = "\\/" function
81 escChar '\'' = "\\'" function
82 escChar '`' = "\\`" function
83 escChar '"' = "\\\"" function
84 escChar '@' = "\\@" function
85 escChar '<' = "\\<" function
86 escChar c = T.singleton c function
H A DTexinfo.hs90 | otherwise = T.concatMap escChar t
91 where escChar '{' = "@{" function
92 escChar '}' = "@}" function
93 escChar '@' = "@@" function
94 escChar '\160' = "@ " function
95 escChar '\x2014' = "---" function
96 escChar '\x2013' = "--" function
97 escChar '\x2026' = "@dots{}" function
98 escChar '\x2019' = "'" function
99 escChar c = T.singleton c function
H A DOrg.hs89 | otherwise = T.concatMap escChar t
91 escChar '\x2013' = "--" function
92 escChar '\x2014' = "---" function
93 escChar '\x2019' = "'" function
94 escChar '\x2026' = "..." function
95 escChar c = T.singleton c function
H A DAsciiDoc.hs109 | T.any (== '{') t = T.concatMap escChar t
111 where escChar '{' = "\\{" function
112 escChar c = T.singleton c function
502 let escChar '`' = "\\'" function
503 escChar c = T.singleton c function
504 let contents = literal (T.concatMap escChar str)
/dports/sysutils/istio/istio-1.6.7/vendor/github.com/antlr/antlr4/tool/src/org/antlr/v4/misc/
H A DCharSupport.java142 char escChar = cstr.charAt(1);
143 if (escChar == '\'') return escChar; // escape quote only in string literals.
144 int charVal = ANTLRLiteralEscapedCharValue[escChar];
/dports/textproc/sowing/sowing-1.1.18/src/sys/
H A Drdconfig.c24 #define escChar '\\' macro
48 if (*bufp == escChar && bufp[1]) bufp++; in SYReadConfigFile()
61 if (*bufp == escChar && bufp[1]) bufp++; in SYReadConfigFile()
71 if (*bufp == escChar && bufp[1]) bufp++; in SYReadConfigFile()
/dports/games/ufoai/ufoai-2.5-source/eclipse/net.sourceforge.ufoai.glsleditors/src/cgEditor/editors/
H A DShaderFileScanner.java22 private final char escChar[] = { '\n', ' ', '.', ';', ',', '(', ')', '[', field in ShaderFileScanner
98 for (int i = 0; i < escChar.length; i++) in setShaderRules()
99 if (c == escChar[i]) in setShaderRules()
H A DGLSLScanner.java10 static char escChar[] = { '\n', ' ', '.', ';', ',', '(', ')', '[', ']' }; field in GLSLScanner
H A DCgScanner.java10 static char escChar[] = { '\n', ' ', '.', ';', ',', '(', ')', '[', ']' }; field in CgScanner
/dports/textproc/hs-pandoc-crossref/pandoc-crossref-0.3.12.0/_cabal_deps/xml-1.3.14/Text/XML/Light/
H A DOutput.hs168 escChar :: Char -> ShowS
169 escChar c = case c of function
186 escStr cs rs = foldr escChar rs cs
/dports/textproc/hs-pandoc/pandoc-2.14.2/_cabal_deps/xml-1.3.14/Text/XML/Light/
H A DOutput.hs168 escChar :: Char -> ShowS
169 escChar c = case c of function
186 escStr cs rs = foldr escChar rs cs
/dports/textproc/hs-pandoc/pandoc-2.14.2/src/Text/Pandoc/XML/Light/
H A DOutput.hs184 escChar :: Char -> Builder
185 escChar c = case c of function
206 then mconcat (map escChar (T.unpack cs))
/dports/audio/kid3-qt5/kid3-3.8.6/src/core/tags/
H A Dformatreplacer.cpp57 const char escChar[numEscCodes] = { in replaceEscapedChars() local
72 m_str.replace(pos - 1, 2, QLatin1Char(escChar[k])); in replaceEscapedChars()
/dports/audio/kid3-kf5/kid3-3.8.6/src/core/tags/
H A Dformatreplacer.cpp57 const char escChar[numEscCodes] = { in replaceEscapedChars() local
72 m_str.replace(pos - 1, 2, QLatin1Char(escChar[k])); in replaceEscapedChars()
/dports/games/spring/spring_98.0/tools/unitsync/test/
H A Dlua2php.cpp155 static std::string SafeStr(const std::string& str, char escChar = '\'') in SafeStr() argument
160 if (c == escChar) { in SafeStr()
/dports/security/py-certbot-nginx/certbot-nginx-1.22.0/certbot_nginx/_internal/
H A Dnginxparser.py34 dquoted = QuotedString('"', multiline=True, unquoteResults=False, escChar='\\')
35 squoted = QuotedString("'", multiline=True, unquoteResults=False, escChar='\\')
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/flang/lib/Parser/
H A Dcharacters.cpp186 if (std::optional<char> escChar{BackslashEscapeValue(cp[1])}) { in DecodeEscapedCharacter()
187 return {static_cast<unsigned char>(*escChar), 2}; in DecodeEscapedCharacter()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/flang/lib/Parser/
H A Dcharacters.cpp186 if (std::optional<char> escChar{BackslashEscapeValue(cp[1])}) { in DecodeEscapedCharacter()
187 return {static_cast<unsigned char>(*escChar), 2}; in DecodeEscapedCharacter()
/dports/devel/llvm12/llvm-project-12.0.1.src/flang/lib/Parser/
H A Dcharacters.cpp186 if (std::optional<char> escChar{BackslashEscapeValue(cp[1])}) { in DecodeEscapedCharacter()
187 return {static_cast<unsigned char>(*escChar), 2}; in DecodeEscapedCharacter()
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/flang/lib/Parser/
H A Dcharacters.cpp186 if (std::optional<char> escChar{BackslashEscapeValue(cp[1])}) { in DecodeEscapedCharacter()
187 return {static_cast<unsigned char>(*escChar), 2}; in DecodeEscapedCharacter()
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/flang/lib/Parser/
H A Dcharacters.cpp186 if (std::optional<char> escChar{BackslashEscapeValue(cp[1])}) { in DecodeEscapedCharacter()
187 return {static_cast<unsigned char>(*escChar), 2}; in DecodeEscapedCharacter()
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/flang/lib/Parser/
H A Dcharacters.cpp186 if (std::optional<char> escChar{BackslashEscapeValue(cp[1])}) { in DecodeEscapedCharacter()
187 return {static_cast<unsigned char>(*escChar), 2}; in DecodeEscapedCharacter()

1234