Home
last modified time | relevance | path

Searched refs:endsWith (Results 1 - 25 of 198) sorted by relevance

12345678

/third_party/jerryscript/tests/jerry/es2015/
H A Dstring-prototype-endswith.js16 assert (x.endsWith ("Valley"));
17 assert (x.endsWith ("Boreal", 20));
18 assert (x.endsWith ("Dancer", 6));
19 assert (x.endsWith (""));
20 assert (x.endsWith ([]));
23 assert (y.endsWith ("Lala") === false);
24 assert (y.endsWith ("fell", 2) === false);
25 assert (y.endsWith ("Final", "Fantasy") === false);
26 assert (y.endsWith ("Hydaelyn", 30) === false);
27 assert (y.endsWith (undefine
[all...]
/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeStringUtil.cpp122 bool endsWith (const std::string& s, const std::string& suffix) in endsWith() function
185 DE_TEST_ASSERT(endsWith("foobar", "foobar")); in StringUtil_selfTest()
186 DE_TEST_ASSERT(endsWith("foobar", "bar")); in StringUtil_selfTest()
187 DE_TEST_ASSERT(endsWith("foobar", "r")); in StringUtil_selfTest()
188 DE_TEST_ASSERT(endsWith("foobar", "")); in StringUtil_selfTest()
189 DE_TEST_ASSERT(endsWith("", "")); in StringUtil_selfTest()
190 DE_TEST_ASSERT(!endsWith("foobar", "foo")); in StringUtil_selfTest()
191 DE_TEST_ASSERT(!endsWith("foobar", "bazfoobar")); in StringUtil_selfTest()
192 DE_TEST_ASSERT(!endsWith("foobar", "foobarbaz")); in StringUtil_selfTest()
193 DE_TEST_ASSERT(!endsWith("", "fo in StringUtil_selfTest()
[all...]
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/
H A DRbPathTest.java71 assertThat(p).endsWith(p).isTrue(); in testEndsWith()
72 assertThat(p).endsWith(RbPath.of()).isTrue(); in testEndsWith()
74 assertThat(p).endsWith(RbPath.of("bar", "baz")).isTrue(); in testEndsWith()
75 assertThat(p).endsWith(RbPath.of("bar")).isFalse(); in testEndsWith()
76 assertThat(p).endsWith(RbPath.of("foo/bar/baz")).isFalse(); in testEndsWith()
/third_party/node/test/parallel/
H A Dtest-source-map-api.js51 assert(originalSource.endsWith('disk.js'));
69 if (throwingRequireCallSite.getFileName().endsWith('typescript-throw.js')) {
99 assert(originalSource.endsWith('typescript-throw.ts'));
127 assert(originalSource.endsWith('disk.js'));
165 assert(originalSource.endsWith('section.js'));
H A Dtest-repl-multiline.js28 assert.ok(actual[0].endsWith(input[0]));
30 assert.ok(actual[1].endsWith(input[1]));
32 assert.ok(actual[3].endsWith(input[2]));
H A Dtest-util-callbackify.js84 assert.strictEqual(String(value).endsWith(err.message), true);
113 assert.strictEqual(String(value).endsWith(err.message), true);
138 assert.strictEqual(String(value).endsWith(err.message), true);
H A Dtest-http-keep-alive-max-requests.js61 if (buffer.endsWith('\r\n\r\n')) {
103 if (buffer.endsWith('\r\n\r\n')) {
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/message2/
H A DCustomFormatterGrammarCaseTest.java45 if (value.endsWith("ana")) in getDativeAndGenitive()
47 if (value.endsWith("ca")) in getDativeAndGenitive()
49 if (value.endsWith("ga")) in getDativeAndGenitive()
51 if (value.endsWith("a")) in getDativeAndGenitive()
/third_party/typescript/tests/baselines/reference/
H A DcontrolFlowPropertyDeclarations.js51 function endsWith(haystack, needle) { function
64 return endsWith(haystack, needle)
199 function endsWith(haystack, needle) {
211 return endsWith(haystack, needle)
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/
H A DRbPath.java111 checkArgument(segment.endsWith(">"), in RbPath()
116 checkArgument(segment.endsWith("\""), in RbPath()
153 public boolean endsWith(RbPath suffix) { in endsWith() method in RbPath
209 if (lastElement.endsWith(type)) { in typeSuffixIsAnyOf()
H A DIcuTextWriter.java141 if (!label.startsWith("<") && !label.endsWith(">")) { in open()
182 !rbPath.endsWith(RB_SEQUENCE) && !rbPath.isBinPath(), in forPath()
274 && !rbPath.getSegment(rbPath.length() - 1).endsWith(":alias") in mustBeArray()
275 && !rbPath.endsWith(RB_NAMED)) in mustBeArray()
346 item.startsWith("[") && item.endsWith("]") ? UNICODESET_ESCAPE : STRING_ESCAPE; in quoteInside()
/third_party/node/deps/npm/node_modules/hosted-git-info/lib/
H A Dhosts.js62 if (project && project.endsWith('.git')) {
90 if (project && project.endsWith('.git')) {
120 if (project.endsWith('.git')) {
180 if (project.endsWith('.git')) {
211 if (project && project.endsWith('.git')) {
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/testing/
H A DRbPathSubject.java40 public final BooleanSubject endsWith(RbPath path) { in endsWith() method in RbPathSubject
41 return check("endsWith('%s')", path).that(actual.endsWith(path)); in endsWith()
/third_party/node/test/common/
H A Dcpu-prof.js11 .filter((file) => file.endsWith('.cpuprofile'))
20 return frame.url.endsWith(suffix);
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DByteStringTest.java805 assertTrue(string.endsWith(ByteString.EMPTY)); in testEndsWith()
806 assertTrue(string.endsWith(string)); in testEndsWith()
807 assertTrue(string.endsWith(suffix)); in testEndsWith()
808 assertFalse(string.endsWith(prefix)); in testEndsWith()
809 assertFalse(suffix.endsWith(prefix)); in testEndsWith()
810 assertFalse(prefix.endsWith(suffix)); in testEndsWith()
811 assertFalse(ByteString.EMPTY.endsWith(suffix)); in testEndsWith()
812 assertTrue(ByteString.EMPTY.endsWith(ByteString.EMPTY)); in testEndsWith()
886 byteArrayCopier.getClass().getSimpleName().endsWith("ArraysByteArrayCopier")); in testByteArrayCopier()
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/testing/
H A DFontLoader.java32 if (file.getName().endsWith(".ttf")) { in getFontFiles()
33 if (foundStart || startFrom.endsWith(file.getName())) { in getFontFiles()
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
H A DMessageLiteToString.java92 if (suffix.endsWith(LIST_SUFFIX) in reflectivePrintWithIndent()
93 && !suffix.endsWith(BUILDER_LIST_SUFFIX) in reflectivePrintWithIndent()
111 if (suffix.endsWith(MAP_SUFFIX) in reflectivePrintWithIndent()
140 if (suffix.endsWith(BYTES_SUFFIX) in reflectivePrintWithIndent()
/third_party/icu/tools/unicodetools/com/ibm/rbm/
H A DRBPropertiesExporter.java36 if (name.toLowerCase().endsWith(".properties") && f.getName().indexOf("_") < 0) return true; in RBPropertiesExporter()
53 if (base_name.toLowerCase().endsWith(".properties")) in export()
H A DRBPropertiesImporter.java38 if (f.getName().toLowerCase().endsWith(".properties") && f.getName().indexOf("_") < 0) return true; in setupFileChooser()
94 if (allChildren[i].startsWith(baseName) && allChildren[i].toLowerCase().endsWith(".properties")) { in beginImport()
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/
H A Ddifferential_script_mutator.js74 return dependencies.some(dep => dep.relPath.endsWith('mjsunit.js'));
78 return dependencies.some(dep => dep.relPath.endsWith('jstest_stubs.js'));
/third_party/node/deps/npm/node_modules/@npmcli/promise-spawn/lib/
H A Dindex.js110 doubleEscape = pathToInitial.endsWith('.cmd') || pathToInitial.endsWith('.bat')
/third_party/node/deps/undici/src/lib/cookies/
H A Dutil.js109 domain.endsWith('.') ||
110 domain.endsWith('-')
/third_party/skia/tests/
H A DStringTest.cpp44 REPORTER_ASSERT(reporter, a.endsWith("llo")); in DEF_TEST()
45 REPORTER_ASSERT(reporter, a.endsWith('o')); in DEF_TEST()
46 REPORTER_ASSERT(reporter, !a.endsWith("ll" )); in DEF_TEST()
47 REPORTER_ASSERT(reporter, !a.endsWith('l')); in DEF_TEST()
48 REPORTER_ASSERT(reporter, a.endsWith("")); in DEF_TEST()
/third_party/node/deps/npm/node_modules/tuf-js/dist/utils/
H A Durl.js10 return path.endsWith('/') ? path : path + '/';
/third_party/node/benchmark/misc/
H A Dhidestackframes.js31 if (type.endsWith('-throw'))

Completed in 11 milliseconds

12345678