Searched refs:split (Results 1 - 25 of 659) sorted by relevance

1234567891011>>

/openjdk9/nashorn/test/script/basic/
H A DJDK-8011543.js25 * JDK-8011543: "".split(undefined,{valueOf:function(){throw 2}}) does not throw exception
32 "".split(undefined,{
H A DNASHORN-96.js25 * NASHORN-96 : split with parenthesis grups
31 var __result = "One dog, two dogs in the yard.".split(/(d)(o)(g)/);
34 __result = "One dog, two dogs in the yard.".split(regexp);
H A DJDK-8013131.js25 * JDK-8013131: Various compatibility issues in String.prototype.split()
33 print(JSON.stringify("aa".split(undefined, 0)));
34 print(JSON.stringify("abc".split("", 1)));
37 print(JSON.stringify("aa".split(/(a)/, 1)));
38 print(JSON.stringify("aa".split(/(a)/, 2)));
39 print(JSON.stringify("aa".split(/((a))/, 1)));
40 print(JSON.stringify("aa".split(/((a))/, 2)));
43 print(JSON.stringify("aaa".split(/((?:))/)));
45 // Tests below are to make sure that split does not read or write lastIndex property
50 print(JSON.stringify("aa".split(
[all...]
H A DNASHORN-120.js25 * NASHORN-120 : String.prototype.split does not convert the input arguments in the order specified
44 "hello".split(obj1, obj2);
45 fail('#1: split not throwing exception on input conversion');
53 "hello".split(obj1, 10);
54 fail('#3: split not throwing exception on input conversion');
H A Djquery.js63 var split = url.split('/');
64 name = split[split.length - 1];
H A DNASHORN-174.js25 * NASHORN-174 : String.prototype.split does not work properly when separator is a string
31 var nums = "24.45.8.78".split('.');
34 fail("#1: split result expected to be of length 4");
H A Dregex.js91 print("One dog, two dogs in the yard.".split(/dog/));
92 print("One dog, two dogs in the yard.".split(/dog/g));
93 print("One dog, two dogs in the yard.".split(/(d)(o)(g)/));
94 print("One dog, two dogs in the yard.".split(/cat/));
97 print("One dog, two dogs in the yard.".split(regexp));
99 print("One dog, two dogs in the yard.".split(regexp));
101 print("One dog, two dogs in the yard.".split(regexp));
103 print("One dog, two dogs in the yard.".split(regexp));
104 print("One dog, two dogs in the yard.".split("dog"));
H A DJDK-8041998.js37 line.split(/: /);
H A DJDK-8007718.js48 "abcabcabcABCabcABC".split(/(b)/i);
/openjdk9/hotspot/src/share/vm/runtime/
H A DsharedRuntimeMath.hpp41 } split; member in union:__anon672
47 return x.split.hi;
53 return x.split.lo;
59 conv.split.hi = high;
66 conv.split.lo = low;
73 convX.split.hi = (convX.split.hi & 0x7fffffff) | (high(y) & 0x80000000);
/openjdk9/jdk/test/tools/launcher/modules/patch/basic/src/test/jdk/test/
H A DMain.java35 for (String moduleAndClass : args[0].split(",")) {
36 String mn = moduleAndClass.split("/")[0];
37 String cn = moduleAndClass.split("/")[1];
/openjdk9/jdk/test/java/lang/ProcessHandle/
H A DOnExitTest.java110 String[] split = s.trim().split(" ");
111 if (split.length == 3 && split[1].equals("spawn")) {
112 Long child = Long.valueOf(split[2]);
113 Long parent = Long.valueOf(split[0].split(":")[0]);
216 String[] split;
223 split = getSplitLine(alines);
224 } while (!"pid".equals(split[
[all...]
/openjdk9/nashorn/samples/
H A Dword_histogram.js48 split(/[^\w+]/).
/openjdk9/jdk/test/java/lang/String/
H A DRegex.java88 ck(foo.split(":"), new String[] { "boo", "and", "foo" });
89 ck(foo.split("o"), new String[] { "b", "", ":and:f" });
91 ck(foo.split(":", 2), new String[] { "boo", "and:foo" });
92 ck(foo.split("o", -2), new String[] { "b", "", ":and:f", "", "" });
H A DSplit.java27 * @summary test String.split()
41 String[] result = source.split(Integer.toString(x), limit);
47 throw new RuntimeException("String.split failure 1");
49 throw new RuntimeException("String.split failure 2");
53 throw new RuntimeException("String.split failure 3");
58 "String.split failure 4");
62 "String.split failure 10");
68 throw new RuntimeException("String.split failure 5");
75 String[] result = source.split("e", limit);
77 throw new RuntimeException("String.split failur
[all...]
/openjdk9/jdk/test/sun/security/tools/keytool/
H A DHasSrcStoretypeOption.java43 Main.main(cmd.split(" "));
H A DUnknownAndUnparseable.java51 sun.security.tools.keytool.Main.main(genkey.split(" "));
58 sun.security.tools.keytool.Main.main(list.split(" "));
/openjdk9/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.debug.test/src/org/graalvm/compiler/debug/test/
H A DCSVUtilTest.java64 assertEquals(expected, CSVUtil.buildFormatString(input.split(",")));
123 String[] split = args.split(",");
124 Object[] obj = new Object[split.length];
125 for (int i = 0; i < split.length; i++) {
126 obj[i] = split[i];
H A DDebugHistogramTest.java44 String line = outputStream.toString().split("\r?\n")[0];
59 String[] lines = outputStream.toString().split("\r?\n");
72 lines = outputStream.toString().split("\r?\n");
90 String[] lines = outputStream.toString().split("\r?\n");
104 lines = outputStream.toString().split("\r?\n");
120 String[] lines = outputStream.toString().split("\r?\n");
/openjdk9/hotspot/test/gc/g1/
H A DTestRemsetLoggingTools.java99 int actualYoung = result.split("Young regions").length - 1;
100 int actualHumongous = result.split("Humongous regions").length - 1;
101 int actualFree = result.split("Free regions").length - 1;
102 int actualOther = result.split("Old regions").length - 1;
114 int actualTotal = result.split("concurrent refinement").length - 1;
115 int actualCumulative = result.split("Cumulative RS summary").length - 1;
/openjdk9/langtools/test/tools/jdeprscan/tests/jdk/jdeprscan/
H A DTestCSV.java114 List<String> actual = CSV.split(input);
122 assertEquals(CSV.split("a,\"b\",c"), List.of("a", "b", "c"));
127 assertEquals(CSV.split("a,\"\",b"), List.of("a", "", "b"));
132 CSV.split("ab\"cd");
137 CSV.split("a,\"b\"c,d");
142 CSV.split("a,\"b");
/openjdk9/jdk/test/java/util/jar/JarInputStream/
H A DExtraFileInMetaInf.java54 "-keyalg rsa -alias a -dname CN=A -genkeypair").split(" "));
56 "-keystore ks -storepass changeit x.jar a".split(" "));
/openjdk9/jdk/test/sun/security/tools/jarsigner/
H A DCertChainUnclosed.java55 .split(" "));
65 + args).split(" "));
/openjdk9/langtools/test/tools/javah/6257087/
H A DT6257087.java74 tb.checkEqual(fooBarFile, tb.split(fooBarGoldenFile, "\n"));
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/
H A DLexer.java64 * For instance {@literal '<<<'} is split into two tokens
68 Token split(); method in interface:Lexer

Completed in 413 milliseconds

1234567891011>>