Searched refs:strict (Results 1 - 25 of 93) sorted by relevance

1234

/openjdk10/nashorn/test/script/basic/
H A DJDK-8006570.js25 * JDK-8006570 : this-value for non-strict functions should be converted to object
31 var strict, nonstrict; variable
38 "use strict";
39 strict = Object.prototype.strict = function strict() {
53 "foo".strict();
54 (1).strict();
55 true.strict();
56 strict();
[all...]
/openjdk10/jdk/src/java.base/share/classes/java/time/format/
H A DSignStyle.java81 * In strict parsing, the negative sign will be accepted and the positive sign rejected.
88 * In strict parsing, the absence of a sign will be rejected.
96 * In strict parsing, any sign will be rejected.
103 * In strict parsing, any sign will be rejected.
111 * In strict parsing, the sign will be rejected unless the pad width is exceeded.
121 * @param strict true if strict, false if lenient
125 boolean parse(boolean positive, boolean strict, boolean fixedWidth) { argument
129 return !positive || !strict;
135 return !strict
[all...]
/openjdk10/jdk/test/tools/jjs/
H A Djjs-strictTest.sh31 # Tests basic ECMAScript strict mode setting via -strict option
37 ${JJS} -J-Djava.security.manager -strict ${TESTSRC}/strict.js
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/arrays/
H A DNonExtensibleArrayFilter.java30 private ArrayData extensionCheck(final boolean strict, final int index) { argument
31 if (!strict) {
38 public ArrayData set(final int index, final Object value, final boolean strict) { argument
40 return underlying.set(index, value, strict);
42 return extensionCheck(strict, index);
46 public ArrayData set(final int index, final int value, final boolean strict) { argument
48 return underlying.set(index, value, strict);
50 return extensionCheck(strict, index);
54 public ArrayData set(final int index, final double value, final boolean strict) { argument
56 return underlying.set(index, value, strict);
[all...]
H A DFrozenArrayFilter.java52 public ArrayData set(final int index, final int value, final boolean strict) { argument
53 if (strict) {
60 public ArrayData set(final int index, final double value, final boolean strict) { argument
61 if (strict) {
68 public ArrayData set(final int index, final Object value, final boolean strict) { argument
69 if (strict) {
76 public ArrayData push(final boolean strict, final Object... items) { argument
H A DSealedArrayFilter.java52 public boolean canDelete(final int index, final boolean strict) { argument
53 return canDelete(ArrayIndex.toLongIndex(index), strict);
57 public boolean canDelete(final long longIndex, final boolean strict) { argument
58 if (strict) {
H A DDeletedRangeArrayFilter.java132 public ArrayData set(final int index, final Object value, final boolean strict) { argument
135 return super.set(index, value, strict);
137 return getDeletedArrayFilter().set(index, value, strict);
146 return isEmpty() ? getUnderlying().set(index, value, strict) : super.set(index, value, strict);
150 public ArrayData set(final int index, final int value, final boolean strict) { argument
153 return super.set(index, value, strict);
155 return getDeletedArrayFilter().set(index, value, strict);
164 return isEmpty() ? getUnderlying().set(index, value, strict) : super.set(index, value, strict);
168 set(final int index, final double value, final boolean strict) argument
[all...]
H A DByteBufferArrayData.java109 public ArrayData set(final int index, final Object value, final boolean strict) { argument
119 public ArrayData set(final int index, final int value, final boolean strict) { argument
125 public ArrayData set(final int index, final double value, final boolean strict) { argument
151 public boolean canDelete(final int index, final boolean strict) { argument
156 public boolean canDelete(final long longIndex, final boolean strict) { argument
171 public ArrayData push(final boolean strict, final Object... items) { argument
H A DArrayData.java150 public ArrayData set(final int index, final Object value, final boolean strict) { argument
151 return toRealArrayData(index).set(index, value, strict);
155 public ArrayData set(final int index, final int value, final boolean strict) { argument
156 return toRealArrayData(index).set(index, value, strict);
160 public ArrayData set(final int index, final double value, final boolean strict) { argument
161 return toRealArrayData(index).set(index, value, strict);
190 public ArrayData push(final boolean strict, final Object item) { argument
191 return toRealArrayData().push(strict, item);
495 * @param strict are we in strict mod
498 set(final int index, final Object value, final boolean strict) argument
508 set(final int index, final int value, final boolean strict) argument
518 set(final int index, final double value, final boolean strict) argument
615 canDelete(final int index, final boolean strict) argument
627 canDelete(final long longIndex, final boolean strict) argument
640 safeDelete(final long fromIndex, final long toIndex, final boolean strict) argument
695 push(final boolean strict, final Object... items) argument
718 push(final boolean strict, final Object item) argument
[all...]
H A DUndefinedArrayFilter.java113 public ArrayData set(final int index, final Object value, final boolean strict) { argument
121 return super.set(index, value, strict);
125 public ArrayData set(final int index, final int value, final boolean strict) { argument
128 return super.set(index, value, strict);
132 public ArrayData set(final int index, final double value, final boolean strict) { argument
135 return super.set(index, value, strict);
H A DLengthNotWritableFilter.java118 public ArrayData set(final int index, final Object value, final boolean strict) { argument
122 underlying = underlying.set(index, value, strict);
127 public ArrayData set(final int index, final int value, final boolean strict) { argument
131 underlying = underlying.set(index, value, strict);
136 public ArrayData set(final int index, final double value, final boolean strict) { argument
140 underlying = underlying.set(index, value, strict);
H A DArrayFilter.java99 public ArrayData set(final int index, final Object value, final boolean strict) { argument
100 underlying = underlying.set(index, value, strict);
106 public ArrayData set(final int index, final int value, final boolean strict) { argument
107 underlying = underlying.set(index, value, strict);
113 public ArrayData set(final int index, final double value, final boolean strict) { argument
114 underlying = underlying.set(index, value, strict);
H A DDeletedArrayFilter.java112 public ArrayData set(final int index, final Object value, final boolean strict) { argument
114 return super.set(index, value, strict);
118 public ArrayData set(final int index, final int value, final boolean strict) { argument
120 return super.set(index, value, strict);
124 public ArrayData set(final int index, final double value, final boolean strict) { argument
126 return super.set(index, value, strict);
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/tools/internal/xjc/reader/xmlschema/
H A DGWildcardElement.java43 private boolean strict = true; field in class:GWildcardElement
57 strict = false;
62 return strict;
/openjdk10/langtools/test/tools/javac/FloatingPointChanges/
H A DTest.java37 strictfp void strict() {} method in class:Test
38 strictfp class Inner2 { void strict() {} } method in class:Test.Inner2
41 assertStrict(Test.class.getDeclaredMethod("strict", new Class[0]));
42 assertStrict(Test.Inner2.class.getDeclaredMethod("strict", new Class[0]));
44 assertStrict(Test2.class.getDeclaredMethod("strict", new Class[0]));
46 assertStrict(Test2.Inner.class.getDeclaredMethod("strict", new Class[0]));
47 assertStrict(Test2.Inner2.class.getDeclaredMethod("strict", new Class[0]));
53 barf(m, "strict");
65 void strict() {} method in class:Test2
67 class Inner { void strict() {} } method in class:Test2.Inner
68 strictfp class Inner2 { void strict() {} } method in class:Test2.Inner2
[all...]
/openjdk10/jdk/test/java/time/test/java/time/format/
H A DTestReducedParser.java138 // Parse data and values that are consistent whether strict or lenient
214 // Parse data and values in strict and lenient modes.
222 {YEAR, 2, 2, 2010, "3", 0, strict(0, null), lenient(1, 3)},
223 {YEAR, 2, 2, 2010, "4", 0, strict(0, null), lenient(1, 4)},
224 {YEAR, 2, 2, 2010, "5", 1, strict(1, null), lenient(1, null)},
225 {YEAR, 2, 2, 2010, "6-2", 0, strict(0, null), lenient(1, 6)},
226 {YEAR, 2, 2, 2010, "9", 0, strict(0, null), lenient(1, 9)},
229 {YEAR, 1, 4, 2000, "7A", 0, strict(1, 2007), lenient(1, 2007)},
230 {YEAR, 2, 2, 2010, "8A", 0, strict(0, null), lenient(1, 8)},
233 {YEAR, 2, 4, 2000, "-1", 0, strict(
272 test_parseStrict(TemporalField field, int minWidth, int maxWidth, int baseValue, String input, int pos, Pair strict, Pair lenient) argument
287 test_parseStrict_baseDate(TemporalField field, int minWidth, int maxWidth, int baseValue, String input, int pos, Pair strict, Pair lenient) argument
305 test_parseLenient(TemporalField field, int minWidth, int maxWidth, int baseValue, String input, int pos, Pair strict, Pair lenient) argument
320 test_parseLenient_baseDate(TemporalField field, int minWidth, int maxWidth, int baseValue, String input, int pos, Pair strict, Pair lenient) argument
367 test_parseAdjacent(String pattern, String input, boolean strict, int pos, int parseLen, int year, int month, int day) argument
498 private static Pair strict(int parseLen, Integer parseVal) { method in class:TestReducedParser
508 private final boolean strict; field in class:TestReducedParser.Pair
509 Pair(int parseLen, Integer parseVal, boolean strict) argument
[all...]
/openjdk10/jdk/test/sun/security/tools/jarsigner/
H A Dec.sh71 $JARSIGNER -keystore $KS -storepass changeit $JFILE a -debug -strict || exit 21
72 $JARSIGNER -keystore $KS -storepass changeit $JFILE b -debug -strict -sigalg SHA1withECDSA || exit 22
73 $JARSIGNER -keystore $KS -storepass changeit $JFILE c -debug -strict -sigalg SHA512withECDSA || exit 23
75 $JARSIGNER -keystore $KS -storepass changeit -verify $JFILE a -debug -strict || exit 31
76 $JARSIGNER -keystore $KS -storepass changeit -verify $JFILE b -debug -strict || exit 32
77 $JARSIGNER -keystore $KS -storepass changeit -verify $JFILE c -debug -strict || exit 33
80 $JARSIGNER -keystore $KS -storepass changeit -verify $JFILE x -debug -strict && exit 34
H A Dpasstype.sh71 $JARSIGNER -keystore $KS -storepass test12 -verify -debug -strict $JFILE || exit 7
72 PASSENV=test12 $JARSIGNER -keystore $KS -storepass:env PASSENV -verify -debug -strict $JFILE || exit 8
73 $JARSIGNER -keystore $KS -storepass:file passfile -verify -debug -strict $JFILE || exit 9
H A Dcheckusage.sh88 $JARSIGNER -keystore trust.jks -strict -verify a.jar
96 $JARSIGNER -strict -verify a.jar
104 $JARSIGNER -keystore unrelated.jks -strict -verify a.jar
H A Donlymanifest.sh63 $JARSIGNER -keystore $KS -storepass changeit $JFILE a -debug -strict || exit 4
64 $JARSIGNER -keystore $KS -storepass changeit -verify $JFILE a -debug -strict \
H A Dcertpolicy.sh70 $JS -strict -certchain cc a.jar ee -debug || ERR="sign"
71 $JS -strict -verify a.jar -debug || ERR="$ERR verify"
H A Dconcise_jarsigner.sh89 $JARSIGNER -verify a.jar -strict
93 $JARSIGNER -verify a.jar -strict -keystore $KS -storepass changeit
97 $JARSIGNER -verify a.jar a1 -strict -keystore $KS -storepass changeit
101 $JARSIGNER -verify a.jar a1 a2 -strict -keystore $KS -storepass changeit
159 $JARSIGNER -strict -keystore $KS -storepass changeit a.jar expired
162 $JARSIGNER -strict -keystore $KS -storepass changeit a.jar notyetvalid
165 $JARSIGNER -strict -keystore $KS -storepass changeit a.jar badku
168 $JARSIGNER -strict -keystore $KS -storepass changeit a.jar badeku
171 $JARSIGNER -strict -keystore $KS -storepass changeit a.jar goodku
174 $JARSIGNER -strict
[all...]
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/
H A DFindProperty.java111 * @param strict are we in strict mode
116 public MethodHandle getSetter(final Class<?> type, final boolean strict, final LinkRequest request) { argument
119 setter = MH.insertArguments(setter, 1, UserAccessorProperty.getINVOKE_UA_SETTER(type), strict ? property.getKey() : null);
237 * @param strict strict flag
239 public void setValue(final int value, final boolean strict) { argument
240 property.setValue(getSetterReceiver(), getOwner(), value, strict);
247 * @param strict strict fla
249 setValue(final double value, final boolean strict) argument
259 setValue(final Object value, final boolean strict) argument
[all...]
H A DPropertyAccess.java224 * @param strict are we in strict mode
227 public boolean delete(int key, boolean strict); argument
232 * @param strict are we in strict mode
235 public boolean delete(double key, boolean strict); argument
240 * @param strict are we in strict mode
243 public boolean delete(Object key, boolean strict); argument
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/objects/
H A DNativeArguments.java51 * Arguments object used for non-strict mode functions. For strict mode, we use
52 * a different implementation (@see NativeStrictArguments). In non-strict mode,
125 public boolean delete(final int key, final boolean strict) { argument
127 return isMapped(index) ? deleteMapped(index, strict) : super.delete(key, strict);
131 public boolean delete(final double key, final boolean strict) { argument
133 return isMapped(index) ? deleteMapped(index, strict) : super.delete(key, strict);
137 public boolean delete(final Object key, final boolean strict) { argument
196 deleteMapped(final int index, final boolean strict) argument
[all...]

Completed in 92 milliseconds

1234