Searched defs:strict (Results 1 - 25 of 59) sorted by relevance

123

/external/v8/test/mjsunit/regress/
H A Dregress-1360.js32 function strict() { "use strict"; assertEquals(void 0, this); } function
35 [1,2,3].sort(strict);
38 "axc".replace("x", strict);
H A Dregress-bind-receiver.js28 function strict() { 'use strict'; return this; } function
32 assertEquals(true, strict.bind(true)());
33 assertEquals(42, strict.bind(42)());
34 assertEquals("", strict.bind("")());
35 assertEquals(null, strict.bind(null)());
36 assertEquals(undefined, strict.bind(undefined)());
37 assertEquals(obj, strict.bind(obj)());
H A Dregress-parse-use-strict.js31 // Snippet trying to switch to strict mode.
32 var strict = '"use strict"; with({}) {}'; variable
34 // Test switching to strict mode after string literal.
35 assertThrows('function f() { "use sanity";' + strict + '}');
36 assertThrows('function f() { "use sanity";' + strict + filler + '}');
38 // Test switching to strict mode after function declaration.
41 eval('function f() { function g() {}' + strict + '}');
42 eval('function f() { function g() {}' + strict + filler + '}');
H A Dregress-1436.js29 // undefined as the receiver (which for non-strict functions is
36 function strict(){ "use strict"; assertEquals(void 0, this); } function
37 function strict_null(){ "use strict"; assertEquals(null, this); }
40 [2, 3].reduce(strict);
42 [2, 3].reduceRight(strict);
49 [2, 3].every(strict);
50 [2, 3].every(strict, undefined);
56 [2, 3].filter(strict);
57 [2, 3].filter(strict, undefine
[all...]
H A Dregress-1412.js29 // unchanged to strict-mode functions and builtins.
33 function strict() { "use strict"; return this; } function
36 assertEquals(void 0, strict.apply(undefined, arguments));
37 assertEquals(42, strict.apply(42, arguments));
38 assertEquals("asdf", strict.apply("asdf", arguments));
/external/v8/test/mjsunit/
H A Dvalue-wrapper-accessor.js39 Object.defineProperty(prototype, "strict", {
40 get: function() { "use strict"; result = this; },
41 set: function(v) { "use strict"; result = this; }
48 function strict(s) { function
49 return s.strict;
59 strict(object);
60 strict(object);
61 %OptimizeFunctionOnNextCall(strict);
63 strict(object);
71 function strict(
[all...]
H A Dstrict-mode.js30 assertThrows("'use strict';\n" + code, exception);
31 assertThrows('"use strict";\n' + code, exception);
40 'use strict';\
52 // Create non-strict function. No exception.
57 // Create strict mode function. Exception expected.
58 args[arguments.length] = "'use strict';";
64 // Incorrect 'use strict' directive.
70 // Incorrectly place 'use strict' directive.
71 assertThrows("function foo (x) 'use strict'; {}", SyntaxError);
73 // 'use strict' i
505 function strict() { function
[all...]
/external/v8/test/preparser/
H A Dnonstrict-arguments.js28 // Eval restrictions should not trigger outside of strict-mode code.
38 function strict() { function
39 "use strict";
H A Dnonstrict-eval.js28 // Eval restrictions should not trigger outside of strict-mode code.
38 function strict() { function
39 "use strict";
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/
H A DNonMonotonousSequenceException.java41 private final boolean strict; field in class:NonMonotonousSequenceException
74 * @param strict Whether the sequence must be strictly increasing or
81 boolean strict) {
83 (strict ?
86 (strict ?
92 this.strict = strict;
107 return strict;
77 NonMonotonousSequenceException(Number wrong, Number previous, int index, MathUtils.OrderDirection direction, boolean strict) argument
/external/robolectric/src/main/java/com/xtremelabs/robolectric/res/
H A DXmlLoader.java17 public void setStrictI18n(boolean strict) { argument
18 this.strictI18n = strict;
/external/apache-http/src/org/apache/http/impl/cookie/
H A DBestMatchSpec.java61 private RFC2965Spec strict; field in class:BestMatchSpec
76 if (this.strict == null) {
77 this.strict = new RFC2965Spec(this.datepatterns, this.oneHeader);
79 return strict;
/external/icu/icu4c/source/common/
H A Dutf_impl.c90 errorValue(int32_t count, int8_t strict) { argument
91 if(strict>=0) {
93 } else if(strict==-3) {
106 * The "strict" parameter controls the error behavior:
118 * >0 Obsolete "strict" behavior of UTF8_NEXT_CHAR_SAFE(..., TRUE):
125 utf8_nextCharSafeBody(const uint8_t *s, int32_t *pi, int32_t length, UChar32 c, UBool strict) { argument
154 if(((c&0xffe0)==0x360 && strict!=-2) || trail>0x3f) { break; }
161 /* strict: forbid non-characters like U+fffe */
162 (strict<=0 || !U_IS_UNICODE_NONCHAR(c))) {
179 c=errorValue(i-*pi, strict);
230 utf8_prevCharSafeBody(const uint8_t *s, int32_t start, int32_t *pi, UChar32 c, UBool strict) argument
[all...]
/external/google-breakpad/src/testing/test/
H A Dgmock-nice-strict_test.cc32 #include "gmock/gmock-generated-nice-strict.h"
209 // Tests that a strict mock allows expected calls.
217 // Tests that an unexpected call on a strict mock fails.
226 // Tests that an uninteresting call on a strict mock fails.
234 // Tests that an uninteresting call on a strict mock fails, even if
277 StrictMock< ::Mock> strict; local
278 EXPECT_CALL(strict, DoThis());
279 strict.DoThis();
/external/jetty/src/java/org/eclipse/jetty/util/
H A DIntrospectionUtil.java145 public static boolean checkParams (Class<?>[] formalParams, Class<?>[] actualParams, boolean strict) argument
159 if (strict)
199 public static boolean isTypeCompatible (Class<?> formalType, Class<?> actualType, boolean strict) argument
206 if (strict)
/external/jetty/src/java/org/eclipse/jetty/security/
H A DConstraintSecurityHandler.java274 /** Get the strict mode.
275 * @return true if the security handler is running in strict mode.
283 /** Set the strict mode of the security handler.
285 * When in strict mode (the default), the full servlet specification
287 * If not in strict mode, some additional flexibility in configuration
294 * @param strict the strict to set
298 public void setStrict(boolean strict) argument
300 _strict = strict;
/external/nist-sip/java/gov/nist/javax/sip/message/
H A DMessageFactoryImpl.java57 private boolean strict = true; field in class:MessageFactoryImpl
73 public void setStrict(boolean strict) { argument
74 this.strict = strict;
700 smp.setStrict(this.strict);
/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DStringMsgParser.java78 private boolean strict; field in class:StringMsgParser
328 message.setMessageContent(body,this.strict,computeContentLengthFromMessage,message.getContentLength().getContentLength());
330 if ( strict ) {
704 public void setStrict(boolean strict) { argument
705 this.strict = strict;
/external/boringssl/src/tool/
H A Ddigest.cc212 bool strict = false; member in struct:CheckModeArguments
219 // It returns true if all files were verified and, if |args.strict|, no input
287 if (args.strict) {
415 } else if (arg == "--strict") {
417 check_args.strict = true;
/external/lldb/source/Target/
H A DObjCLanguageRuntime.cpp167 //ObjCLanguageRuntime::MethodName::SetName (const char *name, bool strict)
172 // // If "strict" is true. then the method must be specified with a
173 // // '+' or '-' at the beginning. If "strict" is false, then the '+'
181 // else if (!strict)
183 // // "strict" is false, the name just needs to start with '['
208 // return IsValid(strict);
212 ObjCLanguageRuntime::MethodName::SetName (const char *name, bool strict) argument
217 // If "strict" is true. then the method must be specified with a
218 // '+' or '-' at the beginning. If "strict" is false, then the '+'
230 else if (!strict)
[all...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/
H A DRobolectricConfig.java249 public void setStrictI18n(boolean strict) { argument
250 strictI18n = strict;
/external/vboot_reference/futility/
H A Dcmd_show.c41 int strict; member in struct:local_data_s
206 * be strict about this. */
243 if (option.strict && (!sign_key || !good_sig))
325 if (option.strict && (!sign_key || !good_sig))
382 if (option.strict)
403 if (option.strict)
438 if (option.strict && (!sign_key || !good_sig))
569 " --strict "
581 {"verify", 0, &option.strict, 1},
739 option.strict
[all...]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_old_handlers.c486 dbus_bool_t strict = FALSE; local
490 DBUS_TYPE_BOOLEAN, &strict,
492 strict = FALSE;
523 if (!strict) {
554 if (!strict) {
592 if (!strict) {
631 if (!strict) {
661 if (!strict) {
/external/apache-commons-math/src/main/java/org/apache/commons/math/util/
H A DMathUtils.java2075 * @param strict Whether the order should be strict.
2079 public static void checkOrder(double[] val, OrderDirection dir, boolean strict) { argument
2087 if (strict) {
2098 if (strict) {
2114 throw new NonMonotonousSequenceException(val[i], previous, i, dir, strict);
2136 * @param strict Whether the order should be strict
2142 public static void checkOrder(double[] val, int dir, boolean strict) { argument
2144 checkOrder(val, OrderDirection.INCREASING, strict);
[all...]
/external/lldb/include/lldb/Target/
H A DObjCLanguageRuntime.h55 MethodName (const char *name, bool strict) : argument
63 SetName (name, strict);
70 IsValid (bool strict) const
72 // If "strict" is true, the name must have everything specified including
74 if (strict && m_type == eTypeUnspecified)
103 SetName (const char *name, bool strict);

Completed in 704 milliseconds

123