Searched refs:each (Results 1 - 25 of 85) sorted by relevance

1234

/openjdk10/nashorn/test/script/error/
H A Dfor_each_nse.js25 * for..each should result in error with -nse
31 for each (var x in [3, 454, 4]) {
/openjdk10/jaxp/test/
H A DMakefile40 for each in $@; do \
41 $(MAKE) -j 1 TEST_SELECTION=":$$each" UNIQUE_DIR=$$each jtreg_tests; \
/openjdk10/nashorn/test/
H A DMakefile40 for each in $@; do \
41 $(MAKE) -j 1 TEST_SELECTION=":$$each" UNIQUE_DIR=$$each jtreg_tests; \
/openjdk10/nashorn/test/script/basic/
H A DJDK-8019810.js31 Function("return (void ({ set each (x2)y }));");
34 return (void ({ set each (x2)y }));
H A DNASHORN-47.js25 * NASHORN-47 : for .. in, for each.. in with "null" or undefined as iterated object should be no-ops.
40 for each (var k in null) {
44 for each (var l in null) {
H A Dforin.js41 for each (i in a) print(i);
43 for each (i in j) print(i);
45 for each (i in ja) print(i);
47 for each (i in s) print(i);
49 // 'each' is a contextual keyword. Ok to use as identifier elsewhere..
50 var each = "This is each"; variable
51 print(each);
H A DNASHORN-554.js36 for each (c in s) {
H A DNASHORN-473.js25 * NASHORN-473 : Java primitive arrays can not be iterated with for.. in and for each .. in constructs
39 for each (i in boolArr) {
H A DJDK-8054503.js46 for each (var p in obj) {
H A Dyui.js33 for each (name in names) {
H A DJDK-8015830.js42 for each (k in global) {
54 for each(k in global) {
H A DJDK-8079145.js75 for each (var v in values) {
79 for each (var v in values) {
83 for each (var v in values) {
87 for each (var v in values) {
H A DJDK-8022903.js25 * JDK-8022903: Enhance for-in and for-each for Lists and Maps
40 for each(var color in colors) {
53 for each(var capital in capitals) {
H A DJDK-8026955.js40 for each (var i in x) {
H A DJDK-8008448.js46 // parse each file to make sure it does not result in exception
47 for each (var f in files) {
/openjdk10/jdk/test/
H A DMakefile44 for each in $@; do \
45 $(MAKE) -j 1 TEST_SELECTION=":$$each" UNIQUE_DIR=$$each jtreg_tests; \
/openjdk10/jdk/test/java/util/Map/
H A DToArray.java53 // for each map type.
68 for (int each = 0; each < TEST_SIZE; each++) {
69 KEYS[each] = Integer.valueOf(each);
70 VALUES[each] = Long.valueOf(each + TEST_SIZE);
80 for (int each = 0; each < TEST_SIZ
[all...]
H A DCollisions.java50 for (Map.Entry<IntKey, IntKey> each : map.entrySet()) {
51 assertFalse(all.get(each.getKey().getValue()), "Iteration: key already seen");
52 all.set(each.getKey().getValue());
58 for (IntKey each : map.keySet()) {
59 assertFalse(all.get(each.getValue()), "Iteration: key already seen");
60 all.set(each.getValue());
67 for (IntKey each : map.values()) {
81 for (Map.Entry<String, String> each : map.entrySet()) {
82 String key = each.getKey();
92 for (String each
[all...]
/openjdk10/nashorn/samples/
H A Dfor_each.js32 // nashorn supports for..each extension supported
37 for each (str in strs)
48 // for .. each on java arrays
50 for each (i in arr)
55 // for..each on java Iterables
58 for each (p in System.properties.entrySet()) {
64 for each (e in System.env.entrySet()) {
H A Ddefaults.js40 for each (m in jclass.methods) {
/openjdk10/jdk/src/jdk.internal.opt/share/classes/jdk/internal/joptsimple/
H A DOptionSpecBuilder.java144 for ( String each : dependents ) {
145 parser.requiredIf( options(), each );
166 for ( OptionSpec<?> each : otherDependents )
167 parser.requiredIf( options(), each );
186 for ( String each : dependents ) {
187 parser.requiredUnless( options(), each );
207 for ( OptionSpec<?> each : otherDependents )
208 parser.requiredUnless( options(), each );
218 for ( String each : dependents ) {
219 if ( !parser.isRecognized( each ) )
[all...]
/openjdk10/nashorn/test/script/nosecurity/parsertests/
H A DloopStat.js33 for each (i in obj) { print(i) }
/openjdk10/jdk/src/jdk.internal.opt/share/classes/jdk/internal/joptsimple/internal/
H A DRows.java100 for ( Row each : rows )
101 fitted.addAll( columns.fit( each ) );
105 for ( Row each : fitted )
106 add( each );
112 for ( Row each : rows ) {
113 pad( buffer, each.option, optionWidth() ).append( repeat( ' ', columnSeparatorWidth ) );
114 pad( buffer, each.description, descriptionWidth() ).append( LINE_SEPARATOR );
/openjdk10/jdk/src/java.base/share/classes/java/util/
H A DCollection.java82 * <p>It is up to each collection to determine its own synchronization
412 final Iterator<E> each = iterator();
413 while (each.hasNext()) {
414 if (filter.test(each.next())) {
415 each.remove();
/openjdk10/nashorn/test/script/nosecurity/
H A DJDK-8044798.js42 for each (var f in valueDescFields) {
52 for each (var m in debuggerSupportMethods) {
81 for each (var f in valueDescFields) {
87 for each (var f in valueDescFields) {
93 for each (var info in infos) {
94 for each (var f in valueDescFields) {
101 for each (var info in infos) {
102 for each (var f in valueDescFields) {
152 for each (var f in srcInfoFields) {

Completed in 114 milliseconds

1234