Home
last modified time | relevance | path

Searched refs:strict (Results 1 – 25 of 637) sorted by relevance

12345678910>>...26

/external/v8/test/webkit/fast/js/
Dbasic-strict-mode-expected.txt24 Test behaviour of strict mode
49 PASS Function('"use strict"; return this;')() is undefined.
50 PASS Function('"use strict"; with({});') threw exception SyntaxError: Strict mode code may not incl…
56 PASS (function eval(){'use strict';}) threw exception SyntaxError: Unexpected eval or arguments in
57 …S (function(){(function eval(){'use strict';})}) threw exception SyntaxError: Unexpected eval or a…
58 PASS (function (eval){'use strict';}) threw exception SyntaxError: Unexpected eval or arguments in
59 …S (function(){(function (eval){'use strict';})}) threw exception SyntaxError: Unexpected eval or a…
60 PASS (function arguments(){'use strict';}) threw exception SyntaxError: Unexpected eval or argument…
61 …nction(){(function arguments(){'use strict';})}) threw exception SyntaxError: Unexpected eval or a…
62 PASS (function (arguments){'use strict';}) threw exception SyntaxError: Unexpected eval or argument…
[all …]
Dnumeric-escapes-in-string-literals-expected.txt32 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not allowed in strict mode…
34 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not allowed in strict mode…
40 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not allowed in strict mode…
42 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not allowed in strict mode…
44 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not allowed in strict mode…
46 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not allowed in strict mode…
48 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not allowed in strict mode…
50 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not allowed in strict mode…
52 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not allowed in strict mode…
54 PASS eval(stringLiteral) threw exception SyntaxError: Octal literals are not allowed in strict mode…
[all …]
/external/v8/test/mjsunit/regress/
Dregress-1436.js36 function strict(){ "use strict"; assertEquals(void 0, this); } function
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, undefined);
63 [2, 3].forEach(strict);
64 [2, 3].forEach(strict, undefined);
70 [2, 3].map(strict);
[all …]
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)());
Dregress-parse-use-strict.js32 var strict = '"use strict"; with({}) {}'; variable
35 assertThrows('function f() { "use sanity";' + strict + '}');
36 assertThrows('function f() { "use sanity";' + strict + filler + '}');
41 eval('function f() { function g() {}' + strict + '}');
42 eval('function f() { function g() {}' + strict + filler + '}');
Dregress-1412.js33 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/
Dvalue-wrapper-accessor.js48 function strict(s) { function
49 return s.strict;
59 strict(object);
60 strict(object);
61 %OptimizeFunctionOnNextCall(strict);
63 strict(object);
71 function strict(s) { function
72 return s.strict = 10;
82 strict(object);
83 strict(object);
[all …]
Dstrict-mode.js493 function strict() { function
516 assertTrue(strict.call(null) === null);
517 assertTrue(strict.call(undefined) === undefined);
518 assertEquals(typeof strict.call(7), "number");
519 assertEquals(typeof strict.call("Hello"), "string");
520 assertTrue(strict.call(object) === object);
523 assertTrue(strict.apply(null) === null);
524 assertTrue(strict.apply(undefined) === undefined);
525 assertEquals(typeof strict.apply(7), "number");
526 assertEquals(typeof strict.apply("Hello"), "string");
[all …]
Dreadonly.js163 for (var strict = 0; strict < 2; ++strict) {
164 print(" strict =", strict);
165 f(strict);
172 f(function(strict, create, readonly) { argument
181 if (strict === 0)
193 if (strict === 0)
206 TestAllModes(function(strict) { argument
209 scenario(strict, create, readonly);
/external/icu/icu4c/source/common/
Dutf_impl.c90 errorValue(int32_t count, int8_t strict) { in errorValue() argument
91 if(strict>=0) { in errorValue()
93 } else if(strict==-3) { in errorValue()
125 utf8_nextCharSafeBody(const uint8_t *s, int32_t *pi, int32_t length, UChar32 c, UBool strict) { in utf8_nextCharSafeBody() argument
154 if(((c&0xffe0)==0x360 && strict!=-2) || trail>0x3f) { break; } in utf8_nextCharSafeBody()
162 (strict<=0 || !U_IS_UNICODE_NONCHAR(c))) { in utf8_nextCharSafeBody()
179 c=errorValue(i-*pi, strict); in utf8_nextCharSafeBody()
230 utf8_prevCharSafeBody(const uint8_t *s, int32_t start, int32_t *pi, UChar32 c, UBool strict) { in utf8_prevCharSafeBody() argument
234 if(!U8_IS_TRAIL(c)) { return errorValue(0, strict); } in utf8_prevCharSafeBody()
242 return errorValue(0, strict); in utf8_prevCharSafeBody()
[all …]
/external/v8/test/mjsunit/es6/
Darrow-rest-params.js48 strict: strictTest, property
54 assertEquals(2, O.strict.length);
63 O.strict();
64 O.strict(2, 1);
65 O.strict(6, 5, 4, 3, 2, 1);
66 O.strict(3, 2, 1);
75 O.strict.apply(O, []);
76 O.strict.apply(O, [2, 1]);
77 O.strict.apply(O, [6, 5, 4, 3, 2, 1]);
78 O.strict.apply(O, [3, 2, 1]);
[all …]
Darrow-rest-params-lazy-parsing.js50 strict: strictTest, property
56 assertEquals(2, O.strict.length);
65 O.strict();
66 O.strict(2, 1);
67 O.strict(6, 5, 4, 3, 2, 1);
68 O.strict(3, 2, 1);
77 O.strict.apply(O, []);
78 O.strict.apply(O, [2, 1]);
79 O.strict.apply(O, [6, 5, 4, 3, 2, 1]);
80 O.strict.apply(O, [3, 2, 1]);
[all …]
Drest-params.js48 strict: strictTest, property
54 assertEquals(2, O.strict.length);
63 O.strict();
64 O.strict(1, 2);
65 O.strict(1, 2, 3, 4, 5, 6);
66 O.strict(1, 2, 3);
75 O.strict.apply(O, []);
76 O.strict.apply(O, [1, 2]);
77 O.strict.apply(O, [1, 2, 3, 4, 5, 6]);
78 O.strict.apply(O, [1, 2, 3]);
[all …]
/external/v8/test/webkit/
Dclass-syntax-name-expected.txt8 PASS 'use strict'; A threw exception ReferenceError: A is not defined.
10 PASS 'use strict'; class {} threw exception SyntaxError: Unexpected token {.
12 PASS 'use strict'; class { constructor() {} } threw exception SyntaxError: Unexpected token {.
14 PASS 'use strict'; class A { constructor() {} } did not throw exception.
16 PASS 'use strict'; class A { constructor() {} }; A.toString() is 'class A { constructor() {} }'
18 PASS 'use strict'; class A { constructor() {} }; (new A) instanceof A is true
20 PASS 'use strict'; class A { constructor() { this.base = A; } }; (new A).base.toString() is 'class …
22 PASS 'use strict'; class A { constructor() {} }; class B extends A {}; did not throw exception.
24 PASS 'use strict'; class A { constructor() {} }; class B extends A { constructor() {} }; B.toString…
26 PASS 'use strict'; class A { constructor() {} }; class B extends A {}; (new B) instanceof A is true
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/exception/
DNonMonotonousSequenceException.java41 private final boolean strict; field in NonMonotonousSequenceException
81 boolean strict) { in NonMonotonousSequenceException() argument
83 (strict ? in NonMonotonousSequenceException()
86 (strict ? in NonMonotonousSequenceException()
92 this.strict = strict; in NonMonotonousSequenceException()
107 return strict; in getStrict()
/external/icu/icu4c/source/common/unicode/
Dutf_old.h339 #define UTF8_GET_CHAR_SAFE(s, start, i, length, c, strict) { \ argument
342 UTF8_NEXT_CHAR_SAFE(s, _utf8_get_char_safe_index, length, c, strict); \
405 #define UTF8_NEXT_CHAR_SAFE(s, i, length, c, strict) { \ argument
409 (c)=utf8_nextCharSafeBody(s, &(i), (int32_t)(length), c, strict); \
478 #define UTF8_PREV_CHAR_SAFE(s, start, i, c, strict) { \ argument
482 (c)=utf8_prevCharSafeBody(s, start, &(i), c, strict); \
572 #define UTF16_GET_CHAR_SAFE(s, start, i, length, c, strict) { \ argument
580 } else if(strict) {\
588 } else if(strict) {\
593 } else if((strict) && !UTF_IS_UNICODE_CHAR(c)) { \
[all …]
/external/nanopb-c/tests/common/
DSConscript12 # These are built using more strict warning flags.
13 strict = env.Clone()
14 strict.Append(CFLAGS = strict['CORECFLAGS'])
15 strict.Object("pb_decode.o", "$NANOPB/pb_decode.c")
16 strict.Object("pb_encode.o", "$NANOPB/pb_encode.c")
/external/libweave/third_party/chromium/base/third_party/icu/
Dicu_utf.cc141 UBool strict) { in utf8_nextCharSafeBody() argument
176 if(strict>=0) { in utf8_nextCharSafeBody()
197 if(illegal || (c)<utf8_minLegal[count] || (CBU_IS_SURROGATE(c) && strict!=-2)) { in utf8_nextCharSafeBody()
206 if(strict>=0) { in utf8_nextCharSafeBody()
211 } else if((strict)>0 && CBU_IS_UNICODE_NONCHAR(c)) { in utf8_nextCharSafeBody()
222 if(strict>=0) { in utf8_nextCharSafeBody()
/external/v8/test/mjsunit/compiler/
Dreceiver-conversion.js50 return strict();
52 global.strict = inner;
87 return (0).strict();
89 Number.prototype.strict = inner; method in Number
124 return ("s").strict();
126 String.prototype.strict = inner; method in String
/external/libchrome/base/third_party/icu/
Dicu_utf.cc136 UBool strict) { in utf8_nextCharSafeBody() argument
171 if(strict>=0) { in utf8_nextCharSafeBody()
192 if(illegal || (c)<utf8_minLegal[count] || (CBU_IS_SURROGATE(c) && strict!=-2)) { in utf8_nextCharSafeBody()
201 if(strict>=0) { in utf8_nextCharSafeBody()
206 } else if((strict)>0 && CBU_IS_UNICODE_NONCHAR(c)) { in utf8_nextCharSafeBody()
217 if(strict>=0) { in utf8_nextCharSafeBody()
/external/nanopb-c/tests/field_size_16/
DSConscript18 strict = opts.Clone()
19 strict.Append(CFLAGS = strict['CORECFLAGS'])
20 strict.Object("pb_decode_fields16.o", "$NANOPB/pb_decode.c")
21 strict.Object("pb_encode_fields16.o", "$NANOPB/pb_encode.c")
/external/nanopb-c/tests/field_size_32/
DSConscript18 strict = opts.Clone()
19 strict.Append(CFLAGS = strict['CORECFLAGS'])
20 strict.Object("pb_decode_fields32.o", "$NANOPB/pb_decode.c")
21 strict.Object("pb_encode_fields32.o", "$NANOPB/pb_encode.c")
/external/nanopb-c/tests/no_errmsg/
DSConscript17 strict = opts.Clone()
18 strict.Append(CFLAGS = strict['CORECFLAGS'])
19 strict.Object("pb_decode_noerr.o", "$NANOPB/pb_decode.c")
20 strict.Object("pb_encode_noerr.o", "$NANOPB/pb_encode.c")
/external/nanopb-c/tests/buffer_only/
DSConscript17 strict = opts.Clone()
18 strict.Append(CFLAGS = strict['CORECFLAGS'])
19 strict.Object("pb_decode_bufonly.o", "$NANOPB/pb_decode.c")
20 strict.Object("pb_encode_bufonly.o", "$NANOPB/pb_encode.c")
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/data/tree_construction/
Ddoctype01.dat263 "http://www.w3.org/TR/html4/strict.dtd">Hello
266 | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
326 <!DOCTYPE HTML SYSTEM "http://www.w3.org/DTD/HTML4-strict.dtd"><body><b>Mine!</b></body>
329 | <!DOCTYPE html "" "http://www.w3.org/DTD/HTML4-strict.dtd">
337 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/html4/strict.dtd">
340 | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
346 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"'http://www.w3.org/TR/html4/strict.dtd'>
349 | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
355 <!DOCTYPE HTML PUBLIC"-//W3C//DTD HTML 4.01//EN"'http://www.w3.org/TR/html4/strict.dtd'>
358 | <!DOCTYPE html "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
[all …]

12345678910>>...26