/external/v8/test/webkit/fast/js/ |
D | basic-strict-mode-expected.txt | 24 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 …]
|
D | numeric-escapes-in-string-literals-expected.txt | 32 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/ |
D | regress-1436.js | 36 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 …]
|
D | regress-bind-receiver.js | 28 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)());
|
D | regress-parse-use-strict.js | 32 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 + '}');
|
D | regress-1412.js | 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/ |
D | value-wrapper-accessor.js | 48 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 …]
|
D | strict-mode.js | 493 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 …]
|
D | readonly.js | 163 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/ |
D | utf_impl.c | 90 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/ |
D | arrow-rest-params.js | 48 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 …]
|
D | arrow-rest-params-lazy-parsing.js | 50 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 …]
|
D | rest-params.js | 48 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/ |
D | class-syntax-name-expected.txt | 8 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/ |
D | NonMonotonousSequenceException.java | 41 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/ |
D | utf_old.h | 339 #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/ |
D | SConscript | 12 # 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/ |
D | icu_utf.cc | 141 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/ |
D | receiver-conversion.js | 50 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/ |
D | icu_utf.cc | 136 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/ |
D | SConscript | 18 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/ |
D | SConscript | 18 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/ |
D | SConscript | 17 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/ |
D | SConscript | 17 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/ |
D | doctype01.dat | 263 "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 …]
|