Searched refs:contains (Results 1 - 25 of 2065) sorted by relevance

1234567891011>>

/external/chromium_org/v8/test/mjsunit/harmony/
H A Dstring-contains.js30 assertEquals(1, String.prototype.contains.length);
33 assertTrue(reString.contains("[a-z]+"));
34 assertTrue(reString.contains("(asdf)?"));
40 assertTrue(twoByteString.contains("\u039a"), "Lamda");
41 assertTrue(twoByteString.contains("\u0391"), "Alpha");
42 assertTrue(twoByteString.contains("\u03a3"), "First Sigma");
43 assertTrue(twoByteString.contains("\u03a3",3), "Second Sigma");
44 assertTrue(twoByteString.contains("\u0395"), "Epsilon");
45 assertFalse(twoByteString.contains("\u0392"), "Not beta");
48 assertTrue(twoByteString.contains("\u039
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsTriangle.h16 bool contains(const SkDPoint& pt) const;
/external/skia/src/pathops/
H A DSkPathOpsTriangle.h16 bool contains(const SkDPoint& pt) const;
/external/deqp/framework/delibs/decpp/
H A DdeSTLUtil.cpp40 DE_TEST_ASSERT(contains(m, 4));
43 DE_TEST_ASSERT(!contains(m, 3));
52 DE_TEST_ASSERT(contains(s1, 2));
53 DE_TEST_ASSERT(contains(s1, 3));
54 DE_TEST_ASSERT(!contains(s1, 5));
59 DE_TEST_ASSERT(!contains(s2, 2));
60 DE_TEST_ASSERT(contains(s2, 3));
61 DE_TEST_ASSERT(contains(s2, 5));
64 DE_TEST_ASSERT(!contains(si, 2));
65 DE_TEST_ASSERT(contains(s
[all...]
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DDOMStringMap.cpp35 return contains(name);
H A DDOMStringList.idl31 [MeasureAs=DOMStringListContains] boolean contains([Default=Undefined] optional DOMString string);
/external/llvm/unittests/ADT/
H A DImmutableSetTest.cpp60 EXPECT_FALSE(S.contains(3));
61 EXPECT_TRUE(S2.contains(3));
70 EXPECT_FALSE(S.contains(2));
71 EXPECT_TRUE(S3.contains(2));
75 EXPECT_FALSE(S2.contains(2));
76 EXPECT_FALSE(S3.contains(3));
92 EXPECT_FALSE(S.contains(3));
93 EXPECT_FALSE(S.contains(9));
95 EXPECT_TRUE(S2.contains(3));
96 EXPECT_TRUE(S2.contains(
[all...]
/external/valgrind/main/memcheck/tests/darwin/
H A Dscalar_nocancel.stderr.exp4 Syscall param sem_wait(sem) contains uninitialised byte(s)
/external/valgrind/main/memcheck/tests/x86-linux/
H A Dscalar_exit_group.stderr.exp4 Syscall param exit_group(status) contains uninitialised byte(s)
H A Dscalar_supp.stderr.exp1 Syscall param (syscallno) contains uninitialised byte(s)
5 Syscall param write(fd) contains uninitialised byte(s)
9 Syscall param write(count) contains uninitialised byte(s)
/external/chromium_org/chrome/common/extensions/docs/examples/api/permissions/extension-questions/
H A Doptions.js16 chrome.permissions.contains(PERMISSIONS, function(contains) {
17 $status.innerText = contains ? YES : NO;
21 chrome.permissions.contains(PERMISSIONS, function(allowed) {
36 chrome.permissions.contains(PERMISSIONS, function(allowed) {
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
H A DFloatPolygonTest.cpp173 * Tests FloatPolygon::contains() with a right triangle, and fillRule = nonzero.
189 EXPECT_TRUE(triangle.contains(FloatPoint(200, 100)));
190 EXPECT_TRUE(triangle.contains(FloatPoint(200, 200)));
191 EXPECT_TRUE(triangle.contains(FloatPoint(100, 200)));
192 EXPECT_TRUE(triangle.contains(FloatPoint(150, 150)));
193 EXPECT_FALSE(triangle.contains(FloatPoint(100, 100)));
194 EXPECT_FALSE(triangle.contains(FloatPoint(149, 149)));
195 EXPECT_FALSE(triangle.contains(FloatPoint(150, 200.5)));
196 EXPECT_FALSE(triangle.contains(FloatPoint(201, 200.5)));
200 * Tests FloatPolygon::contains() wit
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
H A DDigestFactory.java91 if (sha1.contains(digestName))
97 if (md5.contains(digestName))
103 if (sha224.contains(digestName))
109 if (sha256.contains(digestName))
115 if (sha384.contains(digestName))
121 if (sha512.contains(digestName))
135 return (sha1.contains(digest1) && sha1.contains(digest2))
136 || (sha224.contains(digest1) && sha224.contains(digest
[all...]
/external/apache-http/src/org/apache/commons/codec/language/
H A DDoubleMetaphone.java291 } else if (index == 0 && contains(value, index, 6, "CAESAR")) {
294 } else if (contains(value, index, 2, "CH")) {
296 } else if (contains(value, index, 2, "CZ") &&
297 !contains(value, index - 2, 4, "WICZ")) {
301 } else if (contains(value, index + 1, 3, "CIA")) {
305 } else if (contains(value, index, 2, "CC") &&
309 } else if (contains(value, index, 2, "CK", "CG", "CQ")) {
312 } else if (contains(value, index, 2, "CI", "CE", "CY")) {
314 if (contains(value, index, 3, "CIO", "CIE", "CIA")) {
322 if (contains(valu
948 private static boolean contains(String value, int start, int length, method in class:DoubleMetaphone
957 private static boolean contains(String value, int start, int length, method in class:DoubleMetaphone
966 private static boolean contains(String value, int start, int length, method in class:DoubleMetaphone
976 private static boolean contains(String value, int start, int length, method in class:DoubleMetaphone
987 private static boolean contains(String value, int start, int length, method in class:DoubleMetaphone
999 private static boolean contains(String value, int start, int length, method in class:DoubleMetaphone
1013 protected static boolean contains(String value, int start, int length, method in class:DoubleMetaphone
[all...]
/external/chromium_org/third_party/skia/tests/
H A DTSetTest.cpp17 REPORTER_ASSERT(reporter, !set0.contains(-1));
18 REPORTER_ASSERT(reporter, !set0.contains(0));
19 REPORTER_ASSERT(reporter, !set0.contains(1));
24 REPORTER_ASSERT(reporter, !set0.contains(-1));
25 REPORTER_ASSERT(reporter, set0.contains(0));
26 REPORTER_ASSERT(reporter, !set0.contains(1));
45 // Will expose contains() too.
50 REPORTER_ASSERT(reporter, !set0.contains(f(i)));
52 REPORTER_ASSERT(reporter, set0.contains(f(0)));
53 REPORTER_ASSERT(reporter, set0.contains(
[all...]
/external/skia/tests/
H A DTSetTest.cpp17 REPORTER_ASSERT(reporter, !set0.contains(-1));
18 REPORTER_ASSERT(reporter, !set0.contains(0));
19 REPORTER_ASSERT(reporter, !set0.contains(1));
24 REPORTER_ASSERT(reporter, !set0.contains(-1));
25 REPORTER_ASSERT(reporter, set0.contains(0));
26 REPORTER_ASSERT(reporter, !set0.contains(1));
45 // Will expose contains() too.
50 REPORTER_ASSERT(reporter, !set0.contains(f(i)));
52 REPORTER_ASSERT(reporter, set0.contains(f(0)));
53 REPORTER_ASSERT(reporter, set0.contains(
[all...]
/external/chromium_org/third_party/polymer/components-chromium/paper-checkbox/
H A Dpaper-checkbox-extracted.js25 cl.toggle('checkmark', this.checked && !cl.contains('checkmark'));
26 cl.toggle('box', !this.checked && !cl.contains('box'));
/external/apache-http/src/org/apache/http/impl/client/
H A DRedirectLocations.java56 * Returns true if this collection contains the given URI.
58 public boolean contains(final URI uri) { method in class:RedirectLocations
59 return this.uris.contains(uri);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/gpu/
H A DExtensions3DUtil.cpp62 return m_enabledExtensions.contains(name) || m_requestableExtensions.contains(name);
67 if (m_enabledExtensions.contains(name))
70 if (m_requestableExtensions.contains(name)) {
76 return m_enabledExtensions.contains(name);
81 return m_enabledExtensions.contains(name);
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DCollectionContainsTester.java29 * A generic JUnit test which tests {@code contains()} operations on a
41 assertTrue("contains(present) should return true",
42 collection.contains(samples.e0));
46 assertFalse("contains(notPresent) should return false",
47 collection.contains(samples.e3));
52 assertFalse("contains(null) should return false",
53 collection.contains(null));
59 "contains(null) should return false or throw");
66 assertFalse("contains(notPresent) should return false",
67 collection.contains(sample
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/
H A DPODRedBlackTreeTest.cpp63 EXPECT_TRUE(tree.contains(5));
71 EXPECT_TRUE(tree.contains(4));
74 EXPECT_TRUE(tree.contains(3));
77 EXPECT_TRUE(tree.contains(5));
78 EXPECT_TRUE(tree.contains(4));
79 EXPECT_TRUE(tree.contains(3));
92 EXPECT_TRUE(tree.contains(3));
100 EXPECT_TRUE(tree.contains(5));
103 EXPECT_FALSE(tree.contains(5));
111 EXPECT_TRUE(tree.contains(
[all...]
/external/chromium_org/chrome/browser/resources/options/
H A Doptions_page.js32 !tab.classList.contains('subpages-nav-tabs') &&
33 !tab.classList.contains('tab')) {
36 if (!tab || !tab.classList || !tab.classList.contains('tab'))
42 !tabBar.classList.contains('subpages-nav-tabs')) {
104 return document.documentElement.classList.contains('settings-app');
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_CollectionTest.java53 .contains(new Integer(101)));
59 .contains(new Integer(101)));
81 .contains(new Integer(102)));
83 .contains(new Integer(103)));
95 .contains(new Integer(0)));
97 .contains(new Integer(50)));
103 .contains(new Integer(101)));
/external/chromium_org/third_party/libjingle/source/talk/xmpp/
H A Dxmppauth.cc56 static bool contains(const std::vector<std::string>& strings, function
66 contains(mechanisms, buzz::AUTH_MECHANISM_OAUTH2)) {
72 contains(mechanisms, buzz::AUTH_MECHANISM_GOOGLE_TOKEN)) {
78 contains(mechanisms, buzz::AUTH_MECHANISM_GOOGLE_COOKIE)) {
83 if (contains(mechanisms, buzz::AUTH_MECHANISM_PLAIN)) {
/external/chromium_org/chrome/browser/ui/webui/extensions/
H A Dextension_settings_browsertest.js56 assertFalse($('pack-extension-overlay').classList.contains('showing'));
60 assertTrue($('pack-extension-overlay').classList.contains('showing'));
87 assertTrue($('extension-commands-overlay').classList.contains('showing'));

Completed in 728 milliseconds

1234567891011>>