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

1234

/external/chromium_org/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/chromium_org/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/chromium_org/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/robolectric/src/main/java/com/xtremelabs/robolectric/res/
H A DXmlLoader.java17 public void setStrictI18n(boolean strict) { argument
18 this.strictI18n = strict;
/external/chromium_org/base/third_party/icu/
H A Dicu_utf.cc118 * The "strict" parameter controls the error behavior:
125 * >0 Obsolete "strict" behavior of UTF8_NEXT_CHAR_SAFE(..., TRUE):
137 utf8_nextCharSafeBody(const uint8 *s, int32 *pi, int32 length, UChar32 c, UBool strict) { argument
172 if(strict>=0) {
193 if(illegal || (c)<utf8_minLegal[count] || (CBU_IS_SURROGATE(c) && strict!=-2)) {
202 if(strict>=0) {
207 } else if((strict)>0 && CBU_IS_UNICODE_NONCHAR(c)) {
208 /* strict: forbid non-characters like U+fffe */
218 if(strict>=0) {
/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/chromium_org/third_party/icu/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/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/chromium_org/chromeos/network/onc/
H A Donc_validator_unittest.cc25 // to be managed if |managed_onc| is true. A strict validator is used if
26 // |strict| is true. |onc_object| and the resulting repaired object of the
29 void Validate(bool strict, argument
35 if (strict) {
36 // Create a strict validator that complains about every error.
110 // the strict and the liberal validator accept the object.
224 // (either strict or liberal) returns this repaired object and the result is
276 // dictionary is the expected result from strict
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
H A DCSSParser.cpp79 bool CSSParser::parseColor(RGBA32& color, const String& string, bool strict) argument
81 return BisonCSSParser::parseColor(color, string, strict);
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dinsn.h119 /** Nonzero if strict. Used for "strict foo" in NASM.
126 * "push strict dword 4", which sets this flag.
128 unsigned int strict:1; member in struct:yasm_insn_operand
/external/chromium_org/third_party/WebKit/Source/wtf/unicode/
H A DUTF8.cpp172 char** targetStart, char* targetEnd, bool strict)
193 } else if (strict) { // it's an unpaired high surrogate
203 } else if (strict) {
299 UChar** targetStart, UChar* targetEnd, bool* sourceAllASCII, bool strict)
311 // Do this check whether lenient or strict
328 if (strict) {
351 if (strict) {
170 convertUTF16ToUTF8( const UChar** sourceStart, const UChar* sourceEnd, char** targetStart, char* targetEnd, bool strict) argument
297 convertUTF8ToUTF16( const char** sourceStart, const char* sourceEnd, UChar** targetStart, UChar* targetEnd, bool* sourceAllASCII, bool strict) argument
/external/chromium_org/third_party/cython/src/Cython/Utility/
H A DImportExport.c235 static PyTypeObject *__Pyx_ImportType(const char *module_name, const char *class_name, size_t size, int strict); /*proto*/
244 size_t size, int strict)
286 if (!strict && (size_t)basicsize > size) {
243 __Pyx_ImportType(const char *module_name, const char *class_name, size_t size, int strict) argument
/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/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/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_old_handlers.c510 dbus_bool_t strict = FALSE; local
514 DBUS_TYPE_BOOLEAN, &strict,
516 strict = FALSE;
547 if (!strict) {
588 if (!strict) {
637 if (!strict) {
691 if (!strict) {
728 if (!strict) {
/external/chromium_org/net/disk_cache/blockfile/
H A Drankings.cc320 void Rankings::Remove(CacheRankingsBlock* node, List list, bool strict) { argument
324 if (strict)

Completed in 698 milliseconds

1234