/openjdk9/nashorn/test/script/basic/ |
H A D | JDK-8011543.js | 25 * JDK-8011543: "".split(undefined,{valueOf:function(){throw 2}}) does not throw exception 32 "".split(undefined,{
|
H A D | NASHORN-96.js | 25 * 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 D | JDK-8013131.js | 25 * 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 D | NASHORN-120.js | 25 * 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 D | jquery.js | 63 var split = url.split('/'); 64 name = split[split.length - 1];
|
H A D | NASHORN-174.js | 25 * 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 D | regex.js | 91 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 D | JDK-8041998.js | 37 line.split(/: /);
|
H A D | JDK-8007718.js | 48 "abcabcabcABCabcABC".split(/(b)/i);
|
/openjdk9/hotspot/src/share/vm/runtime/ |
H A D | sharedRuntimeMath.hpp | 41 } 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 D | Main.java | 35 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 D | OnExitTest.java | 110 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 D | word_histogram.js | 48 split(/[^\w+]/).
|
/openjdk9/jdk/test/java/lang/String/ |
H A D | Regex.java | 88 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 D | Split.java | 27 * @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 D | HasSrcStoretypeOption.java | 43 Main.main(cmd.split(" "));
|
H A D | UnknownAndUnparseable.java | 51 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 D | CSVUtilTest.java | 64 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 D | DebugHistogramTest.java | 44 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 D | TestRemsetLoggingTools.java | 99 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 D | TestCSV.java | 114 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 D | ExtraFileInMetaInf.java | 54 "-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 D | CertChainUnclosed.java | 55 .split(" ")); 65 + args).split(" "));
|
/openjdk9/langtools/test/tools/javah/6257087/ |
H A D | T6257087.java | 74 tb.checkEqual(fooBarFile, tb.split(fooBarGoldenFile, "\n"));
|
/openjdk9/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/parser/ |
H A D | Lexer.java | 64 * For instance {@literal '<<<'} is split into two tokens 68 Token split(); method in interface:Lexer
|