/frameworks/base/core/java/android/service/autofill/ |
InternalSanitizer.java | 42 public abstract AutofillValue sanitize(@NonNull AutofillValue value); method in class:InternalSanitizer
|
DateValueSanitizer.java | 37 * <p>For example, to sanitize a credit card expiration date to just its month and year: 62 public AutofillValue sanitize(@NonNull AutofillValue value) { method in class:DateValueSanitizer 64 Log.w(TAG, "sanitize() called with null value");
|
TextValueSanitizer.java | 68 public AutofillValue sanitize(@NonNull AutofillValue value) { method in class:TextValueSanitizer 70 Slog.w(TAG, "sanitize() called with null value"); 74 if (sDebug) Slog.d(TAG, "sanitize() called with non-text value: " + value); 83 if (sDebug) Slog.d(TAG, "sanitize(): " + mRegex + " failed for " + value);
|
/external/harfbuzz_ng/src/ |
hb-ot-maxp-table.hh | 51 inline bool sanitize (hb_sanitize_context_t *c) const function in struct:OT::maxp
|
hb-ot-var-avar-table.hh | 37 inline bool sanitize (hb_sanitize_context_t *c) const function in struct:OT::AxisValueMap 101 inline bool sanitize (hb_sanitize_context_t *c) const function in struct:OT::avar 104 if (unlikely (!(version.sanitize (c) && 113 if (unlikely (!map->sanitize (c)))
|
hb-ot-var-mvar-table.hh | 38 inline bool sanitize (hb_sanitize_context_t *c) const function in struct:OT::VariationValueRecord 63 inline bool sanitize (hb_sanitize_context_t *c) const function in struct:OT::MVAR 66 return_trace (version.sanitize (c) && 70 varStore.sanitize (c, this) &&
|
hb-ot-head-table.hh | 55 inline bool sanitize (hb_sanitize_context_t *c) const function in struct:OT::head
|
hb-ot-hhea-table.hh | 47 inline bool sanitize (hb_sanitize_context_t *c) const function in struct:OT::_hea
|
hb-ot-name-table.hh | 61 inline bool sanitize (hb_sanitize_context_t *c, const void *base) const function in struct:OT::NameRecord 112 if (!nameRecord[i].sanitize (c, string_pool)) return_trace (false); 116 inline bool sanitize (hb_sanitize_context_t *c) const function in struct:OT::name
|
/frameworks/av/drm/libmediadrm/ |
PluginMetricsReporting.cpp | 53 String8 sanitize(const String8& input) { function in namespace:android::__anon44921 75 sanitize(vendor).c_str(), 76 sanitize(description).c_str());
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
PolicyFactory.java | 44 * provides a convenient <code>{@link PolicyFactory#sanitize sanitize}</code> 100 public String sanitize(@Nullable String html) { method in class:PolicyFactory 101 return sanitize(html, null, null); 107 * @param html the string of HTML to sanitize. 116 public <CTX> String sanitize( method in class:PolicyFactory 121 HtmlSanitizer.sanitize(
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
Benchmark.java | 70 n += sanitize(html).length(); 93 n += sanitize(html).length(); 118 "Full sanitize custom : %12d", (t3 - t2))); 122 "Full sanitize w/ PB : %12d", (t5 - t4))); 132 private static String sanitize(String html) throws Exception { method in class:Benchmark 143 HtmlSanitizer.sanitize(html, new HtmlSanitizer.Policy() { 202 HtmlSanitizer.sanitize(html, policyBuilder.build(renderer));
|
HtmlChangeReporterTest.java | 72 HtmlSanitizer.sanitize(
|
HtmlPolicyBuilderTest.java | 296 HtmlSanitizer.sanitize(src, policy);
|
HtmlSanitizerTest.java | 42 assertEquals("", sanitize("")); 43 assertEquals("", sanitize(null)); 48 assertEquals("hello world", sanitize("hello world")); 53 assertEquals("<hello world>", sanitize("<hello world>")); 59 sanitize("<b>hello <i>world</i></b>")); 65 sanitize("<b>hello <bogus></bogus><i>world</i></b>")); 71 sanitize("<b>hello <i>world</i>" 79 sanitize("<b>hello <i onclick=\"takeOverWorld(this)\">world</i></b>")); 85 sanitize( 92 sanitize("<b id=\"foo\" / -->hello <i>world<</i></b>")) 343 private static String sanitize(@Nullable String html) throws Exception { method in class:HtmlSanitizerTest [all...] |
/external/clang/test/SemaTemplate/ |
array-to-pointer-decay.cpp | 22 template <typename Type> static bool sanitize() { function 26 bool closure = sanitize<int>();
|
/external/libcxx/test/support/ |
filesystem_dynamic_test_helper.py | 20 def sanitize(p): function 45 root_p = sanitize(root_p) 51 root_p = sanitize(root_p) 57 with open(sanitize(fname), 'w') as f: 62 os.mkdir(sanitize(dname)) 66 os.symlink(sanitize(source), sanitize(link)) 70 os.link(sanitize(source), sanitize(link)) 74 os.mkfifo(sanitize(source) [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/examples/ |
SlashdotPolicyExample.java | 98 // Fetch the HTML to sanitize. 117 // Use the policy defined above to sanitize the HTML. 118 HtmlSanitizer.sanitize(html, POLICY_DEFINITION.apply(renderer));
|
EbayPolicyExample.java | 214 // Fetch the HTML to sanitize. 233 // Use the policy defined above to sanitize the HTML. 234 HtmlSanitizer.sanitize(html, POLICY_DEFINITION.apply(renderer));
|
/packages/apps/UnifiedEmail/tests/src/com/android/mail/utils/ |
QuotedHtmlSanitizerTest.java | 17 sanitize("<div class=\"garbage\"></div>", "<div></div>"); 24 sanitize("<div class=\"gmail_quote\"></div>", "<div class=\"elided-text\"></div>"); 31 sanitize("<div class=\"yahoo_quoted\"></div>", "<div class=\"elided-text\"></div>"); 38 sanitize("<div id=\"AOLMsgPart_1_59da800c-ba5d-45c5-9ff7-29a8264a5bd9\"></div>", 40 sanitize("<div id=\"AOLMsgPart_1_b916b4c7-3047-43a9-b24d-83b7ffd2b9b7\"></div>", 44 private void sanitize(String dirtyHTML, String expectedHTML) { method in class:QuotedHtmlSanitizerTest
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/support/ |
filesystem_dynamic_test_helper.py | 20 def sanitize(p): function 45 root_p = sanitize(root_p) 51 root_p = sanitize(root_p) 57 with open(sanitize(fname), 'w') as f: 62 os.mkdir(sanitize(dname)) 66 os.symlink(sanitize(source), sanitize(link)) 70 os.link(sanitize(source), sanitize(link)) 74 os.mkfifo(sanitize(source) [all...] |
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
NumericalWatcher.java | 47 int newValue = sanitize(unsanitized); 62 private int sanitize(int val) { method in class:NumericalWatcher
|
/frameworks/layoutlib/rename_font/ |
build_font.py | 219 return sanitize(string) 222 def sanitize(string): function
|
build_font_single.py | 203 return sanitize(string) 206 def sanitize(string): function
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
HtmlSanitizer.java | 403 org.owasp.html.HtmlSanitizer.sanitize(rawHtml, policy);
|