/external/v8/test/mjsunit/harmony/ |
string-endswith.js | 30 assertEquals(1, String.prototype.endsWith.length); 33 assertTrue(testString.endsWith("")); 34 assertTrue(testString.endsWith("World")); 35 assertFalse(testString.endsWith("world")); 36 assertFalse(testString.endsWith("Hello World!")); 37 assertFalse(testString.endsWith(null)); 38 assertFalse(testString.endsWith(undefined)); 40 assertTrue("null".endsWith(null)); 41 assertTrue("undefined".endsWith(undefined)); 44 assertTrue(georgianUnicodeString.endsWith(georgianUnicodeString)) [all...] |
/external/mockito/src/org/mockito/internal/matchers/ |
EndsWith.java | 14 public class EndsWith extends ArgumentMatcher<String> implements Serializable { 19 public EndsWith(String suffix) { 24 return actual != null && ((String) actual).endsWith(suffix); 28 description.appendText("endsWith(\"" + suffix + "\")");
|
/external/lldb/test/unittest2/ |
__main__.py | 4 if sys.argv[0].endswith("__main__.py"):
|
/external/hamcrest/library/src/org/hamcrest/text/ |
StringEndsWith.java | 17 return s.endsWith(substring); 25 public static Matcher<String> endsWith(String substring) {
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/ |
classinit.py | 23 if (name.endswith('__get') or name.endswith('__set') 24 or name.endswith('__del')): 39 if name.endswith('__get') and value.__doc__:
|
/external/easymock/src/org/easymock/internal/matchers/ |
EndsWith.java | 22 public class EndsWith implements IArgumentMatcher, Serializable {
28 public EndsWith(String suffix) {
33 return (actual instanceof String) && ((String) actual).endsWith(suffix);
37 buffer.append("endsWith(\"" + suffix + "\")");
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/ |
__main__.py | 4 if sys.argv[0].endswith("__main__.py"):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/ |
__main__.py | 4 if sys.argv[0].endswith("__main__.py"):
|
/frameworks/base/test-runner/src/junit/runner/ |
SimpleTestCollector.java | 17 classFileName.endsWith(".class") &&
|
/frameworks/native/opengl/tools/glgen/src/ |
ParameterChecker.java | 48 (functionName.endsWith("fv") || 49 functionName.endsWith("xv") || 50 functionName.endsWith("iv"))) {
|
/packages/apps/Settings/ |
wrap_alpha.py | 21 if not src.endswith(".png"): continue 26 alpha = src.endswith("_alpha") 33 am = src.endswith("_am")
|
/external/chromium-trace/trace-viewer/tracing/ |
tracing_project.py | 25 if x.endswith('_test.js'): 28 if x.endswith('_test.html'): 31 if x.endswith('_unittest.js'): 34 if x.endswith('_unittest.html'): 103 if x.endswith('_config.html') 131 if affected_file.LocalPath().endswith('.png'): 134 if affected_file.LocalPath().endswith('.svg'): 137 if affected_file.LocalPath().endswith('.skp'): 140 if (affected_file.LocalPath().endswith('.gypi') or 141 affected_file.LocalPath().endswith('.gyp') o [all...] |
/external/proguard/src/proguard/io/ |
DataEntryCopier.java | 123 boolean outputIsApk = output.endsWith(".apk") || 124 output.endsWith(".ap_"); 125 boolean outputIsJar = output.endsWith(".jar"); 126 boolean outputIsAar = output.endsWith(".aar"); 127 boolean outputIsWar = output.endsWith(".war"); 128 boolean outputIsEar = output.endsWith(".ear"); 129 boolean outputIsZip = output.endsWith(".zip"); 245 boolean inputIsApk = input.endsWith(".apk") || 246 input.endsWith(".ap_"); 247 boolean inputIsJar = input.endsWith(".jar") [all...] |
/bionic/libc/tools/ |
generate-NOTICE.py | 19 if path.endswith(".mk") or path.endswith(".py") or path.endswith(".pyc") or path.endswith(".txt") or path.endswith(".3"): 21 if path.endswith("/notice") or path.endswith("/readme") or path.endswith("/caveats"): 23 if path.endswith("/tzdata") or path.endswith("/zoneinfo/generate") [all...] |
/external/deqp/framework/delibs/decpp/ |
deStringUtil.cpp | 122 bool endsWith (const std::string& s, const std::string& suffix) 185 DE_TEST_ASSERT(endsWith("foobar", "foobar")); 186 DE_TEST_ASSERT(endsWith("foobar", "bar")); 187 DE_TEST_ASSERT(endsWith("foobar", "r")); 188 DE_TEST_ASSERT(endsWith("foobar", "")); 189 DE_TEST_ASSERT(endsWith("", "")); 190 DE_TEST_ASSERT(!endsWith("foobar", "foo")); 191 DE_TEST_ASSERT(!endsWith("foobar", "bazfoobar")); 192 DE_TEST_ASSERT(!endsWith("foobar", "foobarbaz")); 193 DE_TEST_ASSERT(!endsWith("", "foo")) [all...] |
/external/llvm/test/Bindings/Go/ |
lit.local.cfg | 36 if args[0].endswith('ccache'): 42 if path.endswith('/cc') and os.readlink(path) == 'clang': 48 if path.endswith('/c++') and os.readlink(path) == 'clang++':
|
/frameworks/base/packages/DocumentsUI/ |
wrap_alpha.py | 22 if not src.endswith(".png"): continue 27 alpha = src.endswith("_alpha") 37 am = src.endswith("_am")
|
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/vinn/ |
path_utils.js | 54 if (!a.endsWith('/')) 62 if (a.endsWith('/')) 87 if (relTo.endsWith('/')) 97 if (a.endsWith('/'))
|
/external/clang/lib/Basic/ |
Attributes.cpp | 11 if (Name.size() >= 4 && Name.startswith("__") && Name.endswith("__"))
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pProvDiscEvent.java | 64 if (tokens[0].endsWith("PBC-REQ")) event = PBC_REQ; 65 else if (tokens[0].endsWith("PBC-RESP")) event = PBC_RSP; 66 else if (tokens[0].endsWith("ENTER-PIN")) event = ENTER_PIN; 67 else if (tokens[0].endsWith("SHOW-PIN")) event = SHOW_PIN;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/ |
__init__.py | 12 if fn.startswith("test") and fn.endswith(".py"):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/unittest/test/ |
__init__.py | 12 if fn.startswith("test") and fn.endswith(".py"):
|
/system/core/base/ |
strings_test.cpp | 146 ASSERT_FALSE(android::base::EndsWith("", "foo")); 147 ASSERT_TRUE(android::base::EndsWith("", "")); 151 ASSERT_TRUE(android::base::EndsWith("foo", "")); 152 ASSERT_TRUE(android::base::EndsWith("foo", "o")); 153 ASSERT_TRUE(android::base::EndsWith("foo", "oo")); 154 ASSERT_TRUE(android::base::EndsWith("foo", "foo")); 158 ASSERT_FALSE(android::base::EndsWith("foo", "foobar")); 162 ASSERT_FALSE(android::base::EndsWith("foobar", "oba")); 163 ASSERT_FALSE(android::base::EndsWith("foobar", "foo"));
|
/external/selinux/policycoreutils/sepolicy/sepolicy/ |
__init__.py | 68 if dest.endswith("_t"): 147 if i['target'].endswith("_t"): 175 if p.endswith("(/.*)?"): 197 if exe.endswith("_exec_t") and exe not in exclude_list: 208 if exe.endswith("_exec_t") and exe not in exclude_list: 611 if f.endswith("_var_run_t"): 613 if f.endswith("_pid_t"): 615 if f.endswith("_var_lib_t"): 617 if f.endswith("_var_t"): 619 if f.endswith("_var_spool_t") [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
NetscapeDomainHandler.java | 87 return ucDomain.endsWith(".COM") 88 || ucDomain.endsWith(".EDU") 89 || ucDomain.endsWith(".NET") 90 || ucDomain.endsWith(".GOV") 91 || ucDomain.endsWith(".MIL") 92 || ucDomain.endsWith(".ORG") 93 || ucDomain.endsWith(".INT"); 109 return host.endsWith(domain);
|