Home
last modified time | relevance | path

Searched refs:escape (Results 1 – 25 of 344) sorted by relevance

12345678910>>...14

/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/GlobalObject/
D15.1.2.4.js84 array[item++] = new TestCase( SECTION, "escape.length", 1, escape.length );
86 …] = new TestCase( SECTION, "delete escape.length", false, delete escape.length );
90 array[item++] = new TestCase( SECTION, "escape()", "undefined", escape() );
91 array[item++] = new TestCase( SECTION, "escape('')", "", escape('') );
92 array[item++] = new TestCase( SECTION, "escape( null )", "null", escape(null) );
93 … array[item++] = new TestCase( SECTION, "escape( void 0 )", "undefined", escape(void 0) );
94 … array[item++] = new TestCase( SECTION, "escape( true )", "true", escape( true ) );
95 … array[item++] = new TestCase( SECTION, "escape( false )", "false", escape( false ) );
97 …array[item++] = new TestCase( SECTION, "escape( new Boolean(true) )", "true", escape(new Boolean…
98 …array[item++] = new TestCase( SECTION, "escape( new Boolean(false) )", "false", escape(new Boo…
[all …]
/external/v8/test/mjsunit/
Descape.js37 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/qemu/
Dqjson.c146 char escape[7]; in to_json() local
153 snprintf(escape, sizeof(escape), "\\u%04X", wchar); in to_json()
154 qstring_append(str, escape); in to_json()
157 char escape[7]; in to_json() local
163 snprintf(escape, sizeof(escape), "\\u%04X", wchar); in to_json()
164 qstring_append(str, escape); in to_json()
189 char escape[7]; in to_json() local
190 snprintf(escape, sizeof(escape), "\\u%04X", ptr[0]); in to_json()
191 qstring_append(str, escape); in to_json()
/external/icu4c/samples/translit/answers/
Dmain_4.cpp83 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()
Dmain_3.cpp79 uprintf(escape(str)); in main()
87 uprintf(escape(str)); in main()
93 uprintf(escape(str)); in main()
100 uprintf(escape(str)); in main()
Dmain_2.cpp60 uprintf(escape(str)); in main()
68 uprintf(escape(str)); in main()
74 uprintf(escape(str)); in main()
Dmain_1.cpp52 uprintf(escape(str)); in main()
60 uprintf(escape(str)); in main()
/external/icu4c/test/intltest/
Dincaltst.cpp26 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()
750 logln(UnicodeString() + "as Persian Calendar: " + escape(str)); in TestPersianFormat()
753 errln("Expected " + escape(expected) + " but got " + escape(str)); in TestPersianFormat()
759 …errln("Parse incorrect of " + escape(expected) + " - wanted " + aDate + " but got " + otherDate +… in TestPersianFormat()
769 errln("Expected " + escape(expected) + " but got " + escape(str)); in TestPersianFormat()
773 … errln("Parse incorrect of " + escape(expected) + " - wanted " + aDate + " but got " + otherDate); in TestPersianFormat()
795 logln(escape(tmp) + " ( in locale " + loc.getName() + ")"); in simpleTest()
[all …]
Dnmfmtrt.cpp247 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()
292escape(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/icu4c/samples/translit/
Dmain.cpp85 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/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/RegExp/
Doctal-003.js62 escape(pattern),
63 escape(regexp.exec(pattern).input) );
68 escape(regexp.exec(pattern).toString()) );
78 escape(regexp.exec(pattern)[matches]) );
/external/chromium/base/json/
Djson_writer.cc35 bool escape, in WriteWithOptionalEscape() argument
41 writer.BuildJSONString(node, 0, escape); in WriteWithOptionalEscape()
54 bool escape) { in BuildJSONString() argument
109 if (escape) { in BuildJSONString()
134 BuildJSONString(value, depth, escape); in BuildJSONString()
172 BuildJSONString(value, depth + 1, escape); in BuildJSONString()
Djson_writer.h35 bool escape,
47 void BuildJSONString(const Value* const node, int depth, bool escape);
/external/chromium/third_party/libjingle/source/talk/base/
Dstringencode.cc63 size_t escape(char * buffer, size_t buflen, in escape() function
65 const char * illegal, char escape) { in escape() argument
73 if ((ch == escape) || ::strchr(illegal, ch)) { in escape()
76 buffer[bufpos++] = escape; in escape()
87 char escape) { in unescape() argument
95 if ((ch == escape) && (srcpos < srclen)) { in unescape()
106 const char * illegal, char escape) { in encode() argument
114 if ((ch != escape) && !::strchr(illegal, ch)) { in encode()
119 buffer[bufpos+0] = escape; in encode()
131 char escape) { in decode() argument
[all …]
Dstringencode.h55 size_t escape(char * buffer, size_t buflen,
57 const char * illegal, char escape);
61 char escape);
69 const char * illegal, char escape);
73 char escape);
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
Ddate-format-xparb.js39 code += "'" + String.escape(ch) + "' + ";
105 return "'" + String.escape(character) + "' + ";
142 regex += String.escape(ch);
275 s:String.escape(character)};
347 String.escape = function(string) { function
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
Ddate-format-xparb.js39 code += "'" + String.escape(ch) + "' + ";
105 return "'" + String.escape(character) + "' + ";
142 regex += String.escape(ch);
275 s:String.escape(character)};
347 String.escape = function(string) { function
/external/webkit/Source/WebCore/css/
Dtokenizer.flex11 escape {unicode}|\\[ -~\200-\377]
12 nmstart [_a-zA-Z]|{nonascii}|{escape}
13 nmchar [_a-zA-Z0-9-]|{nonascii}|{escape}
14 string1 \"([\t !#$%&(-~]|\\{nl}|\'|{nonascii}|{escape})*\"
15 string2 \'([\t !#$%&(-~]|\\{nl}|\"|{nonascii}|{escape})*\'
21 url ([!#$%&*-~]|{nonascii}|{escape})*
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/oauth2/
D__init__.py79 params.append('%s="%s"' % (k, escape(v)))
84 def escape(s): function
313 stringy_params = ((k, escape(str(v))) for k, v in oauth_params)
717 escape(request.method),
718 escape(request.normalized_url),
719 escape(request.get_normalized_parameters()),
722 key = '%s&' % escape(consumer.secret)
724 key += escape(token.secret)
751 sig = '%s&' % escape(consumer.secret)
753 sig = sig + escape(token.secret)
/external/valgrind/main/none/tests/amd64/
Dfaultstatus.c21 static jmp_buf escape; variable
70 siglongjmp(escape, ok + 1); in handler()
127 if (sigsetjmp(escape, 1) == 0) { in main()
/external/valgrind/main/none/tests/x86/
Dfaultstatus.c24 static jmp_buf escape; variable
73 siglongjmp(escape, ok + 1); in handler()
151 if (sigsetjmp(escape, 1) == 0) { in main()
/external/valgrind/main/none/tests/
Dfaultstatus.c44 static jmp_buf escape; variable
93 siglongjmp(escape, ok + 1); in handler()
159 if (sigsetjmp(escape, 1) == 0) { in main()
/external/chromium/chrome/browser/ui/views/
Dfind_bar_host.cc295 views::Accelerator escape(ui::VKEY_RETURN, false, true, false); local
296 focus_manager()->RegisterAccelerator(escape, this);
301 views::Accelerator escape(ui::VKEY_RETURN, false, true, false); local
302 focus_manager()->UnregisterAccelerator(escape, this);
/external/llvm/test/Assembler/
Dnamed-metadata.ll13 ; \31 is the digit '1'. On emission, we escape the first character (to avoid
21 ; \x doesn't mean anything, so we parse it literally but escape the \ into \5C
/external/libxml2/include/libxml/
Dxmlsave.h77 xmlCharEncodingOutputFunc escape);
80 xmlCharEncodingOutputFunc escape);

12345678910>>...14