Home
last modified time | relevance | path

Searched refs:sanitized (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/testing/android/junit/java/src/org/chromium/testing/local/
DGtestFilter.java42 String sanitized = PERIOD.matcher(f).replaceAll("\\\\."); in GtestFilter() local
43 sanitized = ASTERISK.matcher(sanitized).replaceAll(".*"); in GtestFilter()
44 int negIndex = sanitized.indexOf('-'); in GtestFilter()
46 mNegativeRegexes.add(Pattern.compile(sanitized.substring(1))); in GtestFilter()
48 String[] c = DASH.split(sanitized, 2); in GtestFilter()
52 mPositiveRegexes.add(Pattern.compile(sanitized)); in GtestFilter()
/external/chromium_org/third_party/WebKit/Source/modules/vibration/
DNavigatorVibration.cpp50 VibrationPattern sanitized = pattern; in vibrate() local
51 size_t length = sanitized.size(); in vibrate()
55 sanitized.shrink(kVibrationPatternLengthMax); in vibrate()
61 if (sanitized[i] > kVibrationDurationMax) in vibrate()
62 sanitized[i] = kVibrationDurationMax; in vibrate()
67 sanitized.removeLast(); in vibrate()
73 m_pattern = sanitized; in vibrate()
/external/owasp/sanitizer/src/tests/org/owasp/html/
DExamplesTest.java82 String sanitized = EbayPolicyExample.POLICY_DEFINITION.sanitize(input); in testSanitizeRemovesScripts() local
83 assertEquals("<p>Hello World</p>", sanitized); in testSanitizeRemovesScripts()
89 String sanitized = EbayPolicyExample.POLICY_DEFINITION.sanitize(input); in testSanitizeRemovesOnclick() local
90 assertEquals("<p>Hello World</p>", sanitized); in testSanitizeRemovesOnclick()
96 String sanitized = EbayPolicyExample.POLICY_DEFINITION.sanitize(input); in testTextAllowedInLinks() local
98 sanitized); in testTextAllowedInLinks()
DHtmlSanitizerTest.java254 String sanitized = sanitize(stringRepeatedTimes("<div>", 20000)); in testDeeplyNestedTagsDoS() local
255 int n = sanitized.length() / "<div></div>".length(); in testDeeplyNestedTagsDoS()
258 assertEquals(sanitized.substring(0, middle), in testDeeplyNestedTagsDoS()
260 assertEquals(sanitized.substring(middle), in testDeeplyNestedTagsDoS()
DAntiSamyTest.java775 String sanitized = sanitize(html);
776 int index = Strings.toLowerCase(sanitized).indexOf(
779 "`" + sanitized + "` from `" + html + "` contains `" +
786 String sanitized = sanitize(html);
787 int index = Strings.toLowerCase(sanitized).indexOf(
790 "`" + sanitized + "` from `" + html + "` does not contain `" +
795 private static void assertSanitized(String html, String sanitized) {
796 assertEquals(sanitized, sanitize(html));
DSanitizersTest.java244 String sanitized = "" in testIssue9StylesInTables() local
261 assertEquals(sanitized, s.sanitize(input)); in testIssue9StylesInTables()
/external/chromium_org/google_apis/gaia/
Dgaia_auth_util.cc60 std::string sanitized(email_address); in SanitizeEmail() local
63 if (sanitized.find('@') == std::string::npos) { in SanitizeEmail()
64 sanitized += '@'; in SanitizeEmail()
65 sanitized += kGmailDomain; in SanitizeEmail()
68 return sanitized; in SanitizeEmail()
/external/chromium_org/content/browser/android/
Ddate_time_chooser_android.cc28 icu::UnicodeString sanitized; in SanitizeSuggestionString() local
33 sanitized.append(c); in SanitizeSuggestionString()
36 return base::string16(sanitized.getBuffer(), in SanitizeSuggestionString()
37 static_cast<size_t>(sanitized.length())); in SanitizeSuggestionString()
/external/chromium_org/net/base/
Dfilename_util_icu.cc19 base::FilePath::StringType sanitized = component.value(); in IsSafePortablePathComponent() local
20 SanitizeGeneratedFileName(&sanitized, true); in IsSafePortablePathComponent()
29 (sanitized == component.value()) && !IsReservedName(component.value()); in IsSafePortablePathComponent()
/external/chromium_org/chrome/browser/profiles/
Dprofile_shortcut_manager_win.cc577 base::string16 sanitized = profile_name; in SanitizeShortcutProfileNameString() local
578 size_t pos = sanitized.find_first_of(kReservedCharacters); in SanitizeShortcutProfileNameString()
580 sanitized[pos] = L' '; in SanitizeShortcutProfileNameString()
581 pos = sanitized.find_first_of(kReservedCharacters, pos + 1); in SanitizeShortcutProfileNameString()
584 base::TrimWhitespace(sanitized, base::TRIM_LEADING, &sanitized); in SanitizeShortcutProfileNameString()
585 if (sanitized.size() > kMaxProfileShortcutFileNameLength) in SanitizeShortcutProfileNameString()
586 sanitized.erase(kMaxProfileShortcutFileNameLength); in SanitizeShortcutProfileNameString()
587 base::TrimWhitespace(sanitized, base::TRIM_TRAILING, &sanitized); in SanitizeShortcutProfileNameString()
589 return sanitized; in SanitizeShortcutProfileNameString()
/external/chromium_org/chrome/browser/chromeos/policy/
Dconfiguration_policy_handler_chromeos_unittest.cc315 const base::Value* sanitized = in TEST() local
317 ASSERT_TRUE(sanitized); in TEST()
319 EXPECT_TRUE(sanitized->GetAsString(&sanitized_onc)); in TEST()
/external/iproute2/
DREADME34 4. This package includes matching sanitized kernel headers because
/external/chromium_org/chromeos/dbus/
Dsession_manager_client.cc39 const std::string sanitized = in GetUserFilePath() local
41 return keys_path.AppendASCII(sanitized).AppendASCII(file); in GetUserFilePath()
/external/compiler-rt/cmake/Modules/
DAddCompilerRT.cmake202 # Can be used to build sanitized versions of libc++ for running unit tests.
/external/libusb-compat/
DChangeLog66 libusb-0.1 on BSD, where endpoint addresses are sanitized for all control
/external/libusb/
DChangeLog1211 sanitized error returns from synchronous I/O functions
/external/tcpdump/
DCHANGES404 sanitized all files to modified BSD license