Home
last modified time | relevance | path

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

1234

/aosp12/bionic/libc/upstream-openbsd/lib/libc/gen/
H A Dfnmatch.c148 const int escape = !(flags & FNM_NOESCAPE); in fnmatch_ch() local
174 if (escape && (**pattern == '\\')) { in fnmatch_ch()
208 *pattern += (escape && ((*pattern)[2] == '\\')) ? 3 : 2; in fnmatch_ch()
259 } else if (escape && (**pattern == '\\') && (*pattern)[1]) { in fnmatch_ch()
287 const int escape = !(flags & FNM_NOESCAPE); in fnmatch() local
307 if (slash && escape && (*pattern == '\\') && (pattern[1] == '/')) in fnmatch()
351 (escape && (*pattern == '\\') && (pattern[1] == '/')))) in fnmatch()
381 (escape && (*matchptr == '\\') && in fnmatch()
421 if (escape && (*matchptr == '\\') && in fnmatch()
441 (*pattern == '/') || (escape && in fnmatch()
[all …]
/aosp12/art/tools/ahat/src/test/com/android/ahat/
H A DHtmlEscaperTest.java26 assertEquals("nothing to escape", HtmlEscaper.escape("nothing to escape")); in tests()
27 assertEquals("a&lt;b&gt; &amp; &quot;c&apos;d&quot;e", HtmlEscaper.escape("a<b> & \"c\'d\"e")); in tests()
28 assertEquals("adjacent &lt;&lt;&gt;&gt; x", HtmlEscaper.escape("adjacent <<>> x")); in tests()
29 assertEquals("&lt; initial", HtmlEscaper.escape("< initial")); in tests()
30 assertEquals("ending &gt;", HtmlEscaper.escape("ending >")); in tests()
/aosp12/art/compiler/optimizing/
H A Descape.cc113 LambdaEscapeVisitor visitor([&](HInstruction* escape) -> bool { in CalculateEscape() argument
114 if (escape == reference || no_escape(reference, escape)) { in CalculateEscape()
118 } else if (escape->IsInstanceOf() || escape->IsCheckCast()) { in CalculateEscape()
121 } else if (escape->IsReturn()) { in CalculateEscape()
125 } else if (escape->IsDeoptimize()) { in CalculateEscape()
H A Dload_store_analysis.cc157 LambdaEscapeVisitor scan_instructions([&](HInstruction* escape) -> bool { in CollectPartialEscapes() argument
158 HandleEscape(escape); in CollectPartialEscapes()
161 if ((escape->IsPhi() || escape->IsSelect()) && !seen_instructions.IsBitSet(escape->GetId())) { in CollectPartialEscapes()
162 seen_instructions.SetBit(escape->GetId()); in CollectPartialEscapes()
163 additional_escape_vectors.push_back(escape); in CollectPartialEscapes()
H A Descape.h35 virtual bool Visit(HInstruction* escape) = 0;
46 bool Visit(HInstruction* escape) override { in Visit() argument
47 return func_(escape); in Visit()
H A Dload_store_analysis.h129 void HandleEscape(HBasicBlock* escape) { in HandleEscape() argument
131 subgraph_->RemoveBlock(escape); in HandleEscape()
133 void HandleEscape(HInstruction* escape) { in HandleEscape() argument
134 HandleEscape(escape->GetBlock()); in HandleEscape()
/aosp12/frameworks/base/tools/aapt/
H A Dpseudolocalize.cpp364 bool escape = false; in text() local
368 if (!escape && c == ESCAPE_CHAR) { in text()
369 escape = true; in text()
372 space = (!escape && is_space(c)) || (escape && (c == 'n' || c == 't')); in text()
381 if (escape) { in text()
383 escape=false; in text()
/aosp12/build/soong/cmd/javac_wrapper/
H A Djavac_wrapper.go47 escape = "\x1b" var
48 reset = escape + "[0m"
49 bold = escape + "[1m"
50 red = escape + "[31m"
51 green = escape + "[32m"
52 magenta = escape + "[35m"
/aosp12/frameworks/base/tools/aapt2/compile/
H A DPseudolocalizer.cpp448 bool escape = false; in Text() local
452 if (!escape && c == ESCAPE_CHAR) { in Text()
453 escape = true; in Text()
456 space = (!escape && isspace(c)) || (escape && (c == 'n' || c == 't')); in Text()
465 if (escape) { in Text()
467 escape=false; in Text()
/aosp12/art/test/530-checker-instance-of-simplifier/jasmin/
H A DMain.j37 ; public static int $noinline$test(boolean escape) {
40 ; if (escape) {
42 ; $noinline$escape(f);
62 ; Stack: [f, escape]
74 invokestatic Main/$noinline$escape(Ljava/lang/Object;)V
82 .method public static $noinline$escape(Ljava/lang/Object;)V
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java160 String escape = escapes[c]; in escapeAndAppendString() local
161 if (escape == null) continue; in escapeAndAppendString()
164 append(escape); in escapeAndAppendString()
178 String escape = escapes[c]; in escapeAndAppendString() local
179 if (escape == null) continue; in escapeAndAppendString()
182 append(escape); in escapeAndAppendString()
/aosp12/packages/apps/Launcher3/tools/
H A Dprint_db.py73 cgi.escape(cell, True)
99 out.write(cgi.escape(unicode(cell)))
120 title = "title=\"%s\"" % cgi.escape(cell["intent"], True)
132 out.write(cgi.escape(cell["title"]) + " <br/><i>(app)</i>")
136 out.write(cgi.escape(cell["title"]) + " <br/><i>(shortcut)</i>")
/aosp12/system/tools/aidl/
H A Dcode_writer.cpp139 static const std::unordered_map<char, std::string> escape = { in QuotedEscape() local
143 auto it = escape.find(c); in QuotedEscape()
144 if (it != escape.end()) { in QuotedEscape()
/aosp12/art/tools/ahat/src/main/com/android/ahat/
H A DDocString.java69 mStringBuilder.append(HtmlEscaper.escape(text)); in append()
187 mStringBuilder.append(HtmlEscaper.escape(alt)); in appendImage()
196 mStringBuilder.append(HtmlEscaper.escape(alt)); in appendThumbnail()
H A DHtmlEscaper.java23 public static String escape(String text) { in escape() method in HtmlEscaper
/aosp12/build/make/tools/
H A Dcompare_fileslist.py86 print " <td class='fn'>%s</td>" % cgi.escape(combo)
98 print " <td class='fn'>%s</td>" % cgi.escape(row[0])
/aosp12/frameworks/base/tools/preload-check/src/com/android/preload/check/
H A DPreloadCheck.java115 sb.append(' ').append(escape(arg)); in run()
121 private static String escape(String input) { in escape() method in PreloadCheck
/aosp12/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
H A Dwriter.h246 static const char escape[256] = { in WriteString() local
293 else if ((sizeof(Ch) == 1 || (unsigned)c < 256) && escape[(unsigned char)c]) { in WriteString()
296 os_->Put(escape[(unsigned char)c]); in WriteString()
297 if (escape[(unsigned char)c] == 'u') { in WriteString()
/aosp12/system/sepolicy/tools/
H A Dinsertkeys.py185 self._out.write(' %s="%s"' % (name, saxutils.escape(key)))
187 self._out.write(' %s="%s"' % (name, saxutils.escape(value)))
203 self._out.write(saxutils.escape(content))
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
H A DPackageDynamicCodeLoadingTests.java20 import static com.android.server.pm.dex.PackageDynamicCodeLoading.escape;
424 assertSame(TRIVIAL_STRING, escape(TRIVIAL_STRING)); in testEscape_trivialCase_returnsSameString()
431 assertEquals(expected, escape(input)); in testEscape()
465 assertEquals(original, unescape(escape(original))); in assertRoundTripsWithEscape()
/aosp12/art/test/826-infinite-loop/
H A Dinfo.txt1 Regression test for partial escape elimination, which used to crash when
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DUrlQuerySanitizerTest.java189 String escape = "Joe"; in testUrlQuerySanitizer() local
190 assertEquals(escape, uqs.unescape(escape)); in testUrlQuerySanitizer()
/aosp12/frameworks/base/media/java/android/media/tv/
H A DTvContract.java2868 boolean escape = false; in decode()
2873 if (!escape) { in decode()
2874 escape = true; in decode()
2879 if (!escape) { in decode()
2890 escape = false; in decode()
/aosp12/frameworks/base/lowpan/java/android/net/lowpan/
H A DLowpanIdentity.java52 private static String escape(@NonNull byte[] bytes) { in escape() method in LowpanIdentity.Builder
102 mIdentity.mName = "«" + escape(name) + "»"; in setRawName()
/aosp12/build/make/core/
H A Ddumpconfig.mk58 define escape-for-csv

1234