/external/chromium_org/native_client_sdk/src/tools/lib/ |
D | quote.py | 8 def quote(input_str, specials, escape='\\'): argument 14 assert len(escape) == 1 19 if escape == '\\': 20 escape = '\\\\' 22 return re.sub(r'(' + r'|'.join(specials)+r'|'+escape + r')', 23 escape + r'\1', input_str) 24 return re.sub(r'(' + escape + r')', escape + r'\1', input_str) 27 def unquote(input_str, specials, escape='\\'): argument 35 assert len(escape) == 1 43 lit_next = (c == escape) [all …]
|
/external/chromium_org/v8/test/mjsunit/ |
D | escape.js | 37 assertEquals(unescaped, escape(unescaped)); 39 assertEquals("%20/%20", escape(" / ")); 41 assertEquals("%000", escape("\0" + "0")); 43 assertEquals("A%20B%u1234%00%20C", escape(String.fromCharCode(0x41, 0x20, 0x42, 0x1234, 0, 0x20, 0x… 45 assertEquals("%u0123", escape(String.fromCharCode(0x123))); 47 assertEquals("%uABCD", escape(String.fromCharCode(0xabcd))); 48 assertEquals("%AB", escape(String.fromCharCode(0xab))); 49 assertEquals("%0A", escape("\n")); 55 assertFalse(s == escape(s)); 57 assertTrue(s == escape(s)); [all …]
|
/external/chromium_org/third_party/markupsafe/ |
D | __init__.py | 80 return self.__class__(super(Markup, self).__add__(self.escape(other))) 85 return self.escape(other).__add__(self) 96 arg = tuple(_MarkupEscapeHelper(x, self.escape) for x in arg) 98 arg = _MarkupEscapeHelper(arg, self.escape) 108 return self.__class__(text_type.join(self, map(self.escape, seq))) 157 def escape(cls, s): member in Markup 162 rv = escape(s) 170 args = _escape_argspec(list(args), enumerate(args), self.escape) 187 text_type.partition(self, self.escape(sep)))) 190 text_type.rpartition(self, self.escape(sep)))) [all …]
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/config/ |
D | utilities.mak | 8 # nl-escape 10 # Usage: escape = $(call nl-escape[,escape]) 16 nl-escape = $(if $(1),$(1),m822df3020w6a44id34bt574ctac44eb9f4n) 18 # escape-nl 20 # Usage: escaped-text = $(call escape-nl,text[,escape]) 32 escape-nl = $(subst $(newline),$(call nl-escape,$(2)),$(1)) 36 # Usage: text = $(call unescape-nl,escaped-text[,escape]) 38 # See escape-nl. 40 unescape-nl = $(subst $(call nl-escape,$(2)),$(newline),$(1)) 42 # shell-escape-nl [all …]
|
/external/libcxx/test/input.output/iostream.format/quoted.manip/ |
D | quoted.pass.cpp | 69 void round_trip_e ( const char *p, char escape ) { in round_trip_e() argument 71 ss << std::quoted(p, '"', escape ); in round_trip_e() 73 ss >> std::quoted(s, '"', escape ); in round_trip_e() 79 std::string quote ( const char *p, char delim='"', char escape='\\' ) { in quote() argument 81 ss << std::quoted(p, delim, escape); in quote() 87 std::string unquote ( const char *p, char delim='"', char escape='\\' ) { in unquote() argument 91 ss >> std::quoted(s, delim, escape); in unquote() 140 void round_trip_e ( const wchar_t *p, wchar_t escape ) { in round_trip_e() argument 142 ss << std::quoted(p, wchar_t('"'), escape ); in round_trip_e() 144 ss >> std::quoted(s, wchar_t('"'), escape ); in round_trip_e() [all …]
|
/external/chromium_org/tools/gn/bin/ |
D | help_as_html.py | 37 output_line.append('<a href="#' + cgi.escape(command) + '">') 38 output_line.append(cgi.escape(command)) 41 output_line.extend([sep + cgi.escape(rest) + '</li>']) 44 output.append('<h2>' + cgi.escape(line) + '</h2>') 56 output.append('<h3><a name="' + cgi.escape(command) + '">' + 57 cgi.escape(name + sep + rest) + '</a></h3>') 71 output.append('<h4>' + cgi.escape(line[:-1]) + '</h4>') 73 output.append(cgi.escape(line))
|
/external/chromium_org/chrome/browser/ui/views/ |
D | find_bar_controller_interactive_uitest.cc | 45 ui::Accelerator escape(ui::VKEY_ESCAPE, ui::EF_NONE); in IN_PROC_BROWSER_TEST_F() local 47 focus_manager->GetCurrentTargetForAccelerator(escape); in IN_PROC_BROWSER_TEST_F() 54 focus_manager->GetCurrentTargetForAccelerator(escape); in IN_PROC_BROWSER_TEST_F() 66 focus_manager->GetCurrentTargetForAccelerator(escape)); in IN_PROC_BROWSER_TEST_F() 73 focus_manager->GetCurrentTargetForAccelerator(escape)); in IN_PROC_BROWSER_TEST_F()
|
/external/dexmaker/src/dx/java/com/android/dx/ssa/ |
D | EscapeAnalysis.java | 60 EscapeState escape; field in EscapeAnalysis.EscapeSet 78 escape = escState; in EscapeSet() 369 if (escSet.escape.compareTo(mergeSet.escape) < 0) { in processPhiUse() 370 escSet.escape = mergeSet.escape; in processPhiUse() 405 if (escSet.escape.compareTo(EscapeState.METHOD) < 0) { in processUse() 406 escSet.escape = EscapeState.METHOD; in processUse() 432 if (escSet.escape.compareTo(parentSet.escape) < 0) { in processUse() 433 escSet.escape = parentSet.escape; in processUse() 441 if (childSet.escape.compareTo(escSet.escape) < 0) { in processUse() 442 childSet.escape = escSet.escape; in processUse() [all …]
|
/external/chromium_org/third_party/icu/source/samples/translit/answers/ |
D | main_4.cpp | 83 uprintf(escape(str)); in main() 91 uprintf(escape(str)); in main() 97 uprintf(escape(str)); in main() 104 uprintf(escape(str)); in main() 109 uprintf(escape(str2)); in main()
|
D | main_3.cpp | 79 uprintf(escape(str)); in main() 87 uprintf(escape(str)); in main() 93 uprintf(escape(str)); in main() 100 uprintf(escape(str)); in main()
|
D | main_2.cpp | 60 uprintf(escape(str)); in main() 68 uprintf(escape(str)); in main() 74 uprintf(escape(str)); in main()
|
/external/icu/icu4c/source/samples/translit/answers/ |
D | main_4.cpp | 83 uprintf(escape(str)); in main() 91 uprintf(escape(str)); in main() 97 uprintf(escape(str)); in main() 104 uprintf(escape(str)); in main() 109 uprintf(escape(str2)); in main()
|
D | main_3.cpp | 79 uprintf(escape(str)); in main() 87 uprintf(escape(str)); in main() 93 uprintf(escape(str)); in main() 100 uprintf(escape(str)); in main()
|
D | main_2.cpp | 60 uprintf(escape(str)); in main() 68 uprintf(escape(str)); in main() 74 uprintf(escape(str)); in main()
|
/external/chromium_org/third_party/icu/source/samples/translit/ |
D | main.cpp | 85 uprintf(escape(str)); in main() 93 uprintf(escape(str)); in main() 99 uprintf(escape(str)); in main() 106 uprintf(escape(str)); in main() 111 uprintf(escape(str2)); in main()
|
/external/icu/icu4c/source/samples/translit/ |
D | main.cpp | 85 uprintf(escape(str)); in main() 93 uprintf(escape(str)); in main() 99 uprintf(escape(str)); in main() 106 uprintf(escape(str)); in main() 111 uprintf(escape(str2)); in main()
|
/external/mesa3d/src/mesa/drivers/dri/common/xmlpool/ |
D | gen_xmlpool.py | 44 escape = False 51 if not escape: 53 escape = True 66 escape = False 76 escape = False 81 escape = False 95 escape = False
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/common/xmlpool/ |
D | gen_xmlpool.py | 44 escape = False 51 if not escape: 53 escape = True 66 escape = False 76 escape = False 81 escape = False 95 escape = False
|
/external/icu/icu4c/source/test/intltest/ |
D | incaltst.cpp | 26 static UnicodeString escape( const UnicodeString&src) in escape() function 427 logln(UnicodeString() + "as Buddhist Calendar: " + escape(str)); in TestBuddhistFormat() 430 errln("Expected " + escape(expected) + " but got " + escape(str)); in TestBuddhistFormat() 436 …errln("Parse incorrect of " + escape(expected) + " - wanted " + aDate + " but got " + otherDate +… in TestBuddhistFormat() 845 logln(UnicodeString() + "as Persian Calendar: " + escape(str)); in TestPersianFormat() 848 errln("Expected " + escape(expected) + " but got " + escape(str)); in TestPersianFormat() 854 …errln("Parse incorrect of " + escape(expected) + " - wanted " + aDate + " but got " + otherDate +… in TestPersianFormat() 864 errln("Expected " + escape(expected) + " but got " + escape(str)); in TestPersianFormat() 868 … errln("Parse incorrect of " + escape(expected) + " - wanted " + aDate + " but got " + otherDate); in TestPersianFormat() 890 logln(escape(tmp) + " ( in locale " + loc.getName() + ")"); in simpleTest() [all …]
|
D | nmfmtrt.cpp | 247 logln(/*value.getString(temp) +*/ " F> " + escape(s)); in test() 252 logln(escape(s) + " P> " /*+ n.getString(temp)*/); in test() 260 logln(/*n.getString(temp) +*/ " F> " + escape(s2)); in test() 264 errln("*** STRING ERROR \"" + escape(s) + "\" != \"" + escape(s2) + "\""); in test() 292 … escape(s) + " P> " + (n.getType() == Formattable::kDouble ? n.getDouble() : (double)n.getLong()) in test() 294 escape(s2)); in test() 339 NumberFormatRoundTripTest::escape(UnicodeString& s) in escape() function in NumberFormatRoundTripTest
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | incaltst.cpp | 26 static UnicodeString escape( const UnicodeString&src) in escape() function 430 logln(UnicodeString() + "as Buddhist Calendar: " + escape(str)); in TestBuddhistFormat() 433 errln("Expected " + escape(expected) + " but got " + escape(str)); in TestBuddhistFormat() 439 …errln("Parse incorrect of " + escape(expected) + " - wanted " + aDate + " but got " + otherDate +… in TestBuddhistFormat() 848 logln(UnicodeString() + "as Persian Calendar: " + escape(str)); in TestPersianFormat() 851 errln("Expected " + escape(expected) + " but got " + escape(str)); in TestPersianFormat() 857 …errln("Parse incorrect of " + escape(expected) + " - wanted " + aDate + " but got " + otherDate +… in TestPersianFormat() 867 errln("Expected " + escape(expected) + " but got " + escape(str)); in TestPersianFormat() 871 … errln("Parse incorrect of " + escape(expected) + " - wanted " + aDate + " but got " + otherDate); in TestPersianFormat() 893 logln(escape(tmp) + " ( in locale " + loc.getName() + ")"); in simpleTest() [all …]
|
D | nmfmtrt.cpp | 247 logln(/*value.getString(temp) +*/ " F> " + escape(s)); in test() 252 logln(escape(s) + " P> " /*+ n.getString(temp)*/); in test() 260 logln(/*n.getString(temp) +*/ " F> " + escape(s2)); in test() 264 errln("*** STRING ERROR \"" + escape(s) + "\" != \"" + escape(s2) + "\""); in test() 292 … escape(s) + " P> " + (n.getType() == Formattable::kDouble ? n.getDouble() : (double)n.getLong()) in test() 294 escape(s2)); in test() 339 NumberFormatRoundTripTest::escape(UnicodeString& s) in escape() function in NumberFormatRoundTripTest
|
/external/google-tv-pairing-protocol/java/src/com/google/polo/json/ |
D | Cookie.java | 47 public static String escape(String string) { in escape() method in Cookie 121 sb.append(escape(o.getString("name"))); in toString() 123 sb.append(escape(o.getString("value"))); in toString() 130 sb.append(escape(o.getString("domain"))); in toString() 134 sb.append(escape(o.getString("path"))); in toString()
|
D | JSONML.java | 319 tagName = XML.escape(tagName); in toString() 337 sb.append(XML.escape(k)); in toString() 340 sb.append(XML.escape(v)); in toString() 361 sb.append(XML.escape(e.toString())); in toString() 401 return XML.escape(jo.toString()); in toString() 404 tagName = XML.escape(tagName); in toString() 418 sb.append(XML.escape(k)); in toString() 421 sb.append(XML.escape(v)); in toString() 440 sb.append(XML.escape(e.toString())); in toString()
|
/external/clang/tools/diag-build/ |
D | diag-build.sh | 90 escape () { function 94 escCC=$(escape $CC) 95 escCXX=$(escape $CXX)
|